Connectivity Guide

Table Of Contents
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
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
OS10(config)# trust dscp-map dscp_map1
OS10(config-trust-dscpmap)# qos-group 0 dscp 0-31
OS10(config-trust-dscpmap)# qos-group 1 dscp 32-63
OS10(config-trust-dscpmap)# exit
OS10(config)# qos-map traffic-class tc-q-map1
OS10(config-qos-tcmap)# queue 0 qos-group 0
OS10(config-qos-tcmap)# queue 1 qos-group 1
OS10(config-qos-tcmap)# exit
OS10(config)# system qos
OS10(config-sys-qos)# trust-map dot1p default
OS10(config)# class-map type queuing c1
OS10(config-cmap-queuing)# match queue 0
OS10(config-cmap-queuing)# exit
OS10(config)# class-map type queuing c2
OS10(config-cmap-queuing)# match queue 1
OS10(config-cmap-queuing)# exit
OS10(config)# policy-map type queuing p1
OS10(config-pmap-queuing)# class c1
882
Converged data center services