3Com S7902E Command Reference Manual - page 868
1-4
Description
Use the
bestroute as-path-neglect
command to configure BGP not to consider the AS_PATH during
best route selection.
Use the
undo bestroute as-path-neglect
command to configure BGP to consider the AS_PATH during
best route selection.
By default, BGP considers the AS_PATH during best route selection.
Examples
# In BGP view, ignore AS_PATH in route selection.
[Sysname] bgp 100
[Sysname-bgp] bestroute as-path-neglect
# In BGP-VPN instance view, ignore AS_PATH in route selection (the VPN has been created).
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] bestroute as-path-neglect
bestroute compare-med (BGP/BGP-VPN instance view)
Syntax
bestroute compare-med
undo bestroute compare-med
View
BGP view/BGP-VPN instance 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.
Examples
# In BGP view, enable the comparison of MEDs for paths from each AS when selecting the best route.
[Sysname] bgp 100
[Sysname-bgp] bestroute compare-med