03-25-2020 01:19 PM
Hello - What is the purpose of Interface command "ip ospf passive-interface"
Can I understand that by enabling the interface command "ip ospf passive-interface" prevents this interface to form OSPF neighborship, but still advertise it subnet in the OSPF database?
interface Vlan65
ip address 171.192.5.221/26
ip ospf passive-interface
ip router ospf 1 area 0.0.0.0
SWITCH-CORE# show ip ospf database router 172.31.255.13 detail
Link connected to: a Stub Network
(Link ID) Network/Subnet Number: 171.192.5.192
(Link Data) Network Mask: 255.255.255.192
Number of TOS metrics: 0
TOS 0 Metric: 40
regards,RB
Solved! Go to Solution.
03-25-2020 01:35 PM
Hi,
Yes, that is correct, as long as OSPF is enabled on the interface to begin with (in your case it is, per the database output), as without OSPF being enabled the passive-interface" command is ignored.
Regards,
Cristian Matei.
03-25-2020 01:35 PM
Hi,
Yes, that is correct, as long as OSPF is enabled on the interface to begin with (in your case it is, per the database output), as without OSPF being enabled the passive-interface" command is ignored.
Regards,
Cristian Matei.
03-25-2020 01:50 PM
Thank you
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