11-11
Cisco ONS 15310-CL and Cisco ONS 15310-MA Ethernet Card Software Feature and Configuration Guide R8.5
78-18133-01
Chapter 11 Configuring Quality of Service on the ML-Series Card
Configuring QoS
Creating a Traffic Policy
To configure a traffic policy, use the policy-map global configuration command to specify the traffic
policy name, and use the following configuration commands to associate a traffic class, which was
configured with the class-map command and one or more QoS features. The traffic class is associated
Table 11-1 Traffic Class Commands
Command Purpose
ML_Series(config)# class-map
class-map-name
Specifies the user-defined name of the traffic class. Names can be a
maximum of 40 alphanumeric characters. If match-all or
match-any is not specified, traffic must match all the match criteria
to be classified as part of the traffic class.
There is no default-match criteria.
Multiple match criteria are supported. The command matches either
all or any of the criteria, as controlled by the match-all and
match-any subcommands of the class-map command.
Note The ML-100T-8 supports a maximum of 126 user-defined
class maps, plus one default class map named
“class-default”. The ML-Series card on the ONS 15454
SONET/SDH supports a maximum of 254 user-defined
class maps, plus one default class map named
“class-default”.
ML_Series(config)# class-map match-all
class-map-name
Specifies that all match criteria must be met for traffic entering the
traffic class to be classified as part of the traffic class.
ML_Series(config)# class-map match-any
class-map-name
Specifies that one of the match criteria must be met for traffic
entering the traffic class to be classified as part of the traffic class.
ML_Series(config-cmap)# match any Specifies that all packets will be matched.
ML_Series(config-cmap)# match bridge-group
bridge-group-number
Specifies the bridge-group-number against whose con tents packets
are checked to determine if they belong to the class.
ML_Series(config-cmap)# match cos
cos-number
Specifies the CoS value against whose contents packets are checked
to determine if they belong to the class.
ML_Series(config-cmap)# match input-interface
interface-name
Specifies the name of the input interface used as a match criterion
against which packets are checked to determine if they belong to the
class.
The shared packet ring (SPR) interface used in RPR (SPR1) is a
valid interface-name for the ML-Series card. For more information
on the SPR interface, see Chapter 14, “Configuring Resilient Packet
Ring on the ML-Series Card.”
The input-interface choice is not valid when applied to the INPUT
of an interface (redundant).
ML_Series(config-cmap)# match ip dscp
ip-dscp-value
Specifies up to eight DSCP values used as match criteria. The value
of each service code point is from 0 to 63.
ML_Series (config-cmap)# match ip precedence
ip-precedence-value
Specifies up to eight IP precedence values used as match criteria.