display this

Function

The display this command displays the configurations of the system in the current view.

Format

display this [ include-default ]

Parameters

Parameter Description Value
include-default

Displays both the configurations that users have performed and default configurations.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
config execute

Usage Guidelines

Usage Scenario

  • After a set of configurations are complete in a certain view, you can run the display this command to check whether the configurations are correct.
  • The effective parameters the same as the default parameters are not displayed. The set parameters that do not be committed successfully are neither displayed.
  • Note the following points when using the display this command:
    • If include-default is not specified, the command displays only user-configured information.
    • If include-default is specified, the command displays both user-configured information and default configuration information.
  • Offline configuration is marked using an asterisk (*).

Precautions

  • In the view of a specific interface, the display this command displays the configurations of the interface.
  • In the view of a specific protocol, this command displays the configurations associated with the protocol.
  • In the sub-view of a protocol, no configuration is displayed after this command is run.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the effective parameters in the current view on the device.
<HUAWEI> system-view
[~HUAWEI] display this
#
sysname HUAWEI
#
return
# Display the configurations that take effect in the current view on the device and default configurations. (The command output is not all listed.)
<HUAWEI> system-view
[~HUAWEI] display this include-default
#
sysname HUAWEI
#
undo command-privilege level rearrange
#
FTP server port 21
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >