The peer next-hop-local command configures an MBGP 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 MBGP 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.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group test internal [*HUAWEI-bgp] IPv4-family multicast [*HUAWEI-bgp-af-multicast] peer test enable [*HUAWEI-bgp-af-multicast] peer test next-hop-local