Cisco Cisco Packet Data Gateway (PDG) Guida Alla Risoluzione Dei Problemi
Software Management Operations
▀ Maintaining the Local File System
▄ Cisco ASR 5000 Series System Administration Guide
OL-22970-01
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 (such as 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.
during testing) or created off-line (such as 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.
C
AUTION
:
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.
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:
following command at the Exec mode prompt:
Table 13.
command options
Keyword/Variable
Description
Displays each line and its line number when applying a pre-existing CLI configuration file or script.
Example
The following command applies a pre-existing CLI configuration file named clearcmds.cfg on the /flash local device.
The following command applies a pre-existing CLI configuration file named clearcmds.cfg on the /flash local device.
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:
following command at the Exec mode prompt:
For ASR 5000: