Planet XGS3-42000R User Manual page 174

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

Advertisement

Configuration result:
An ACL name 1 is set to matching segment 192.168.1.0. Enable QoS globally, create a class map named c1,
matching ACL1 in class map; create another policy map named p1 and refer to c1 in p1, set appropriate
policies to limit bandwidth and burst value. Apply this policy map on port ethernet1/2. After the above settings
done, bandwidth for packets from segment 192.168.1.0 through port ethernet 1/2 is set to 10 Mb/s, with a
burst value of 4 MB, all packets exceed this bandwidt h setting in that segment will be dropped.
Example 3:
As shown in the figure, inside the block is a QoS domain, Switch1 classifies different traffics and assigns
different IP precedences. For example, set CoS precedence for packets from segment 192.168.1.0 to 5 on
port ethernet1/1. The port connecting to switch2 is a trunk port. In Switch2, set port ethernet 1/1 that
connecting to swtich1 to trust CoS precedence. Thus inside the QoS domain, packets of different priorities will
go to different queues and get different bandwidth.
The configuration steps are listed below:
QoS configuration in SwitchA:
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)# set ip precedence 5
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/1
XGS 3-42000R(config-If-Ethernet1/1)#service-policy input p1
QoS area
Trunk
Figure 17-3-1 Typical QoS topology
17-11
Server
Switch3
Switch2
Switch1

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents