neighbor next-hop-unchanged

Syntax

neighbor <IP-ADDR> next-hop-unchanged

no neighbor <IP-ADDRESS> next-hop-unchanged

Description

Enables the neighbor to preserve next-hop while advertising routes to eBGP peers, in the L2VPN EVPN address-family.

The no form of this command resets the peer next-hop-unchanged status to default.

Command context

config-bgp-l2vpn-evpn

Parameters

<IP-ADDR>

Specifies an IP address.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp-l2vpn-evpn)# neighbor 1.1.1.1 next-hop-unchanged