Users Guide

Table Of Contents
S1 Switch
1. Configure class map and policy map for the access port. Traffic with a DSCP value of 24 is matched and assigned to
qos-group 3.
OS10(config)# class-map type qos CM_QOS_MATCH_DSCP24
OS10(config-cmap-qos)# match ip dscp 24
OS10(config-cmap-qos)# exit
OS10(config)# policy-map type qos PM_QOS_LEAF_PORT
OS10(config-pmap-qos)# class CM_QOS_MATCH_DSCP24
OS10(config-pmap-c-qos)# set qos-group 3
OS10(config-pmap-c-qos)# exit
OS10(config-pmap-qos)# exit
2. Configure queuing at egress with a bandwidth allocation of 65% for queue 3.
OS10(config)# class-map type queuing CM_QUEUING_Q3
OS10(config-cmap-queuing)# match queue 3
OS10(config-cmap-queuing)# exit
OS10(config)# policy-map type queuing PM_QUEUING
OS10(config-pmap-queuing)# class CM_QUEUING_Q3
OS10(config-pmap-c-que)# bandwidth percent 65
OS10(config-pmap-c-que)# exit
OS10(config-pmap-queuing)# exit
3. Apply the queuing policy globally in the system-qos mode.
OS10(config)# system qos
OS10(config-sys-qos)# show configuration
OS10(config-sys-qos)# service-policy output type queuing PM_QUEUING
OS10(config-sys-qos)# exit
4. Apply QoS configuration on the leaf node-facing ports.
OS10(config)# interface ethernet 1/1/21
OS10(conf-if-eth1/1/21)# service-policy input type qos PM_QOS_LEAF_PORT
OS10(config)# interface ethernet 1/1/22
OS10(conf-if-eth1/1/22)# service-policy input type qos PM_QOS_LEAF_PORT
OS10(config)# interface ethernet 1/1/23
OS10(conf-if-eth1/1/23)# service-policy input type qos PM_QOS_LEAF_PORT
OS10(config)# interface ethernet 1/1/24
OS10(conf-if-eth1/1/24)# service-policy input type qos PM_QOS_LEAF_PORT
S2 Switch
1. Configure class map and policy map for the access port. Traffic with a DSCP value of 24 is matched and assigned to
qos-group 3.
OS10(config)# class-map type qos CM_QOS_MATCH_DSCP24
OS10(config-cmap-qos)# match ip dscp 24
OS10(config-cmap-qos)# exit
OS10(config)# policy-map type qos PM_QOS_LEAF_PORT
OS10(config-pmap-qos)# class CM_QOS_MATCH_DSCP24
OS10(config-pmap-c-qos)# set qos-group 3
OS10(config-pmap-c-qos)# exit
OS10(config-pmap-qos)# exit
2. Configure queuing at egress with a bandwidth allocation of 65% for queue 3.
OS10(config)# class-map type queuing CM_QUEUING_Q3
OS10(config-cmap-queuing)# match queue 3
OS10(config-cmap-queuing)# exit
OS10(config)# policy-map type queuing PM_QUEUING
OS10(config-pmap-queuing)# class CM_QUEUING_Q3
OS10(config-pmap-c-que)# bandwidth percent 65
OS10(config-pmap-c-que)# exit
OS10(config-pmap-queuing)# exit
1546
Quality of service