Managing Switch Configuration and Files
6-6 Firmware Image and File Management
Displaying the Configuration
Executing show config without any parameters will display all the non-default configuration
settings. Using the all parameter will display all default and non-default configuration settings.
To display non-default information about a particular section of the configuration, such as port or
system configuration, use the name of the section (or facility) with the command. For example, to
show the configuration of the “system” facility:
C5(su)->show config system
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
begin
!
#***** NON-DEFAULT CONFIGURATION *****
!
!
# Firmware Revision: 06.61.01.0032
!
#system
set system name "LAB C5"
set system location "Second Floor South"
set system contact "John Smith"
!
!
end
On the I-Series, you can display the configuration information on a memory card with the show
config memcard command. If a memory card is not installed, a message indicating that the
memory card could not be accessed is displayed.
Creating a Backup Configuration File
You can create a copy of the system configuration using the show config outfile command. This
configuration file can then be copied to a remote location to be used as a backup configuration file
if needed.
This example:
• Saves the currently running configuration,
• Saves the configuration to a file named “myconfig” in the “configs” directory on the switch,
• Verifies the location of the file with the dir command,
• Then copies that file to a remote TFTP server on the network.
B5(su)->save config
B5(su)->show config outfile configs/myconfig
B5(su)->dir
Notes:
When saving a configuration to a file, save only the non-default values — that is, do not use the all
parameter with show config outfile. Including default values is unnecessary and will make the
configuration file very large.
You can write only a section of a system configuration to a file by using the facility parameter with
show config outfile.