R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference
113
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Use this command to verify the configuration you have made.
Typically, this command does not display parameters that are set to their default settings.
If the system has automatically changed the setting you have made for a parameter, for example, due to
a system restriction, this command displays the effective setting rather than the configured one. For
example, assign IP address 11.11.11.11 24 to a Loopback interface. However, the display
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










