D-Link DGS-3130 Emulator - Page 668
show class-map
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 668 highlights
Parameters DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide precedence PRECEDENCE dscp DSCP cos COS cos-queue COS-QUEUE Specifies a new precedence for the packet. The range is from 0 to 7. If the optional keyword ip is specified, IPv4 precedence will be marked. If not specified, both IPv4 and IPv6 precedence will be marked. For IPv6 packets, the precedence is the most three significant bits of traffic class of IPv6 header. Setting the precedence will not affect the CoS queue selection. Specifies a new DSCP for the packet. The range is from 0 to 63. If the optional keyword ip is specified, IPv4 DSCP will be marked. If not specified, both IPv4 and IPv6 DSCP will be marked. Setting DSCP will not affect the CoS queue selection. Specifies to assign a new CoS value to the packet. The range is from 0 to 7. Setting CoS will not affect the CoS queue selection. Specifies to assign the CoS queue to the packets. This overwrites the original CoS queue selection. Setting the CoS queue will not take effect if the policy map is applied for the egress flow on the interface. Default None. Command Mode Policy-map Class Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to set the DSCP field, CoS field, or precedence field of the matched packet to a new value. Use the set cos-queue command to directly assign the CoS queue to the matched packets. Configure multiple set commands for a class if they are not conflicting. The set dscp command will not affect the CoS queue selection. The set cos-queue command will not alter the CoS field of the outgoing packet. The user can use the police command and the set command for the same class. The set command will be applied to all colors of packets. Example This example shows how the policy map policy1 is configured with the policy for the class1 class. The packets that are included in the class1 class will be set to a DSCP of 10 and policed by a single rate policer with a committed rate of 1Mbps. Switch# configure terminal Switch(config)# policy-map policy1 Switch(config-pmap)# class class1 Switch(config-pmap-c)# set ip dscp 10 Switch(config-pmap-c)# police 1000000 2000 exceed-action set-dscp-transmit 10 Switch(config-pmap-c)# exit Switch(config-pmap)# 63-22 show class-map This command is used to display the class map configuration. 664