HP Cisco Catalyst Blade Switch 3020 Cisco Catalyst Blade Switch 3020 for HP Co - Page 262
police, mls qos aggregate-policer, show policy-map, trust, policed-dscp, class, class-map, mls qos map
View all HP Cisco Catalyst Blade Switch 3020 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 262 highlights
police Chapter 2 Cisco Catalyst Blade Switch 3020 for HP Cisco IOS Commands Policing uses a token-bucket algorithm. You configure the bucket depth (the maximum burst that is tolerated before the bucket overflows) by using the burst-byte option of the police policy-map class configuration command or the mls qos aggregate-policer global configuration command. You configure how quickly (the average rate) the tokens are removed from the bucket by using the rate-bps option of the police policy-map class configuration command or the mls qos aggregate-policer global configuration command. For more information, see the software configuration guide for this release. Examples This example shows how to configure a policer that drops packets if traffic exceeds 1 Mbps average rate with a burst size of 20 KB. The DSCPs of incoming packets are trusted, and there is no packet modification. Switch(config)# policy-map policy1 Switch(config-pmap)# class class1 Switch(config-pmap-c)# trust dscp Switch(config-pmap-c)# police 1000000 20000 exceed-action drop Switch(config-pmap-c)# exit This example shows how to configure a policer, which marks down the DSCP values with the values defined in policed-DSCP map and sends the packet: Switch(config)# policy-map policy2 Switch(config-pmap)# class class2 Switch(config-pmap-c)# police 1000000 20000 exceed-action policed-dscp-transmit Switch(config-pmap-c)# exit You can verify your settings by entering the show policy-map privileged EXEC command. Related Commands Command class mls qos map policed-dscp policy-map set show policy-map trust Description Defines a traffic classification match criteria (through the police, set, and trust policy-map class configuration commands) for the specified class-map name. Applies a policed-DSCP map to a DSCP-trusted port. Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. Classifies IP traffic by setting a DSCP or IP-precedence value in the packet. Displays quality of service (QoS) policy maps. Defines a trust state for traffic classified through the class policy-map configuration or the class-map global configuration command. 2-234 Cisco Catalyst Blade Switch 3020 for HP Command Reference OL-8916-01