Displaying QoS statistics
To display traffic statistics for each output queue on an interface, use the show interface <id> queue-detail command in running or candidate mode.
The following example displays output queue statistics for an interface on a 7250 IXR system. The output on a 7220 IXR-D2, D3, and D5 or 7220 IXR-H2 and H3 system is similar, but shows slightly different information.
# show interface ethernet-1/1 queue-detail
================================================================================
Interface: ethernet-1/1
--------------------------------------------------------------------------------
Description : <None>
Oper state : up
Last change : 17h3m43s ago, 1 flaps since last clear
Auto-negotiation: false
Duplex : N/A
Speed : 100G
Loopback mode : false
MTU : 9232
VLAN tagging : false
MAC address : 12:12:02:FF:00:00
Last stats clear: never
================================================================================
Scheduler details for for ethernet-1/1
--------------------------------------------------------------------------------
Tier 1
Node Scheduling Weight Serving
0 SP - unicast queue 0, 1, 2, 3, 4, 5, 6, 7 multicast
queue 0, 1, 2, 3, 4, 5, 6, 7
1 SP - -
================================================================================
Unicast Queue : 0
Forwarding class: fc0
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 6
Tx Bytes : 580
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 1
Forwarding class: fc1
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 2
Forwarding class: fc2
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 3
Forwarding class: fc3
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 4
Forwarding class: fc4
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 104
Tx Bytes : 20266
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 5
Forwarding class: fc5
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 6
Forwarding class: fc6
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 8249
Tx Bytes : 705888
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Unicast Queue : 7
Forwarding class: fc7
Queue template : default
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (%) : 100
PIR (bps) : -
Strict Priority: true
Weight : 1
Scheduler node : Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Active WRED Slopes
--------------------------------------------------------------------------------
Slope Traffic type Drop Min-threshol Max-threshol Max
probability d(%MBS) d(%MBS) probability
1 all low
2 all medium
3 all high
--------------------------------------------------------------------------------
Active ECN Slopes
--------------------------------------------------------------------------------
Slope Drop probability Min- Max- Max probability
threshold(%MBS) threshold(%MBS)
1 all
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
VOQ Id Fwd- Fwd-Pkts(L/M/H) Drop- Drop-
Octets(L/M/H) Octets(L/M/H) Pkts(L/M/H)
1 0/0/0 0/0/0 0/0/0 0/0/0
2 0/0/0 0/0/0 0/0/0 0/0/0
3 0/0/0 0/0/0 0/0/0 0/0/0
4 0/0/0 0/0/0 0/0/0 0/0/0
5 0/0/0 0/0/0 0/0/0 0/0/0
6 0/0/0 0/0/0 0/0/0 0/0/0
7 0/0/0 0/0/0 0/0/0 0/0/0
8 0/0/0 0/0/0 0/0/0 0/0/0
================================================================================
Multicast Queue : 0
Forwarding class: fc0
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 1
Forwarding class: fc1
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 2
Forwarding class: fc2
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 3
Forwarding class: fc3
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 4
Forwarding class: fc4
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 5
Forwarding class: fc5
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 6
Forwarding class: fc6
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Multicast Queue : 7
Forwarding class: fc7
--------------------------------------------------------------------------------
Scheduling
--------------------------------------------------------------------------------
PIR (bps) : -
Scheduler node: Tier 1, Node 0
--------------------------------------------------------------------------------
Queue Depth
--------------------------------------------------------------------------------
Maximum burst (bytes): 0
--------------------------------------------------------------------------------
Queue Statistics
--------------------------------------------------------------------------------
Tx Packets : 0
Tx Bytes : 0
Dropped Packets: 0
Dropped Bytes : 0
--------------------------------------------------------------------------------
================================================================================
Clearing QoS statistics
You can reset the queue statistics counters for an interface.
Reset all statistics counters on an interface
The following example resets all statistics counters on an interface:
--{ running }--[ ]--
# tools interface ethernet-1/1 statistics queue-statistics clear
Reset statistics counters for multicast egress queue
The following example resets statistics counters for a specified egress queue (multicast) on an interface:
--{ running }--[ ]--
# tools interface ethernet-1/1 statistics queue-statistics multicast-queue 1 clear
QoS profile resource usage
A QoS profile resource refers to the number of classifier and rewrite policies that are applied to interfaces on a line card. Each classifier or rewrite policy that is applied to an interface on a line card counts as one profile resource used.
For example, if you create classifier policy dscp1
and apply it to input IPv4 traffic on an interface, and apply the same dscp1
policy to input IPv6 traffic on a different interface on the same line card, it counts as two classifier profile resources used.
The SR Linux supports up to 15 classifier profile resources and up to 32 rewrite profile resources per line card. You can display the number of QoS profile resources in use for each line card.
Displaying QoS profile resource usage on a 7250 IXR system
The following example displays the number of used and free classifier and rewrite profile resources for a line card:
# info from state platform linecard 1 forwarding-complex 0 qos
platform {
linecard 1 {
forwarding-complex 0 {
qos {
resource classifier-profiles {
used 1
free 15
resource rewrite-profiles {
used 1
free 31
}
}
}
}
}