Command Line Interface
4-278
4
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
|
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 DSCP value. (Range: 0-63)
•
ip-precedence
- An IP Precedence value. (Range: 0-7)
•
vlan
- A VLAN. (Range:1-4092)
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.
• Only one
match
command can be entered 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:
This example creates a class map call “rd_class#3,” and sets it to match packets
marked for VLAN 1:
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)#
Console(config)#class-map rd_class#3 match-any
Console(config-cmap)#match vlan 1
Console(config-cmap)#
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......