
C613-50186-01 Rev B
Command Reference for AR2050V
1148
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
BGP
ROUTER
-
ID
bgp router-id
Overview
Use this command to configure the router identifier. The IPv4 address specified in
this command does not have to be an IPv4 address that is configured on any of the
interfaces on the device. Note that you must specify an IPv4 address with this when
used for BGP4+.
Use the
no
variant of this command to return the router-id to its default value (as
described in Default below).
Syntax
bgp router-id <
routerid
>
no bgp router-id [<
routerid
>]
Default
If the BGP router ID is not specified, the IPv4 address of the loopback interface is
used. When there is no address on the loopback interface, the highest IP address
among the VLAN interfaces is used. Note that devices that have an Ethernet
management interface will not use that eth interface’s IP address as a router ID.
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+]
Router Configuration
Usage
Use the
bgp router-id
command to manually configure a fixed router ID as a BGP
or BGP4+ router identifier. This router ID takes precedence over all other possible
router ID sources. The order of precedence is:
1)
router ID configured with this command
2)
IP address of the loopback interface
3)
highest IP address from the VLAN interfaces
Examples
To configure a router ID with an IPv4 address for a BGP or BGP4+ router identifier,
enter the commands listed below:
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
bgp router-id 1.1.2.3
To disable the router ID for a BGP or BGP4+ router identifier enter the commands
listed below:
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
no bgp router-id
Parameter
Description
<
routerid>
Specify the IPv4 address without mask for a manually configured
router ID, in the format
A.B.C.D
.