enable bgp peer-group next-hop-unchanged

enable bgp peer-group peer-group-name 12vpn-evpn next-hop-unchanged


Enables a peer group and with respect to the next-hop of routes advertised to EBGP peers.

Syntax Description

peer-group-name Specifies a peer group.
12vpn-evpn Specifies L2VPN EVPN address-family type.
next-hop-unchanged Enables preserving the BGP next-hop when routes are advertised to EBGP peers (default is disabled).


Default is that next-hop-unchanged is disabled.

Usage Guidelines

This command enables overriding the specification behavior with respect to the next-hop of routes advertised to EBGP peers. Specifically, it maintains the BGP next-hop for routes advertised to EBGP peers.

When enabling the address family l2vpn-evpn in an EBGP configuration, the option next-hop-unchanged must also be enabled.


The following command enables next-hop unchanged for the BGP peer group pg2 :

enable bgp peer-group pg2 l2vpn-evpn next-hop-unchanged


This command was first available in ExtremeXOS 31.4.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS 32.2 Feature License Requirements document.