Verifying the Layer 2 VNI with Back-to-Back Multicast Replication The following sections provide sample outputs for show commands to verify the Layer 2 VNI with back-to-back multicast 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 2 10101 UP N/A 00:37:39 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 7, main routing table version 7 6 network entries using 2304 bytes of memory 6 path entries using 1272 bytes of memory 2/2 BGP path/bestpath attribute entries using 576 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 4192 total bytes of memory BGP activity 6/0 prefixes, 6/0 paths, scan interval 60 secs 6 networks peaked at 10:04:33 Oct 26 2020 UTC (00:37:39.064 ago) Configuring EVPN VXLAN Layer 2 Overlay Network Example:
Configuring Layer 2 VNI with Back-to-Back Multicast 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 ! ip pim rp-address 172.16.255.1 ! 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 ! ip pim rp-address 172.16.255.1 ! end Leaf-02# Configuring EVPN VXLAN Layer 2 Overlay Network 17