
match
36-3
36
match
This command defines the criteria used to classify traffic. Use the
no
form to delete
the matching criteria.
Syntax
[
no
]
match
{
access-list
acl-name
|
ip dscp
dscp
|
ipv6 dscp
dscp
|
ip
precedence
ip-precedence
|
vlan
vlan
}
•
acl-name
- Name of the access control list. Any type of ACL can be
specified, including standard or extended IP ACLs and MAC ACLs.
(Range: 1-16 characters)
•
dscp
- A Differentiated Service Code Point value. (Range: 0-63)
•
ip-precedence
- An IP Precedence value. (Range: 0-7)
•
vlan
- A VLAN. (Range:1-4093)
Default Setting
None
Command Mode
Class Map Configuration
Command Usage
• First enter the
class-map
command to designate a class map and enter the
Class Map configuration mode. Then use the
match
command to specify the
fields within ingress packets that must match to qualify for this class map.
• If an ingress packet matches an ACL specified by this command, any deny
rules included in the ACL will be ignored.
• If match criteria includes an IP ACL or IP priority rule, then a VLAN rule cannot
be included in the same class map.
If match criteria includes a MAC ACL or VLAN rule, then neither an IP ACL nor
IP priority rule can be included in the same class map.
• Up to 16
match
commands are permitted per class map.
Example
This example creates a class map called “rd_class#1,” and sets it to match packets
marked for DSCP service value 3:
This example creates a class map call “rd_class#2,” and sets it to match packets
marked for IP Precedence service value 5:
Console(config)#class-map rd_class#1_ match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#
Console(config)#class-map rd_class#2 match-any
Console(config-cmap)#match ip precedence 5
Console(config-cmap)#
Содержание ES4626F
Страница 2: ......
Страница 4: ...ES4626F ES4650F F1 1 0 2 E062009 R01 ST 149100000013A...
Страница 6: ...ii...
Страница 34: ...Getting Started...
Страница 44: ...Introduction 1 10 1...
Страница 62: ...Initial Configuration 2 18 2...
Страница 64: ...Switch Management...
Страница 76: ...Configuring the Switch 3 12 3...
Страница 118: ...Basic Management Tasks 4 42 4...
Страница 164: ...User Authentication 6 28 6...
Страница 176: ...Access Control Lists 7 12 7...
Страница 284: ...Quality of Service 14 8 14...
Страница 294: ...Multicast Filtering 15 10 15...
Страница 300: ...Domain Name Service 16 6 16...
Страница 310: ...Dynamic Host Configuration Protocol 17 10 17...
Страница 320: ...Configuring Router Redundancy 18 10 18...
Страница 344: ...IP Routing 19 24 19...
Страница 356: ...Unicast Routing 20 12 20 Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics...
Страница 386: ...Unicast Routing 20 42 20...
Страница 388: ...Command Line Interface...
Страница 400: ...Overview of the Command Line Interface 21 12 21...
Страница 466: ...SNMP Commands 24 16 24...
Страница 520: ...Access Control List Commands 26 18 26...
Страница 546: ...Rate Limit Commands 30 2 30...
Страница 612: ...VLAN Commands 34 24 34...
Страница 626: ...Class of Service Commands 35 14 35...
Страница 670: ...DHCP Commands 39 16 39...
Страница 716: ...IP Interface Commands 41 36 41...
Страница 768: ...IP Routing Commands 42 52 42...
Страница 770: ...Appendices...
Страница 791: ......
Страница 792: ...ES4626F ES4650F E062009 R01 ST 149100000013A...