Displaying switch configuration – H3C Technologies H3C S3600 Series Switches User Manual
Page 99
1-5
You can specify a configuration file to be used for the next startup and configure the main/backup
attribute for the configuration file.
Assigning main attribute to the startup configuration file
z
If you save the current configuration to the main configuration file, the system will automatically set
the file as the main startup configuration file.
z
You can also use the startup saved-configuration cfgfile [ main ] command to set the file as main
startup configuration file.
Assigning backup attribute to the startup configuration file
z
If you save the current configuration to the backup configuration file, the system will automatically
set the file as the backup startup configuration file.
z
You can also use the startup saved-configuration cfgfile backup command to set the file as
backup startup configuration file.
The configuration file must use .cfg as its extension name and the startup configuration file must be
saved at the root directory of the switch.
Displaying Switch Configuration
To do…
Use the command…
Remarks
Display the initial configuration
file saved in the Flash of a
switch
display saved-configuration [ unit unit-id ]
[ by-linenum ]
Display the configuration file
used for this and next startup
display startup [ unit unit-id ]
Display the current VLAN
configuration of the switch
display current-configuration vlan
[ vlan-id ] [ by-linenum ]
Display the validated
configuration in current view
display this [ by-linenum ]
Display current configuration
display current-configuration
[ configuration [ configuration-type ] |
interface [ interface-type ]
[ interface-number ] ] [ by-linenum ] [ | { begin
| exclude | include } regular-expression ]
Available in any
view.