HP VPN Firewall Appliances Network Management Command Reference

446
# In BGP-VPN instance view, set the number of IBGP ECMP routes to 2. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] balance ibgp 2
# In BGP-VPN instance view, set the number of EBGP ECMP routes to 2. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] balance ebgp 2
Related commands
display bgp routing-table
bestroute as-path-neglect (BGP/BGP-VPN instance view)
Use bestroute as-path-neglect to configure BGP not to consider the AS_PATH during best route selection.
Use undo bestroute as-path-neglect to configure BGP to consider the AS_PATH during best route
selection.
Syntax
bestroute as-path-neglect
undo bestroute as-path-neglect
Default
BGP considers the AS_PATH during best route selection.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Examples
# In BGP view, ignore AS_PATH in route selection.
<Sysname> system-view
[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> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] bestroute as-path-neglect
bestroute compare-med (BGP/BGP-VPN instance view)
Use bestroute compare-med to enable the comparison of MEDs for routes on a per-AS basis.
Use undo bestroute compare-med to disable this comparison.