bridge-domain (EVPN)

Specifies a bridge domain (BD), or adds or removes a range VLANs from the BD, for an Ethernet Virtual Private Network (EVPN) instance.

Syntax

bridge-domain BD-ID
no bridge-domain BD-ID
bridge-domain { add | remove } {VLAN-range }

Command Default

Disabled

Parameters

BD-ID
Specifies a BD.
add
Adds a range of VLANs to the BD for default EVPN instance.
remove
Removes a range of VLANs from the BD for the default EVPN instance.
VLAN-range
Specifies a hyphen-delimited VLAN range to be added to or removed from BD for the EVPN instance.

Modes

EVPN configuration mode

Usage Guidelines

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.

Table 1. Calculating EVI values from VLAN/BD values
VLAN/BD EVI value
VLAN: 1–4096 VLAN ID
BD: 1–4096 BD ID + 4096
Important

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.

Examples

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)#