The if-match any command configures a matching rule for complex traffic classification for all IPv4 or IPv6 packets.
The undo if-match any command cancels the configuration.
By default, the matching rule for complex traffic classification for all IPv4 or IPv6 packets is not configured in traffic classifier view.
Usage Scenario
To process all IPv4 or IPv6 packets in a uniform manner, you need to run this command to match all IPv4 or IPv6 packets.
Prerequisites
A traffic classifier is configured in the system view and the traffic classifier view is displayed.
Configuration Impact
If the traffic behavior and traffic policy are configured for the matched IPv4 or IPv6 packets, the traffic policy configured later does not take effect.
Precautions
If ipv6 is specified, it indicates that all IPv6 packets are involved in the complex traffic classification.
If ipv6 is not specified, it indicates that all IPv4 packets are involved in the complex traffic classification. If you run the command with the parameter any, you set traffic policing parameters for all flows. The policies are matched in the order they are configured. If both any and acl are configured, the earlier configuration takes effect. For example, if any is configured earlier, the command carrying any takes effect whereas that carrying acl does not; otherwise, the command carrying acl takes effect (the case of taking effect of a policy is the same as when only acl is used) whereas that carrying any does not.