ip ospf passive
Syntax
ip ospf passive
no ip ospf passive
Description
Configures the interface as an OSPF passive interface. With this setting, the interface participates in OSPF but does not send or receive packets on that interface.
The
no
form of this command resets the interface as active. With this setting, the interface starts sending and receiving OSPF packets.
Command context
config-if
config-if-vlan
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting the interface as OSPF passive interface:
switch(config)# interface vlan 1 switch(config-if-vlan)# ip ospf passive
Setting the interface as OSPF active interface:
switch(config)# interface vlan 1 switch(config-if-vlan)# no ip ospf passive