OcNOS-RON : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : passive-interface
passive-interface
Use this command to suppress sending Hello packets on all interfaces or on a specified interface.
This command configures OSPF on simplex Ethernet interfaces. Since a simplex interface represents only one network segment between two devices, configure the transmitting interface as a passive interface. This ensures that OSPF does not send hello packets for the transmitting interface. Both the devices can see each other via the hello packet generated for the receiving interface.
Use the no form with this command to resume sending hello packets on all interfaces, or on a specified interface.
Note: The command passive-interface configures all interfaces as passive. If it is re-applied, the other passive configurations will be removed and all interfaces will become passive again.
Command Syntax
passive-interface
passive-interface IFNAME (enable|)
passive-interface IFNAME A.B.C.D (enable|)
no passive-interface
no passive-interface IFNAME
no passive-interface IFNAME A.B.C.D
Parameters
enable
Enable passive interface
IFNAME
The name of the interface.
A.B.C.D
IPv4 address of the interface.
Default
The default OSPF exit overflow interval is 0 second and number of external LSDB limit is 100000.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#router ospf 100
(config-router)#passive-interface
(config-router)#passive-interface eth0 enable
(config-router)#passive-interface eth1 10.1.2.3 enable
Last modified date: 08/28/2023