次の show コマンドは、セットアップをトラブルシュートするために役立ちます。
ルータ 1
Router1#show l2vpn evpn peers vxlan
Interface VNI Peer-IP Num routes eVNI UP time
--------- -------- --------------------------------------- ---------- -------- --------
nve1 30000 100.100.100.2 1 30000 00:00:18
Router1#show nve peers
'M' - MAC entry download flag 'A' - Adjacency download flag
'4' - IPv4 flag '6' - IPv6 flag
Interface VNI Type Peer-IP RMAC/Num_RTs eVNI state flags UP time
nve1 30000 L2CP 100.100.100.2 1 30000 UP N/A 00:00:40
Router1#show l2vpn evpn mac
MAC Address EVI BD ESI Ether Tag Next Hop(s)
-------------- ----- ----- ------------------------ ---------- ---------------
0000.24aa.c926 21 21 0000.0000.0000.0000.0000 0 Vl21:21
0000.24aa.c927 21 21 0000.0000.0000.0000.0000 0 100.100.100.2
Router1#show bgp l2vpn evpn all
BGP table version is 7, local router ID is 100.100.100.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100.100.100.1:21
*> [2][100.100.100.1:21][0][48][000024AAC926][0][*]/20
0.0.0.0 32768 ?
*>i [2][100.100.100.1:21][0][48][000024AAC927][0][*]/20
100.100.100.2 0 100 0 ?
Route Distinguisher: 100.100.100.2:21
*>i [2][100.100.100.2:21][0][48][000024AAC927][0][*]/20
100.100.100.2 0 100 0 ?
Route Distinguisher: 100.100.100.1:21
*> [3][100.100.100.1:21][0][32][100.100.100.1]/17
0.0.0.0 32768 ?
*>i [3][100.100.100.1:21][0][32][100.100.100.2]/17
100.100.100.2 0 100 0 ?
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100.100.100.2:21
*>i [3][100.100.100.2:21][0][32][100.100.100.2]/17
100.100.100.2 0 100 0 ?
Router1#
ルータ 2
Router2#show l2vpn evpn peers vxlan
Interface VNI Peer-IP Num routes eVNI UP time
--------- -------- --------------------------------------- ---------- -------- --------
nve1 30000 100.100.100.1 1 30000 00:00:17
Router2#show nve peers
'M' - MAC entry download flag 'A' - Adjacency download flag
'4' - IPv4 flag '6' - IPv6 flag
Interface VNI Type Peer-IP RMAC/Num_RTs eVNI state flags UP time
nve1 30000 L2CP 100.100.100.1 1 30000 UP N/A 00:00:22
Router2#show l2vpn evpn mac
MAC Address EVI BD ESI Ether Tag Next Hop(s)
-------------- ----- ----- ------------------------ ---------- ---------------
0000.24aa.c926 21 21 0000.0000.0000.0000.0000 0 100.100.100.1
0000.24aa.c927 21 21 0000.0000.0000.0000.0000 0 Vl21:21
Router2#show bgp l2vpn evpn all
BGP table version is 23, local router ID is 100.100.100.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100.100.100.1:21
*>i [2][100.100.100.1:21][0][48][000024AAC926][0][*]/20
100.100.100.1 0 100 0 ?
Route Distinguisher: 100.100.100.2:21
*>i [2][100.100.100.2:21][0][48][000024AAC926][0][*]/20
100.100.100.1 0 100 0 ?
*> [2][100.100.100.2:21][0][48][000024AAC927][0][*]/20
0.0.0.0 32768 ?
Route Distinguisher: 100.100.100.1:21
*>i [3][100.100.100.1:21][0][32][100.100.100.1]/17
100.100.100.1 0 100 0 ?
Route Distinguisher: 100.100.100.2:21
*>i [3][100.100.100.2:21][0][32][100.100.100.1]/17
100.100.100.1 0 100 0 ?
*> [3][100.100.100.2:21][0][32][100.100.100.2]/17
0.0.0.0 32768 ?
Router2#