Qos Example - Planet Networking & Communication WGSW-50040 Configuration Manual

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

Advertisement

mls qos map intp-dscp <dscp1..dscp8>
no mls qos map intp-dscp
6. Clear accounting data of the specific ports or VLANs
Interface Mode
clear mls qos statistics [interface
<interface-name> | vlan <vlan-id>]
7. Show configuration of QoS.
Interface Mode
show mls qos maps [cos-dp |dscp-dscp |
dscp-intp | dscp-dp | intp-dscp]
show class-map [<class-map-name>]
show policy-map [<policy-map-name>]
show mls qos {interface [<interface-id>]
[policy | queuing] | vlan <vlan-id>}

13.3 QoS Example

Example 1:
Enable QoS function, change the queue out weight of port ethernet 1/1 to 1:1:2:2:4:4:8:8, and set the port in
trust QoS mode without changing DSCP value, and set the default QoS value of the port to 5.
The configuration steps are listed below:
Switch#config
Switch(config)#mls qos
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)#wrr-queue bandwidth 1:1:2:2:4:4:8:8
Switch(Config-If-Ethernet1/1)#mls qos trust cos
Switch(Config-If-Ethernet1/1)#mls qos cos 5
Configuration result:
When QoS enabled in Global Mode, the egress queue bandwidth proportion of port ethernet1/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
Command
Command
Explanation
Clear accounting data of the specified
ports or VLAN Policy Map. If there are no
parameters, clear accounting data of all
policy map.
Explanation
Display the configuration of QoS mapping.
Display the classified map information of
QoS.
Display the policy map information of
QoS.
Displays QoS configuration information on
a port.
13-10

Advertisement

Table of Contents
loading

Table of Contents