Police - HP Bc1500 - BladeSystem - Blade PC Reference Manual

Blade switch
Hide thumbs Also See for Bc1500 - BladeSystem - Blade PC:
Table of Contents

Advertisement

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
18-12
www.hp.com
HP PC Blade Switch CLI Reference Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bladesystem pc

Table of Contents