Creating a Range of EVPN Instances

A range of Layer 2 Ethernet Virtual Private Network (EVPN) instances can be created. Perform the following steps to create a range of EVPN instances.
  1. Enter global configuration mode.
    device# configure terminal
  2. Enter EVPN configuration mode.
    device(config)# l2vpn evpn
  3. Create a range of EVPN instances.
    device(config-evpn)# evpn-instance range 100 to 200 vni-start 1000 vlan-based
    device(config-evpn-evi-range-100-200)#
    A range of EVPN instances is created, all of which utilize the VLAN-based VXLAN service model, and the first of which has its associated VXLAN network identifier (VNI) defined as 1000.

The following example configures a range of Layer 2 EVPN instances and specifies that a VNI is started.

device# configure terminal
device(config)# l2vpn evpn
device(config-evpn)# evpn-instance range 100 to 200 vni-start 1000 vlan-based
device(config-evpn-evi-range-100-200)#