< Home

packet-capture drop

Function

The packet-capture drop command captures the discarded packets in the specified queue.

The undo packet-capture drop command disables captures the discarded packets in the specified queue.

Format

packet-capture drop [ ipv4-packet advanced-acl-number | ipv6-packet advanced-acl-number ] [ queue queue-id ] [ interface interface-type interface-number ]

undo packet-capture drop [ interface interface-type interface-number ]

Parameters

Parameter Description Value

ipv4-packet

Indicates to capture the IPv4 packets.

-

ipv6-packet

Indicates to capture the IPv6 packets.

-

advanced-acl-number

Specifies the advanced ACL number.

The value is an integer ranging from 3000 to 3999.

queue-id

Specifies the queue for the packet capture interface to store captured packets.

The value is an integer that ranges from 0 to 3 for the root system and from 0 to 1 for the virtual system. The default value is 0.

interface-type interface-number

Specifies the interface type and the interface number.

-

Views

All view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Configure to capture the discarded packets.

<sysname> system-view
[sysname] packet-capture drop
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >