cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1005
Views
0
Helpful
3
Replies

OSPF configuration on interface or under 'router ospf xx'

branfarm1
Level 4
Level 4

Hi there,

What's the functional difference between configuring ospf at the interface level, such as:

interface GigabitEthernet6/1
no switchport
ip address 10.5.10.1 255.255.255.252
ip ospf 100 area 1

versus:

router ospf 100

network 10.5.10.1 0.0.0.0 area 1

Thanks in advance,

Brandon

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

No functional differences. If you have a lot of interfaces and they can be grouped within a summarized network entry, having the router ospf process configured, requires less typing.

View solution in original post

3 Replies 3

Edison Ortiz
Hall of Fame
Hall of Fame

No functional differences. If you have a lot of interfaces and they can be grouped within a summarized network entry, having the router ospf process configured, requires less typing.

Thanks Edison!

esomarriba
Level 5
Level 5

Hi,

It's another way of doing things. I like the old style format, going under router ospf xxx (like old-shool) , I like to make sure that only the interface that I want participate on the ospf process, so I combine it with passive-inter default and enable only the interface I want to enable for ospf with pass-inter inter gigx/y.

That makes more sense if you need to debug ip os adj if you are having problems with peering, etc...

HTH,

Elyinn.-