
Chapter 38: Quality of Service Commands
– 1138 –
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set cos 3
Console(config-pmap-c)#police flow 100000 4000 conform-action transmit
violate-action drop
Console(config-pmap-c)#
class
This command defines a traffic classification upon which a policy can act,
and enters Policy Map Class configuration mode. Use the
no
form to delete
a class map.
S
YNTAX
[
no
]
class
class-map-name
class-map-name
- Name of the class map. (Range: 1-32 characters)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Policy Map Configuration
C
OMMAND
U
SAGE
•
Use the
command to specify a policy map and enter Policy
Map configuration mode. Then use the
class
command to enter Policy
Map Class configuration mode. And finally, use the
set
command and
one of the
police
commands to specify the match criteria, where the:
•
command sets the per-hop behavior value in matching
packets. (This modifies packet priority for internal processing only.)
•
command sets the class of service value in matching
packets. (This modifies packet priority in the VLAN tag.)
•
command sets the IP DSCP value in matching packets.
(This modifies packet priority in the IP header.)
•
police
commands define parameters such as the maximum
throughput, burst rate, and response to non-conforming traffic.
•
Up to 16 classes can be included in a policy map.
E
XAMPLE
This example creates a policy called “rd-policy,” uses the
class
command
to specify the previously defined “rd-class,” uses the
command to
classify the service that incoming packets will receive, and then uses the
command to limit the average bandwidth to 100,000 Kbps, the
burst rate to 4,000 bytes, and configure the response to drop any violating
packets.
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...