Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

disable (Forwarding Options)

 

Syntax

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement added to port-mirror hierarchy in Junos OS Release 9.6.

Note

Beginning in Junos OS Release 15.1F5 and later 15.1 releases and Junos OS Release 16.1 and later, the disable option has been deprecated at the forwarding-options sampling instance instance-name family (inet | inet6 | mpls) hierarchy level on PTX3000 Series routers. When configured, the option does not take effect, so packets continue to be sampled. Instead of the disable option, use the deactivate forwarding-options sampling instance instance-name family (inet | inet6 | mpls) command to prevent sampling.

Description

Disable traffic accounting, port mirroring, or sampling.

Note

The disable statement at the [edit forwarding-options sampling] hierarchy level disables only Routing Engine-based sampling. To disable PIC-based sampling and inline sampling, include the disable statement at the [edit forwarding-options sampling instance instance-name] hierarchy level.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.