cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15274
Views
5
Helpful
5
Replies

Enable OSPF on an Interface

johnlloyd_13
Level 9
Level 9

hi all,

i'm not used to enabling OSPF on an interface basis. i'm used to doing this via the old network command under the OSPF routing process.

my question is, how do we set the OSPF area on an interface if it's area 10 for example?

is it ip ospf 1 area 10.10.10.10 or 0.0.0.10? thanks in advance!

Router(config)#interface fast0/0

Router(config-if)#standby 1 ip 192.168.0.1

Router(config-if)#ip ospf 1 area ?

  <0-4294967295>  OSPF area ID as a decimal value

  A.B.C.D         OSPF area ID in IP address format

Router(config-if)#ip ospf 1 area 0.0.0.0

1 Accepted Solution

Accepted Solutions

Hey John there's nothing to get confused...

If you are doing with the ID then

ip ospf 1 area 10

if with the IP address format then

ip ospf 1 area 0.0.0.10

thanks

View solution in original post

5 Replies 5

kcnajaf
Level 7
Level 7

Hi John,

It will be as below

Router(config-if)# ip ospf 1 area 0

Hope that helps

Regards

Najaf

Please rate when applicable or helpful !!!

hi najaf,

thanks for your reply! i know the command but don't know how to do it if it's area 10.

could i also use the decimal value of 10? what's the difference between a decimal value and an IP address notation as per the help output?

Hey John there's nothing to get confused...

If you are doing with the ID then

ip ospf 1 area 10

if with the IP address format then

ip ospf 1 area 0.0.0.10

thanks

Thanks, got it! Haven't been playing with OSPF for quite some time now.

Sent from Cisco Technical Support iPhone App

Milan Rai
Level 1
Level 1

Hey john,

Just get into the interface in which you are going to do ospf....then

Router(config)#interface fast0/0

Router(config-if)#ip ospf 1 area 10

this will work......

your (config-if)# ip ospf 1 area 0.0.0.0

is pointing toward area 0 so.....this is wrong configuration if your area is 10...

Dont forget to rate if its helpful

Thanks

Review Cisco Networking for a $25 gift card