15-QoS Configuration Commands
15-QoS Configuration Commands
Table of Contents
Table of Contents
Chapter 1 QoS Service Configuration Commands ............................................................................ 1
1.1 QoS Configuration Commands............................................................................................. 1
1.1.1 cos default .................................................................................................................. 1
1.1.2 cos map...................................................................................................................... 2
1.1.3 scheduler wrr bandwidth ............................................................................................ 3
1.1.4 scheduler policy.......................................................................................................... 3
1.1.5 policy-map .................................................................................................................. 4
1.1.6 classify........................................................................................................................ 5
1.1.7 action.......................................................................................................................... 5
1.1.8 qos policy ................................................................................................................... 6
-I-
QoS Function Configuration Commands
description
parameter
parameter description
default
instruction
example
-1-
QoS Function Configuration Commands
description
parameter
parameter description
default
0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 8
instruction
example
The following example maps CoS 0-2 to CoS priority queue 1and maps CoS 3 to
priority queue 2:
Switch(config-if)# cos map 1 0 1 2
Switch(config-if)# cos map 2 3
-2-
QoS Function Configuration Commands
description
parameter
parameter description
default
All CoS priority queue metrics must be the same, the eight CoS priority queue metrics
are all 12.
instruction
example
description
parameter
parameter description
-3-
QoS Function Configuration Commands
default
use SP
instruction
example
1.1.5 policy-map
description
policy-map name
no policy-map name
To set QOS policy-map, use the policy-map command
parameter
Parameter description
default
none
instruction
example
-4-
QoS Function Configuration Commands
1.1.6 classify
description
Parameter Description
mac access-group Configure the matching MAC access list name. the valid range is
mac-access-name 1 to 16 characters
vlan vlan-id Configure the matching VLAN, the valid range is 1 to 4094
cos cos Configure the matching COS value, the valid range is 0 to 7
default
instruction
example
1.1.7 action
description
-5-
QoS Function Configuration Commands
parameter
paramter description
no-match Influence all the traffic that do not meet the demand
dscp dscp-value Define the dscp field of the matching traffic as dscp-value, the
range is 0 to 63
cos cos-value Define cos field of the matching traffic as cos-value, the range is
0 to 7
default
none
instruction
example
description
paramter
parameter description
-6-
QoS Function Configuration Commands
deault
none
instruction
example
-7-