Configuring qos, Creating a traffic class, Table 14-1 – Cisco 15327 User Manual

Page 220

Advertising
background image

14-12

Ethernet Card Software Feature and Configuration Guide, R7.2

Chapter 14 Configuring Quality of Service

Configuring QoS

Configuring QoS

This section describes the tasks for configuring the ML-Series card QoS functions using the MQC. The
ML-Series card does not support the full set of MQC functionality.

To configure and enable class-based QoS features, perform the procedures described in the following
sections:

Creating a Traffic Class, page 14-12

Creating a Traffic Policy, page 14-13

Attaching a Traffic Policy to an Interface, page 14-16

Configuring CoS-Based QoS, page 14-17

For QoS configuration examples, see the

“QoS Configuration Examples” section on page 14-18

.

Creating a Traffic Class

The class-map global configuration command is used to create a traffic class. The syntax of the
class-map command is as follows:

class-map [match-any | match-all] class-map-name

no class-map [match-any | match-all] class-map-name

The match-all and match-any options need to be specified only if more than one match criterion is
configured in the traffic class. The class-map match-all command is used when all of the match criteria
in the traffic class must be met for a packet to match the specified traffic class. The class-map
match-any
command is used when only one of the match criterion in the traffic class must be met for a
packet to match the specified traffic class. If neither the match-all nor the match-any keyword is
specified, the traffic class behaves in a manner consistent with the class-map match-all command.

To create a traffic class containing match criteria, use the class-map global configuration command to
specify the traffic class name, and then use the match commands in

Table 14-1

, as needed.

Table 14-1

Traffic Class Commands

Command

Purpose

Router(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 neither match-all nor
match-any is 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.

Router(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.

Router(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.

Router(config-cmap)# match any

Specifies that all packets will be matched.

Router(config-cmap)# match bridge-group

bridge-group-number

Specifies the bridge-group-number against whose contents packets
are checked to determine if they belong to the class.

Advertising