M、MX、または T Series ルーターでファイアウォールフィルターを指定して、監視するトラフィックを選択する
ファイアウォールフィルターを定義する際に、監視する初期トラフィックを選択します。ファイアウォールフィルターを設定するには、[edit firewall family inet]階層レベルでfilterステートメントを含めます。監視対象のフィルタリングされたすべてのトラフィックを受け入れる必要があります。
[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;
}
}
}
}
}