home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show policy qos <interface-name> class

Displays the number of packets and bytes that QoS has matched to the configured classes, for a specific interface. You can use this command to see how the traffic has been split into flows by the second stage of classification.
policy
This keyword exists for 'organizational' purposes only, to structure the configuration path for relevant command strings.
qos <interface-name>

The name of the interface that has the QoS entity attached that you wish to clear or show.

Note: Example interface and VIF names

Example interface names: dp0p1s2; dp0xe14; dp0vhost3.

Example VIF names: dp0p1s2.20; dp0ce3.100.

class
Displays a summary of classes and the amount of traffic they have processed, and the match rules of each class.

Show QoS class match counters for a specific interface

user@system:~$ show policy qos dp0p3s0 class
Interface        Class              Packets                Bytes         
--------------------------------------------------------------------------
dp0p3s0              1                 6342              9443804         
                 Match: proto-final 17  apply tag(1) 
                     2               618277            935839065         
                 Match: proto-final 6  apply tag(2)

In this example, Match: shows that the match rule on class 1 is matching packets against protocol number 17; apply tag(1) means that the rule is tagging packets that match so that QoS allocates them to class 1.

Interface
The interface on which QoS queues packets.
Class
The class, where class 0 is the default class as handled by the default profile.
packets
The number of packets that QoS has classified to the traffic class.
bytes
The number of bytes that QoS has classified to the traffic class.
Match
Identifies what the match rule is matching packets against.