set protocols ospf passive-interface
Run the command set protocols ospf passive-interface to the set specified layer 3 interface as passive OSPF interface. The optional parameter vrf can be used to specify the VRF for this command to take effect in, if not specified the command affects the default VRF.
Passive interfaces are part of OSPF database but they do not send or receive OSPF LSAs and hence adjacencies are not formed on these interfaces.
To delete the configuration, run the command delete protocols ospf passive-interface.
Command Syntax
set protocols ospf [vrf <vrf-name>] passive-interface <interface-name>
delete protocols ospf [vrf <vrf-name>] passive-interface <interface-name>
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF for the OSPF instance. |
passive-interface <interface-name> | Specifies the L3-interface to set to passive mode. |
Example
- Set the OSPF L3 interface vlan200 to passive mode.
admin@XorPlus# set protocols ospf vrf BLUE passive-interface vlan200 admin@Xorplus# commit
Related content
Copyright © 2025 Pica8 Inc. All Rights Reserved.