[c-nsp] Wanting to learn Juniper...

Eric Van Tol eric at atlantech.net
Fri Apr 11 10:12:11 EDT 2008


> Uhm, no.  A deactivated configuration item is considered not to be
> present in the configuration at all, which means you cannot reference
> that interface anywhere else in the configuration (that would be an
> error that prevents you from committing the change).  If you want to
> shut down an interface (while keeping it in the configuration), you
> need to disable it, and the equivalent of "no shutdown" in that sense
> is "delete disable".
>
> Talk about intuitive...
>
> --
> Florian Weimer                <fweimer at bfk.de>
> BFK edv-consulting GmbH       http://www.bfk.de/
> Kriegsstraße 100              tel: +49-721-96201-1
> D-76133 Karlsruhe             fax: +49-721-96201-99

Actually, you *can* use the hidden command "set interface x/x/x enable".  I cannot remember the reason for making this command hidden, but I do know there was a reason.

That said, there really is *no* equivalent to 'shutdown'.  Even if you disable an interface, it just disables that interface's ability to pass traffic.  I believe the layer-1 actually still works (lasers transmit/receive, TDM still receives).  This makes for some annoying GigE interface troubleshooting if you're trying to simulate a total link loss.  The only way to really "kill* the interface is to offline the PIC - not a problem for a single-port PIC, but for multi-port GEs, OCx, and DSx, well, you're SOL.

-evt


More information about the cisco-nsp mailing list