< Home

display debugging

Function

The display debugging command displays debugging messages allowed to be sent by the device.

Format

display debugging [ interface interface-type interface-number ] [ module-name ]

display debugging interface all

display debugging slot slot-id vcpu vcpu-index

Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support vcpu vcpu-index parameter.

Parameters

Parameter Description Value

interface interface-type interface-number

Specifies the interface type and number.

-

all

Display debugging information on all interfaces.

-

module-name

Displays debugging messages sent by a specified module such as the DHCP module. If this parameter is not specified, all debugging messages allowed to be sent are displayed.

Enumerated type. The value depends on the registered module.

slot slot-id

Specifies a slot ID.

The value is an integer, and the value range depends on the device configuration.

vcpu vcpu-index

Specifies the virtual CPU number.

Specify the vcpu-index parameter based on the hardware configuration.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Using the display debugging command, you can display the enabled debugging. If no parameters are specified, the display debugging command displays global debugging information.

Debugging affects device performance. The display debugging command displays debugging messages allowed to be sent by the Switch.

Prerequisites

By default, sending debugging messages is prohibited. The debugging of a specified module has been enabled.

Example

# Display debugging messages allowed to be sent by the Switch.

<HUAWEI> debugging acl4 all
<HUAWEI> display debugging
ACL4 event debugging switch is on                                               
ACL4 packet debugging switch is on
Table 1 Description of the display debugging command output

Item

Description

ACL4 event debugging switch is on

Event debugging is enabled for the ACL4 module.

ACL4 packet debugging switch is on

Packet debugging is enabled for the ACL4 module.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >