Configuring Standard QoS
Command
Step 4
match protocol [ip | ipv6]
Step 5
exit
Step 6
exit
Step 7
class-map [match-all | match-any]
class-map-name
Step 8
match input-interface interface-id-list
Step 9
exit
Step 10
exit
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-66
Purpose
(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 first level class map.
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
Return to class-map configuration mode.
Return to global configuration mode.
Create an interface-level 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.
Because only one match command per class map is supported,
Note
the match-all and match-any keywords function the same. See
the
"Creating Named Standard and Extended ACLs" section on
page 1-16
for limitations when using the match-all and the
match-any keywords.
Specify the physical ports on which the interface-level class map acts.
You can specify up to six ports as follows:
•
A single port (counts as one entry)
A list of ports separated by a space (each port counts as an entry)
•
A range of ports separated by a hyphen (counts as two entries)
•
This command can only be used in the child-level policy map and must
be the only match condition in the child-level policy map.
Return to class-map configuration mode.
Return to global configuration mode.
Chapter 1
Configuring QoS
Reference.
OL-25303-03