cisco — Example: Configuring Layer 2 VNI with Back to Back Ingress Replication

Verifying the Layer 2 VNI with Back-to-Back Ingress Replication The following sections provide sample outputs for show commands to verify the Layer 2 VNI with back-to-back ingress replication on the devices in the topology configured above: Outputs to Verify the Configuration on VTEP 1, on page 17 Outputs to Verify the Configuration on VTEP 2, on page 20 Outputs to Verify the Configuration on VTEP 1 The following example shows the output for the show nve peers command on VTEP 1:

Leaf-01# show nve peers Interface VNI Type Peer-IP RMAC/Num_RTs eVNI state flags UP time nve1 10101 L2CP 172.16.254.2 3 10101 UP N/A 00:34:36 Leaf-01# The following example shows the output for the show bgp l2vpn evpn summary command on VTEP 1:

Leaf-01# show bgp l2vpn evpn summary BGP router identifier 172.16.255.1, local AS number 65001 BGP table version is 34, main routing table version 34 9 network entries using 3456 bytes of memory 9 path entries using 1908 bytes of memory 4/4 BGP path/bestpath attribute entries using 1152 bytes of memory 1 BGP extended community entries using 40 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 6556 total bytes of memory BGP activity 13/4 prefixes, 23/14 paths, scan interval 60 secs 9 networks peaked at 12:35:03 Oct 26 2020 UTC (00:34:37.010 ago) Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd Configuring EVPN VXLAN Layer 2 Overlay Network Example:

Configuring Layer 2 VNI with Back to Back Ingress Replication VTEP 1 VTEP 2 router ospf 1 router-id 172.16.255.1 ! router bgp 65001 bgp log-neighbor-changes no bgp default ipv4-unicast neighbor 172.16.255.2 remote-as 65001 neighbor 172.16.255.2 update-source Loopback0 ! address-family ipv4 exit-address-family ! address-family l2vpn evpn neighbor 172.16.255.2 activate neighbor 172.16.255.2 send-community both exit-address-family ! end Leaf-01# router ospf 1 router-id 172.16.255.2 ! router bgp 65001 bgp log-neighbor-changes no bgp default ipv4-unicast neighbor 172.16.255.1 remote-as 65001 neighbor 172.16.255.1 update-source Loopback0 ! address-family ipv4 exit-address-family !

address-family l2vpn evpn neighbor 172.16.255.1 activate neighbor 172.16.255.1 send-community both exit-address-family ! end Leaf-02# Configuring EVPN VXLAN Layer 2 Overlay Network 25