To configure traffic sampling on a logical interface, you must perform at least the following tasks:
- filter filter-name {
-
- term term-name {
-
- then {
- sample;
- accept;
- }
- }
- }
For more information about firewall filter actions and action modifiers, see the JUNOS Policy Framework Configuration Guide.
-
address address {
-
destination destination-address;
- }
-
filter {
-
input filter-name;
- }
-
sampling {
-
-
input {
-
-
family inet {
-
max-packets-per-second number;
-
rate number;
- }
- }
- }