Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Configuring Modular QoS CLI
89
Cisco IOS Release 12.0(27)S
class
class-name
Example:
Router(config-pmap)# class class1
Router(config-pmap)# class class-default
Specifies the name of a predefined class, which was defined with the
class-map
command, to be included in the traffic policy. You can
include the default class, class-default, in the traffic policy.
police
bps
burst-normal burst-max
conform-action
action
exceed-action
action
Example:
Router(config-pmap-c)# police 8000 2000 4000
conform-action transmit exceed-action drop
Specifies a bandwidth usage and conformance policy by a traffic
class through the use of a token bucket algorithm. For a description
of the
conform-action
and
exceed-action
keywords, see
Table 5 on
page 16
.
police rate
bps
[
burst
mbs
peak-rate
peak
]
conform-action
action
exceed-action
action
violate-action
action
Example:
Router(config-pmap-c)# police rate 64000000
conform-action transmit exceed-action drop
Specifies a maximum bandwidth usage by a traffic class through the
use of a token bucket algorithm. For a description of the
conform-action
and
exceed-action
keywords, see
Table 5 on
page 16
.
shape average
mean-rate
[
burst-size
[
excess-burst-size
]
Example:
Router(config-pmap-c)# shape average 2000
Shapes ingress traffic to the indicated bit rate according to the
algorithm specified.
queue-limit
number-of-packets
Example:
Router(config-pmap-c)# queue-limit 100
Specifies the maximum number of packets queued for a traffic class.
Note
This command is only allowed when the
shape
command is
used.
random-detect
Enables a weighted random early detection (WRED) drop policy for
a traffic class.
Note
This command is only allowed when the
shape
command is
used.
random-detect dscp-based
Indicates that WRED is to use the DSCP value when it calculates the
drop probability for the packet.
random-detect
dscp
dscpvalue
min-threshold
cells
max-threshold
cells
[
mark-probability-denominator
]
Example:
Router(config-pmap-c)# random-detect dscp 1 300
cells 700 cells 1
Specifies the minimum and maximum packet thresholds and,
optionally, the mark-probability denominator for the DSCP value.
Note
Use either the
random-detect dscp-based
command with
the
random-detect dscp
command or use the
random-detect precedence
command alone. Do not use the
random-detect precedence
command with either of the
DSCP commands.
Command or Action
Purpose