![Cisco Catalyst 2350 Скачать руководство пользователя страница 47](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583047.webp)
2-23
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
class
Examples
This example shows how to create a policy map called
policy1
. When attached to the ingress direction,
it matches all the incoming traffic defined in
class1
, sets the IP Differentiated Services Code Point
(DSCP) to 10, and polices the traffic at an average rate of 1 Mb/s and bursts at 20 KB. Traffic exceeding
the profile is marked down to a DSCP value gotten from the policed-DSCP map and then sent.
Switch(config)#
policy-map policy1
Switch(config-pmap)#
class class1
Switch(config-pmap-c)#
set dscp 10
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-map
Creates a class map to be used for matching packets to the class whose name
you specify.
police
Defines a policer for classified traffic.
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 the traffic classified through the
class
policy-map
configuration command 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 ...