D-Link DGS-6600-48T Product Manual - Page 542
set, If the optional keyword
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 542 highlights
DGS-6604 m set set Use the set command in policy map class configuration mode to set the new precedence field, DSCP field, and CoS field of the out-going packet. The user can also directly specify the CoS queue for the packet. set { [ip] precedence PRECEDENCE | [ip] dscp DSCP | cos COS | internal-cos COS} no set { [ip] precedence PRECEDENCE | [ip] dscp DSCP | cos COS | internal-cos COS} Syntax Description precedence PRECEDENCE Specifies a new precedence for the packet. The range is 0 to 7. If the optional keyword ip is specified, then the IPv4 precedence will be marked. dscp DSCP Note that setting of precedence will not affect the CoS queue selection. Specifies a new DSCP for the packet. The range is 0 to 63. The optional keyword ip is specified, then the IPv4 DSCP will be marked. cos COS Note that setting of DSCP will not affect the CoS queue selection. Assigns a new cos value to the packet. The range is 0 to 7. Note that setting of CoS will not affect the CoS queue selection. internal-cos COS Assigns the CoS queue to the packet. This overwrite the original CoS queue selection. Default Command Mode Usage Guideline Example Not configured Policy-map class configuration Use the set command to set the DSCP field, COS field, or precedence field of the matched packet to a new value. Use set internal-cos command to directly assign the CoS queue to the matched packet. Configure multiple set commands for a class if they are not conflicting. For example, precedence and dscp cannot be set at the same time. The set dscp command will not affect the CoS queue selection. The set internalcos command will not alter the CoS field of the outgoing packet. If the policer is applied as the policy for the traffic class, the set actions configured by this command will be applied to the conforming packets. They will not be applied to the exceeding packet and the violating packet. In the following example, 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 CLI Reference Guide 532