If the device starts up without using the configuration file, meaning the displayed startup configuration
file is NULL after you execute the display startup command, there will be no information displayed
when you execute the display saved-configuration command; if you have saved the configuration to
the configuration file after the device starts up, the information last saved in the configuration file is
displayed.
Related commands: save, reset saved-configuration; display current-configuration in Basic
Configuration Commands in the System Volume.
Examples
# Display the currently running configuration file saved on the storage medium of the device.
<Sysname> display saved-configuration
#
version 5.20, Test 5310
#
sysname Sysname
#
domain default enable system
#
telnet server enable
#
multicast routing-enable
#
vlan 1
#
vlan 999
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
interface NULL0
#
---- More ----
The configurations are displayed in the order of global, port, and user interface. " ---- More ----" means
that all information on this screen has been displayed, and if you press the Space key, the next screen
will be displayed.
# Display the contents of the currently running configuration file saved on the storage medium of the
device with a number identifying each line.
<Sysname> display saved-configuration by-linenum
1:
#
2:
version 5.20, Test 5310
3:
#
4:
sysname Sysname
5:
#
6:
domain default enable system
1-17