R21xx-HP FlexFabric 11900 Layer 3 IP Routing Configuration Guide

209
Ste
p
Command
Remarks
4. Permit the local AS number to
appear in routes from a peer
or peer group and specify the
appearance times.
peer { group-name | ip-address }
allow-as-loop [ number ]
By default, the local AS number is
not allowed in routes from a peer
or peer group.
To permit the local AS number to appear in routes from a peer or peer group and specify the
appearance times (IPv6):
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter BGP view or BGP-VPN
instance view.
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
ipv6-family [ unicast ] N/A
4. Permit the local AS number to
appear in routes from a peer
or peer group and specify the
appearance times.
peer { group-name |
ipv6-address } allow-as-loop
[ number ]
By default, the local AS number is
not allowed in routes from a peer
or peer group.
Disabling BGP from considering AS_PATH during best route selection
To disable BGP from considering AS_PATH during best route selection (IPv4):
Step Command Remarks
1. Enter system view. system-view N/A
2. Enter BGP view or BGP-VPN
instance view.
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
ipv4-family [ unicast ] N/A
4. Disable BGP from considering
AS_PATH during best route
selection.
bestroute as-path-neglect
By default, BGP considers
AS_PATH during best route
selection.
To disable BGP from considering AS_PATH during best route selection (IPv6):