ip ospf passive
Syntax
ip ospf被动没有ip ospf被动
描述
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没有
form of this command resets the interface as active. With this setting, the interface starts sending and receiving OSPF packets.
Command context
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 1switch(config-if-vlan)#ip ospf passive
Setting the interface as OSPF active interface:
switch(config)#interface vlan 1switch(config-if-vlan)#没有ip ospf passive