R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

412
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] balance 2
Related commands
display bgp ipv6 routing-table
bestroute as-path-neglect (IPv6 address family view)
Use bestroute as-path-neglect to configure the IPv6 BGP router to not evaluate the AS_PATH during best
route selection.
Use undo bestroute as-path-neglect to configure the IPv6 BGP router to use the AS_PATH during best
route selection.
Syntax
bestroute as-path-neglect
undo bestroute as-path-neglect
Default
The router takes AS_PATH as a factor when selecting the best route.
Views
IPv6 address family view
Default command level
2: System level
Examples
# Ignore AS_PATH in route selection.
<Sysname> system-view
[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