display traffic-statistics vsi

Function

The display traffic-statistics vsi command displays the traffic statistics of a specified VSI or VSI peer.

Format

display traffic-statistics vsi vsi-name [ peer peer-address [ negotiation-vc-id vc-id | ldp129 | remote-site remote-site-id ] ]

Parameters

Parameter Description Value
vsi-name

Specifies a VSI name.

The value is a string of 1 to 31 characters.

peer peer-address

Specifies a peer IP address.

The value is in dotted decimal notation.

negotiation-vc-id vc-id

Specifies a VC ID. VC ID negotiation is usually used when both ends need to communicate but their VSI IDs are different.

vc-id must be different from the IDs of other local VSIs or the VSI ID specified using negotiate-vc-id. The value is a decimal integer ranging from 1 to 4294967295.

ldp129

Displays the traffic statistics of VSIs with the FEC 129 signaling.

-

remote-site remote-site-id

Specifies a remote site ID.

The value is an integer ranging from 0 to 65534.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To check the traffic statistics of a specific VSI or VSI peer, run the display traffic-statistics vsi command:

  • If the peer peer-address parameter is specified, the command displays the traffic statistics of the specified VSI peer.
  • If the peer peer-address parameter is not specified, the command displays the traffic statistics of all VSI peers.
  • If the ldp129 parameter is specified, the command displays the traffic statistics of BGP AD VPLS PWs in the VSI with the specified VSI name.

    To monitor the traffic statistics of a specified VSI or VSI peer continuously within a certain period, run the monitor traffic-statistics l2vpn qos pw command. After this configuration is performed, the traffic statistics of a specified VSI or VSI peer are displayed at a specified interval for a specified number of times.

Example

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

# Display traffic statistics about the VSI named vsi1.
<HUAWEI> display vpls traffic-statistics vsi vsi1
vsi-name: vsi1
Peer-address: 2.2.2.9
Statistics last cleared: never
Last 300 seconds input rate : 27428324 bytes/sec, 24754 packets/sec                                                                 
Last 300 seconds output rate: 13124085 bytes/sec, 126193 packets/sec                                                                
Input: 148886496 bytes, 1127928 packets                                                                                          
Output: 17021554160 bytes, 163668790 packets                                                                                                          
Input:                                                                                                                              
   Unicast: 49628832 bytes, 375976 packets                                                                                                                      
   Multicast: 49628832 bytes, 375976 packets                                                                                                                    
   Broadcast: 49628832 bytes, 375976 packets                                                                                                                    
   DropPacket: 0 packets                                                                                                            
Output:                                                                                                                                 
   Unicast: 49628832 bytes, 375976 packets                                                                                                                          
   Multicast: 49628832 bytes, 375976 packets                                                                                                                        
   Broadcast: 49628832 bytes, 375976 packets
Table 1 Description of the display traffic-statistics vsi command output
Item Description
Statistics last cleared

Last time when traffic statistics were cleared.

never: Indicates that the traffic statistics were never cleared.

Last 300 seconds input rate

Packet input rate in the last 300 seconds.

Last 300 seconds output rate

Packet output rate in the last 300 seconds.

packets

Total number of packets.

vsi-name

VSI name.

Peer-address

Peer IP address.

bytes

Total number of bytes.

Input

Statistics about packets received by the VSI.

  • Unicast: indicates the number of unicast packets.The value is displayed after the traffic-statistics packet-type enable command is run. Otherwise,the field is not displayed.
  • Multicast: indicates the number of multicast packets. The value is displayed after the traffic-statistics packet-type enable command is run. Otherwise, the field is not displayed.
  • Broadcast: indicates the number of broadcast packets. The value is displayed after the traffic-statistics packet-type enable command is run. Otherwise, the field is not displayed.
  • DropPacket: indicates the number of discarded packets.
Output

Statistics about packets sent by the VSI.

  • Unicast: indicates the number of unicast packets. The value is displayed after the traffic-statistics packet-type enable command is run. Otherwise, the field is not displayed.
  • Multicast: indicates the number of multicast packets. The value is displayed after the traffic-statistics packet-type enable command is run. Otherwise, the field is not displayed.
  • Broadcast: indicates the number of broadcast packets. The value is displayed after the traffic-statistics packet-type enable command is run. Otherwise, the field is not displayed.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >