956
C
72: BGP C
HAPTER
bestroute compare-med (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
Examples
bestroute med-confederation (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
C
ONFIGURATION
OMMANDS
bestroute compare-med
undo bestroute compare-med
BGP view/BGP-VPN instance view
None
Use the
bestroute compare-med
MED for paths from each AS.
Use the
undo bestroute compare-med
This comparison is not enabled by default.
# In BGP view, enable the comparison of MEDs for paths from each AS when
selecting the best route.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] bestroute compare-med
# In BGP-VPN instance view, enable the comparison of MED for paths from each
AS when selecting the best route. (The VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] bestroute compare-med
bestroute med-confederation
undo bestroute med-confederation
BGP view/BGP-VPN instance view
None
Use the
bestroute med-confederation
the MED for paths from confederation peers to select the optimal route.
Use the
undo bestroute med-confederation
comparison.
The comparison is not enabled by default.
command to enable the comparison of the
command to disable this comparison.
command to enable the comparison of
command to disable the