HP VPN Firewall Appliances System Management and Maintenance Command Reference

69
post-system: Displays the post-system configuration.
system: Displays the system configuration.
user-interface: Displays the user interface configuration.
interface [ interface-type [ interface-number ] ]: Displays interface configuration, where interface-type
represents the interface type and interface-number represents the interface number.
exclude modules: Excludes the configuration of specific modules. The modules argument can be acl, acl6,
or both separated by a space.
acl: Excludes the IPv4 ACL configuration.
acl6: Excludes the IPv6 ACL configuration.
by-linenum: Displays the number of each line.
|: 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.
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 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 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