DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
10-7 bgp bestpath compare-confed-aspath
This command is used to configure a BGP routing process to compare the confederation AS path length
of the routes received. To return the BGP routing process to the default operation, use the no form of this
command.
bgp bestpath compare-confed-aspath
no bgp bestpath compare-confed-aspath
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Router Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
If enabled, the BGP process will compare the confederation AS path length of the routes received. The
shorter the confederation AS path length, the better the route is.
Example
This example shows how to enable BGP process to compare the AS path which contains some
confederation as numbers.
Switch# configure terminal
Switch(config)# router bgp 100
Switch(config-router)# bgp bestpath compare-confed-aspath
10-8 bgp bestpath compare-routerid
This command is used to compare the router ID when comparing paths that have identical comparing
factors. Use the no command to revert to the default behavior.
bgp bestpath compare-routerid
no bgp bestpath compare-routerid
Parameters
None.
Default
BGP selects the first route received as the best path when comparing paths that have identical comparing
factors.
150