BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
31.9
bgp bestpath compare-routerid
This command compares the router-id for identical eBGP paths.
When comparing similar routes from peers the BGP router does not consider router ID of the
routes. By default, it selects the first received route. Use this command to include router ID in
the selection process; similar routes are compared and the route with lowest router ID is
selected. The router-id is the highest IP address on the router, with preference given to
loopback addresses. You can set the router-id manually by using the
bgp router-id
command.
By default, BGP receives routes with identical eBGP paths from eBGP peers and selects the first
route received as the best path.
The
no
form disables this function.
Syntax
bgp bestpath compare-router-id
no bgp bestpath compare-router-id
Mode
Router mode
Examples
Related Commands
show ip bgp
show ip bgp neighbors
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
bgp bestpath compare-routerid