< Home

display saved-configuration

Function

The display saved-configuration command displays the configuration file to be used for the next startup.

Format

display saved-configuration [ last | time | configuration ]

Parameters

Parameter Description Value
last Displays the system configurations saved last time. -
time Displays the recent time when the configurations are saved manually or automatically. -
configuration Displays the parameters of the automatic save function. -

Views

All views

Default Level

3: Management level

Usage Guidelines

If the device has been started and is not working properly, run the display saved-configuration command to check the device startup configuration in the file specified by running the startup saved-configuration command.

Run the display saved-configuration last command to check the system configurations saved last time in the configuration file loaded during the current startup.

Run the display saved-configuration time command to check the last time when the system configurations are saved.

Run the display saved-configuration configuration command to check the automatic save function parameters including the automatic save interval and CPU usage.

The command output is relevant to user configuration.

Example

# Display the configuration file for the next startup.

<HUAWEI> display saved-configuration
#
 sysname Switch
...
#
 vlan batch 10 20
#
interface Vlanif10
 ip address 192.168.1.3 255.255.255.0
#
interface Vlanif20
 ip address 192.168.4.3 255.255.255.0
...
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 20
...
#
user-interface maximum-vty 15
user-interface con 0
user-interface vty 0 14
 idle-timeout 0 0
#
return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >