DGS-6604 bgp bestpath compare-routerid
CLI Reference Guide
72
bgp bestpath compare-routerid
Use this command to compare router IDs for the best-path selection process
when external BGP (eBGP) paths are identical. Use the no form of the command
to disable this function.
bgp bestpath compare-routerid
no bgp bestpath compare-routerid
Syntax None
Default BGP receives routes with identical eBGP paths from eBGP peers and selects the
first route received as the best path.
Command Mode Router configuration
Usage Guideline When comparing similar routes from peers the BGP router does not consider the
router ID of the routes. By default, it selects the first received route. Use this
command to include the router ID in the selection process. When enabled,
similar routes are compared and the route with the lowest router ID is selected.
Unless manually defined, the router ID is the highest IP address on the router,
with preference given to loopback addresses. Router ID can be manually set by
using the bgp router-id command on page 78.
Example This example shows how to configure to compare the router-ids of identical
eBGP paths for autonomous system 65534:
Switch(config)# router bgp 65534
Switch(config-router)# bgp bestpath compare-routerid