Troubleshoot EVPN VxLAN
ping overlay | |
traceroute overlay | https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/traceroute-overlay.html |
ping and traceroute first | ping and traceroute root@Leaf1> ping 10.255.0.1 ( Spine1 but direct interface down ) PING 10.255.0.1 (10.255.0.1): 56 data bytes 64 bytes from 10.255.0.1: icmp_seq=0 ttl=62 time=495.413 ms 64 bytes from 10.255.0.1: icmp_seq=1 ttl=62 time=413.525 ms root@Leaf1> traceroute 10.255.0.1 ( Spine1 but direct interface down ) traceroute to 10.255.0.1 (10.255.0.1), 30 hops max, 40 byte packets 1 10.1.23.1 (10.1.23.1) 210.403 ms 303.331 ms 305.718 ms ( on Spine2 xe-0/0/0.0) 2 10.1.24.2 (10.1.24.2) 305.910 ms 405.745 ms 403.486 ms ( on Leaf2 xe-0/0/1.0) 3 10.255.0.1 (10.255.0.1) 512.470 ms 512.188 ms 606.886 ms ( on Spine1 VTEP loopback) Leaf1 >> Spine2 >> Leaf2 >> Spine1 |
mapping VTEP IP@ and vni id vxlan-tunnel-end-point | gathering information root@Leaf1> show ethernet-switching table vlan-name bd-7 MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) Ethernet switching table : 4 entries, 4 learned Routing instance : default-switch Vlan MAC MAC Logical Active name address flags interface source bd-7 00:00:5e:01:00:01 DR esi.1761 05:00:00:fc:00:00:00:00:07:00 bd-7 00:50:56:a2:c1:22 D xe-0/0/3.0 bd-7 02:05:86:71:72:00 D vtep.32769 10.255.0.1 bd-7 02:05:86:71:79:00 D vtep.32770 10.255.0.2 {master:0} root@Leaf1> show ethernet-switching vxlan-tunnel-end-point remote Logical System Name Id SVTEP-IP IFL L3-Idx <default> 0 10.255.0.3 lo0.0 0 RVTEP-IP IFL-Idx NH-Id 10.255.0.1 570 1759 VNID MC-Group-IP 7 0.0.0.0 RVTEP-IP IFL-Idx NH-Id 10.255.0.2 571 1762 VNID MC-Group-IP 7 0.0.0.0 |
traceroute overlay | traceroute overlay tunnel-type vxlan vni 7 tunnel-src 10.255.0.3 tunnel-dst 10.255.0.1 |