The display configuration commit command displays all configurations at a specified configuration rollback point.
The display configuration command displays information about a specified configuration file.
The display saved-configuration command displays the configuration file used after the device is restarted.
Parameter | Description | Value |
---|---|---|
last |
Displays the system configurations saved last time. |
- |
configuration |
Display parameter information about the configuration of the autosave function. |
- |
configuration-file |
Specifies the name of a configuration file. The file must have been created. |
The name is a string of 5 to 64 characters in the format of *.zip, *.cfg or *.dat. |
at commit-id |
Displays configuration changes at a configuration rollback point. |
The id is a string of 1 to 22 characters and generated by the system automatically. |
Usage Scenario
Prerequisites
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display saved-configuration # info-center loghost source LoopBack0 info-center loghost 10.1.1.1 info-center loghost 10.1.1.2 # sysname HUAWEI # user-interface maximum-vty 15 # efm enable # aaa local-user ftp password cipher $1c$k4:o79a_DJ$dkxW!,\@7Cjr*k+Q}gb'{g{x)#wS1GjQST'EZ]/F$ local-user ftp ftp-directory cfcard:/ local-user ftp service-type ftp # interface GigabitEthernet0/1/2 description Don't Shutdown! It's Management Port! undo shutdown ip address 10.2.2.2 255.255.255.0 # interface LoopBack0 ip address 1.1.1.1 255.255.255.255 # user-interface con 0 set authentication password cipher $1c$k4:o79a_DJ$dkxW!,\@7Cjr*k+Q}gb'{g{x)#wS1GjQST'EZ]/F$ history-command max-size 30 # user-interface vty 0 14 user privilege level 3 idle-timeout 0 0 # return
<HUAWEI> display saved-configuration configuration
Auto save configuration status : Enable
Auto save configuration interval : 60 minutes
Save delay after configuration changed : 10 minutes
The threshold of the CPU usage permited when save : 50%(default)
<HUAWEI> display configuration vrpcfg.cfg # info-center loghost source LoopBack0 info-center loghost 10.1.1.1 info-center loghost 10.1.1.2 # sysname HUAWEI # user-interface maximum-vty 15 # efm enable # aaa local-user ftp password cipher $1c$k4:o79a_DJ$dkxW!,\@7Cjr*k+Q}gb'{g{x)#wS1GjQST'EZ]/F$ local-user ftp ftp-directory cfcard:/ local-user ftp service-type ftp # interface GigabitEthernet0/1/0 description Don't Shutdown! It's Management Port! undo shutdown ip address 2.2.2.2 255.255.255.0 # interface LoopBack0 ip address 1.1.1.1 255.255.255.255 # user-interface con 0 set authentication password cipher $1c$k4:o79a_DJ$dkxW!,\@7Cjr*k+Q}gb'{g{x)#wS1GjQST'EZ]/F$ history-command max-size 30 # user-interface vty 0 14 user privilege level 3 idle-timeout 0 0 # return
Item | Description |
---|---|
Auto save configuration status | The status of auto save configuration function.
|
Auto save configuration interval | Interval for auto-save. |
Save delay after configuration changed | Auto-save delay time after a configuration change. |
The threshold of the CPU usage permited when save | Threshold of CPU usage permitted during auto-save. |