3Com 3CRUS2475 Plumbing Product User Manual


 
126 CHAPTER 9: QOS COMMANDS
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’.
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 Configuration
This command has no default configuration.
Command Mode
Policy-map Class Configuration mode
Console (config)# policy-map policy1
Console (config-pmap)# set dscp 56