To specify sampling of IPv4 or MPLS traffic, include the appropriate configuration of the family statement at the [edit forwarding-options sampling input] hierarchy level:
- forwarding-options {
-
- sampling {
-
- input {
-
- family (inet | mpls) {
- max-packets-per-second value;
- rate value;
- run-length value;
- }
- }
- }
- }
You can include either family inet or family mpls.