R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

70
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display current-configuration to display the running configuration of the device.
A parameter is not displayed if it adopts the default setting. If the validated parameter is changed,
although you have configured it, the validated parameter is displayed. For example, IP address 11.11.11.11
24 has been configured on a Loopback interface. If you execute the display current-configuration
command, IP address 11.11.11.11 255.255.255.255 is displayed, meaning the validated subnet mask is
32 bits.
Related commands: display saved-configuration, reset saved-configuration, and save.
Examples
# 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 vty 0 4
authentication-mode none
user privilege level 3
#
return
# Display the current SNMP configuration on the device.
<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
display default-configuration
Syntax
display default-configuration [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
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.