debugging packet (User view)

Function

The debugging packet timeout command sets the timeout interval for tracing protocol packets.

The undo debugging packet all command disables debugging of all protocol packets.

By default, the timeout interval for tracing protocol packets is 0, indicating that no timeout interval is set.

Format

debugging packet timeout timeout_value

undo debugging packet all

Parameters

Parameter Description Value
timeout timeout_value

Specifies the timeout interval for tracing protocol packets.

The value is an integer ranging from 0 to 3600, in seconds.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
config debug

Usage Guidelines

Usage Scenario

Debugging affects the system performance. A user may forget to disable debugging in time, which adversely affects the system performance. The debugging packet timeout command sets the timeout interval for tracing protocol packets. When the timeout interval for tracing protocol packets reaches the preset value, the debugging command for tracing all protocol packets becomes invalid automatically and the terminal stops outputting debugging information.

Follow-up Procedure

After the timeout interval for tracing protocol packets is set, run the display debugging packet all command to check the timeout interval for tracing protocol packets.

Precautions

Debugging affects the system performance. After debugging is complete, run the undo debugging packet all command in time to disable debugging of all protocol packets.

In VS mode, this command is supported only by the admin VS.

Example

# Set the timeout interval for tracing protocol packets to 10s.
<HUAWEI> debugging packet timeout 1
# Disable debugging of all protocol packets.
<HUAWEI> undo debugging packet all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >