18-12
www.hp.com
HP PC Blade Switch CLI Reference Guide
QoS Commands
police
The
police
Policy-map Class Configuration mode command defines the policer for classified
traffic. To remove a policer, use the
no
form of this command.
Syntax
police
committed-rate-bps committed-burst-byte
[
exceed-action
{
drop
|
policed-dscp-transmit
}]
no police
Parameters
n
committed-rate-bps
— Specifies the average traffic rate (CIR) in bits per second (bps).
n
committed-burst-byte
— Specifies normal burst size (CBS) in bytes.
n
drop
— Indicates that when the rate is exceeded, the packet is dropped.
n
policed-dscp-transmit
— Indicates that when the rate is exceeded, the DSCP of the packet
is remarked according to the policed-DSCP map as configured by the
qos map policed-dscp
Global Configuration mode command.
Default Setting
This command has no default configuration.
Command Mode
Policy-map Class Configuration mode
Command Usage
Policing uses a token bucket algorithm. CIR represents the speed with which the token is
removed from the bucket. CBS represents the depth of the bucket.
.
Policy maps that contain
set
or
trust
Policy-map Class Configuration commands or
that have ACL classifications cannot be attached to an egress interface by using the
service-policy
(Ethernet, Port-channel) Interface Configuration mode command.
Example
The following command defines a policer for classified traffic. When the traffic rate exceeds
124,000 bps or the normal burst size exceeds 96000 bytes, the packet is dropped. The class is
called class1 and is in a policy map called policy1.
Console (config)#
policy-map
policy1
Console (config-pmap)#
class
class1
Console (config-pmap-c)#
police
124000 9600
exceed-action drop
Содержание BladeSystem bc2000 - Blade PC
Страница 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Страница 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Страница 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Страница 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Страница 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Страница 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Страница 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Страница 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Страница 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Страница 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Страница 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Страница 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...