Configuring Initial BGP 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 BGP is enabled.

    <IP Address>

    The Router ID uniquely identifies the router in the BGP 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).

    Note - 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 Autonomous System number:

    set as {<AS Number> | off}

    Parameters

    Parameter

    Description

    <AS Number>

    The local autonomous system number of the router.

    This number is mutually exclusive from the confederation and routing domain identifier.

    The router can be configured with either the autonomous system number or confederation number, not both.

    Caution - When you change the autonomous system number, all current peer sessions are reset and all BGP routes are deleted.

    Range: 1 - 4294967295

    Default: none

    off

    Disables the configured local autonomous system number.