The peer next-hop-local command configures an BGP MVPNv6 device to set its IP address as the next hop of routes when the BGP-IPv6 MVPN device advertises the routes to an IBGP peer group.
The undo peer next-hop-local command restores the default setting.
By default, an BGP MVPNv6 device sets its IP address as the next hop address of routes when advertising them to its EBGP peer; the BGP device does not change the next hop address of routes when advertising them to its IBGP peer group.
Parameter | Description | Value |
---|---|---|
group-name |
Specifies the name of a peer group. |
The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
reflect-effective |
Configures the device to set its IP address as the next hop of routes when the device advertises the routes to an IBGP peer or peer group in RR scenarios. |
- |
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group test internal [*HUAWEI-bgp] ipv6-family mvpn [*HUAWEI-bgp-af-mvpnv6] peer test enable [*HUAWEI-bgp-af-mvpnv6] peer test next-hop-local