Planet Networking & Communication WGSW-50040 Configuration Manual page 124

50-port 10/100/1000mbps with 4 shared sfp managed gigabit switch
Table of Contents

Advertisement

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 DSCP 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:
Switch#config
Switch(config)#access-list 1 permit 192.168.1.0 0.0.0.255
Switch(config)#class-map c1
Switch(Config-ClassMap-c1)#match access-group 1
Switch(Config-ClassMap-c1)#exit
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#policy 10000 4000 exceed-action drop
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#service-policy input p1
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 bandwidth setting in that segment will be dropped.
Example 3:
QoS area
Trunk
Figure 13-7 Typical QoS topology
13-11
Server
Switch3
Switch2
Switch1

Advertisement

Table of Contents
loading

Table of Contents