Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

disable (Interface)

Syntax

disable;

Hierarchy Level

[edit interfaces interface-name],[edit interfaces interface-name unit logical-unit-number],[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 12.2 for ACX Series Universal Access Routers.

Description

Disable a physical or a logical interface, effectively unconfiguring it.

  • Dynamic subscribers and logical interfaces use physical interfaces for connection to the network. The Junos OS allows you to set the interface to disable and commit the change while dynamic subscribers and logical interfaces are still active. This action results in the loss of all subscriber connections on the interface. Use care when disabling interfaces.
  • If aggregated SONET links are configured between a T1600 router and a T4000 router, interface traffic is disrupted when you disable the physical interface configured on the T1600 router. If you want to remove the interface, we recommend that you deactivate the interface instead of disabling it.
  • When you use the disable statement at the [edit interfaces] hierarchy level, depending on the PIC type, the interface might or might not turn off the laser. Older PIC transceivers do not support turning off the laser, but newer Gigabit Ethernet (GE) PICs with SFP and XFP transceivers do support it and the laser will be turned off when the interface is disabled.
  • When you disable or deactivate an interface, then all the references made to the deactivated interface must be removed from the routing instance.

Warning: Do not stare into the laser beam or view it directly with optical instruments even if the interface has been disabled.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2013-01-11