debugging packet filter

Function

The debugging packet filter command sets the filter condition for tracing protocol packets.

The undo debugging packet filter command cancels the filter condition for tracing protocol packets.

By default, all protocol packets are displayed after the protocol packet tracking function is enabled.

Format

debugging packet filter L2 { application | link }

debugging packet filter L3 { transport | ipv4 | application }

debugging packet filter { ingress | egress }

undo debugging packet filter L2 { application | link }

undo debugging packet filter L3 { transport | ipv4 | application }

undo debugging packet filter { ingress | egress }

Parameters

Parameter Description Value
application

Filters application layer protocol packets.

-

link

Filters link layer protocol packets.

-

L3

Filters Layer 3 protocol packets.

-

transport

Filters transport layer protocol packets.

-

ipv4

Filters IPv4 protocol packets.

-

ingress

Filters protocol packets on the inbound interface.

-

egress

Filters protocol packets on the outbound interface.

-

L2

Filters Layer 2 protocol packets.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
config debug

Usage Guidelines

Usage Scenario

When the debugging information about layer 2 or layer 3 protocol packets needs to be output on a terminal, the debugging packet filter command sets the filter condition for tracing the specified protocol packets. The debugging information about the protocol packets that meets the filter condition is not output on the terminal.

Follow-up Procedure

After the filter condition for tracing protocol packets is set, run the display debugging packet all command to view the debugging information about the protocol packets on the terminal.

Example

# Filter protocol packets at the link layer.
<HUAWEI> debugging packet filter l2 link
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >