Disable a Physical Interface
You can disable a physical interface, marking it as being down, without removing the interface configuration statements from the configuration. To do this, include the
disablestatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]disable;Example: Disable a Physical Interface
[edit interfaces]so-1/1/0 {mtu 8000;clocking internal;encapsulation ppp;sonet-options {fcs 16;}unit 0 {family inet {address 12.12.12.21/32 {destination 12.12.12.22;}}}}[edit interfaces]user@host#set so-1/1/0 disable[edit interfaces]user@host#show so-1/1/0so-1/1/0 {disable; # Interface is marked as disabledmtu 8000;clocking internal;encapsulation ppp;sonet-options {fcs 16;}unit 0 {family inet {address 12.12.12.21/32 {destination 12.12.12.22;}}}}