[c-nsp] ospf (passive-interface default)

Scott Miller fordlove at gmail.com
Tue Mar 3 16:05:36 EST 2015


It will be enabled for all interfaces - but only actively advertising the
10.10.10.0/30 network.  Passive interfaces accept routing updates, but do
not send them (if explicitly configured and included in the network
command).

I haven't tried OSPF on a per-interface other than an IOS-XR and the
parameters are a bit different.

router ospf 1
 area 0
  interface GigabitEthernet0/0/0/0
 !
!

Scott

On Tue, Mar 3, 2015 at 1:41 PM, CiscoNSP List <cisconsp_list at hotmail.com>
wrote:

> Hi Everyone,
>
> Dont have a lab handy to test this, so hoping someone can answer:
>
> If you configure:
>
> router ospf 1
> network 10.10.10.0 0.0.0.3 area 1
>
> without passive-int default, will ospf be "enabled" on all Interfaces, or
> just the Interface with 10.10.10.0/30 configured on it?
>
> I was always under the impression that (best practice) is to do the
> following, so that ospf is disabled on all ints, apart from the ones
> configured with "no passive int foo"
>
> router ospf 1
> passive-int default
> no passive int gi0/1
> network 10.10.10.0 0.0.0.3 area 1
>
> ...and,  (As an alternative) is configuring ospf under each interface now
> a method many use instead of the above example?
>
> ...I havent tried the "per int" method (I will later today), but in
> theory, I think having all the config under "router ospf xx" would be
> easier to maintain...i.e. all the config is in the one section for ospf?
>
> Cheers.
>
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list