1-7
Parameters
unit unit-id: Specifies the unit ID of a switch. With this keyword-argument combination specified, this
command can display the initial configuration file of the specified unit.
by-linenum: Displays configuration information with line numbers.
Description
Use the display saved-configuration command to display the initial configuration file of a switch.
Note that:
z If the switch starts up without a configuration file, the system will display that no configuration file
exists upon execution of the command.
z If you have saved configuration after the switch starts up, the command displays the last saved
configuration.
Related commands: save, reset saved-configuration, display current-configuration.
Examples
# Display the initial configuration file of the current switch.
<Sysname> display saved-configuration
#
sysname Sysname
#
gvrp
#
MAC-authentication
#
vlan 1
#
interface Vlan-interface1
ip address 192.168.0.36 255.255.255.0
#LOCCFG. MUST NOT DELETE
#
interface Aux1/0/0
#
interface Ethernet1/0/1
priority 7
webcache address 1.1.1.1 mac 0000-0000-0001 vlan 1
traffic-limit inbound ip-group 3001 rule 1 640 exceed remark-dscp 4
traffic-priority inbound ip-group 2000 rule 0 dscp ef
line-rate inbound 128
#
interface Ethernet1/0/2
voice vlan enable
#
interface Ethernet1/0/3
port link-type hybrid
port hybrid vlan 1 3 untagged
voice vlan enable