1222
C
82: IP
6 BGP C
HAPTER
V
Description
Examples
bestroute compare-med (IPv6 address family view)
Syntax
View
Parameters
Description
Examples
bestroute med-confederation (IPv6 address family view)
Syntax
View
Parameters
C
ONFIGURATION
OMMANDS
Use the
bestroute as-path-neglect
to not evaluate the AS_PATH during best route selection.
Use the
undo bestroute as-path-neglect
router to use the AS_PATH during best route selection.
By default, the router takes AS_PATH as a factor when selecting the best route.
# 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
undo bestroute compare-med
IPv6 address family 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.
# 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
undo bestroute med-confederation
IPv6 address family view
None
command to configure the IPv6 BGP router
command to configure the IPv6 BGP
command to enable the comparison of the
command to disable this comparison.