Match (Class-Map Configuration) - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2
Catalyst 3550 Switch Cisco IOS Commands

match (class-map configuration)

Use the match class-map configuration command to define the match criteria to classify traffic. Use the
no form of this command to remove the match criteria.
Syntax Description
access-group
acl-index-or-name
class-map
class-map-name
ip dscp dscp-list
ip precedence
ip-precedence-list
vlan vlan-list
Defaults
No match criteria are defined.
Command Modes
Class-map configuration
Command History
Release
12.1(4)EA1
12.1(11)EA1
Usage Guidelines
The match command is used to specify which fields in the incoming packets are examined to classify
the packets. Only the IP access group or the MAC access group matching to the Ether Type/Len are
supported.
To define packet classification on a physical-port basis, only one match command per class map is
supported. In this situation, the match-all and match-any keywords are equivalent.
OL-8566-02
match {access-group acl-index-or-name | class-map class-map-name | ip dscp dscp-list
| ip precedence ip-precedence-list | vlan vlan-list}
no match {access-group acl-index-or-name | class-map class-map-name | ip dscp dscp-list
| ip precedence ip-precedence-list | vlan vlan-list}
Number or name of an IP standard or extended access control list (ACL) or
MAC ACL. For an IP standard ACL, the ACL index range is 1 to 99 and 1300
to 1999. For an IP extended ACL, the ACL index range is 100 to 199 and
2000 to 2699.
Name of predefined class map for classification that is performed on a
per-port per-VLAN basis.
List of up to eight IP Differentiated Services Code Point (DSCP) values to
match against incoming packets. Separate each value with a space. The range
is 0 to 63. You also can enter a mnemonic name for a commonly used value.
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. You also can enter a
mnemonic name for a commonly used value
List of VLANs to match against incoming packets. You can enter up to 30
VLAN IDs. Use a hyphen for a range of VLANs. A VLAN range is counted
as two VLAN IDs. Use a space to separate individual VLANs. The range is
1 to 4094.
Modification
This command was introduced.
The class-map and vlan keywords were added.
match (class-map configuration)
Catalyst 3550 Multilayer Switch Command Reference
2-235

Advertisement

Table of Contents
loading

Table of Contents