Specifies a bridge domain (BD), or adds or removes a range VLANs from the BD, for an Ethernet Virtual Private Network (EVPN) instance.
Disabled
EVPN configuration mode
Each VLAN/BD added to an EVPN configuration is considered as an EVPN instance and is assigned a unique EVPN instance ID (EVI) internally. The EVI is calculated as shown in the following table.
When adding a bridge domain, use the clear bgp evpn neighbor all soft in command for the change to take effect.
VLAN/BD | EVI value |
---|---|
VLAN: 1–4096 | VLAN ID |
BD: 1–4096 | BD ID + 4096 |
Important
To interoperate with third-party vendors, the RTs across the interoperating devices must be the same. If third-party devices do not support automatic RT assigment, or the EVIs are not calculated as shown in the above table, the VLAN/BD instances must be configured manually to ensure that RTs across the devices are compatible.To specify a BD and enter EVPN BD configuration mode:
device# configure terminal device(config)# evpn device(config-evpn-default)# bridge-domain 100 device(evpn-bridge-domain-100)#
To add BDs 100 through 200 to the default EVPN instance:
device# configure terminal device(config)# evpn device(config-evpn-default)# bridge-domain add 100-200 device(config-evpn-default)#
To remove BDs 150 through 180 from the default EVPN instance:
device# configure terminal device(config)# evpn device(config-evpn-default)# bridge-domain remove 150-180 device(config-evpn-default)#