14-14
Ethernet Card Software Feature and Configuration Guide, R7.2
January 2009
Chapter 14 Configuring Quality of Service
Creating a Traffic Policy
Table 14-2 Traffic Policy Commands
Command Purpose
Router (config)# policy-map
policy-name
Specifies the name of the traffic policy to configure. Names can
be a maximum of 40 alphanumeric characters.
Router (config-pmap)# class
class-map-name
Specifies the name of a predefined traffic class, which was
configured with the class-map command, used to classify
traffic to the traffic policy.
Router (config-pmap)# class class-default Specifies the default class to be created as part of the traffic
policy.
Router (config-pmap-c)# bandwidth {
bandwidth-kbps
|
percent
percent
}
Specifies a minimum bandwidth guarantee to a traffic class in
periods of congestion. A minimum bandwidth guarantee can be
specified in kbps or by a percentage of the overall available
bandwidth.
Valid choices for the ML-Series cards are:
Rate in kilobits per second
Percent of total available bandwidth (1 to 100)
If multiple classes and bandwidth actions are specified in a
single policy map, they must use the same choice in specifying
bandwidth (kilobits or percent).
Note When using the bandwidth command, excess traffic
(beyond the configured commit) is allocated any
available bandwidth in proportion to the relative
bandwidth commitment of its traffic class compared to
other traffic classes. Excess traffic from two classes
with equal commits has equal access to available
bandwidth. Excess traffic from a class with a minimum
commit might receive only a minimum share of
available bandwidth compared to excess bandwidth
from a class with a high commit.
Note The true configurable bandwidth in kilobits or megabits
per second is per port and depends on how the
ML-Series card is configured. The show interface
command shows the maximum bandwidth of a port (for
example, BW 100000 Kbit). The sum of all bandwidth
and priority actions applied to the interface, plus the cos
priority-mcast bandwidth, is not allowed to exceed the
maximum bandwidth of the port.