R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
212
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] balance ibgp 2
# In BGP view, set the number of EBGP ECMP routes to 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] balance ebgp 2
# In BGP-VPN instance view, set the number of BGP 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 2
# 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