Cisco ISE Software Configuration Guide - Page 84

Configuring Modular QoS CLI, Defining a Traffic Class

Page 84 highlights

Configuring Modular QoS CLI Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers Configuring Modular QoS CLI The Modular QoS CLI (MQC) is a CLI structure that allows users to create traffic policies and attach these policies to interfaces. A traffic policy contains a traffic class and one or more QoS features. A traffic class is used to classify traffic, while the QoS features in the traffic policy determine how to treat the classified traffic. Modular QoS CLI configuration includes the following three steps: • Defining a Traffic Class, page 84 • Creating a Traffic Policy, page 85 • Attaching a Traffic Policy to a PVC, page 90 Defining a Traffic Class The class-map command is used to create a traffic class. To create a traffic class containing match criteria, use the class-map command to specify the traffic class name, then use a match command in class map configuration mode. The syntax of the class-map command is as follows: class-map [match-any | match-all] class-name no class-map [match-any | match-all] class-name The class-map match-all command is used when all 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 the first possible match criterion from a list of match criteria must be met for a packet to match the specified traffic class. If neither match-all nor match-any is specified, the traffic class will behave in a manner consistent with class-map match-all command. For additional information on using the match-any and match-all options, see the "Using the class-map match-any and class-map match-all Commands" section on page 85. Command Router(config)# class-map class-map-name Router(config)# class-map match-all class-map-name Router(config)# class-map match-any class-map-name Router(config-cmap)# match access-group access-group Router (config-cmap)# match any Router (config-cmap)# match ip dscp number Router (config-cmap)# match ip precedence number Purpose Specifies the user-defined name of the traffic class. Specifies a logical AND operator for all matching statements under this traffic class. Specifies a logical OR operator for all matching statements under this traffic class. Specifies the numbered access list against whose contents packets are checked to determine if they belong to the class. Specifies that all packets will be matched. Specifies up to eight differentiated services code point (DSCP) values used as match criteria. The value of each service code point is between 0 and 63. Specifies up to eight IP precedence values used as match criteria. Cisco IOS Release 12.0(27)S 84

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102

Software Configuration of ATM ISE Line Cards for Cisco 12000 Series Routers
Configuring Modular QoS CLI
84
Cisco IOS Release 12.0(27)S
Configuring Modular QoS CLI
The Modular QoS CLI (MQC) is a CLI structure that allows users to create traffic policies and attach
these policies to interfaces. A traffic policy contains a traffic class and one or more QoS features. A
traffic class is used to classify traffic, while the QoS features in the traffic policy determine how to treat
the classified traffic.
Modular QoS CLI configuration includes the following three steps:
Defining a Traffic Class, page 84
Creating a Traffic Policy, page 85
Attaching a Traffic Policy to a PVC, page 90
Defining a Traffic Class
The
class-map
command is used to create a traffic class. To create a traffic class containing match
criteria, use the
class-map
command to specify the traffic class name, then use a
match
command in
class map configuration mode.
The syntax of the
class-map
command is as follows:
class-map
[
match-any
|
match-all
]
class-name
no
class-map
[
match-any
|
match-all
]
class-name
The
class-map match-all
command is used when all 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 the
first possible match criterion from a list of match criteria must be met for a packet to match the specified
traffic class. If neither match-all nor match-any is specified, the traffic class will behave in a manner
consistent with
class-map match-all
command.
For additional information on using the match-any and match-all options, see the
“Using the class-map
match-any and class-map match-all Commands” section on page 85
.
Command
Purpose
Router(config)#
class-map
class-map-name
Specifies the user-defined name of the traffic class.
Router(config)#
class-map match-all
class-map-name
Specifies a logical AND operator for all matching statements
under this traffic class.
Router(config)#
class-map match-any
class-map-name
Specifies a logical OR operator for all matching statements under
this traffic class.
Router(config-cmap)#
match access-group
access-group
Specifies the numbered access list against whose contents packets
are checked to determine if they belong to the class.
Router (config-cmap)#
match any
Specifies that all packets will be matched.
Router (config-cmap)#
match ip dscp
number
Specifies up to eight differentiated services code point (DSCP)
values used as match criteria. The value of each service code point
is between 0 and 63.
Router (config-cmap)#
match ip precedence
number
Specifies up to eight IP precedence values used as match criteria.