On Apr 12, 2007, at 11:13 AM, Paul Goyette wrote: > Steiner is correct. > > The "set interface <blah> enable" exists only for completeness, as > a complement to "set interface <blah> disable". If you have done > a disable, there are two ways to remove it: > > set interface <blah> enable > or delete interface Mblah> disable > > Both are functionally equivalent, however the former will clutter > the config file unnecessarily.
But may be a useful command to include in a script if you are unsure of the previous state of the interface... If you are unsure of the previous state, you probably have bigger issues though :-) W > > Paul Goyette > Juniper Networks Customer Service > JTAC Senior Escalation Engineer > PGP Key ID 0x53BA7731 Fingerprint: > FA29 0E3B 35AF E8AE 6651 > 0786 F758 55DE 53BA 7731 > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> [EMAIL PROTECTED] >> Sent: Thursday, April 12, 2007 6:11 AM >> To: [EMAIL PROTECTED] >> Cc: [EMAIL PROTECTED] >> Subject: Re: [j-nsp] set interface xxx enable >> Importance: High >> >>> Does anybody know what's different between the following >> configurations? >> >> As far as I know "enable" is the default, so these two configurations >> are functionally identical. From my point of view "enable" simply >> clutters the configuration here. >> >> Steinar Haug, Nethelp consulting, [EMAIL PROTECTED] >> >>> >>> (1). >>> [edit] >>> [EMAIL PROTECTED] show interfaces ge-0/2/0 >>> unit 0 { >>> family inet { >>> address 10.31.31.1/24; >>> } >>> } >>> >>> (2). >>> [edit] >>> [EMAIL PROTECTED] show interfaces ge-0/2/0 >>> enable; >>> unit 0 { >>> enable; >>> family inet { >>> address 10.31.31.1/24; >>> } >>> } >>> >>> Is there any advatages issueing command like "set interface >> ge-0/2/0 >>> enable"? >>> >>> >>> Thanks, >>> Tan >>> >> _______________________________________________ >> juniper-nsp mailing list [EMAIL PROTECTED] >> https://puck.nether.net/mailman/listinfo/juniper-nsp >> > > _______________________________________________ > juniper-nsp mailing list [EMAIL PROTECTED] > https://puck.nether.net/mailman/listinfo/juniper-nsp > -- "Go on, prove me wrong. Destroy the fabric of the universe. See if I care." -- Terry Prachett _______________________________________________ juniper-nsp mailing list [EMAIL PROTECTED] https://puck.nether.net/mailman/listinfo/juniper-nsp

