Vyatta NOS documentation

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

show policy qos <interface-name>

Displays the QoS policy counters.
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 policy attached that you wish to clear or show.

For more, see qos <interface-name>.

Show all outgoing QoS policies

user@system:~$ show policy qos 
Interface          TC             Counters          
-----------------------------------------------------
dp0p3s0             0            142240378 Bytes    
                                     93951 Packets  
                                         0 Tail-drop
                                         0 RED-drop 
                    1            287213370 Bytes    
                                    189705 Packets  
                                         0 Tail-drop
                                         0 RED-drop 
                    2            423106982 Bytes    
                                    279463 Packets  
                                         0 Tail-drop
                                         0 RED-drop 
                    3            543336540 Bytes    
                                    359133 Packets  
                                         0 Tail-drop
                                         0 RED-drop 
Interface
The interface on which QoS queues packets.
TC
The traffic class for which QoS displays statistics.
Counters
The rows in this column are as follows:
bytes
The number of bytes that QoS has classified to the traffic class.
packets
The number of packets that QoS has classified to the traffic class.
Tail-drop
The number of packets that QoS has dropped because the queues in the traffic classes were full.
RED-drop
The number of packets that QoS has randomly dropped for the traffic class.

Show specific QoS policies

user@system:~$ show policy qos dp0p3s0 
Class TC WRR Pipe-QID  Qlength         PLQ             Counters          
--------------------------------------------------------------------------
0      0   0                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           1                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           2                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           3                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           4                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           5                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           6                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           7                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
       1   0                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           1                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           2                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           3                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           4                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           5                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           6                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           7                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
       2   0                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           1                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           2                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           3                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           4                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           5                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           6                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           7                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
       3   0                 0 packets                       42 bytes    
                                                              1 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           1                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           2                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           3                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           4                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           5                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           6                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
           7                 0 packets                        0 bytes    
                                                              0 packets  
                                                              0 Tail-drop
                                                              0 RED-drop 
1      0   0                 0 packets                  3371870 bytes    
                                                           2263 packets  
                                                              0 Tail-drop
                                                              0 RED-drop

...and so on, where the rows to increment up to Class: 2, TC: 3 WRR: 7.

Class
The class, where class 0 is the default class as handled by the default profile.
TC
The traffic class for which QoS displays statistics.
WRR
The weighted round robin queue number of the parent traffic class.
Pipe-QID
The profile queue identifier, as in profile <profile-name> queue <queue-id>.
Qlength
The number of packets or bytes that are currently waiting on the profile queue.
PLQ
The priority local queue. If you configured QoS to use a profile queue for priority local traffic, then you will see an asterisk (*) next to the profile queue that you set.
Counters
The rows in this column are as follows:
bytes
The number of bytes that QoS has classified to the traffic class.
packets
The number of packets that QoS has classified to the traffic class.
Tail-drop
The number of packets that QoS has dropped because the queues in the traffic classes were full.
RED-drop
The number of packets that QoS has randomly dropped for the traffic class.