The ospf enable command enables OSPF on the interface.
The undo ospf enable command disables OSPF from the interface.
By default, OSPF is not enabled on interfaces.
Parameter | Description | Value |
---|---|---|
process-id |
Specifies the ID of an OSPF process. |
The value is an integer ranging from 1 to 4294967295. The default value is 1. |
area area-id |
Specifies an area ID in the format of a decimal integer. |
The value ranges from 0 to 4294967295 when it is an integer. |
areaidipv4 |
Specifies an area ID in the format of an IP address. |
The value is in dotted decimal notation. |
100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Loopback interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
The ospf enable command configuration takes precedence over the network command configuration.
After the undo ospf enable command is run to disable OSPF from an interface, the network configuration takes effect on the interface automatically.Configuration Impact
The interface will alternate between Up and Down when the ospf enable and network commands are run on the interface repeatedly.
Precautions
The area specified in the ospf enable command must have been created. Otherwise, the configuration does not take effect.
The configured interface and the OSPF process must be in the same VPN.