ES4710BD 10 Slots L2/L3/L4 Chassis Switch
the port in trust CoS mode without changing DSCP value, and set the default CoS value of the port to 5.
The configuration steps are listed below:
SWITCH#CONFIG
Switch(Config)#mls qos
Switch(Config)#interface ethernet 1/1
Configuration result:
When QoS enabled in Global Mode, the egress queue bandwidth proportion of Ethernet port 1/1 is 1:1:2:2:4:4:8:8. When packets have CoS value coming in through Ethernet port 1/1 , they will be map to the queue according to this value. CoS values range from 0 to 7 and correspond to queue out 1, 2, 3, 4, 5, 6, 7, 8, respectively. If the incoming packet has no CoS value, it is by default 5 and will be put in queue 6. All passing packets would not have their DSCP values changed.
Scenario 2:
In Ethernet port 1/2, set the bandwidth for packets from segment 192.168.1.0 to 10 Mbps, with a burst value of 4 MB and all packets exceeding this bandwidth setting will be dropped.
The configuration steps are listed below:
SWITCH#CONFIG
Switch(Config)#mls qos
Switch(Config)#interface ethernet 1/2
Configuration result:
349