The ip netstream sampler except deny-action command configures NetStream sampling not to be applied to traffic matching the ACL rule or traffic behavior of deny.
The undo ip netstream sampler except deny-action command configures NetStream sampling to be applied to traffic matching the ACL rule or traffic behavior of deny.
By default, NetStream is applied to traffic matching the ACL rule or traffic behavior of deny.
Usage Scenario
When NetStream sampling is configured and an ACL rule or traffic behavior of deny is configured for multi-field (MF) classification, the device performs NetStream sampling on the packets that match the ACL rule or traffic behavior by default. If a large number of packets matching the deny ACL rule or traffic behavior are sent, an exception alarm is generated. However, these packets are discarded and do not trigger any traffic exception. As a result, the device incorrectly generates the alarm. To resolve this problem, configure NetStream sampling not to be applied to packets matching the ACL rule or traffic behavior of deny.
Prerequisites
Precautions
This command is supported only in interface ACL scenarios.