Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
•
•
After you have configured the class map name and are in class map configuration mode, you can enter
the match subcommands. The syntax for these subcommands is as follows:
See
Table2-1
Optional Subcommand Description
access-group
acl_index | acl_name
access-group
acl_name
ip dscp value1 value2
... value8
ip precedence value1
value2 ... value8
Examples
This example shows how to access the class-map commands and subcommands and to configure a class
map named ipp5 and enter a match statement for ip precedence 5:
Switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# class-map ipp5
Switch(config-cmap)# match ip precedence 5
Switch(config-cmap)#
This example shows how to configure the class map to match an already configured access list:
Switch(config-cmap)# match access-group IPacl1
Switch(config-cmap)#
Related Commands
policy-map
service-policy
show class-map
show policy-map
show policy-map interface
78-16201-01
mpls
no
match {[access-group {acl_index | name acl_name}] | [ip {dscp | precedence} value1 value2...
value8]}
Table2-1
for a syntax description of the match subcommands.
Syntax Description for the match Command
Specifies the access list index or access list names; valid access list index
values are from 1 to 2699.
Specifies the named access list.
Specifies IP DSCP values to match; valid values are from 0 to 63. Enter up
to eight DSCP values separated by white spaces.
Specifies IP precedence values to match; valid values are from 0 to 7. Enter
up to eight precedence values separated by white spaces.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
class-map
2-19