Display Saved-Configuration - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration 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.
Description
Use the display current-configuration command to display the configuration of the device.
A parameter is not displayed if it adopts the default setting. If the validated parameter is changed, it will
be displayed. For example, IP address 1 1.1 1.1 1.1 1 24 has been configured on a Loopback interface. If you
execute the display current-configuration command, IP address 1 1.1 1.1 1.1 1 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 current
configuration (the output information depends on the current configuration).
<Sysname> display current-configuration | begin user-interface
user-interface aux 0
user-interface vty 0 15
authentication-mode none
user privilege level 3
#
return
# Display the current SNMP configuration on the device (the output information depends on the current
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

display saved-configuration

Syntax
display saved-configuration [ by-linenum ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
by-linenum: Identifies each line of displayed information with a line number.
105

Advertisement

Table of Contents
loading

Table of Contents