在 M、MX 和 T 系列路由器上配置主动监控的接口
配置输入接口并应用之前定义的防火墙过滤器。与无源流监控不同,用于主动流监控的输入接口不受限制,因此您可以选择大多数标准网络接口(如 ATM1 或基于以太网的接口)作为输入。
如果配置带采样的主动流监控,则可以配置接口过滤器来代替防火墙过滤器,并在层级使用 sampling
语句 [edit interfaces interface-name-fpc/pic/port unit unit-number family inet]
。
[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]); } } } } }