Match Any - Cisco MWR 2941 Command Reference Manual

Table of Contents

Advertisement

match any

match any
To configure the match criteria for a class map to be successful match criteria for all packets, use the
match any command in class-map configuration mode. To remove all criteria as successful match
criteria, use the no form of this command.
Syntax Description
This command has no arguments or keywords.
Command Default
No match criteria are specified.
Command Modes
Class-map configuration
Command History
Release
12.0(5)XE
12.0(5)T
12.1(1)E
12.2(33)SRA
12.2(31)SB
12.2SX
12.4(20)MR
12.2(33)MRA
15.0(1)MR
Examples
In the following configuration, all packets leaving Ethernet interface 0/1 will be policed based on the
parameters specified in policy-map class configuration mode:
Router(config)# class-map matchany
Router(config-cmap)# match any
Router(config-cmap)# exit
Router(config)# policy-map policy1
Router(config-pmap)# class class4
Router(config-pmap-c)# police 8100 1500 2504 conform-action transmit exceed-action
set-qos-transmit 4
Router(config-pmap-c)# exit
Router(config)# interface gigabitethernet0/1
Router(config-if)# service-policy output policy1
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
216
match any
no match any
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
Modification
This command was introduced.
This command was integrated into Cisco IOS Release 12.0(5)T.
This command was integrated into Cisco IOS Release 12.1(1)E.
This command was integrated into Cisco IOS Release 12.2(33)SRA.
This command was integrated into Cisco IOS Release 12.2(31)SB and
implemented on the Cisco 10000 series router.
This command is supported in the Cisco IOS Release 12.2SX train.
Support in a specific 12.2SX release of this train depends on your
feature set, platform, and platform hardware.
This command was integrated into Cisco IOS Release 12.4(20)MR.
This command was integrated into Cisco IOS Release 12.2(33)MRA.
This command was integrated into Cisco IOS Release 15.0(1)MR.
OL-23890-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mwr 2941-dcMwr 2941-dc-a

Table of Contents