![]() |
![]() |
![]() |
bgp router-id
Configures a BGP router ID.
Syntax: [no] bgp router-id id-number
id-number
IP address that identifies this BGP router.
Description: Router ID is the tie-breaker for BGP path selection. The path selection process uses a variety of metrics to select a route. If all other metrics (accessibility, administrative weight, local preference, etc.) are equal, BGP determines the router ID using the following priority:
- Use the address configured by the bgp router-id command
- Use the Loopback interface address with the highest IP address
- Use the highest IP address of the interface
- If no interface exists, set the router-ID to 0.0.0.0
Use bgp router-id command to set the router-ID for the system.
WARNING The bgp router-id command causes the BGP and OSPF processes to restart using the new router-ID (if the processes are enabled and router-ID has changed).
Use the no bgp router-id to use the default BGP router-ID for this router.
BGP recomputes the router-ID based on the items 2, 3, and 4 above and restart OSPF and BGP (if they are enabled and router-ID has changed).
Factory Default: Loopback interface with the highest IP address.
Command Mode: Router configuration.
Example: In the following example, the bgp router-id command manually configures the router ID as 5.1.1.49, and the show ip bgp summary command displays the setting:
router(config-router)#bgp router-id 5.1.1.49
router(config-router)#end
router#show ip bgp summary
BGP currently operating:
AS: 100
Router ID: 5.1.1.49
.
.
.
Related Commands: router bgp
show ip bgp summary
![]() |
![]() |
![]() |
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd12.html
Last Updated: 05/10/04 at 16:36:55