cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1777
Views
5
Helpful
2
Replies

IP OSPF Passive-interface

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

1 Accepted Solution

Accepted Solutions

Cristian Matei
VIP Alumni
VIP Alumni

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.

View solution in original post

2 Replies 2

Cristian Matei
VIP Alumni
VIP Alumni

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.

Thank you

Review Cisco Networking for a $25 gift card