137
If the system has automatically changed the setting you have made for a parameter, this command
displays the effective setting instead of the configured one. An automatic change typically occurs
because of system restrictions.
Typically, this command does not display parameters that are using the default settings.
Examples
# Display local user configuration.
<Sysname> display current-configuration configuration local-user
#
local-user root class manage
password hash
$h$6$Twd73mLrN8O2vvD5$Cz1vgdpR4KoTiRQNE9pg33gU14Br2p1VguczLSVyJLO2huV5Syx/LfDIf8ROLtV
ErJ/C31oq2rFtmNuyZf4STw==
service-type ssh telnet terminal
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
return
# Display Ethernet interface configuration.
<Sysname> display current-configuration interface fortygige 1/0/1
#
interface FortyGigE1/0/1
port link-mode route
#
return
display current-configuration diff
Use
display current-configuration diff
to display the configuration differences between the current startup
configuration file and the next-startup configuration file.
Syntax
display current-configuration diff
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
This command compares the current startup configuration file with the next-startup configuration file in
the following steps:
1.
Compares the current startup configuration file with the main next-startup configuration file.
2.
If the main next-startup configuration file is unavailable or corrupt, this command compares the
current startup configuration file with the backup next-startup configuration file.