Run the command set protocol ospf passive-interface to set interface(s) as passive OSPF interfaces. To set all interfaces as passive, you can use the keyword default. To selectively choose an interface to set as passive interface, specify the interface name. The optional parameter vrf can be used to specify the VRF name.
To delete the configuration, run the command delete protocol ospf passive-interface.
Command Syntax
set protocol ospf [vrf <vrf-name>] passive-interface {default|<interface>}
delete protocol ospf [vrf <vrf-name>] passive-interface {default|<interface>}
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
passive-interface {default|<interface>} | Choose default to set all interfaces to passive mode or specify a particular interface to set to passive mode. |
Example
- Set all interface to OSPF default mode in VRF BLUE.
admin@XorPlus# set protocols ospf vrf BLUE passive-interface default admin@Xorplus# commit