08-11-2017 01:09 PM - edited 03-05-2019 08:59 AM
I have a pair of Nexus 7000s running ospf version 2. I want to change the area of one of the networks from area 0 to area 1. The network shows as a network in area 0 under the ospf {instance} section of the configuration. The confusing part is that the ip ospf {#} area 0 command is not configured under the interface configuration.
How do I change the network from area 0 to area 1? Do I just need to add the ip ospf {#} area 1 command under the interface?
Solved! Go to Solution.
08-11-2017 06:11 PM
Yes the syntax is different in NX-OS. I just did a quick lab using 2 nx-os devices running 7.2.
Under the interface used the following command just like the other post:
ip router ospf x area 1
08-11-2017 02:30 PM
I am not sure about nexus 7k syntax for ospf. But you can configure ospf either directly under the interface or ospf instance. Ospf configuration under the interface will always taje the precedence.
Inter s1/0
ip ospf 1 area 1
!
router ospf 1
net 192.168.1.1 0.0.0.0 area 1
!
08-11-2017 03:50 PM
The syntax above doesn't apply to the Nexus platform. I need to know about Nexus, and how to configure it!!!
08-11-2017 06:11 PM
Yes the syntax is different in NX-OS. I just did a quick lab using 2 nx-os devices running 7.2.
Under the interface used the following command just like the other post:
ip router ospf x area 1
08-11-2017 05:55 PM
You can change the area using the command "ip router ospf {#} area 1". This configuration is made under the interface. You can check the ospf configuration using the command show run ospf.
Hope this helps
Regards
Vinit
PS: Please rate useful posts
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