display forward-statistics packet discard

Function

The display forward-statistics packet discard command displays statistics about packets that have been discarded because the packets' destination MAC addresses are different from an interface's MAC address or the packets' sizes exceed the interface's MTU.

Format

display forward-statistics packet discard [ mac | mtu ] [ ipv4 | ipv6 ] { interface { interface-type interface-number | interface-name } | slot slot-id }

Parameters

Parameter Description Value
mac

Displays statistics about packets that have been discarded because the packets' destination MAC addresses are different from an interface's MAC address.

-

mtu

Displays statistics about packets that have been discarded because the packets' sizes exceed an interface's MTU.

-

ipv4

Displays statistics about discarded IPv4 packets.

-

ipv6

Displays statistics about discarded IPv6 packets.

-

interface interface-type interface-number

Specifies an interface type and number.

-

slot slot-id

Specifies a slot ID.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
forwarding read

Usage Guidelines

Usage Scenario

To view statistics about packets that have been discarded on the network side because the packets' destination MAC addresses are different from an interface's MAC address or the packets' sizes exceed the interface's MTU, run the display forward-statistics packet discard command. This configuration helps fault locating or traffic tracing.

Precautions

To use the full query function, run the statistic enable mode port command on the interface.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about IPv6 packets that have been discarded on GE 0/1/0 because the packets' destination MAC addresses are different from GE 0/1/0 's MAC address.
<HUAWEI> display forward-statistics packet discard mac ipv6 interface GigabitEthernet 0/1/0
 ====================================================
            IPv6(high, low)
 ----------------------------------------------------
  mac        (0, 0)
 ====================================================
# Display statistics about discarded packets on the interface board in slot 1.
<HUAWEI> display forward-statistics packet discard slot 1
 ====================================================
          IPv4(high, low)        IPv6(high, low)
 ----------------------------------------------------
  mac      (0, 0)                 (0, 0)
 ----------------------------------------------------
  mtu      (0, 0)                 (0, 0)
 ====================================================
Table 1 Description of the display forward-statistics packet discard command output
Item Description
IPv6(high, low)

Number of discarded IPv6 packets. Number of discarded IPv6 packets = high x 232 + low.

IPv4(high, low)

Number of discarded IPv4 packets. Number of discarded IPv4 packets = high x 232 + low...

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