Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

Run the command set protocols bgp evpn vni rd if you do not want that route distinguisher (RD) to be automatically derived and define them manually. 

Run the command delete protocols bgp evpn vni rd to delete this configuration.

Command Syntax

set protocols bgp evpn vni <vni-id> rd <rd>

delete protocol bgp evpn vni <vni-id> rd <rd>




vni <vni-id>Specifies the VNI ID. The value is an integer that ranges from 1 to 16777215.
rd <rd>Specifies the route distinguisher. The value follows the format RouterID:VNI-Index.

Usage Guidelines 

When the switch learns about a local VNI and there is no configuration available in the system regarding this VNI then the import and export route targets (RTs) and route distinguisher (RD) for this VNI will be automatically calculated. The RTs are automatically derived as AS:VNI, whereas RD is derived as Router-ID:VNI-Index.

For Type-2 and Type-3 routes coming from the layer 2 VNI, the RD is calculated as VXLAN-local0-tunnelip:VNI instead of Router-ID:VNI. Since EVPN routes may have the same MAC and/or the IP address; RDs are used to remove ambiguity in such cases. RTs are used to identify the VPN membership of routes.


  • Configure RD for VNI 20.
admin@Xorplus# set protocols bgp evpn vni 20 rd
admin@Xorplus# commit
  • No labels