11-05-2018 09:44 AM - edited 03-08-2019 04:32 PM
Hi, quick query to confirm I'm adding OSPF statements correctly.
On our core L3 switch we have an existing ospf config (ive left out all details apart from one example) i.e.
router ospf 1
router-id x.x.x.x
network 10.10.10.0 0.0.0.255 area 0
If I want to add another network statement
network 10.10.20.0 0.0.0.255 area 0
Do I just go into the 'router ospf 1' sub command and add the additional statement - or will this overwrite what already exists there?
Thanks
Thanks
Solved! Go to Solution.
11-05-2018 09:57 AM
Hi,
You just go under ospf router and add the new command. It will not override the other one as this is a new statement.
config t
router ospf 1
network 10.10.20.0 0.0.0.255 area 0
HTH
11-05-2018 09:57 AM
Hi,
You just go under ospf router and add the new command. It will not override the other one as this is a new statement.
config t
router ospf 1
network 10.10.20.0 0.0.0.255 area 0
HTH
11-05-2018 11:34 AM
Thanks for the confirmation. Its as I hoped/expected but needed confirmation before I tried.
11-05-2018 10:59 AM
alternatively:
interface fa0/1
ip ospf 1 area 0
regards
mk
11-05-2018 11:36 AM
11-05-2018 11:37 AM
Thanks for the alternative option
11-05-2018 11:26 AM - edited 11-05-2018 11:27 AM
Hello
@NGJ wrote:
Hi, quick query to confirm I'm adding OSPF statements correctly.
On our core L3 switch we have an existing ospf config (ive left out all details apart from one example) i.e.
router ospf 1
router-id x.x.x.x
network 10.10.10.0 0.0.0.255 area 0
If I want to add another network statement
network 10.10.20.0 0.0.0.255 area 0
Do I just go into the 'router ospf 1' sub command and add the additional statement - or will this overwrite what already exists there?
you can do that or another option is you can apply it via the actual interface you want advertising
int x/x
ip ospf 1 area 0
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