DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
514
Switch# configure terminal
Switch(config)# class-map class1
Switch(config-cmap)# match access-group name acl_rd
Switch(config-cmap)# exit
Switch(config)# policy-map policy
Switch(config-pmap)# class class1
Switch(config-pmap-c)# set ip dscp 46
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# set ip dscp 00
Switch(config-pmap-c)#
56-17
priority-queue cos-map
This command is used to define a Class of Service (CoS) to queue map. Use the
no
form of this
command to revert to the default setting.
priority-queue cos-map QUEUE-ID COS1 [COS2 [COS3 [COS4 [COS5 [COS6 [COS7
[COS8]]]]]]]
no priority-queue cos-map
Parameters
QUEUE-ID
Specifies the queue ID the CoS will be mapped.
COS1
Specifies the mapping CoS value. Valid values are from 0 to 7.
COS2…COS8
(Optional) Specifies the mapping CoS value. Valid values are from
0 to 7.
Default
The default priority (CoS) to queue mapping is: 0 to 2, 1 to 0, 2 to 1, 3 to 3, 4 to 4, 5 to 5, 6 to 6, 7 to 7.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When a packet is received, the packet will be given an internal CoS. This internal CoS is used to
select the transmit queue based on the CoS to queue map. The CoS queue with a higher number will
receive a higher priority.
Example
This example shows how to assign CoS priority 3, 5 and 6 to queue 2.
Switch# configure terminal
Switch(config)# priority-queue cos-map 2 3 5 6
Switch(config)#
56-18
queue rate-limit
This command is used to specify or modify the bandwidth allocated for a queue. Use the
no
form of
this command to remove the bandwidth allocated for a queue.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...