EasyManua.ls Logo

Planet XGS3-24042 - Page 185

Planet XGS3-24042
721 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20-22
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
Example 3:
In egress of port 1, limit the speed of packets. Set the bandwidth for packets to 1 Mb/s, with the normal burst
value of 1 MB, the max burst value of 4 MB, set dscp value of 1 as 10 for green packets, set dscp value of
yellow packets as 9 and drop red packets.
Create a class map:
switch(config)#class-map c1
switch(config-classmap-c1)#match ip dscp 1
switch(config-classmap-c1)#exit
Create a policy map:
switch(config)#policy-map p1
switch(config-policymap-p1)#class c1
switch(config-policymap-p1-class-c1)#policy 1000 1000 4000 action policied-dscp-exp-to-dscp-transmit
violate-action drop
switch(config-policymap-p1-class-c1)#exit
switch(config-policymap-p1)#exit
Set Egress dscp remark mapping
switch(config)#mls qos map dscp-dscp green 1 to 10
switch(config)#mls qos map dscp-dscp yellow 1 to 9
Set Egress remark to take effect for green packets
switch(config)#mls qos egress green remark
Set trust dscp mode on ingress

Table of Contents

Other manuals for Planet XGS3-24042

Related product manuals