compare-routerid

Enables comparison of device IDs, so that the path-comparison algorithm compares the device IDs of neighbors that sent otherwise equal-length paths.

Syntax

compare-routerid
no compare-routerid

Modes

BGP configuration mode

Examples

The following example configures the device always to compare device IDs.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# compare-routerid