QoS Commands
police
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 280
23
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.
To return to the Policy-map Configuration mode, use the exit command. To return
to the Privileged EXEC mode, use the end command.
Example
The following example sets the DSCP value in the packet to 56 for classes in
policy map called ‘policy1’.
Console (config)# policy-map policy1
Console (config-pmap)# set dscp 56
policeThe police Policy-map Class Configuration mode command defines the policer for
classified traffic. Use the no form of this command to remove a policer.
Syntax
police
committed-r ate-bps commit ted-burst-byte
[exceed-action {drop | policed-
dscp-transmit}]
no police
Parameters
•
committed-r ate-bps —
Specifies the average traffic rate (CIR) in bits per
second (bps).
•
committed-b urst-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.