指定 M、MX 或 T 系列路由器上的防火墙过滤器,以选择要监控的流量
定义防火墙过滤器时,选择要监控的初始流量。要配置防火墙过滤器,请在 filter
层级添加语句 [edit firewall family inet]
。必须接受所有要监控的过滤流量。
[edit] firewall { family inet { filter input-monitoring-filter { term 1 { from { destination-address { 10.7.0.0/16; } } then { count counter1; accept; } } term 2 { from { destination-address { 10.6.0.0/16; } } then { count counter2; accept; } } } } }