root-ip use-next-hop

Function

The root-ip use-next-hop command configures a leaf node to use the next hop of a BGP EVPN route as the root node IP address.

The undo root-ip use-next-hop command restores the default configuration.

By default, a leaf node does not use the next hop of a BGP EVPN route as the root node IP address.

Format

root-ip root-ip use-next-hop

undo root-ip root-ip use-next-hop

Parameters

Parameter Description Value
root-ip

Specifies the IP address of a root.

The value is in dotted decimal notation.

Views

EVI-IPMSI-LEAF view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In a cross-IGP-area EVPN E-LAN scenario, you must run the root-ip use-next-hop command on a leaf node to configure the next hop of a BGP EVPN route as the root node IP address, which is used as the IP address of the ABR on the area border. Without this configuration, EVPN cannot use an mLDP P2MP tunnel for service transmission.

Example

# Configure a leaf node to use the next hop of a BGP EVPN route as the root node IP address.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evpn1 bd-mode
[*HUAWEI-evpn-instance-evpn1] inclusive-provider-tunnel
[*HUAWEI-evpn-instance-evpn1-inclusive] leaf
[*HUAWEI-evpn-instance-evpn1-inclusive-leaf] root-ip 2.2.2.2 use-next-hop
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >