The peer next-hop-local command configures an BGP MVPN device to set its IP address as the next hop of routes when the MBGP device advertises the routes to an IBGP peer group.
The undo peer next-hop-local command restores the default setting.
By default, an BGP MVPN device sets its IP address as the next hop address of routes when advertising them to its EBGP peer; the BGP MVPN 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] ipv4-family mvpn [*HUAWEI-bgp-af-mvpn] peer test enable [*HUAWEI-bgp-af-mvpn] peer test next-hop-local