DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
496
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.
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...