H3C Technologies H3C S12500-X Series Switches User Manual
Page 233
219
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 IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
address-family ipv6 [ 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.
591B
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.
address-family ipv4 [ 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):
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