Class-Map - match statements

When creating a class-map, the match-all and match-any keywords are used to specify how matching will take place.

  • match-all - Determines how packets are evaluated when multiple match criteria exist. Matches statements under this class map based on the logical AND function. A packet must match all statements to be accepted.
  • match-any - Determines how packets are evaluated when multiple match criteria exist. Matchesstatements under this class map based on the logical OR function. A packet must match any of the match statements to be accepted.

If you do not specify the match-any or match-all keyword, the default keyword is used match-all.