Chapter 38: Quality of Service Commands
– 1139 –
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set phb 3
Console(config-pmap-c)#police flow 100000 4000 conform-action transmit
violate-action drop
Console(config-pmap-c)#
police flow
This command defines an enforcer for classified traffic based on the
metered flow rate. Use the no form to remove a policer.
S
YNTAX
[
no
]
police flow
committed-rate committed-burst
conform-action
transmit
violate-action
{
drop
|
new-dscp
}
committed-rate
- Committed information rate (CIR) in kilobits per
second. (Range: 0-1000000 kbps at a granularity of 64 kbps or
maximum port speed, whichever is lower)
committed-burst
- Committed burst size (BC) in bytes.
(Range: 0-16000000 at a granularity of 4k bytes)
conform-action
- Action to take when packet is within the CIR and
BC. (There are enough tokens to service the packet, the packet is
set green).
violate-action
- Action to take when packet exceeds the CIR and
BC. (There are not enough tokens to service the packet, the packet
is set red).
transmit
- Transmits without taking any action.
drop
- Drops packet as required by violate-action.
new-dscp
- Differentiated Service Code Point (DSCP) value.
(Range: 0-63)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Policy Map Class Configuration
C
OMMAND
U
SAGE
•
You can configure up to 16 policers (i.e., class maps) for ingress ports.
•
The
committed-rate
cannot exceed the configured interface speed, and
the
committed-burst
cannot exceed 16 Mbytes.
•
Policing is based on a token bucket, where bucket depth (i.e., the
maximum burst before the bucket overflows) is by specified the
committed-burst
field, and the average rate tokens are added to the
bucket is by specified by the
committed-rate
option. Note that the
token bucket functions similar to that described in RFC 2697 and RFC
2698.
Содержание 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...