C613-50631-01 Rev A Command Reference for IE340 Series 1352
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
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 other interfaces is used.
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 other 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.