display statistics interface

Function

The display statistics interface command displays traffic statistics of a sub-interface bound to a VSI.

Format

display statistics interface { interface-name | iftype ifnumber } vsi vsi-name

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vlan read

Usage Guidelines

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.

Example

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

# Display traffic statistics about GE 0/1/1.1 in the VSI named a2.
<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
Table 1 Description of the display statistics interface command 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:

  • unicast.
  • multicast.
  • broadcast.
  • unknown-unicast.
Output

Type of sent packets:

  • unicast.
  • multicast.
  • broadcast.
  • unknown-unicast.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >