traffic-statistics vsi qos

Function

The display traffic-statistics vsi qos command displays traffic statistics about a specified VSI or PW.

The monitor traffic-statistics vsi qos command monitor traffic statistics about a specified VSI or PW.

Format

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

monitor traffic-statistics vsi vsi-name qos [ peer peer-address [ negotiation-vc-id vc-id | ldp129 | remote-site remote-site-id ] ] [ [ interval interval ] [ times { times-value | infinity } ] | [ times { times-value | infinity } ] [ interval interval ] ]

Parameters

Parameter Description Value
peer peer-address

Specifies a peer IP address.

The value is in dotted decimal notation.

negotiation-vc-id vc-id

Specifies the unique identifier of a VC. A VC ID is used when both ends with different VSI IDs need to communicate.

The specified VC ID must be unique on the local device. This means that the specified negotiated VC ID must be different from other local VSI IDs and negotiated VSI IDs. The value is an integer ranging from 1 to 4294967295.

ldp129

Displays traffic statistics about PWs established using LDP signaling packets that carry FEC 129 TLVs.

-

remote-site remote-site-id

Specifies a remote site ID.

The value is an integer ranging from 0 to 65534.

vsi vsi-name

Specifies a VSI name.

The value is a string of 1 to 31 characters.

interval interval

Specifies an interval at which VPWS QoS traffic statistics are displayed.

The value is an integer ranging from 2 to 600, in seconds. The default value is 10.

times times-value

Specifies the number of times that VPWS QoS traffic statistics are to be displayed.

The value is an integer ranging from 1 to 999. The default value is 5.

infinity

Displays VPWS QoS traffic statistics for infinite.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To view QoS traffic statistics about a specified VSI or PW, run the display traffic-statistics vsi qos command.

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

Precautions

To view QoS traffic statistics of a specified VSI, the VSI must have traffic statistics collection enabled, and VSI-based QoS parameters must be configured.

To view QoS traffic statistics about a PW (only LDP-based PW is supported), the PW must have traffic statistics collection enabled, and PW-based QoS parameters must be configured.

Example

# Display QoS traffic statistics of the VSI named 2.
<HUAWEI> display traffic-statistics vsi 2 qos peer 10.10.10.10
VSI name : 2
  Peer IP : 10.10.10.10
  Negotiation VC ID: 12
  Statistics last cleared : never
  Last 300 seconds QoS statistics rate : 0 bits/sec, 0 packets/sec 
  QoS statistics output: 33874044 bytes, 464028 packets   
    PacketRate : Last 300 seconds packets rate(packets/sec)  
    BitRate : Last 300 seconds bits rate(bits/sec)  
    Passed statistics :    
      Queue  Packets          Bytes            PacketRate     BitRate           
      ----------------------------------------------------------------------    
      be     464028           33874044         0              0                  
      af1    0                0                0              0                  
      af2    0                0                0              0                  
      af3    0                0                0              0                  
      af4    0                0                0              0                  
      ef     0                0                0              0                  
      cs6    0                0                0              0                  
      cs7    0                0                0              0                  
      ----------------------------------------------------------------------  
    Discarded statistics :    
      Queue  Packets          Bytes            PacketRate     BitRate           
      ----------------------------------------------------------------------    
      be     0                0                0              0                  
      af1    0                0                0              0                  
      af2    0                0                0              0                  
      af3    0                0                0              0                  
      af4    0                0                0              0                  
      ef     0                0                0              0                  
      cs6    0                0                0              0                  
      cs7    0                0                0              0                  
      ----------------------------------------------------------------------
# Display QoS traffic statistics of the VSI at the interval of 2s for twice.
<HUAWEI> monitor traffic-statistics vsi 1 qos peer 10.10.10.10 interval 2 times 2
Display qos statistics of the pw at the interval of 2 seconds for up to 2 times. Press Ctrl + C to stop.
  0 seconds left
Times 1
VSI name : 2
  Peer IP : 10.10.10.10
  Negotiation VC ID: 12
  Statistics last cleared : never
  Last 300 seconds QoS statistics rate : 0 bits/sec, 0 packets/sec 
  QoS statistics output: 33874044 bytes, 464028 packets   
    PacketRate : Last 300 seconds packets rate(packets/sec)  
    BitRate : Last 300 seconds bits rate(bits/sec)  
    Passed statistics :    
      Queue  Packets          Bytes            PacketRate     BitRate           
      ----------------------------------------------------------------------    
      be     464028           33874044         0              0                  
      af1    0                0                0              0                  
      af2    0                0                0              0                  
      af3    0                0                0              0                  
      af4    0                0                0              0                  
      ef     0                0                0              0                  
      cs6    0                0                0              0                  
      cs7    0                0                0              0                  
      ----------------------------------------------------------------------  
    Discarded statistics :    
      Queue  Packets          Bytes            PacketRate     BitRate           
      ----------------------------------------------------------------------    
      be     0                0                0              0                  
      af1    0                0                0              0                  
      af2    0                0                0              0                  
      af3    0                0                0              0                  
      af4    0                0                0              0                  
      ef     0                0                0              0                  
      cs6    0                0                0              0                  
      cs7    0                0                0              0                  
      ----------------------------------------------------------------------

  0 seconds left
Times 1
VSI name : 2
  Peer IP : 10.10.10.10
  Negotiation VC ID: 12
  Statistics last cleared : never
  Last 300 seconds QoS statistics rate : 0 bits/sec, 0 packets/sec 
  QoS statistics output: 33874044 bytes, 464028 packets   
    PacketRate : Last 300 seconds packets rate(packets/sec)  
    BitRate : Last 300 seconds bits rate(bits/sec)  
    Passed statistics :    
      Queue  Packets          Bytes            PacketRate     BitRate           
      ----------------------------------------------------------------------    
      be     464028           33874044         0              0                  
      af1    0                0                0              0                  
      af2    0                0                0              0                  
      af3    0                0                0              0                  
      af4    0                0                0              0                  
      ef     0                0                0              0                  
      cs6    0                0                0              0                  
      cs7    0                0                0              0                  
      ----------------------------------------------------------------------  
    Discarded statistics :    
      Queue  Packets          Bytes            PacketRate     BitRate           
      ----------------------------------------------------------------------    
      be     0                0                0              0                  
      af1    0                0                0              0                  
      af2    0                0                0              0                  
      af3    0                0                0              0                  
      af4    0                0                0              0                  
      ef     0                0                0              0                  
      cs6    0                0                0              0                  
      cs7    0                0                0              0                  
      ----------------------------------------------------------------------
Table 1 Description of the traffic-statistics vsi qos command output
Item Description
VSI name

Name of the VSI whose traffic statistics are displayed.

Peer IP

IP address of the PW peer.

Negotiation VC ID

Specifies the unique identifier of a VC. A VC ID is used when both ends with different VSI IDs need to communicate.

Statistics last cleared

Last time when traffic statistics were cleared.

Last 300 seconds QoS statistics rate

Rate at which QoS-based traffic statistics are collected for packets forwarded within the latest 300s.

Last 300 seconds packets rate

Rate at which packets are forwarded within the latest 300s.

Last 300 seconds bits rate

Rate at which bits of packets are forwarded within the latest 300s.

QoS statistics output

Statistics about packets sent based on QoS.

PacketRate

Packet rate within the latest 300s, expressed in packets/s.

BitRate

Bit rate within the latest 300s, expressed in bits/s.

Passed statistics

Indicates the passed packets.

Queue

Queue for traffic statistics collection.

Packets

Number of sent packets.

Bytes

Number of sent bytes.

Discarded statistics

Indicates the discarded packets.

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