C
ONFIGURING
THE
S
WITCH
3-204
CLI
– This example creates a policy map called “rd-policy,” sets the
average bandwidth the 1 Mbps, the burst rate to 1522 bps, and the
response to reduce the DSCP value for violating packets to 0.
Attaching a Policy Map to Ingress Queues
This function binds a policy map to the ingress queue of a particular
interface.
Command Usage
•
You must first define a class map, then define a policy map, and finally
bind the service policy to the required interface.
•
You can only bind one policy map to an interface.
•
The current firmware does not allow you to bind a policy map to an
egress queue.
Command Attributes
•
Ports
– Specifies a port.
•
Ingress
– Applies the rule to ingress traffic.
•
Enabled
– Check this to enable a policy map on the specified port.
•
Policy Map
– Select the appropriate policy map from the scroll-down
box.
Web
– Click QoS, DiffServ, Service Policy. Check Enabled and choose a
Policy Map for a port from the scroll-down box, then click Apply.
Console(config)#policy-map rd_policy#3
Console(config-pmap)#class rd_class#3
Console(config-pmap-c)#set ip dscp 4
Console(config-pmap-c)#police 100000 1522 exceed-action
set ip dscp 0
Console(config-pmap-c)#
Содержание 6128L2
Страница 2: ......
Страница 21: ...CONTENTS xvii Glossary Index ...
Страница 22: ...CONTENTS xviii ...
Страница 26: ...TABLES xxii ...
Страница 40: ...INTRODUCTION 1 10 ...
Страница 54: ...INITIAL CONFIGURATION 2 14 ...
Страница 193: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Страница 257: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Страница 313: ...COMMAND GROUPS 4 13 PE Privileged Exec VC VLAN Database Configuration ...
Страница 592: ...TROUBLESHOOTING B 4 ...
Страница 605: ......