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
Description
Use
bestroute med-confederation
to enable the comparison of the MED for paths from
confederation peers for best route selection.
Use
undo bestroute med-confederation
to disable the configuration.
By default, this comparison is not enabled.
With this feature enabled, the system can only compare the MED for paths from peers within the
confederation. Paths from external ASs are advertised throughout the confederation without MED
comparison.
Examples
# Compare the MED for paths from peers within the confederation.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] bestroute med-confederation
compare-different-as-med (IPv6 address family view)
Syntax
compare-different-as-med
undo compare-different-as-med
View
IPv6 address family view
Default level
2: System level
346