Examples: Configure Filters or Sampling on Aggregated SONET Links
Configure filtering on aggregated SONET/SDH interfaces:
[edit interfaces]asx{unit 0 {family inet {address 10.2.11.1/32 {destination 10.2.11.3;}filter {inputinput-filter-name;outputoutput-filter-name;}}}}Define the filter
[edit firewall]filterinput-filter-name{term match-any-input {then {accept;}}}filteroutput-filter-name{termmatch-any-output{then{accept;}}}Configure sampling on aggregated SONET/SDH interfaces
[edit interfaces]asx{unit 0 {family inet {address 10.2.11.1/32 {destination 10.2.11.3;}filter {inputinput-sampler-name;}}}}Define the sampling filter and the forwarding action
[edit firewall]filterinput-sampler-name{term match-any-input {then {sample;accept;}}}[edit forwarding-options]sampling {input{family inet {rate 10000;run-length 1;}}}