Connectivity Guide

bestpath as-path
Congures the AS path selection criteria for best path computation.
Syntax
bestpath as-path {ignore | mutlipath-relax}
Parameters
ignore — Enter to ignore the AS PATH in BGP best path calculations.
mutlipath-relax — Enter to include prexes received from dierent AS paths during multipath
calculation.
Default Enabled
Command Mode ROUTER-BGP
Usage Information To enable load-balancing across dierent EBGP peers, congure the mutlipath-relax option. If you congure
both ignore or multipath-relax options at the same time, a system-generated error message appears. The
no version of this command disables conguration.
NOTE: To congure these settings for a non-default VRF instance, rst enter the ROUTER-CONFIG-
VRF sub mode using the following commands:
1 Enter the ROUTER BGP mode using the router bgp as-number command.
2 From the ROUTER BGP mode, enter ROUTER BGP VRF mode using the vrf vrf-name command.
Example
OS10(conf-router-bgp-10)# bestpath as-path multipath-relax
Supported Releases 10.3.0E or later
bestpath med
Changes the best path MED attributes during MED comparison for path selection.
Syntax
bestpath med {confed | missing-as-worst}
Parameters
confed — Compare MED among BGP confederation paths.
missing-as-worst — Treat missing MED as the least preferred path.
Default Disabled
Command Mode ROUTER-BGP
Usage Information Before you apply this command, use the always-compare-med command. The no version of this command
resets the MED comparison inuence.
NOTE: To congure these settings for a non default VRF instance, you must rst enter the ROUTER-
CONFIG-VRF sub mode using the following commands:
1 Enter the ROUTER BGP mode using the router bgp as-number command.
2 From the ROUTER BGP mode, enter the ROUTER BGP VRF mode using the vrf vrf-name
command.
Example
OS10(conf-router-bgp-2)# bestpath med confed
Supported Releases 10.3.0E or later
464 Layer 3