|
|
|
Configuration management is done through a Command Line Interface (CLI), implemented as part of the Converged Network Analyzer (CNA).
Beginning with CNA 3.0, you can configure the device using a template. The template is used to create a complete configuration for monitoring the current path. You can initiate the configuration template by using the generate-config current path command.
Once you have initiated the template, enter the appropriate values when prompted. The system will recognize specified values that are used multiple times in the template. You will be prompted once for this specific value to ensure that unexpected errors are not entered.
The system will overwrite the startup configuration with the values entered through the template. Before overwriting the startup configuration, the system will save the configuration with a time stamp and a unique name to identify the file. The unique naming convention is as follows: startup-config-yyymmdd-hhmm.cfg The saved configuration files will be shown when the ls cfg command is executed.
When the template is complete, the prompt asks if you want to save this configuration as your start-up configuration. If you answer yes, the newly generated startup-config is saved. If you answer no, you will be asked whether you want to discard the generated configuration or get one more chance to save it.
The generated configuration will take effect after the next reload as new the running-configuration. You have another chance to undo the changes by executing recover startup-config.
You should save the running configuration as a file in the device repository, as a startup configuration. To do so, use the copy command:
copy running-config startup-config
Entering the command help (or its equivalent, the question mark character--?) will display a list of all commands available to you at your current location in the CLI.
The end and exit commands both move you up one level in the configuration mode hierarchy. That is, if you are in engine configuration mode (config-engine), the end and exit commands will move you to configuration mode (config). From configuration mode, the two commands will move you to system operations mode. From there, the exit command will close the CLI session while the end command will have no effect.
Within one of the command configuration modes (config-engine or config-engine-link, for example), both the end and the exit commands will place an end statement in the configuration to mark the end of a command block.
The logout command will immediately close the current CLI session regardless of where you are in the configuration hierarchy.
The CLI responds to several control-key and escape-key combinations which help move the cursor on the command line, and perform simple character-manipulation tasks such as converting between upper and lower case.
To see the complete list of these key combinations, enter help edit on the command line.
|
|
|