3 egress qos examples, Gress, Xamples – QTECH QSW-8300 Инструкция по настройке User Manual
Page 115
+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
114
show mls qos maps {cos-cos | cos-dscp |
dscp-cos | dscp-exp} {green | yellow | red |}
Show mapping relation of Egress QoS
remark.
14.3 Egress QoS Examples
Example1:
On the egress of the port1, change cos value as 4 for the packet with dscp value of 0.
Create a class map:
switch(config)#class-map 1
switch(config-classmap-1)#match ip dscp 0
switch(config-classmap-1)#exit
Create a policy map:
switch(config)#policy-map 1
switch(config-policymap-1)#class 1
switch(config-policymap-1-class-1)#set cos 4
switch(config-policymap-1-class-1)#exit
switch(config-policymap-1)#exit
Bind a policy to the port:
switch(config)#in e 1/0/1
switch(config-if-ethernet1/0/1)#service-policy output 1
Example2:
On the egress of vlan10, change cos value as 4 for the packet with ipv6 dscp value of 7.
Create a class map:
switch(config)#class-map 1
switch(config-classmap-1)#match ipv6 dscp 7
switch(config-classmap-1)#exit
Create a policy map:
switch(config)#policy-map 1
switch(config-policymap-1)#class 1
switch(config-policymap-1-class-1)#set cos 4
switch(config-policymap-1-class-1)#exit
switch(config-policymap-1)#exit
Bind a policy to VLAN
switch(config)#service-policy output 1 vlan 10