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

74
display this
Syntax
display this [ by-linenum ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
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.
Description
Use display this to display the valid configuration information under the current view.
To check whether your configuration takes effect, use the display this command.
The valid configuration that is the same as the default is not displayed.
The invalid configuration is not displayed.
Executed in any user interface view, the command displays the valid configuration in all the user
interfaces.
Executed in any VLAN view, the command displays the configurations of all the created VLANs.
Examples
# Display the valid configuration information on interface GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] display this
#
interface GigabitEthernet0/1
port link-mode bridge
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 2 to 4 untagged
port hybrid pvid vlan 2
#
return
# Display the valid configuration information of all user interfaces.
<Sysname> system-view
[Sysname] user-interface vty 0