01-09-2013 07:50 PM - edited 03-04-2019 06:39 PM
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
Solved! Go to Solution.
01-09-2013 08:09 PM
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
01-09-2013 07:57 PM
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 !!!
01-09-2013 08:04 PM
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?
01-09-2013 08:09 PM
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
01-09-2013 08:53 PM
Thanks, got it! Haven't been playing with OSPF for quite some time now.
Sent from Cisco Technical Support iPhone App
01-09-2013 08:04 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide