D-Link DGS-6600-48TS Configuration Guide - Page 388
Defining the Policing, Specifying a Policing Rule
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 388 highlights
Volume 6-QOS / Chapter 36-Quality of Service (QoS) QoS Configuration Commands In the following example, the user configures the scheduling mechanism on Ethernet interface 4.7 to use CoS queue 2 and a quantum weight value of 1: DGS:6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#int eth4.7 DGS-6600:15(config-if)#qos deficit-round-robin DGS-6600:15(config-if)#qos deficit-round-robin 2 quantum 1 DGS-6600:15(config-if)#end Defining the Policing The QoS feature includes a policing function, which is used to determine whether traffic levels meet the level defined in the specified profile or contract. The policing function allows the user to specify the action that should be taken for any traffic that does not match the profile. The available actions that the user can take is to either drop traffic that does not conform to the profile or change the the value of the traffic's Differential Services Code Point (DSCP). Since traffic not conforming to defined profiles has the DSCP value lowered or is dropped, transmission is not delayed as there is not need to buffer out-of-profile packets. Specifying a Policing Rule The color-aware command specifies that the configured policer for the traffic class will operate in color aware mode. In color aware mode, the initial color of the packet and the policer metering result determine the final color. The initial color of the packet is mapped from the incoming DSCP based on the DSCP to color map if the receipt port trusts DSCP. The initial color is mapped from the incoming CoS based on the CoS to color map if the receipt port trusts CoS. If the configured policer operates in color blind mode, the policer metering result determines the final color. The default policy-map works with color-blind mode. Enter the following commands to configure the policy-map work with which mode: Command color-aware no color-aware Explanation To define the policy-map works with color-aware mode To define the policy-map works with color-blind mode. The following example creates the policy map pcolor-map1 and configures the policy of doing a color aware for the class1 class in the policy map. DGS:6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#policy-map pcolor-map1 DGS-6600:15(config-pmap)#class class1 DGS-6600:15(config-pmap-c)#color-aware DGS-6600:15(config-pmap-c)#end DGS-6600 Configuration Guide 388