R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

161
current-configuration command displays 11.11.11.11 255.255.255.255 because the subnet mask for a
Loopback interface must be 32 bits and the system has automatically corrected the subnet mask.
Examples
# Display the configuration of all controllers.
<Sysname> display current-configuration controller
#
controller E1 6/0
#
controller E1 6/1
pri-set
#
controller E1 6/2
pri-set
#
controller E1 6/3
using e1
#
return
# Display the configuration from the line containing "user-interface" to the last line in the running
configuration.
<Sysname> display current-configuration | begin user-interface
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode none
user privilege level 3
#
return
# Display the running SNMP configuration.
<Sysname> display current-configuration | include snmp
snmp-agent
snmp-agent local-engineid 800063A203000FE240A1A6
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info version all
undo snmp-agent trap enable ospf 100
Related commands
display saved-configuration
reset saved-configuration
save
display device
Use display device to display device information.