OcNOS-SP : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : show qos-profile
show qos-profile
Use this command to show the all configured QoS profiles configurations like type, name, maps configured except for the default maps, attached info (to how many interfaces it is attached) etc,
Command Syntax
show qos-profile (type (cos-to-queue | dscp-to-queue | queue-color-to-cos | dscp-to-dscp | exp-to-queue | queue-to-exp)| precedence-to-queue | precedence-to-precedence |)(NAME|)
Parameters
cos-to-queue
profile for cos to Traffic-Class map
dscp-encap
profile for dscp encapsulation map
dscp-to-dscp
profile for inDscp to outDscp map
dscp-to-queue
profile for dscp to Traffic-Class map
exp-to-queue
profile for exp to Traffic-Class map
precedence-to-precedence
profile for precedence to precedence map
precedence-to-queue
profile for precedence to Traffic-Class map
queue-color-to-cos
profile for Traffic-Class color to cos map
queue-to-exp
profile for Traffic-Class to exp map
NAME
Profile map name (maximum 32 characters)
Command Mode
Exec, config, interface, class-map, policy-map and policy-map-class
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