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.
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
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
Thanks for the confirmation. Its as I hoped/expected but needed confirmation before I tried.
alternatively:
interface fa0/1
ip ospf 1 area 0
regards
mk
Thanks for the alternative option
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