Cisco Cisco 5760 Wireless LAN Controller Referências técnicas

Página de 1016
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 Mb/s average rate with
a burst size of 20 KB. The DSCPs of incoming packets are trusted, and there is no packet modification.
Controller(config)#
policy-map policy1
Controller(config-pmap)#
class class1
Controller(config-pmap-c)#
trust dscp
Controller(config-pmap-c)#
police 1000000 20000 exceed-action drop
Controller(config-pmap-c)#
exit
This example shows how to configure a policer that transmits packets if traffic is less than 1 Mb/s average
rate with a burst size of 20 KB. There is no packet modification.
Controller(config)#
class-map class1
Controller(config-cmap)#
exit
Controller(config)#
policy-map policy1
Controller(config-pmap)#
class class1
Controller(config-pmap-c)#
police 1000000 20000 conform-action transmit
Controller(config-pmap-c)#
exit
This example shows how to configure a policer that transmits packets if traffic is less than 1 Mb/s average
rate with a burst size of 20 KB. There is no packet modification. This example uses an abbreviated syntax:
Controller(config)#
class-map class1
Controller(config-cmap)#
exit
Controller(config)#
policy-map policy1
Controller(config-pmap)#
class class1
Controller(config-pmap-c)#
police 1m 20000 conform-action transmit
Controller(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:
Controller(config)#
policy-map policy2
Controller(config-pmap)#
class class2
Controller(config-pmap-c)#
police 1000000 20000 exceed-action policed-dscp-transmit
Controller(config-pmap-c)#
exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Description
Command
Create a class map to be used for
matching packets to the class
whose name you specify with the
class command.
class-map, on page 138
Defines a traffic classification
match criteria (through the police,
set, and trust policy-map class
configuration commands) for the
specified class-map name.
class, on page 135
Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)    
   OL-29471-01
151
police