Quick Series 30 – Advertising specific OSPF address when intf has multiple secondaries – Juniper
May 10
jncie ospf juniper junos No Comments
Hi,
Here is the below configuration that I have an interface , how would you make sure that 9.9.12.2/24 is only advertised.
————————
labroot@R# show interfaces lt-7/0/0.21
encapsulation ethernet;
peer-unit 12;
family inet {
address 9.9.12.2/24;
address 9.9.112.2/24;
address 9.9.212.2/24;
}
————————–
we can call individual address after ‘interface’ knob in ospf just like IOS. see the below reference
Normal Definition
labroot@R:r2# show protocols ospf
area 0.0.0.0 {
interface lt-7/0/0.21;
}
————————–
This is how an address can be defined
area 0.0.0.0 {
interface 9.9.12.2; ————————> INSTEAD OF INTERFACE NAME ADDRESS
}
[edit]
labroot@R:r2# run show ospf neighbor
Address Interface State ID Pri Dead
9.9.12.1 lt-7/0/0.21 Full 9.9.1.1 128 37
——————————
Regards
Rakesh M