Skip to content

EVPN

EVPN (Ethernet Virtual Private Network) is a standards-based control plane technology that provides advanced Layer 2 and Layer 3 VPN services over IP/MPLS and IP-only networks, commonly used with VXLAN overlay networks in modern data center architectures. It enables efficient forwarding, optimal multicast handling, and integrated routing and bridging (IRB) capabilities while supporting advanced features like MAC mobility, ARP suppression, and multi-tenancy. EVPN provides automatic discovery of endpoints, eliminates flooding of unknown unicast traffic, and enables seamless workload mobility across geographically distributed data centers with built-in redundancy and load balancing.

Diagram

Diagram

Classes

configuration (iosxe.devices)

NameTypeConstraintMandatoryDefault Value
evpnClass[evpn]No

evpn (iosxe.devices.configuration)

NameTypeConstraintMandatoryDefault Value
instancesList[instances]No
replication_typeChoiceingress, static, p2mp, mp2mpNo
mac_duplication_limitIntegermin: 2, max: 1000No
mac_duplication_timeIntegermin: 10, max: 36000No
ip_duplication_limitIntegermin: 2, max: 1000No
ip_duplication_timeIntegermin: 10, max: 36000No
router_id_loopbackIntegermin: 0, max: 2147483647No
default_gateway_advertiseBooleantrue, falseNo
logging_peer_stateBooleantrue, falseNo
route_target_auto_vniBooleantrue, falseNo
anycast_gateway_mac_autoBooleantrue, falseNo

instances (iosxe.devices.configuration.evpn)

NameTypeConstraintMandatoryDefault Value
numberIntegermin: 1, max: 65535No
vlan_basedClass[vlan_based]No

vlan_based (iosxe.devices.configuration.evpn.instances)

NameTypeConstraintMandatoryDefault Value
replication_typeChoiceingress, static, p2mp, mp2mpNo
encapsulationChoicempls, vxlanNo
auto_route_targetBooleantrue, falseNo
rdStringNo
route_target_importsListStringNo
route_target_exportsListStringNo
ip_local_learning_disableBooleantrue, falseNo
ip_local_learning_enableBooleantrue, falseNo
default_gateway_advertiseBooleantrue, falseNo
re_originate_route_type5Booleantrue, falseNo

Examples

iosxe:
devices:
- name: Device1
configuration:
evpn:
replication_type: static
logging_peer_state: true
default_gateway_advertise: true
route_target_auto_vni: false
router_id_loopback: 100
mac_duplication_limit: 15
mac_duplication_time: 600
ip_duplication_limit: 15
ip_duplication_time: 600
anycast_gateway_mac_auto: true
instances:
- number: 1
vlan_based:
replication_type: static
encapsulation: vxlan
auto_route_target: false
rd: 100:1
route_target_imports:
- 100:1
- 200:1
route_target_exports:
- 100:1
ip_local_learning_disable: false
ip_local_learning_enable: true
default_gateway_advertise: true
re_originate_route_type5: false