2-270
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
match (class-map configuration)
match (class-map configuration)
Use the match class-map configuration command to define the match criteria for a class map. Use the
no form of this command to remove the match criteria.
match {access-group acl-index-or-name | cos [inner] cos-list | input-interface interface-id-list |
ip dscp dscp-list | ip precedence ip-precedence-list | mpls experimental exp-list | vlan [inner]
vlan-id}
no match {access-group acl-index-or-name | cos [inner] cos-list | input-interface interface-id-list
| ip dscp dsc-list | ip precedence ip-precedence-list | mpls experimental exp-list | vlan [inner]
vlan-id}
Syntax Description access-group
acl-index-or-name
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.
cos [inner] cos-list List of up to four Layer 2 class of service (CoS) values to match against a
packet. Separate each value with a space. The range is 0 to 7. Use the inner
keyword to match the inner CoS value in 802.1Q tunneling traffic (instead of
matching the outer CoS value).
input-interface
interface-id-list
Specify the physical ports to which the interface-level class map in a
hierarchical dual-level policy map applies. 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. You can specify up to six entries in the list by
specifying a port (counts as one entry), a list of ports separated by a space
(each port counts as an entry), or a range of ports separated by a hyphen
(counts as two entries).
ip dscp dscp-list List of up to eight IP Differentiated Services Code Point (DSCP) values to
match against a packet. Separate each value with a space. The range is 0 to
63. You also can enter a mnemonic name for a commonly used value.
ip precedence
ip-precedence-list
List of up to eight IP-precedence values to match against a packet. Separate
each value with a space. The range is 0 to 7. You also can enter a mnemonic
name for a commonly used value.
mpls experimental
exp-list
List of up to eight multiprotocol label switching (MPLS) experimental values
to match against a packet. Separate each value with a space. The range is 0
to 7.
vlan [inner] vlan-id Match a packet based on the VLAN ID. The keywords have these meanings:
• vlan vlan-id—Match a packet based on the VLAN ID, or match a packet
based on the outer VLAN ID if an 802.1Q tunnel is configured. You can
specify a single VLAN identified by a VLAN number or a range of
VLANs separated by a hyphen. The range is 1 to 4094.
• vlan inner vlan-id—Match a packet based on the inner VLAN ID of an
802.1Q tunnel.You can specify a single VLAN identified by a VLAN
number or a range of VLANs separated by a hyphen. The range is 1 to
4094.