#configure terminal | Enter configure mode. |
(config)#qos enable | Enable QoS globally. |
(config)#qos statistics | Enable QoS statistics. |
(config)#qos profile cos-to-queue Profile2 | Enter cos-to-queue profile configuration mode |
(config-ingress-cos-map)#cos 2 queue 4 | Map cos 2 to queue 4 under cos-to-queue profile configuration mode |
(config-ingress-cos-map)#exit | Exit configure mode. |
(config)#qos profile cos-to-queue Profile4 | Enter cos-to-queue profile configuration mode |
(config-ingress-cos-map)#cos 3 queue 4 color yellow | Map cos 3 to queue 4 for yellow packets |
(config-ingress-cos-map)#exit | Exit cos-to-queue map profile configuration |
(config)#commit | Committing the configured line |
(config)#exit | Exit configure mode. |