Configure the Interfaces That Will Be Actively Monitored
Configure the input interfaces and apply the firewall filter that you defined earlier. Unlike passive flow monitoring, the input interfaces for active flow monitoring are not restricted to SONET/SDH or ATM2 IQ interfaces, so you can select most standard network interfaces (such as ATM1 or Ethernet-based interfaces) as the input.
If you configure active flow monitoring with sampling, you can configure an interface filter in place of a firewall filter with the
samplingstatement at the [edit interfacesinterface-name-fpc/pic/portunitunit-numberfamily inet] hierarchy level.[edit]interfaces {so-2/2/0 {unit 0 {family inet {filter {input active_filter;}address 10.36.11.2/32 {destination 10.36.11.1;}sampling {(input | output | [input output] )}}}}