Технические ссылки для Cisco Cisco 5760 Wireless LAN Controller

Скачать
Страница из 1016
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.
If you enter the class-map match-any class-map-name global configuration command, you can enter the
following match commands:
• match access-group name acl-name
The ACL must be an extended named ACL.
Note
• match input-interface interface-id-list
• match ip dscp dscp-list
• match ip precedence ip-precedence-list
You cannot enter the match access-group acl-index command.
To define packet classification on a physical-port basis, only one match command per class map is supported.
In this situation, the match-any keyword is equivalent.
For the match ip dscp dscp-list or the match ip precedence ip-precedence-list command, you can enter a
mnemonic name for a commonly used value. For example, you can enter the match ip dscp af11 command,
which is the same as entering the match ip dscp 10 command. You can enter the match ip precedence critical
command, which is the same as entering the match ip precedence 5 command. For a list of supported
mnemonics, enter the match ip dscp ? or the match ip precedence ? command to see the command-line help
strings.
Use the input-interface interface-id-list keyword when you are configuring an interface-level class map in
a hierarchical policy map. For the interface-id-list, you can specify up to six entries.
Examples
This example shows how to create a class map called class2, which matches all the incoming traffic with
DSCP values of 10, 11, and 12:
Controller(config)#
class-map class2
Controller(config-cmap)#
match ip dscp 10 11 12
Controller(config-cmap)#
exit
This example shows how to create a class map called class3, which matches all the incoming traffic with
IP-precedence values of 5, 6, and 7:
Controller(config)#
class-map class3
Controller(config-cmap)#
match ip precedence 5 6 7
Controller(config-cmap)#
exit
This example shows how to delete the IP-precedence match criteria and to classify traffic using acl1:
Controller(config)#
class-map class2
Controller(config-cmap)#
match ip precedence 5 6 7
Controller(config-cmap)#
no match ip precedence
Controller(config-cmap)#
match access-group acl1
Controller(config-cmap)#
exit
   Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)
146
OL-29471-01  
match (class-map configuration)