Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the command set protocol protocols 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 delete protocols bgp vrf evpn advertise-pip can be used to delete this configuration.


Command Syntax

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

delete protocol protocols 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.
Code Block
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpn evpn advertise-pip ip 10.1.1.1
admin@Xorplus# commit

...