peer next-hop-local (BGP-IPv6 MVPN address family view) (group)

Function

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.

Format

peer group-name next-hop-local [ reflect-effective ]

undo peer group-name next-hop-local

Parameters

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.

-

Views

BGP-IPv6 MVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The peer next-hop-local command is applicable to IBGP peers.

Example

# Configure 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 named test.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >