Defining Traffic Classes Using Class Maps; Configuration Example For Defining Traffic Classes Using Class Maps - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Configuring Fair Bandwidth Sharing During Congestion

Defining Traffic Classes Using Class Maps

To define a traffic class using a class map, enter the following commands beginning in global
configuration mode:
Command
Step 1
Router(config)# class-map class-map-name
Step 2
Router(config-cmap)# match access-group
{access-group-number | name
access-group-name}
or
Router(config-cmap)# match
input-interface interface-name
or
Router(config-cmap)# match mpls
experimental number

Configuration Example for Defining Traffic Classes Using Class Maps

Example 12-1
packets belong to the class, class1 matches packets using ACL 101 and class2 uses ACL 102 match
criteria.
Example 12-1 Defining Traffic Classes Using a Class Map
Router(config)# access-list 101 permit udp host 10.10.10.10 host 10.10.10.20 range 16384
20000
Router(config)# access-list 102 permit udp host 10.10.10.10 host 10.10.10.20 range 53000
56000
Router(config)# class-map class1
Router(config-cmap)# match access-group 101
Router(config-cmap)# class-map class2
Router(config-cmap)# match access-group 102
Router(config-cmap)# exit
Cisco 10000 Series Router Quality of Service Configuration Guide
12-8
Purpose
Creates or modifies a class map. Enters class-map configuration
mode.
class-map-name is the name of the class map.
Specifies the name of the access control list (ACL) against whose
contents packets are checked to determine if they belong to the
class. CBWFQ supports numbered and named ACLs.
access-group-number is the number of the access control list
(ACL) against whose contents you want packets to be checked.
name access-group-name is the name of the ACL.
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.
interface-name is the type and number of the interface (for
example, ATM 1/0/0).
Specifies the value of the experimental (EXP) field to be used as
a match criterion against which packets are checked to determine
if they belong to the class.
number is the EXP value to be used as a match criterion. Valid
values are from 0 to 7, delimited using spaces (for example, 3 4 7).
For more information about match criteria you can define, see the
"Defining Match Criteria Using the match Commands" section on
page
creates two ACLs (101 and 102) and two class maps (class1 and class2). To determine if
Chapter 12
Sharing Bandwidth Fairly During Congestion
2-5.
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents