Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Run the command set protocol bgp vrf evpn advertise-pip to advertise the Primary IP Address (PIP) for a given VRF. Parameter vrf is optional and if not defined then the command takes effects on the default VRF. Similarly if the optional parameter l2vpn is added the advertisement affects layer 2 EVPN only. We can also specify a specific IP address to advertise by adding ip <ip>. 

The delete protocol bgp vrf evpn advertise-pip can be used to delete this configuration.


Command Syntax

set protocol bgp vrf <text> [l2vpn] evpn advertise-pip [ip <ip>]

delete protocol bgp vrf <text> [l2vpn] evpn advertise-pip [ip <ip>]


Parameter

Parameter

Description

vrf <text>

Specifies the name of the VRF.

l2vpn

Specifies whether the command affects layer 2 EVPN

ip <ip>

Specifies the specific IPv4 or IPv6 address to advertise.


Example

  • Configure BGP layer 2 EVPN to advertise PIP 10.1.1.1 for VRF BLUE.
admin@Xorplus# set protocol bgp vrf BLUE l2vpn evpn advertise-pip ip 10.1.1.1
admin@Xorplus# commit
  • No labels