< Home

packet-capture drop drop-type

Function

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

Format

packet-capture drop drop-type { blackhole | default-filter | fib-miss | arp-miss | session-miss | attack | bandwidth } [ queue queue-id ]

Parameters

Parameter Description Value

blackhole

Indicates the packets discarded because of blackhole route.

-

default-filter

Indicates the packets discarded because of default filtering policy.

-

fib-miss

Indicates the packets discarded because of missing the route.

-

arp-miss

Indicates the packets discarded because of missing the ARP entries.

-

session-miss

Indicates the packets discarded because they do not match the session table.

-

attack

Indicates the packets discarded due to attack defense.

-

bandwidth

Indicates the packets discarded due to traffic control in bandwidth management.

-

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.

Views

All view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Configure to capture the packets discarded because of blackhole route.

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