The if-match application command configures a matching rule based on the application name in a traffic classifier.
The undo if-match application command deletes a matching rule based on the application name in a traffic classifier.
By default, no matching rule based on the application name is configured in a traffic classifier.
Parameter |
Description |
Value |
---|---|---|
name appname |
Specifies the name of an application. |
The value is a string of characters. The value depends on the applications supported in the signature database. To check the supported application names, run the display application command. |
Usage Scenario
You can run the if-match application command to classify packets based on the application name of packets. This ensures that the switch processes packets matching the same traffic classifier identically.
Precautions
If you run the if-match application command in the same traffic classifier view multiple times, only the latest configuration takes effect.
A traffic policy containing such a traffic classifier can be applied only to the inbound direction globally or on a physical or a VLANIF interface.
A packet matches two traffic policies, and a traffic classifier contains if-match application in only one of the traffic policies. (The other traffic policy does not contain if-match discard or if-match application.) In this case, both traffic policies take effect for the packet.