234
Step Command
Remarks
3.
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 unicast/multicast address
family):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or
BGP IPv4 multicast
address family view.
•
Enter BGP IPv4 unicast address family
view:
a.
bgp
as-number
b.
address-family ipv4
[
unicast
]
•
Enter BGP-VPN IPv4 unicast address
family view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
c.
address-family ipv4
[
unicast
]
•
Enter BGP IPv4 multicast address family
view:
a.
bgp
as-number
b.
address-family ipv4 multicast
N/A
3.
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 unicast/multicast address
family):
Step Command
Remarks
1.
Enter system view.
system-view
N/A