The display statistics interface command displays traffic statistics of a sub-interface bound to a VSI.
| Parameter | Description | Value |
|---|---|---|
| vsi vsi-name |
Specifies an VSI name. |
The value is a string of 1 to 31 characters. |
| interface interface-name |
Specifies an interface name. |
The value is a string of 1 to 63 characters. |
| interface iftype |
Specifies an interface type. |
The value is a string of 1 to 31 characters. |
| interface ifnumber |
Specifies an interface number. |
The value is a string of 1 to 63 characters. |
Usage Scenario
If a sub-interface is bound to a VSI and traffic measurement is enabled on the sub-interface, you can run display statistics interface command to view traffic statistics on the sub-interface within a certain period. The statistics includes multicast, broadcast, unicast, and unknown unicast traffic statistics.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display statistics interface GigabitEthernet 0/1/1.1 vsi a2 Last 5 minutes input rate 0 packets/sec, 0 bytes/sec Last 5 minutes output rate 0 packets/sec, 0 bytes/sec 0 packets input, 0 bytes 0 packets output, 0 bytes Input:0 packets of unicast input 0 packets of multicast input 0 packets of broadcast input 0 packets of unknown-unicast input Output:0 packets of unicast output 0 packets of multicast output 0 packets of broadcast output 0 packets of unknown-unicast output
| Item | Description |
|---|---|
| Last 5 minutes input rate | Rate at which bytes and packets are received within last 5 minutes. |
| Last 5 minutes output rate | Rate at which bytes and packets are sent within last 5 minutes. |
| packets | Number of packets. |
| bytes | Number of bytes. |
| Input | Type of received packets:
|
| Output | Type of sent packets:
|