11-4
bestroute compare-med (IPv6 address family view)
Syntax
bestroute compare-med
undo bestroute compare-med
View
IPv6 address family view
Default Level
2: System level
Parameters
None
Description
Use the
bestroute compare-med
command to enable the comparison of the MED for paths from
each AS.
Use the
undo bestroute compare-med
command to disable this comparison.
This comparison is not enabled by default.
After the
bestroute compare-med
command is executed, the
balance
command does not take
effect.
Examples
# Compare the MED for paths from an AS for selecting the best route.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] bestroute compare-med
bestroute med-confederation (IPv6 address family view)
Syntax
bestroute med-confederation
undo bestroute med-confederation
View
IPv6 address family view
Default Level
2: System level
Parameters
None