Display Current-Configuration - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

display current-configuration

Syntax
display current-configuration [ [ configuration [ configuration ] | interface [ interface-type ]
[ interface-number ] ] [ by-linenum ] [ | { begin | exclude | include } regular-expression ] ]
View
Any view
Default Level
2: System level
Parameters
configuration [ configuration ]: Specifies to display non-interface configuration. if parameters are used,
display the specified information. For example:
isp: Displays the ISP configuration.
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 the interface configuration, where
interface-type represents the interface type and interface-number represents the interface number.
by-linenum: Specifies to display the number of each line.
|: Specifies to use regular expression to filter the configuration of display device. For the detailed
description of the regular expression, refer to the CLI Display part of Basic System Configuration.
begin: Displays the line that matches the regular expression and all the subsequent lines.
exclude: Displays the lines that do not match the regular expression.
include: Displays only the lines that match the regular expression.
regular-expression: Regular expression, a string of 1 to 256 characters. Note that this argument is
case-sensitive and can have spaces included.
Description
Use the display current-configuration command to display the current validated configuration of a
device.
You can use the display current-configuration command to view the currently validated configuration.
A parameter is not displayed if it has the default configuration. 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. In this case, 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: save, reset saved-configuration, display saved-configuration.
Examples
# Display the configuration from the line containing "user-interface" to the last line in the current
validated configuration (the output information depends on the device model and the current
configuration).
1-9

Advertisement

Table of Contents
loading

Table of Contents