class-map — global
name[ match-all | match-any] no class-map
name[ match-all | match-any]
A class map to be used for matching packets to a specified class
This command creates a class map, which is used for matching packets with a defined class. The
name is the class’s name as defined in the policy-map.
match-all means that all of the following criteria must be met before a packet is marked for the class.
match-any means that if any of the following criteria matches, the packet is marked for the class.
The class map consists of a set of criteria defined by the
class-map class1 match-all match input-interface ethernet0 match access-group 100