Versions Compared

Key

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

Run the command set protocol protocols bgp evpn vni advertise-subnet to advertises BGP EVPN Type-5 prefixes for a specific advertise the subnet corresponding to the specified VNI. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. The other optional parameter is l2vpn to specify that the command affects layer 2 VPN. 

Run the command delete protocol delete protocols bgp evpn vni advertise-subnet to remove this configuration.


Command Syntax

set protocol protocols bgp [vrf <text>] [l2vpn] evpn vni <1-16777215> advertise-subnet

delete protocol protocols bgp [vrf <text>] [l2vpn] evpn vni <1-16777215> advertise-subnet

...

Parameter

Description

vrf <vrf-name>

Specifies the name of the VRF.

l2vpn

Specifies that the configuration applies to layer 2 EVPN.

evpn vni <1-16777215>

Specifies the VNI, its value is an integer that ranges from 1 to 16777215.

...

  • Configure the device to advertise BGP EVPN Type-5 routes the locally attached subnet corresponding to VNI 20 in VRF BLUE and VNI 20.
Code Block
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpn evpn vni 20 advertise-subnet
admin@Xorplus# commit

...