Planet XGS3-42000R User Manual page 173

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

Configuration result:
When QoS enabled in Global Mode, the egress queue bandwidt h proportion of port ethernet 1/1 is
1:1:2:2:4:4:8:8. When packets have CoS value coming in through port ethernet1/1, it will be map to the queue
out according to the CoS value, CoS value 0 to 7 correspond to queue out 1, 2, 3, 4, 5, 6, 7, 8, respectively. If
the incoming packet has no CoS value, it is default to 5 and will be put in queue6. All passing packets would
not have their DS CP values changed.
Example 2:
In port ethernet1/2, set the bandwidth for packets from segment 192.168.1.0 to 10 Mb/s, with a burst value of
4 MB, all packets exceed this bandwidth setting will be dropped.
The configuration steps are listed below:
XGS 3-42000R#config
XGS 3-42000R(config)#access-list 1 permit 192.168.1.0 0.0.0.255
XGS 3-42000R(config)#mls qos
XGS 3-42000R(config)#class-map c1
XGS 3-42000R(config-ClassMap-c1)#match access-group 1
XGS 3-42000R(config-ClassMap-c1)#exit
XGS 3-42000R(config)#policy-map p1
XGS 3-42000R(config-P olicyMap-p1)#class c1
XGS 3-42000R(config-P olicyMap-p1-Class-c1)#policy 10000 4000 exceed-action drop
XGS 3-42000R(config-P olicyMap-p1-Class-c1)#exit
XGS 3-42000R(config-P olicyMap-p1)#exit
XGS 3-42000R(config)#interface ethernet 1/2
XGS 3-42000R(config-If-Ethernet1/2)#service-policy input p1
17-10

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents