display vlan statistics

Function

The display vlan statistics command displays statistics about both sent and received packets on all interfaces in a specified VLAN.

Format

display vlan vlan-id statistics

Parameters

Parameter Description Value
vlan-id

Displays packet statistics on all interfaces in a specified VLAN.

The value is an integer ranging from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vlan read

Usage Guidelines

Usage Scenario

If a VLAN contains multiple interfaces, run the display vlan statistics command to view packet statistics of all interfaces in the VLAN. The command output helps you analyze interface faults.

Prerequisites

Collecting VLAN packet statistics has been enabled using the statistic enable command in the VLAN view.

Precautions

To view VLAN packet statistics on a specified VLAN member interface, run the display statistics vlan command in the interface view.

To view the packet sending and receiving rates of a VLAN, run the display statistics interface vlan command to view the rate of each member interface. The packet sending and receiving rate of the VLAN is the sum of the rates of all member interfaces.

Example

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

# Display VLAN statistics on all interfaces.
<HUAWEI> display vlan 10 statistics
0 packets input, 0 bytes
    0 packets output, 0 bytes
    Input:0 unicasts, 0 multicasts
          0 broadcasts
          0 unknown-unicast-drops           0 unknown-multicast-drops           0 broadcasts-drops
   Output:0 unicasts, 0 multicasts
          0 broadcasts
Table 1 Description of the display vlan statistics command output
Item Description
0 packets input

Number of received packets. The received packets are classified into the following three types:

  • Correct packets, including unicast, broadcast, and multicast packets.
  • Discarded packets.

    The Input field contains the following information:

  • packets, bytes: Numbers of correct packets and bytes. packets indicates the total number of unicast, broadcast, and multicast packets.
  • unicast, broadcast, multicast: Numbers of correct unicast, multicast, and broadcast packets.
  • unknown-unicast-drops: Number of discarded unknown unicast packets.
  • unknown-multicast-drops: Number of discarded unknown multicast packets.
  • broadcasts-drops: Number of discarded broadcast packets.
0 packets output

Number of sent packets.

The Output field contains the following information:

  • packets, bytes: Numbers of correct packets and bytes. packets indicates the total number of unicast, broadcast, and multicast packets.
  • unicast, broadcast, multicast: Numbers of correct unicast, multicast, and broadcast packets.
0 packets input, 0 bytes

Number of received packets. The received packets are classified into the following three types:

  • Correct packets, including unicast, broadcast, and multicast packets.
  • Discarded packets.

    The Input field contains the following information:

  • packets, bytes: Numbers of correct packets and bytes. packets indicates the total number of unicast, broadcast, and multicast packets.
  • unicast, broadcast, multicast: Numbers of correct unicast, multicast, and broadcast packets.
  • unknown-unicast-drops: Number of discarded unknown unicast packets.
  • unknown-multicast-drops: Number of discarded unknown multicast packets.
  • broadcasts-drops: Number of discarded broadcast packets.
Input

Message information received by the interface.

Output

Message information sent by the interface.

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