The display vlan-statistics interface command displays statistics about user packets with specified VLAN IDs on a specified interface.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
pevlan pevlan-id |
Displays statistics about user packets with a specified single or outer VLAN ID on a specified interface. |
The value is an integer ranging from 1 to 4094. |
cevlan cevlan-id |
Displays statistics about user packets with a specified inner VLAN ID on a specified interface. |
The value is an integer ranging from 1 to 4094. |
verbose |
Displays verbose information. |
- |
interface interface-type |
Displays statistics about user packets on a specified interface. |
- |
interface interface-number |
Specifies the number of an interface. |
- |
Usage Scenario
On some networks, each device is assigned a unique outer VLAN ID. Statistics about upstream and downstream user traffic on an interface bound to a VLAN help diagnose whether a device is working properly. If no user traffic exists on the device for a long time, the device may fail and requires a further check.
To check statistics about user packets with specified VLAN IDs on a specified interface, run the display vlan-statistics command. The command output helps you analyze interface faults.Prerequisites
When querying the sub interface information, need to configure the command set vlan statistics subinterface enable in the system first.
Precautions
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display vlan-statistics interface gigabitethernet 0/1/2.1 pevlan 1 Interface Name: GigabitEthernet0/1/2.1 input: 0 packets, 0 bytes output: 0 packets, 0 bytes ipv4 input: 0 packets, 0 bytes ipv4 output: 0 packets, 0 bytes ipv6 input: 0 packets, 0 bytes ipv6 output: 0 packets, 0 bytes
Item | Description |
---|---|
Interface Name | Interface name. |
ipv4 input | Statistics about received IPv4 user packets. |
ipv4 output | Statistics about sent IPv4 user packets. |
ipv6 input | Statistics about received IPv6 user packets. |
ipv6 output | Statistics about sent IPv6 user packets. |
input | Statistics about received IPv4 and IPv6 user packets. |
output | Statistics about sent IPv4 and IPv6 user packets. |