Modifying The Configuration File - Cisco Catalyst 9400 System Management Configuration Manual

Cisco ios xe bengaluru 17.4.x
Hide thumbs Also See for Catalyst 9400:
Table of Contents

Advertisement

Managing Configuration Files

Modifying the Configuration File

The Cisco IOS software accepts one configuration command per line. You can enter as many configuration
commands as you want. You can add comments to a configuration file describing the commands you have
entered. Precede a comment with an exclamation point (!). Because comments are not stored in NVRAM or
in the active copy of the configuration file, comments do not appear when you list the active configuration
with the show running-config or more system:running-config EXEC commands. Comments do not display
when you list the startup configuration with the show startup-config or more nvram:startup-config EXEC
mode commands. Comments are stripped out of the configuration file when it is loaded onto the device.
However, you can list the comments in configuration files stored on a File Transfer Protocol (FTP), Remote
Copy Protocol (RCP), or Trivial File Transfer Protocol (TFTP) server. When you configure the software using
the CLI, the software executes the commands as you enter them. To configure the software using the CLI,
use the following commands in privileged EXEC mode:
Procedure
Step 1
Step 2
Step 3
Step 4
Command or Action
Command or Action
enable
Example:
Device> enable
configure terminal
Example:
Device# configure terminal
configuration command
Example:
Device(config)# configuration command
Do one of the following:
• end
• ^Z
Example:
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
Modifying the Configuration File
Purpose
On all platforms except the Class A Flash file
system platforms, the default startup-config file
usually is stored in NVRAM.
On the Class A Flash file system platforms, the
CONFIG_FILE environment variable points to
the default startup-config file.
The CONFIG_FILE variable defaults to
NVRAM.
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Enters global configuration mode.
Enter the necessary configuration commands.
The Cisco IOS documentation set describes
configuration commands organized by
technology.
Ends the configuration session and exits to
EXEC mode.
Note
When you press the Ctrl and Z keys
simultaneously, ^Z is displayed to
the screen.
291

Advertisement

Table of Contents
loading

Table of Contents