Configuring Initial OSPF Settings

During the initial configuration:

  1. Configure the Router ID:

    set router-id {default | <IP Address>}

    You can use this command to change the current Router ID.

    Parameters

    Parameter

    Description

    default

    Selects the highest interface address when OSPF is enabled.

    <IP Address>

    The Router ID uniquely identifies the router in the OSPF autonomous system.

    Best Practice - We recommend you configure the Router ID explicitly.

    This prevents the Router ID from changing if the interface used for the Router ID goes down.

    Use an IP address on a loopback interface that is not the loopback address (127.0.0.1).

    Notes:

    • Do not use 0.0.0.0 as the Router ID.

    • In a cluster, you must select a router ID and make sure that it is the same on all cluster members.

    Range: Dotted-quad. 9[0-255].[0-255].[0-255]. Do not use 0.0.0.0

    Default: The IP address of one of the local interfaces.

  2. Configure the OSPF Area:

    set ospf area <OSPF Area ID>

    Parameters

    Parameter

    Description

    <OSPF Area ID>

    Specifies an OSPF Area ID.

    Best Practice - Enter the area ID as a dotted quad. The area ID 0.0.0.0 is reserved for the backbone.

    Range:

    • backbone

      By default, the backbone area is enabled.

      You can disable the backbone area if the system does not have interfaces on the backbone area.

    • integer between 1 and 4294967295

    • dotted quad form (example: 0.0.0.1 for area id 1)

    Default: none