Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

disable (Interface)

Syntax

Hierarchy Level

Description

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

CAUTION:
  • 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.

Note:
  • 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 and ATM MIC with SFP do support it and the laser will be turned off when the interface is disabled. If the ATM MIC with SFP is part of an APS group, then the laser will not be turned off when you use the disable statement at the [edit interfaces] hierarchy level..

  • When you disable or deactivate an interface, then all the references made to the deactivated interface must be removed from the routing instance.

  • For abstracted fabric interfaces, the disable command disables AF interface on the local GNF only.

Laser Warning:

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

Starting in Junos OS Release 22.1R1, you can use the disable statement under [edit interfaces interface-name] and [edit interfaces interface-name unit logical-unit-number] hierarchy level to disable an IFD and IFL in PS interfaces on MX Series routers.

If you disable a PS IFD, then the IFD will be admin down and IFLs will do link down. If you disable a PS IFL, then the IFL will be admin down and link up.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

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