D-Link DGS-3130 Emulator - Page 663
priority-queue cos-map
![]() |
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 663 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Usage Guideline Use the policy-map command to enter the policy-map configuration mode from where the user can configure or modify the policy for the traffic class. A single policy map can be attached to more than one interface concurrently. The succeeding policy-map attaches overwrite the previous one. Policy maps contain traffic classes. Traffic classes contain one or more match commands that can be used to match packets (and organize them into groups) on the basis of a protocol type or application. Example This example shows how to create a policy map called policy and configures two class policies within the policy map. The class policy called class1 specifies a policy for traffic that matches an access control list (ACL) "acl_rd". The second class is the default class, named class-default to include packets that do not match the defined classes. 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)# 63-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 COS1 COS2...COS8 Specifies the queue ID the CoS will be mapped. Specifies the mapping CoS value. Valid values are from 0 to 7. (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. 659
![](/manual_guide/products/dlink-dgs3130-emulator-9c3be7f/663.png)