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.
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. |
- |
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.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display forward-statistics packet discard mac ipv6 interface GigabitEthernet 0/1/0 ==================================================== IPv6(high, low) ---------------------------------------------------- mac (0, 0) ====================================================
<HUAWEI> display forward-statistics packet discard slot 1 ==================================================== IPv4(high, low) IPv6(high, low) ---------------------------------------------------- mac (0, 0) (0, 0) ---------------------------------------------------- mtu (0, 0) (0, 0) ====================================================
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... |