cisco — Example: Configuring Layer 2 VNI with Spine Multicast Replication

Verifying the Layer 2 VNI with Spine Multicast Replication The following sections provide sample outputs for show commands to verify the Layer 2 VNI with spine multicast replication on the devices in the topology configured above: Outputs to Verify the Configuration on VTEP 1, on page 33 Outputs to Verify the Configuration on VTEP 2, on page 37 Outputs to Verify the Configuration on Spine Switch 1 (RP inside the Network), on page 40 Outputs to Verify the Configuration on Spine Switch 2 (RP inside the Network), on page 44 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.4 2 10101 UP N/A 00:00:56 Leaf-01# The following example shows the output for the show ip route command on VTEP 1: Leaf-01# show ip route Codes:

L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, m - OMP n - NAT, Ni - NAT inside, No - NAT outside, Nd - NAT DIA i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route H - NHRP, G - NHRP registered, g - NHRP registration summary o - ODR, P - periodic downloaded static route, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR & - replicated local route overrides by connected Configuring EVPN VXLAN Layer 2 Overlay Network Example:

Configuring Layer 2 VNI with Spine Multicast Replication Spine Switch 1 Spine Switch 2 address-family l2vpn evpn neighbor 172.16.255.2 activate neighbor 172.16.255.2 send-community both neighbor 172.16.255.3 activate neighbor 172.16.255.3 send-community both neighbor 172.16.255.3 route-reflector-client neighbor 172.16.255.4 activate neighbor 172.16.255.4 send-community both neighbor 172.16.255.4 route-reflector-client exit-address-family ! ip pim rp-address 172.16.255.255 ip msdp peer 172.16.254.2 connect-source Loopback1 remote-as 65001 ip msdp cache-sa-state !

end Spine-01# address-family l2vpn evpn neighbor 172.16.255.1 activate neighbor 172.16.255.1 send-community both neighbor 172.16.255.3 activate neighbor 172.16.255.3 send-community both neighbor 172.16.255.3 route-reflector-client neighbor 172.16.255.4 activate neighbor 172.16.255.4 send-community both neighbor 172.16.255.4 route-reflector-client exit-address-family ! ip pim rp-address 172.16.255.255 ip msdp peer 172.16.254.1 connect-source Loopback1 remote-as 65001 ip msdp cache-sa-state ! end Spine-02# Configuring EVPN VXLAN Layer 2 Overlay Network 33