OcNOS-SP : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : show policy-map interface
show policy-map interface
Use this command to:
1. Display non zero QoS statistics and configurations of type QOS and queuing policy-maps on an interface
2. Display the interfaces and policy-maps attached on them
Note: Queuing policy map drop statistics include all drop packets count in the queue (even policer drops).
Note: In order to check statistics, QoS statistics profile needs to be enabled for Qumran devices. QoS can either use ingress-acl statistics profile or ingress-qos statistics profile. When ACL groups are configured on the same interface as QoS and both ACL and QoS need explicit counters, then ingress-qos statistics profile needs to be configured along with ingress-acl statistics profile. However, this will have other limitations on statistics profiles. Please refer hardware-profile statistics for more details.
Command Syntax
show policy-map interface (NAME (type (qos (input | output |)| queuing)|)|brief)
Parameters
NAME
Interface name.
type
QoS or queuing type
brief
brief policy interface.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#show policy-map interface xe1
 
Interface xe1
Type QoS statistics status : enabled
 
Service-policy (qos) input: A
----------------------------
Class-map (qos): A (match all)
match vlan 2
set cos 3
matched : 88091758 packets, 132137620500 bytes
transmitted : 88091758 packets, 132137620500 bytes
 
Class-map (qos): B (match all)
match vlan 3
 
 
Service-policy (queuing) output: default-out-policy
-----------------------------------
Class-map (queuing): q0
priority level 0
 
Class-map (queuing): q1
priority level 1
 
Class-map (queuing): q2
priority level 2
 
Class-map (queuing): q3
priority level 3
 
Class-map (queuing): q4
priority level 4
 
Class-map (queuing): q5
priority level 5
 
Class-map (queuing): q6
priority level 6
 
Class-map (queuing): q7
priority level 7
 
 
#show policy-map interface xe2
 
Interface xe2
Type QoS statistics status : enabled
 
Service-policy (queuing) output: asd
-----------------------------------
Class-map (queuing): q0
priority level 0
 
Class-map (queuing): q1
priority level 1
 
Class-map (queuing): q2
priority level 2
 
Class-map (queuing): q3
priority level 3
Output
Total : 88331951 packets, 132497934000 bytes
Green : 88332412 packets, 132498622500 bytes
Yellow : 0 packets, 0 bytes
Dropped
Total : 0 packets, 0 bytes
Green : 0 packets, 0 bytes
Yellow : 0 packets, 0 bytes
Red : 0 packets, 0 bytes
 
Class-map (queuing): q4
priority level 4
 
Class-map (queuing): q5
priority level 5
 
Class-map (queuing): q6
priority level 6
 
Class-map (queuing): q7
priority level 7
 
 
#show policy-map interface xe1 type qos input
 
Interface xe1
Type QoS statistics status : enabled
 
Service-policy (qos) input: A
----------------------------
Class-map (qos): A (match all)
match vlan 2
set cos 3
matched : 89779233 packets, 134668833000 bytes
transmitted : 89779233 packets, 134668833000 bytes
 
Class-map (qos): B (match all)
match vlan 3
 
#show policy-map interface xe2 type queuing
 
Interface xe2
Type QoS statistics status : enabled
 
Service-policy (queuing) output: asd
-----------------------------------
Class-map (queuing): q0
priority level 0
 
Class-map (queuing): q1
priority level 1
 
Class-map (queuing): q2
priority level 2
 
Class-map (queuing): q3
priority level 3
Output
Total : 119883527 packets, 179825298000 bytes
Green : 119883992 packets, 179825995500 bytes
Yellow : 0 packets, 0 bytes
Dropped
Total : 0 packets, 0 bytes
Green : 0 packets, 0 bytes
Yellow : 0 packets, 0 bytes
Red : 0 packets, 0 bytes
 
Class-map (queuing): q4
priority level 4
 
Class-map (queuing): q5
priority level 5
 
Class-map (queuing): q6
priority level 6
 
Class-map (queuing): q7
priority level 7
 
 
#show policy-map interface br
+------------+------------+------------------+
| | QOS | |
| Interface |-----+------|QUEUE |
| |INPUT|OUTPUT| |
+------------+-----+------+------------------+
ce49 default-out-policy
ce50 default-out-policy
 
Last modified date: 10/20/2023