Modifying The Configuration File - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Managing Configuration Files
Command or Action
Step 5
show startup-config
Example:
Device# show startup-config

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:
SUMMARY STEPS
1. enable
2. configure terminal
3. configuration command
4. Do one of the following:
5. copy system:running-config nvram:startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
• end
• ^Z
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
Purpose
Displays the contents of the startup configuration file.
(Command alias for the more nvram:startup-config
command.)
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.
Modifying the Configuration File
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents