Applying Pre-Existing Cli Configuration Files - Cisco ASR 5000 Series Administration Manual

Staros release 21.4
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

Software Management Operations
Important
The filesystem format command removes all files and information stored on the device.
Caution
To format a local device for use by the local file system, enter the following command:
[local]

Applying Pre-existing CLI Configuration Files

A pre-existing CLI configuration file is any .cfg file created to provide utility functions (such as clearing all
statistics during testing) or created off-line using a text editor. There may be pre-existing configuration files
stored on the local file system that can be applied to a running system at any time.
Caution
If a configuration file is applied to a system currently running another CLI configuration, any like contexts,
services, logical interfaces, physical ports, IP address pools, or other configured items will be overwritten
if the same command exists in the configuration file being applied. Take caution to ensure that you are
knowledgeable of the contents of the file being applied and understand what the service ramifications are
if a currently running command is overwritten. Also note that changes will not be saved automatically.
A CLI configuration file, or script containing CLI commands, can be applied to a running system by entering
the following command at the Exec mode prompt:
[local]
url specifies the location of the CLI configuration file to be applied. It may refer to a local or a remote file.
The following command applies a pre-existing CLI configuration file named clearcmds.cfg in the /flash
directory.
[local]
Viewing Files on the Local File System
This section describes how to view a variety of files.
Viewing the Contents of a Local Device
The contents, usage information, and file system directory structure of any local device can be viewed by
entering the following command at the Exec mode prompt:
directory { /flash | /usb1 | /hd-raid }
Local devices that have been formatted using other methods such as NTFS or FAT32 may be used to store
various operating system, CLI configuration, and crash log files. However, when placing a new local
device into the MIO/UMIO/MIO2 for regular use, you should format the device via the system prior to
use. This ensures that the proper file allocation table format is used, preventing any possible discrepancies
between other formats used with other operating systems.
host_name
filesystem format { /flash | /usb1 | /hd-raid }
#
host_name
configure url [ verbose ]
#
host_name
configure /flash/clearcmds.cfg
#
Applying Pre-existing CLI Configuration Files
ASR 5500 System Administration Guide, StarOS Release 21.4
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asr 5500

Table of Contents