![Huawei S6700 Series Configuration Manual Download Page 527](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517527.webp)
The BGP view is displayed.
3.
Run:
ipv6-family
[
unicast
]
The BGP IPv6 unicast address family view is displayed.
4.
Run:
peer
ipv6-address
next-hop-local
The local address is configured as the next hop when routes are advertised.
In some networking environments, to ensure that the IBGP neighbors find the correct
next hop, configure the next hop address as its own address when routes are advertised
to the IBGP peers.
NOTE
If BGP load balancing is configured, the local switch changes the next hop address to its own
address when advertising routes to the IBGP peer groups, regardless of whether the
peer next-
hop-local
command is used.
l
The next-hop iteration based on the routing policy
Do as follows on the BGP switch:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
ipv6-family
[
unicast
]
The BGP-IPv6 unicast address family view is displayed.
4.
Run:
nexthop recursive-lookup
route-policy
route-policy-name
The next-hop iteration based on the specified routing policy is enabled.
By default, the next-hop iteration based on the specified routing policy is disabled.
The next-hop iteration based on the specified routing policy can control the iterated
route according to certain conditions. The route that fails to pass the policy is ignored.
----End
8.4.7 Configuring the AS-Path Attribute
The AS_Path attribute is used to avoid routing loops and control route selection.
Procedure
l
Configuring the AS_Path Attribute in the IPv6 Address Family View
Do as follows on the BGP4+ switch:
1.
Run:
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
8 BGP4+ Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
508