D-Link DGS-6600-48TS Configuration Guide - Page 389
Creating a Class-Map to Classify Traffic, Configuring Policing
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 389 highlights
Volume 6-QOS / Chapter 36-Quality of Service (QoS) QoS Configuration Commands Enter the following commands to configure the DSCP-color or CoS-color mapping for traffic initial color when the policy-map works with color-aware mode: Command qos map dcsp-color DSCP-LIST to {green | yellow | red} qos map cos-color COS-LIST to {green | yellow | red} Explanation To define the DSCP to color for mapping of packet's initial color. To define the CoS to color for mapping of packet's initial color. The following example defines DSCP61~63 as yellow color, others are green color at eth 3.1. DGS:6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#interface eth3.1 DGS-6600:15(config-if)#qos map dscp-color 61-63 to yellow Creating a Class-Map to Classify Traffic Use the following commands to create a Class-Map to classify different types of traffic: Command class-map [match-any] NAME match {access-list ACCESS-LIST-NAME | cos COS-LIST | [ip] dscp DSCP-LIST | [ip] precedence IP-PRECEDENCE-LIST | protocol PROTOCOL-NAME | vlan VLAN-LIST} Explanation Determines how to evaluate the multiple match criteria. Match statements in the class map will be evaluated based on the logical "or" function. Configures the match criteria for a class map. In the following example, the user configures a class map called "class1" and specifies the matching LAN to be 2: DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#class-map match-any class1 DGS-6600:15(config-cmap)#match vlan 2 DGS-6600:15(config-cmap)# Configuring Policing The Switch supports two types of policing, single policing and aggregate policing. The user should implement single policing if they only want to police traffic for a single QoS class. If the user would like to police traffic for multiple QoS classes, the user should implement aggregate policing. DGS-6600 Configuration Guide 389