List Info

Thread: Re: set interface xxx enable




Re: set interface xxx enable
country flaguser name
United States
2007-04-12 10:13:56
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.

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: juniper-nsp-bouncespuck.nether.net 
> [mailto:juniper-nsp-bouncespuck.nether.net] On Behalf
Of 
> sthaugnethelp.no
> Sent: Thursday, April 12, 2007 6:11 AM
> To: lotannissho-ele.co.jp
> Cc: juniper-nsppuck.nether.net
> 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, sthaugnethelp.no
> 
> > 
> > (1).
> > [edit]
> > nelcoM7i-20# show interfaces ge-0/2/0
> > unit 0 {
> >     family inet {
> >         address 10.31.31.1/24;
> >     }
> > }
> > 
> > (2).
> > [edit]
> > nelcoM7i-20# 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 juniper-nsppuck.nether.net
> 
https://puck.nether.net/mailman/listinfo/juniper-nsp
> 

_______________________________________________
juniper-nsp mailing list juniper-nsppuck.nether.net

https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: set interface xxx enable
user name
2007-04-12 11:11:31
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: juniper-nsp-bouncespuck.nether.net
>> [mailto:juniper-nsp-bouncespuck.nether.net] On Behalf
Of
>> sthaugnethelp.no
>> Sent: Thursday, April 12, 2007 6:11 AM
>> To: lotannissho-ele.co.jp
>> Cc: juniper-nsppuck.nether.net
>> 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, sthaugnethelp.no
>>
>>>
>>> (1).
>>> [edit]
>>> nelcoM7i-20# show interfaces ge-0/2/0
>>> unit 0 {
>>>     family inet {
>>>         address 10.31.31.1/24;
>>>     }
>>> }
>>>
>>> (2).
>>> [edit]
>>> nelcoM7i-20# 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 juniper-nsppuck.nether.net
>> 
https://puck.nether.net/mailman/listinfo/juniper-nsp
>>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsppuck.nether.net
> 
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 juniper-nsppuck.nether.net

https://puck.nether.net/mailman/listinfo/juniper-nsp

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )