F3215-HP Load Balancing Module Network Management Command Reference-6PW101

456
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] bestroute as-path-neglect
bestroute compare-med (IPv6 address family view)
Use bestroute compare-med to enable the comparison of the MED for paths from each AS.
Use undo bestroute compare-med to disable this comparison.
Syntax
bestroute compare-med
undo bestroute compare-med
Default
This comparison is not enabled.
Views
IPv6 address family view
Default command level
2: System level
Usage guidelines
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)
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.
Syntax
bestroute med-confederation
undo bestroute med-confederation
Default
This comparison is not enabled.
Views
IPv6 address family view
Default command level
2: System level