![Cisco Catalyst 2350 Скачать руководство пользователя страница 209](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583209.webp)
2-185
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
police
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.
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
Description
class
Defines a traffic classification match criteria (through the
police
,
set
,
and
trust
policy-map class configuration commands) for the
specified class-map name.
mls qos map
policed-dscp
Applies a policed-DSCP map to a DSCP-trusted port.
policy-map
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
set
Classifies IP traffic by setting a DSCP or IP-precedence value in the
packet.
show policy-map
Displays quality of service (QoS) policy maps.
trust
Defines a trust state for traffic classified through the
class
policy-map configuration or the
class-map
global configuration
command.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...