36-51
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-12247-04
Chapter 36 Configuring QoS
Configuring Standard QoS
Step 3
class-map
[
match-all
|
match-any
]
class-map-name
Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
•
(Optional) Use the
match-all
keyword to perform a logical-AND
of all matching statements under this class map. All match criteria
in the class map must be matched.
•
(Optional) Use the
match-any
keyword to perform a logical-OR
of all matching statements under this class map. One or more
match criteria must be matched.
•
For
class-map-name
, specify the name of the class map.
If neither the
match-all
or
match-any
keyword is specified, the
default is
match-all
.
Note
Because only one
match
command per class map is supported,
the
match-all
and
match-any
keywords function the same.
See the
“Creating Named Standard and Extended ACLs”
for limitations when using the
match-all
and the
match-any
keywords.
Step 4
match protocol
[
ip
|
ipv6
]
(Optional) Specify the IP protocol to which the class map applies.
•
Use the argument
ip
to specify IPv4 traffic, and
ipv6
to specify
IPv6 traffic.
•
When you use the
match protocol
command, only the
match-all
keyword is supported for the
class-map
command.
Note
This command is available only when the dual IPv4 and IPv6
SDM template is configured.
You can use the
match protocol
command with the
match ip dscp
or
match precedence
commands, but not with the
match access-group
command.
For more information about the
match protocol
command, see the
Cisco IOS Quality of Service Solutions Command Reference
Step 5
match
{
access-group
acl-index-or-name
|
ip dscp
dscp-list
|
ip precedence
ip-precedence-list
}
Define the match criterion to classify traffic.
By default, no match criterion is defined.
Only one match criterion per class map is supported, and only one ACL
per class map is supported.
•
For
access-group
acl-index-or-name,
specify the number or name
of the ACL created in Step 2.
•
To filter IPv6 traffic with the
match access-group
command,
create an IPv6 ACL, as described in Step 2.
•
For
ip dscp
dscp-list
, enter a list of up to eight IP DSCP values to
match against incoming packets. Separate each value with a space.
The range is 0 to 63.
•
For
ip precedence
ip-precedence-list
, enter a list of up to eight
IP-precedence values to match against incoming packets. Separate
each value with a space. The range is 0 to 7.
Command
Purpose