Руководство По Устранению Ошибки для Cisco Cisco Packet Data Gateway (PDG)

Скачать
Страница из 296
Understanding System Operation and Configuration   
▀  Understanding Configuration Files 
 
▄  Cisco ASR 5000 Series System Administration Guide 
OL-22970-01   
Understanding Configuration Files 
The system supports the use of a file or script to modify configurable parameters. When you use a file for offline system 
configuration, it reduces the time it takes to configure parameters on multiple systems. 
 
A system configuration file is an ASCII text file that contains commands and configuration parameters. When you apply 
the configuration file, the system parses through the file line by line, testing the syntax and executing the command. If 
the syntax is incorrect, a message is displayed to the CLI and the system proceeds to the next command. Lines that 
begin with # are considered remarks and are ignored. 
I
MPORTANT
:
  Pipes ( | ), used with the 
 and 
 keywords, can potentially cause errors in configuration 
file processing. Therefore, the system automatically ignores keywords with pipes during processing.
 
The commands and configuration data within the file are organized and formatted just as they would be if they were 
being entered at the CLI prompt. For example, if you wanted to create a context called source in the CLI, you would 
enter the following commands at their respective prompts: 
To create a context called source using a configuration file, you would use a text editor to create a new file that consists 
of the following: 
There are several important things to consider when using configuration files: 
 
The system automatically applies a configuration file at the end of the boot process. After the system boots up 
for the first time, a configuration file that you have created and that is tailored to your network needs, can be 
applied. To make the system use your configuration file, modify the system‘s boot parameters according to the 
instructions located in Software Management Operations. 
 
In addition to being applied during the boot process, you can also apply configuration files manually at any time 
by executing the appropriate commands at the CLI prompt. Refer to the instructions in Software Management 
Operations
I
MPORTANT
:
  When you apply a configuration file after the boot process, the file does not 
delete the configuration loaded as part of the boot process. Only those commands that are duplicated 
are overwritten.
 
 
Configuration files can be stored in any of the following locations: 
 
CompactFlash™: Installed on the SPC or SMC