cisco — Configuring Layer 2 VPN EVPN on a VTEP

Configuring EVPN VXLAN Layer 2 Overlay Network Configuring Layer 2 VPN EVPN on a VTEP Command or Action Purpose Step 5 router-id loopback-interface-id Example: Device(config-evpn)# router-id loopback 0 Specifies the interface that will supply the IP addresses to be used in auto-generating route distinguishers. Step 6 default-gateway advertise Example: Device(config-evpn)# default-gateway advertise (Optional) Enables default gateway advertisement on the switch. To configure distributed anycast gateway in a VXLAN network using MAC aliasing, enable default gateway advertisement on all the leaf switches in the network.

This command is applicable in integrated routing and bridging (IRB) scenarios where Layer 2 and Layer 3 VNIs coexist in a VRF. Refer to Configuring EVPN VXLAN Integrated Routing and Bridging module for more details. This command is mandatory only if the same MAC address is not manually configured on all the access SVIs. Note Use the default-gateway advertise {enable | disable} command in EVPN instnace configuration mode to override the global default gateway advertisement settings and enable or disable it for a specific EVPN instance. Step 7 logging peer state Example:

Device(config-evpn)# logging peer state (Optional) Displays syslog message when the first route is received or the last route is withdrawn from a given remote VTEP. Step 8 mac duplication limit limit-number time time-limit Example: Device(config-evpn)# mac duplication limit 20 time 5 (Optional) Changes parameters for detecting duplicate MAC addresses. Step 9 ip duplication limit limit-number time time-limit Example: Device(config-evpn)# ip duplication limit 20 time 5 (Optional) Changes parameters for detecting duplicate IP addresses. Configuring EVPN VXLAN Layer 2 Overlay Network 6