D-Link DGS-6600-48TS Configuration Guide - Page 392
Specifying a Marking Rule, Attach a Policy Map to an Interface
![]() |
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 392 highlights
Volume 6-QOS / Chapter 36-Quality of Service (QoS) QoS Configuration Commands In the following example, the user configures a named aggregate policer and applies the policer to multiple classes in a policy map: DGS-6600:15(config)#qos aggregate-policer agg_policer1 10000 1000 exceed-action drop DGS-6600:15(config)#policy-map policy2 DGS-6600:15(config-pmap)#class class1 DGS-6600:15(config-pmap-c)#police aggregate agg_policer1 DGS-6600:15(config-pmap-c)#exit DGS-6600:15(config-pmap)#class class2 DGS-6600:15(config-pmap-c)#police aggregate agg_policer1 DGS-6600:15(config-pmap-c)#exit DGS-6600:15(config-pmap)#class class3 DGS-6600:15(config-pmap-c)#police aggregate agg_policer1 DGS-6600:15(config-pmap-c)#exit Specifying a Marking Rule A marking rule is used to set new precedence, DSCP, and CoS values in a packet. Use the following commands to create a new marking rule: Command set {[ip] precedence PRECEDENCE |[ip] dscp DSCP | cos COS | internal-cos COS} Explanation Set precedence of avaliable arriving packets. For non-IP packets, L2 CoS information will be trusted for traffic classification. The following example sets the IP precedence value to be 1 for the policy-map called HQ and the class called Sales: DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#policy-map HQ DGS-6600:15(config-pmap)#class Sales DGS-6600:15(config-pmap-c)#set ip precedence 1 DGS-6600:15(config-pmap-c)#end Attach a Policy Map to an Interface Use the following commands to attach a policy map to an input interface: Command service-policy NAME Explanation Attaches a service policy to an interface. In the following example, the user attaches a policy map called "cust1-classes" to eth4.10: DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#interface eth4.10 DGS-6600:15(config-if)#service-policy cust1-classes DGS-6600:15(config-if)#end DGS-6600 Configuration Guide 392
![](/manual_guide/products/dlink-dgs660048ts-configuration-guide-e0c19e0/392.png)