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
■
committed-rate-bps
— Specifies the average traffic rate (CIR) in bits per second (bps).
■
committed-burst-byte
— Specifies normal burst size (CBS) in bytes.
■
drop
— Indicates that when the rate is exceeded, the packet is dropped.
■
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
Summary of Contents for Bc1500 - BladeSystem - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...