Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the command set protocol protocols ospf router-id to configure OSPF router ID. The router ID should be unique within the OSPF domain and is in the IPv4 dotted decimal format. The optional parameter vrf can be used to specify OSFPv2 instance for a particular VRF. If VRF is not defined then OSPFv2 instance takes effect for the default VRF.

Run the command delete protocol protocols ospf route-id to delete this configuration.


Command Syntax

set protocol protocols ospf [vrf <vrf-name>] router-id <ipv4>

delete protocol protocols ospf [vrf <vrf-name>] router-id <ipv4>


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

router-id <ipv4>Specify OSPF router ID. The value is in IPv4 dotted decimal format.


Example

  •  Configure OSPF router ID.

...