vpn router bgp best-path—Configure how the active BGP path is selected (on vEdge routers only).
vManage Feature Template
For vEdge routers only:
Configuration ► Templates ► BGP
- Select Routes with BGP Multipath
- as-path multipath-relax
By default, when you are using BGP multipath, the BGP best path process selects from routes in the same AS to load-balance across multiple paths. If you configure the as-path multipath-relax option, the BGP best path process selects from routes in different ASs.
- Use the MED to Select the Active BGP Path
- med (always-compare | deterministic | missing-as-worst)
Compare the specified multi-exit discriminator (MED) parameter to determine the active path. The MED parameter can be one of:
always-compare: Always compare MEDs regardless of whether the peer ASs of the compared routes are the same.
deterministic: Compare MEDs from all routes received from the same AS regardless of when the route was received.
missing-as-worst: If a path is missing a MED attribute, consider it to be the worst path.
- Use the Router ID to Select the Active BGP Path
Compare the router IDs among BGP paths to determine the active path. The system prefers the router with the lowest router ID. If the received route contains an ORIGINATOR_ID attribute (through iBGP reflection), the system uses that router ID; if the attribute is not present, the system uses the router ID of the peer that route was received from.
Compare the router IDs among different BGP paths to determine which path will be the active one:
vEdge(config-best-path)# show config vpn 1 router bgp 666 best-path compare-router-id ! ! ! !
Command introduced in Viptela Software Release 14.1.
See the Routing CLI Reference article for your software release.