37-65
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 37 Configuring QoS
Configuring Standard QoS
•
When you configure a default traffic class by using the
class
class-default
policy-map configuration
command, unclassified traffic (traffic that does not meet the match criteria specified in the traffic
classes) is treated as belonging to the default traffic class (
class-default
).
Beginning in privileged EXEC mode, follow these steps to create a hierarchical policy map:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
class-map
[
match-all
|
match-any
]
class-map-name
Create a VLAN-level class map, and enter class-map configuration
mode. For information about creating a class map, see the
Traffic by Using Class Maps” section on page 37-54
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” section on
for limitations when using the
match-all
and the
match-any
keywords.
Step 3
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.
•
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.
Содержание Catalyst 3750-E Series
Страница 48: ...Contents xlviii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...
Страница 52: ...lii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 Preface ...
Страница 1414: ...Index IN 58 Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...