Reference Guide

qos-group {0-7} dscp {0-63}
exit
2 Congure a QoS map with trusted trac-class (qos-group) to lossless-queue mapping in CONFIGURATION mode. Assign one or
more qos-groups (0-7) to a specied queue in QOS-MAP mode. Enter multiple qos-group values in a hyphenated range or
separated by commas. Enter multiple
queue qos-group entries, if necessary.
qos-map traffic-class queue-map-name
queue {0-7} qos-group {0-7}
exit
3 Create a service policy for the class-trust class in CONFIGURATION mode. Enter POLICY-CLASS-MAP mode and specify that
dot1p or DSCP values are trusted.
policy—map trust-policy—map-name
class class-trust
trust {dot1p | dscp}
exit
4 Create a queuing class map for each ETS queue in CONFIGURATION mode. Enter match queue criteria in CLASS-MAP mode.
class—map type queuing class—map-name
match queue {0-7}
exit
5 Create a queuing policy map in CONFIGURATION mode. Enter POLICY-CLASS-MAP mode and congure the percentage of
bandwidth allocated to each trac class-queue mapping. The sum of all DWRR-allocated bandwidth across ETS queues must be
100% (not including the strict priority queue). Otherwise, QoS automatically adjusts bandwidth percentages so that ETS queues
always receive 100% bandwidth. The remaining non-ETS queues receive 1% bandwidth each.
policy—map type queuing policy—map-name
class class—map-name
bandwidth percent {1-100}
(Optional) To congure a queue as strict priority, use the priority command. Packets scheduled to a strict priority queue are
transmitted before packets in non-priority queues.
policy—map type queuing policy—map-name
class class—map-name
priority
6 Apply the trust maps for dot1p and DSCP values, and the trac class-queue mapping globally on the switch in SYSTEM-QOS mode
or on an interface or interface range in INTERFACE mode.
system qos
trust-map dot1p dot1p-map-name
trust-map dscp dscp-map-name
qos-map traffic-class queue-map-name
Or
interface {ethernet node/slot/port[:subport] | range ethernet node/slot/port[:subport]-node/
slot/port[:subport]
}
trust-map dot1p dot1p-map-name
trust-map dscp dscp-map-name
qos-map traffic-class queue-map-name
7 Apply the qos trust policy to ingress trac in SYSTEM-QOS or INTERFACE mode.
service-policy input type qos trust-policy—map-name
8 Apply the queuing policy to egress trac in SYSTEM-QOS or INTERFACE mode.
service-policy output type queuing policy—map-name
9 Enable ETS globally in SYSTEM-QOS mode or on an interface/interface range in INTERFACE mode.
ets mode on
10 Save the ETS conguration.
do commit
Congure ETS
OS10(config)# trust dot1p-map dot1p_map1
OS10(config-trust-dot1pmap)# qos-group 0 dot1p 0-3
OS10(config-trust-dot1pmap)# qos-group 1 dot1p 4-7
OS10(config-trust-dot1pmap)# exit
Converged data center services
521