Print Download PDF Send Feedback

Previous

Next

RIP

OSPFv2 and OSPFv3

BGP

When you do initial configuration, set the router ID. You can also use the following command to change the router ID.

set router-id {default | <ip_address>}

Command

Description

default

Selects the highest interface address when OSPF is enabled.

<ip_address>

The Router ID uniquely identifies the router in the autonomous system. The router ID is used by the BGP and OSPF protocols. We recommend setting the router ID rather than relying on the default setting. This prevents the router ID from changing if the interface used for the router ID goes down. Use an 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 interface address of one of the local interfaces.

Use the following group of commands to set and view parameters for BGP.

set as {<as_number> | off}

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.

off

Disables the configured local autonomous system number.