The set protocols bgp evpn advertise-all-vni command is used to enable the BGP control plane for all VNIs configured on the switch.
Parameter vrf is optional and if not defined then the command takes effects on the default VRF. Note that only leaf switches that are VTEPs need this configuration.
The delete protocols bgp evpn advertise-all-vni command can be used to delete this configuration.
Command Syntax
set protocols bgp [vrf <vrf-name>] evpn advertise-all-vni
delete) protocols bgp [vrf <vrf-name>] evpn advertise-all-vni
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF. The value is a string. |
Example
- Configure BGP EVPN to advertise all VNIs in the BLUE VRF.
admin@Xorplus# set protocols bgp vrf BLUE evpn advertise-all-vni admin@Xorplus# commit