139
display default-configuration
Use
display default-configuration
to display the factory defaults.
Syntax
display default-configuration
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
The device does not have factory defaults. When you execute this command, the device displays nothing.
Examples
# Display the factory defaults.
<Sysname> display default-configuration
display diff
Use
display diff
to display the configuration differences between two configuration files.
Syntax
display
diff
configfile
file-name-s
{
configfile
file-name-d
|
current-configuration
|
startup-configuration
}
display
diff
current-configuration
{
configfile
file-name-d
|
startup-configuration
}
display
diff
startup-configuration
{
configfile
file-name-d
|
current-configuration
}
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
configfile
file-name-s
: Specifies the source configuration file for comparison.
configfile
file-name-d
: Specifies the target configuration file for comparison.
current-configuration
: Specifies the current startup configuration file. In the
display diff
current-configuration
command, this keyword specifies the source configuration file for comparison. In
the
display diff configfile
file-name-s
and
display diff startup-configuration
commands, this keyword
specifies the target configuration file.
startup-configuration
: Specifies the next-startup configuration file. In the
display diff
startup-configuration
command, this keyword specifies the source configuration file for comparison. In