Cumulus VXでEVPN Symmetric Routing

# やりたいこと
前回に続いてRoute type5の確認と、外部ネットワークとの接続までやってみたい
次会はmulti-homing構成でのRT-1/4を確認しよう
余力があれば以下の動作確認もしてみる
Dynamic Route Leaking
Duplicate Address Detection
host/VM mobility (Extended Mobility)
Filter EVPN Routes Based on Type

# Routing Model比較
model選択時の考慮事項
-全てのVTEPがL3 Gatewayで動作しルーティングをするか、特定のVTEPのみルーティングするか
-routingがVxLAN tunnelのingressのみで動作するか、ingress/egress両方で動作するか

- Centralized routing
特定のVTEPがL3 Gatewayとして機能し、サブネット間ルーティングを行う、他のVTEPはbridgingのみ

- Distributed asymmetric routing
全てのVTEPがルーティングに参加するが、ルーティングがingress VTEPで行われる
egress VTEPはbridgingのみ

- Distributed symmetric routing
全てのVTEPがルーティングに参加し、ingress/egress VTEP両方でルーティングが行われる

今回はほとんどのベンダーがサポートしているsymmetric routingを採用し、Anycast Gatewayまで設定してみる

# 環境
- GNS3 2.1.15
- GNS3 VM (6vCPUs、6G RAM)
- Cumulus VX 3.7.5
- Ubuntu Docker Guest

最初Guest1台にnic2個を割り当てて、それぞれ違うIPとGWを設定したが、
実際のパケットキャプチャ上問題ないが、何故か最後に入力したgwのみpingが通ってて(IF指定しても無駄)
数分guestを設定、、、

![gns3.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/5acc506b-a7f8-a7e6-523b-854ab76a479a.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/7471e48c-d467-a315-c465-5840d58333ec.png)

- underlay図
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/a87ea23d-fcce-c64d-f303-90f6b1c81901.png)

- overlay図
L2VNI/L3VNIさえ合っていれば、vlan番号が全部違っても通信できる
実質的にvlan-idはローカルでしか意味がない
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/6b8cea6c-9050-b0a8-805b-e5204d2ff0d4.png)

- ip address(整理用)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/03955599-af82-99a7-1a8b-344e57caa4f8.png)

# underlay

```bash:spine01-02
#spine01-underlay設定
net add hostname spine01
net add time zone Asia/Tokyo
net add interface swp1-6 mtu 9000
net add loopback lo ip address 100.0.0.1/32
net add bgp autonomous-system 65100
net add bgp router-id 100.0.0.1
net add bgp bestpath as-path multipath-relax
net add bgp neighbor LEAF peer-group
net add bgp neighbor BORDER-LEAF peer-group
net add bgp neighbor swp1 interface peer-group LEAF
net add bgp neighbor swp2 interface peer-group LEAF
net add bgp neighbor swp3 interface peer-group LEAF
net add bgp neighbor swp4 interface peer-group LEAF
net add bgp neighbor swp5 interface peer-group BORDER-LEAF
net add bgp neighbor swp6 interface peer-group BORDER-LEAF
net add bgp neighbor LEAF remote-as external
net add bgp neighbor BORDER-LEAF remote-as external

#spine02-underlay設定
net add hostname spine02
net add time zone Asia/Tokyo
net add interface swp1-6 mtu 9000
net add loopback lo ip address 100.0.0.2/32
net add bgp autonomous-system 65100
net add bgp router-id 100.0.0.2
net add bgp bestpath as-path multipath-relax
net add bgp neighbor LEAF peer-group
net add bgp neighbor BORDER-LEAF peer-group
net add bgp neighbor swp1 interface peer-group LEAF
net add bgp neighbor swp2 interface peer-group LEAF
net add bgp neighbor swp3 interface peer-group LEAF
net add bgp neighbor swp4 interface peer-group LEAF
net add bgp neighbor swp5 interface peer-group BORDER-LEAF
net add bgp neighbor swp6 interface peer-group BORDER-LEAF
net add bgp neighbor LEAF remote-as external
net add bgp neighbor BORDER-LEAF remote-as external
```

```bash:leaf01-04
#leaf01-underlay設定
net add hostname leaf01
net add time zone Asia/Tokyo
net add interface swp1-2 mtu 9000
net add loopback lo ip address 172.16.1.1/32
net add bgp autonomous-system 65001
net add bgp router-id 172.16.1.1
net add bgp bestpath as-path multipath-relax
net add bgp redistribute connected
net add bgp neighbor SPINE peer-group
net add bgp neighbor swp1 interface peer-group SPINE
net add bgp neighbor swp2 interface peer-group SPINE
net add bgp neighbor SPINE remote-as external
net add interface swp5 bridge access 10
net add interface swp6 bridge access 20

#leaf02-underlay設定
net add hostname leaf02
net add time zone Asia/Tokyo
net add interface swp1-2 mtu 9000
net add loopback lo ip address 172.16.1.2/32
net add bgp autonomous-system 65002
net add bgp router-id 172.16.1.2
net add bgp bestpath as-path multipath-relax
net add bgp redistribute connected
net add bgp neighbor SPINE peer-group
net add bgp neighbor swp1 interface peer-group SPINE
net add bgp neighbor swp2 interface peer-group SPINE
net add bgp neighbor SPINE remote-as external
net add interface swp5 bridge access 10
net add interface swp6 bridge access 20

#leaf03-underlay設定
net add hostname leaf03
net add time zone Asia/Tokyo
net add interface swp1-2 mtu 9000
net add loopback lo ip address 172.16.1.3/32
net add bgp autonomous-system 65003
net add bgp router-id 172.16.1.3
net add bgp bestpath as-path multipath-relax
net add bgp redistribute connected
net add bgp neighbor SPINE peer-group
net add bgp neighbor swp1 interface peer-group SPINE
net add bgp neighbor swp2 interface peer-group SPINE
net add bgp neighbor SPINE remote-as external
net add interface swp5 bridge access 10
net add interface swp6 bridge access 20

#leaf04-underlay設定
net add hostname leaf04
net add time zone Asia/Tokyo
net add interface swp1-2 mtu 9000
net add loopback lo ip address 172.16.1.4/32
net add bgp autonomous-system 65004
net add bgp router-id 172.16.1.4
net add bgp bestpath as-path multipath-relax
net add bgp redistribute connected
net add bgp neighbor SPINE peer-group
net add bgp neighbor swp1 interface peer-group SPINE
net add bgp neighbor swp2 interface peer-group SPINE
net add bgp neighbor SPINE remote-as external
net add interface swp5 bridge access 10
net add interface swp6 bridge access 20
```

```bash:borderleaf01-02
#borderleaf01-underlay設定
net add hostname borderleaf01
net add time zone Asia/Tokyo
net add interface swp5-6 mtu 9000
net add loopback lo ip address 172.16.1.5/32
net add bgp autonomous-system 65005
net add bgp router-id 172.16.1.5
net add bgp bestpath as-path multipath-relax
net add bgp redistribute connected
net add bgp neighbor SPINE peer-group
net add bgp neighbor swp5 interface peer-group SPINE
net add bgp neighbor swp6 interface peer-group SPINE
net add bgp neighbor SPINE remote-as external
#Router01向けsub-interface設定
net add interface swp1.4001 ip address 11.11.11.2/30
net add interface swp1.4001 vrf vrf1
net add interface swp1.4002 ip address 22.22.22.2/30
net add interface swp1.4002 vrf vrf2

#borderleaf02-underlay設定
net add hostname borderleaf02
net add time zone Asia/Tokyo
net add interface swp5-6 mtu 9000
net add loopback lo ip address 172.16.1.6/32
net add bgp autonomous-system 65006
net add bgp router-id 172.16.1.6
net add bgp bestpath as-path multipath-relax
net add bgp redistribute connected
net add bgp neighbor SPINE peer-group
net add bgp neighbor swp5 interface peer-group SPINE
net add bgp neighbor swp6 interface peer-group SPINE
net add bgp neighbor SPINE remote-as external
#Router01向けsub-interface設定
net add interface swp1.4001 ip address 11.11.11.6/30
net add interface swp1.4001 vrf vrf1
net add interface swp1.4002 ip address 22.22.22.6/30
net add interface swp1.4002 vrf vrf2
```

```bash:Router01
#Router01-通常のBGP設定
net add hostname Router01
net add time zone Asia/Tokyo
net add loopback lo ip address 110.0.0.1/32
net add interface swp1.4001 ip address 11.11.11.1/30
net add interface swp1.4002 ip address 22.22.22.1/30
net add interface swp2.4001 ip address 11.11.11.5/30
net add interface swp2.4002 ip address 22.22.22.5/30
net add interface swp6 ip address 81.1.1.254/24
net add bgp autonomous-system 65535
net add bgp router-id 110.0.0.1
net add bgp bestpath as-path multipath-relax
net add bgp neighbor BORDER-LEAF peer-group
net add bgp neighbor 11.11.11.2  peer-group BORDER-LEAF
net add bgp neighbor 11.11.11.6  peer-group BORDER-LEAF
net add bgp neighbor 22.22.22.2  peer-group BORDER-LEAF
net add bgp neighbor 22.22.22.6  peer-group BORDER-LEAF
net add bgp neighbor BORDER-LEAF remote-as external
net add routing prefix-list ipv4 HOSTS seq 1 permit 81.1.1.0/24
net add routing prefix-list ipv4 HOSTS seq 2 permit 81.1.2.0/24
net add routing prefix-list ipv4 HOSTS seq 3 permit 81.1.3.0/24
net add routing prefix-list ipv4 HOSTS seq 4 permit 81.1.4.0/24
net add routing prefix-list ipv4 HOSTS seq 5 deny any
net add routing route-map HOST_ALLOW permit 1 match ip address prefix-list HOSTS
net add bgp redistribute connected route-map HOST_ALLOW
```
設定後各ノードのloopbackアドレスにpingが通ること、ルーティングテーブルに見えてること確認

# overlay

```bash:spine01-02
#EVPN有効化するだけ、RR設定が入らず、、、後でcluster-id設定追加してもう一度確認する
net add bgp l2vpn evpn neighbor LEAF activate
net add bgp l2vpn evpn neighbor BORDER-LEAF activate
```

```bash:leaf01-04
#leaf01
#vrf定義、SVI、anycast gw設定
net add vrf vrf1,vrf2 vrf-table auto
net add vlan 10 ip address 192.168.1.11/24
net add vlan 10 ip address-virtual 00:00:00:00:00:11 192.168.1.254/24
net add vlan 10 vrf vrf1
net add vlan 20 ip address 192.168.2.11/24
net add vlan 20 ip address-virtual 00:00:00:00:00:22 192.168.2.254/24
net add vlan 20 vrf vrf2
#L2VNI設定
net add vxlan vni10010 vxlan id 10010
net add vxlan vni10010 bridge access 10
net add vxlan vni10020 vxlan id 10020
net add vxlan vni10020 bridge access 20
net add vxlan vni10010,vni10020 bridge learning off
net add vxlan vni10010,vni10020 bridge arp-nd-suppress on
net add vxlan vni10010,vni10020 vxlan local-tunnelip 172.16.1.1
net add vxlan vni10010,vni10020 mtu 1550
#L3VNI設定
net add vlan 4001 vrf vrf1
net add vlan 4002 vrf vrf2
net add vxlan vni104001 vxlan id 104001
net add vxlan vni104001 bridge access 4001
net add vxlan vni104002 vxlan id 104002
net add vxlan vni104002 bridge access 4002
net add vxlan vni104001,vni104002 bridge learning off
net add vxlan vni104001,vni104002 vxlan local-tunnelip 172.16.1.1
net add vxlan vni104001,vni104002 mtu 1550
net add vrf vrf1 vni 104001
net add vrf vrf2 vni 104002
#EVPN有効化
net add bgp l2vpn evpn neighbor SPINE activate
net add bgp l2vpn evpn advertise-all-vni


#leaf02
#vrf定義、SVI、anycast gw設定
net add vrf vrf1,vrf2 vrf-table auto
net add vlan 10 ip address 192.168.1.12/24
net add vlan 10 ip address-virtual 00:00:00:00:00:11 192.168.1.254/24
net add vlan 10 vrf vrf1
net add vlan 20 ip address 192.168.2.12/24
net add vlan 20 ip address-virtual 00:00:00:00:00:22 192.168.2.254/24
net add vlan 20 vrf vrf2
#L2VNI設定
net add vxlan vni10010 vxlan id 10010
net add vxlan vni10010 bridge access 10
net add vxlan vni10020 vxlan id 10020
net add vxlan vni10020 bridge access 20
net add vxlan vni10010,vni10020 bridge learning off
net add vxlan vni10010,vni10020 bridge arp-nd-suppress on
net add vxlan vni10010,vni10020 vxlan local-tunnelip 172.16.1.2
net add vxlan vni10010,vni10020 mtu 1550
#L3VNI設定
net add vlan 4001 vrf vrf1
net add vlan 4002 vrf vrf2
net add vxlan vni104001 vxlan id 104001
net add vxlan vni104001 bridge access 4001
net add vxlan vni104002 vxlan id 104002
net add vxlan vni104002 bridge access 4002
net add vxlan vni104001,vni104002 bridge learning off
net add vxlan vni104001,vni104002 vxlan local-tunnelip 172.16.1.2
net add vxlan vni104001,vni104002 mtu 1550
net add vrf vrf1 vni 104001
net add vrf vrf2 vni 104002
#EVPN有効化
net add bgp l2vpn evpn neighbor SPINE activate
net add bgp l2vpn evpn advertise-all-vni


#leaf03
#vrf定義、SVI、anycast gw設定
net add vrf vrf1,vrf2 vrf-table auto
net add vlan 10 ip address 192.168.1.13/24
net add vlan 10 ip address-virtual 00:00:00:00:00:11 192.168.1.254/24
net add vlan 10 vrf vrf1
net add vlan 20 ip address 192.168.2.13/24
net add vlan 20 ip address-virtual 00:00:00:00:00:22 192.168.2.254/24
net add vlan 20 vrf vrf2
#L2VNI設定
net add vxlan vni10010 vxlan id 10010
net add vxlan vni10010 bridge access 10
net add vxlan vni10020 vxlan id 10020
net add vxlan vni10020 bridge access 20
net add vxlan vni10010,vni10020 bridge learning off
net add vxlan vni10010,vni10020 bridge arp-nd-suppress on
net add vxlan vni10010,vni10020 vxlan local-tunnelip 172.16.1.3
net add vxlan vni10010,vni10020 mtu 1550
#L3VNI設定
net add vlan 4001 vrf vrf1
net add vlan 4002 vrf vrf2
net add vxlan vni104001 vxlan id 104001
net add vxlan vni104001 bridge access 4001
net add vxlan vni104002 vxlan id 104002
net add vxlan vni104002 bridge access 4002
net add vxlan vni104001,vni104002 bridge learning off
net add vxlan vni104001,vni104002 vxlan local-tunnelip 172.16.1.3
net add vxlan vni104001,vni104002 mtu 1550
net add vrf vrf1 vni 104001
net add vrf vrf2 vni 104002
#EVPN有効化
net add bgp l2vpn evpn neighbor SPINE activate
net add bgp l2vpn evpn advertise-all-vni


#leaf04
#vrf定義、SVI、anycast gw設定
net add vrf vrf1,vrf2 vrf-table auto
net add vlan 10 ip address 192.168.1.14/24
net add vlan 10 ip address-virtual 00:00:00:00:00:11 192.168.1.254/24
net add vlan 10 vrf vrf1
net add vlan 20 ip address 192.168.2.14/24
net add vlan 20 ip address-virtual 00:00:00:00:00:22 192.168.2.254/24
net add vlan 20 vrf vrf2
#L2VNI設定
net add vxlan vni10010 vxlan id 10010
net add vxlan vni10010 bridge access 10
net add vxlan vni10020 vxlan id 10020
net add vxlan vni10020 bridge access 20
net add vxlan vni10010,vni10020 bridge learning off
net add vxlan vni10010,vni10020 bridge arp-nd-suppress on
net add vxlan vni10010,vni10020 vxlan local-tunnelip 172.16.1.4
net add vxlan vni10010,vni10020 mtu 1550
#L3VNI設定
net add vlan 4001 vrf vrf1
net add vlan 4002 vrf vrf2
net add vxlan vni104001 vxlan id 104001
net add vxlan vni104001 bridge access 4001
net add vxlan vni104002 vxlan id 104002
net add vxlan vni104002 bridge access 4002
net add vxlan vni104001,vni104002 bridge learning off
net add vxlan vni104001,vni104002 vxlan local-tunnelip 172.16.1.4
net add vxlan vni104001,vni104002 mtu 1550
net add vrf vrf1 vni 104001
net add vrf vrf2 vni 104002
#EVPN有効化
net add bgp l2vpn evpn neighbor SPINE activate
net add bgp l2vpn evpn advertise-all-vni
```


```bash:borderleaf01-02
#borderleaf01
#vrf定義、SVI、anycast gw設定
net add vrf vrf1,vrf2 vrf-table auto
net add vlan 10 ip address 192.168.1.15/24
net add vlan 10 ip address-virtual 00:00:00:00:00:11 192.168.1.254/24
net add vlan 10 vrf vrf1
net add vlan 20 ip address 192.168.2.15/24
net add vlan 20 ip address-virtual 00:00:00:00:00:22 192.168.2.254/24
net add vlan 20 vrf vrf2
#L2VNI設定
net add vxlan vni10010 vxlan id 10010
net add vxlan vni10010 bridge access 10
net add vxlan vni10020 vxlan id 10020
net add vxlan vni10020 bridge access 20
net add vxlan vni10010,vni10020 bridge learning off
net add vxlan vni10010,vni10020 bridge arp-nd-suppress on
net add vxlan vni10010,vni10020 vxlan local-tunnelip 172.16.1.5
net add vxlan vni10010,vni10020 mtu 1550
#L3VNI設定
net add vlan 4001 vrf vrf1
net add vlan 4002 vrf vrf2
net add vxlan vni104001 vxlan id 104001
net add vxlan vni104001 bridge access 4001
net add vxlan vni104002 vxlan id 104002
net add vxlan vni104002 bridge access 4002
net add vxlan vni104001,vni104002 bridge learning off
net add vxlan vni104001,vni104002 vxlan local-tunnelip 172.16.1.5
net add vxlan vni104001,vni104002 mtu 1550
net add vrf vrf1 vni 104001
net add vrf vrf2 vni 104002
#EVPN有効化
net add bgp l2vpn evpn neighbor SPINE activate
net add bgp l2vpn evpn advertise-all-vni
#vrf1-2のBGP設定
net add bgp vrf vrf1 autonomous-system 65005
net add bgp vrf vrf1 router-id 172.16.1.5
net add bgp vrf vrf1 neighbor 11.11.11.1 remote-as external
net add bgp vrf vrf1 redistribute connected
net add bgp vrf vrf1 l2vpn evpn advertise ipv4 unicast
net add bgp vrf vrf2 autonomous-system 65005
net add bgp vrf vrf2 router-id 172.16.1.5
net add bgp vrf vrf2 neighbor 22.22.22.1 remote-as external
net add bgp vrf vrf2 redistribute connected
net add bgp vrf vrf2 l2vpn evpn advertise ipv4 unicast


#borderleaf02
#vrf定義、SVI、anycast gw設定
net add vrf vrf1,vrf2 vrf-table auto
net add vlan 10 ip address 192.168.1.16/24
net add vlan 10 ip address-virtual 00:00:00:00:00:11 192.168.1.254/24
net add vlan 10 vrf vrf1
net add vlan 20 ip address 192.168.2.16/24
net add vlan 20 ip address-virtual 00:00:00:00:00:22 192.168.2.254/24
net add vlan 20 vrf vrf2
#L2VNI設定
net add vxlan vni10010 vxlan id 10010
net add vxlan vni10010 bridge access 10
net add vxlan vni10020 vxlan id 10020
net add vxlan vni10020 bridge access 20
net add vxlan vni10010,vni10020 bridge learning off
net add vxlan vni10010,vni10020 bridge arp-nd-suppress on
net add vxlan vni10010,vni10020 vxlan local-tunnelip 172.16.1.6
net add vxlan vni10010,vni10020 mtu 1550
#L3VNI設定
net add vlan 4001 vrf vrf1
net add vlan 4002 vrf vrf2
net add vxlan vni104001 vxlan id 104001
net add vxlan vni104001 bridge access 4001
net add vxlan vni104002 vxlan id 104002
net add vxlan vni104002 bridge access 4002
net add vxlan vni104001,vni104002 bridge learning off
net add vxlan vni104001,vni104002 vxlan local-tunnelip 172.16.1.6
net add vxlan vni104001,vni104002 mtu 1550
net add vrf vrf1 vni 104001
net add vrf vrf2 vni 104002
#EVPN有効化
net add bgp l2vpn evpn neighbor SPINE activate
net add bgp l2vpn evpn advertise-all-vni
#vrf1-2のBGP設定
net add bgp vrf vrf1 autonomous-system 65006
net add bgp vrf vrf1 router-id 172.16.1.6
net add bgp vrf vrf1 neighbor 11.11.11.5 remote-as external
net add bgp vrf vrf1 redistribute connected
net add bgp vrf vrf1 l2vpn evpn advertise ipv4 unicast
net add bgp vrf vrf2 autonomous-system 65006
net add bgp vrf vrf2 router-id 172.16.1.6
net add bgp vrf vrf2 neighbor 22.22.22.5 remote-as external
net add bgp vrf vrf2 redistribute connected
net add bgp vrf vrf2 l2vpn evpn advertise ipv4 unicast
```


```bash:guest01-09
#guest01
ifconfig eth0 192.168.1.1 netmask 255.255.255.0
route add default gw 192.168.1.254
#guest03
ifconfig eth0 192.168.1.2 netmask 255.255.255.0
route add default gw 192.168.1.254
#guest05
ifconfig eth0 192.168.1.3 netmask 255.255.255.0
route add default gw 192.168.1.254
#guest07
ifconfig eth0 192.168.1.4 netmask 255.255.255.0
route add default gw 192.168.1.254

#guest02
ifconfig eth0 192.168.2.1 netmask 255.255.255.0
route add default gw 192.168.2.254
#guest04
ifconfig eth0 192.168.2.2 netmask 255.255.255.0
route add default gw 192.168.2.254
#guest06
ifconfig eth0 192.168.2.3 netmask 255.255.255.0
route add default gw 192.168.2.254
#guest08
ifconfig eth0 192.168.2.4 netmask 255.255.255.0
route add default gw 192.168.2.254

#guest09
ifconfig eth0 81.1.1.1 netmask 255.255.255.0
route add default gw 81.1.1.254
```


# 動作確認
```bash:guest-9から各guestへping
root@UbuntuDockerGuest-9:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 0a:b2:93:44:7c:16
          inet addr:81.1.1.1  Bcast:81.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::8b2:93ff:fe44:7c16/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43 errors:0 dropped:23 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9003 (9.0 KB)  TX bytes:648 (648.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@UbuntuDockerGuest-9:~# ping 192.168.1.1 -c 1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=61 time=8.05 ms

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 8.055/8.055/8.055/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.1.2 -c 1
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=61 time=32.2 ms

--- 192.168.1.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 32.243/32.243/32.243/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.1.3 -c 1
PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=1 ttl=61 time=21.8 ms

--- 192.168.1.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 21.855/21.855/21.855/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.1.4 -c 1
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.
64 bytes from 192.168.1.4: icmp_seq=1 ttl=61 time=32.6 ms

--- 192.168.1.4 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 32.645/32.645/32.645/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.2.1 -c 1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=1 ttl=61 time=8.06 ms

--- 192.168.2.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 8.062/8.062/8.062/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.2.2 -c 1
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=61 time=7.58 ms

--- 192.168.2.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 7.585/7.585/7.585/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.2.3 -c 1
PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.
64 bytes from 192.168.2.3: icmp_seq=1 ttl=61 time=6.67 ms

--- 192.168.2.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.673/6.673/6.673/0.000 ms
root@UbuntuDockerGuest-9:~# ping 192.168.2.4 -c 1
PING 192.168.2.4 (192.168.2.4) 56(84) bytes of data.
64 bytes from 192.168.2.4: icmp_seq=1 ttl=61 time=34.2 ms

--- 192.168.2.4 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 34.268/34.268/34.268/0.000 ms
root@UbuntuDockerGuest-9:~#
```

```bash:Router01のルーティングテーブル
root@Router01:~# net show route bgp
RIB entry for bgp
=================
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR,
       > - selected route, * - FIB route

B   11.11.11.0/30 [20/0] via 11.11.11.2 inactive, 00:04:39
B   11.11.11.4/30 [20/0] via 11.11.11.6 inactive, 00:04:40
B   22.22.22.0/30 [20/0] via 22.22.22.2 inactive, 00:04:39
B   22.22.22.4/30 [20/0] via 22.22.22.6 inactive, 00:04:40
B>* 192.168.1.0/24 [20/0] via 11.11.11.6, swp2.4001, 00:04:39
  *                       via 11.11.11.2, swp1.4001, 00:04:39
B>* 192.168.1.1/32 [20/0] via 11.11.11.2, swp1.4001, 00:02:13
  *                       via 11.11.11.6, swp2.4001, 00:02:13
B>* 192.168.1.2/32 [20/0] via 11.11.11.2, swp1.4001, 00:02:10
  *                       via 11.11.11.6, swp2.4001, 00:02:10
B>* 192.168.1.3/32 [20/0] via 11.11.11.2, swp1.4001, 00:02:08
  *                       via 11.11.11.6, swp2.4001, 00:02:08
B>* 192.168.1.4/32 [20/0] via 11.11.11.2, swp1.4001, 00:02:06
  *                       via 11.11.11.6, swp2.4001, 00:02:06
B>* 192.168.2.0/24 [20/0] via 22.22.22.6, swp2.4002, 00:04:39
  *                       via 22.22.22.2, swp1.4002, 00:04:39
B>* 192.168.2.1/32 [20/0] via 22.22.22.2, swp1.4002, 00:02:02
  *                       via 22.22.22.6, swp2.4002, 00:02:02
B>* 192.168.2.2/32 [20/0] via 22.22.22.2, swp1.4002, 00:01:59
  *                       via 22.22.22.6, swp2.4002, 00:01:59
B>* 192.168.2.3/32 [20/0] via 22.22.22.2, swp1.4002, 00:01:57
  *                       via 22.22.22.6, swp2.4002, 00:01:57
B>* 192.168.2.4/32 [20/0] via 22.22.22.2, swp1.4002, 00:01:55
  *                       via 22.22.22.6, swp2.4002, 00:01:55
root@Router01:~#
```
borderleafから192.168.1.0/24と192.168.2.0/24のルート情報(IP-Prefix)をRT-5で受信
guestのMAC/IPアドレス情報をRT-2で受信していることがわかります
詳細パケットは下で詳しく見ていきましょう

---
ここからはleafとborderleafの状態確認
めっちゃ長いので要らなかったらスルーしてください

<details><summary>leaf01状態確認</summary><div>

```bash:leaf01
root@leaf01:~# #VXLAN/EVPN確認
root@leaf01:~# net show bgp evpn route
BGP table version is 3, local router ID is 172.16.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]

EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                         32768 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                         32768 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                         32768 i
Route Distinguisher: 172.16.1.1:5
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                         32768 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                         32768 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                         32768 i
Route Distinguisher: 172.16.1.2:4
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.5:2
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.5:3
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.5:4
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
Route Distinguisher: 172.16.1.5:5
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
Route Distinguisher: 172.16.1.6:2
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
Route Distinguisher: 172.16.1.6:3
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
Route Distinguisher: 172.16.1.6:4
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
Route Distinguisher: 172.16.1.6:5
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?

Displayed 50 prefixes (94 paths)
root@leaf01:~# net show bgp evpn route type macip
BGP table version is 3, local router ID is 172.16.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                         32768 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                         32768 i
Route Distinguisher: 172.16.1.1:5
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                         32768 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                         32768 i
Route Distinguisher: 172.16.1.2:4
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i

Displayed 16 prefixes (28 paths) (of requested type)
root@leaf01:~# net show bgp evpn route type multicast
BGP table version is 3, local router ID is 172.16.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                         32768 i
Route Distinguisher: 172.16.1.1:5
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                         32768 i
Route Distinguisher: 172.16.1.2:4
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.5:2
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.5:3
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.6:2
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
Route Distinguisher: 172.16.1.6:3
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i

Displayed 12 prefixes (22 paths) (of requested type)
root@leaf01:~# net show bgp evpn route type prefix
BGP table version is 6, local router ID is 172.16.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.5:4
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
Route Distinguisher: 172.16.1.5:5
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65100 65005 65535 65006 ?
Route Distinguisher: 172.16.1.6:4
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
Route Distinguisher: 172.16.1.6:5
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65100 65006 65535 65005 ?

Displayed 22 prefixes (44 paths) (of requested type)
root@leaf01:~# net show bgp evpn vni
Advertise Gateway Macip: Disabled
Advertise SVI Macip: Disabled
Advertise All VNI flag: Enabled
BUM flooding: Head-end replication
Number of L2 VNIs: 2
Number of L3 VNIs: 2
Flags: * - Kernel
  VNI        Type RD                    Import RT                 Export RT                 Tenant VRF
* 10010      L2   172.16.1.1:4          65001:10010               65001:10010              vrf1
* 10020      L2   172.16.1.1:5          65001:10020               65001:10020              vrf2
* 104001     L3   192.168.1.254:3       65001:104001              65001:104001             vrf1
* 104002     L3   192.168.2.254:2       65001:104002              65001:104002             vrf2
root@leaf01:~# net show evpn vni
VNI        Type VxLAN IF              # MACs   # ARPs   # Remote VTEPs  Tenant VRF
10010      L2   vni10010              5        6        5               vrf1
10020      L2   vni10020              5        6        5               vrf2
104001     L3   vni104001             5        5        n/a             vrf1
104002     L3   vni104002             5        5        n/a             vrf2
root@leaf01:~# net show evpn arp-cache vni all
VNI 10010 #ARP (IPv4 and IPv6, local and remote) 6

IP                       Type   State    MAC               Remote VTEP
192.168.1.4              remote active   62:98:23:8c:c7:76 172.16.1.4
192.168.1.3              remote active   3e:60:1c:8e:89:27 172.16.1.3
192.168.1.11             local  active   0c:e5:a7:fb:90:05
fe80::ee5:a7ff:fefb:9005 local  active   0c:e5:a7:fb:90:05
192.168.1.1              local  active   b6:25:64:11:88:d7
192.168.1.2              remote active   4e:09:93:53:b1:0f 172.16.1.2

VNI 10020 #ARP (IPv4 and IPv6, local and remote) 6

IP                       Type   State    MAC               Remote VTEP
192.168.2.1              local  active   52:76:24:3b:2c:da
192.168.2.11             local  active   0c:e5:a7:fb:90:05
fe80::ee5:a7ff:fefb:9005 local  active   0c:e5:a7:fb:90:05
192.168.2.2              remote active   ae:ab:c2:9c:59:6b 172.16.1.2
192.168.2.4              remote active   5e:2b:39:88:56:2f 172.16.1.4
192.168.2.3              remote active   be:d1:e6:78:81:ae 172.16.1.3
root@leaf01:~# net show evpn mac vni all
VNI 10010 #MACs (local and remote) 5

MAC               Type   Intf/Remote VTEP      VLAN
4e:09:93:53:b1:0f remote 172.16.1.2
b6:25:64:11:88:d7 local  swp5                  10
62:98:23:8c:c7:76 remote 172.16.1.4
0c:e5:a7:fb:90:05 local  vlan10                10
3e:60:1c:8e:89:27 remote 172.16.1.3

VNI 10020 #MACs (local and remote) 5

MAC               Type   Intf/Remote VTEP      VLAN
5e:2b:39:88:56:2f remote 172.16.1.4
52:76:24:3b:2c:da local  swp6                  20
be:d1:e6:78:81:ae remote 172.16.1.3
ae:ab:c2:9c:59:6b remote 172.16.1.2
0c:e5:a7:fb:90:05 local  vlan20                20
root@leaf01:~# net show bridge macs

VLAN      Master  Interface  MAC                TunnelDest  State      Flags          LastSeen
--------  ------  ---------  -----------------  ----------  ---------  -------------  --------
10        bridge  bridge     00:00:00:00:00:11              permanent                 00:49:29
10        bridge  bridge     0c:e5:a7:fb:90:05              permanent                 00:49:29
10        bridge  swp5       b6:25:64:11:88:d7                                        00:01:43
10        bridge  vni10010   3e:60:1c:8e:89:27                         offload        00:46:54
10        bridge  vni10010   4e:09:93:53:b1:0f                         offload        00:46:56
10        bridge  vni10010   62:98:23:8c:c7:76                         offload        00:46:52
20        bridge  bridge     00:00:00:00:00:22              permanent                 00:49:29
20        bridge  bridge     0c:e5:a7:fb:90:05              permanent                 00:49:29
20        bridge  swp6       52:76:24:3b:2c:da                                        00:02:05
20        bridge  vni10020   5e:2b:39:88:56:2f                         offload        00:46:41
20        bridge  vni10020   ae:ab:c2:9c:59:6b                         offload        00:46:45
20        bridge  vni10020   be:d1:e6:78:81:ae                         offload        00:46:43
4001      bridge  bridge     0c:e5:a7:fb:90:05              permanent                 00:49:29
4001      bridge  vni104001  0c:e5:a7:14:15:05                         offload        00:46:52
4001      bridge  vni104001  0c:e5:a7:27:81:05                         offload        00:46:54
4001      bridge  vni104001  0c:e5:a7:42:38:05                         offload        00:46:56
4001      bridge  vni104001  02:1c:20:67:6f:e8                         offload        00:49:23
4001      bridge  vni104001  12:06:74:d5:ca:5b                         offload        00:49:26
4002      bridge  bridge     0c:e5:a7:fb:90:05              permanent                 00:49:29
4002      bridge  vni104002  0c:e5:a7:14:15:05                         offload        00:46:41
4002      bridge  vni104002  0c:e5:a7:27:81:05                         offload        00:46:43
4002      bridge  vni104002  0c:e5:a7:42:38:05                         offload        00:46:45
4002      bridge  vni104002  02:1c:20:67:6f:e8                         offload        00:49:23
4002      bridge  vni104002  12:06:74:d5:ca:5b                         offload        00:49:26
untagged          bridge     00:00:00:00:00:11              permanent  self           <1 sec
untagged          bridge     00:00:00:00:00:22              permanent  self           <1 sec
untagged          vlan10     00:00:00:00:00:11              permanent  self           <1 sec
untagged          vlan20     00:00:00:00:00:22              permanent  self           <1 sec
untagged          vni10010   00:00:00:00:00:00  172.16.1.2  permanent  self           00:49:26
untagged          vni10010   00:00:00:00:00:00  172.16.1.3  permanent  self           00:49:26
untagged          vni10010   00:00:00:00:00:00  172.16.1.4  permanent  self           00:49:26
untagged          vni10010   00:00:00:00:00:00  172.16.1.5  permanent  self           00:49:26
untagged          vni10010   00:00:00:00:00:00  172.16.1.6  permanent  self           00:49:26
untagged          vni10010   3e:60:1c:8e:89:27  172.16.1.3             self, offload  00:46:54
untagged          vni10010   4e:09:93:53:b1:0f  172.16.1.2             self, offload  00:46:56
untagged          vni10010   62:98:23:8c:c7:76  172.16.1.4             self, offload  00:46:52
untagged          vni10020   00:00:00:00:00:00  172.16.1.2  permanent  self           00:49:26
untagged          vni10020   00:00:00:00:00:00  172.16.1.3  permanent  self           00:49:26
untagged          vni10020   00:00:00:00:00:00  172.16.1.4  permanent  self           00:49:26
untagged          vni10020   00:00:00:00:00:00  172.16.1.5  permanent  self           00:49:26
untagged          vni10020   00:00:00:00:00:00  172.16.1.6  permanent  self           00:49:26
untagged          vni10020   5e:2b:39:88:56:2f  172.16.1.4             self, offload  00:46:41
untagged          vni10020   ae:ab:c2:9c:59:6b  172.16.1.2             self, offload  00:46:45
untagged          vni10020   be:d1:e6:78:81:ae  172.16.1.3             self, offload  00:46:43
untagged          vni104001  0c:e5:a7:14:15:05  172.16.1.4             self, offload  00:46:52
untagged          vni104001  0c:e5:a7:27:81:05  172.16.1.3             self, offload  00:46:54
untagged          vni104001  0c:e5:a7:42:38:05  172.16.1.2             self, offload  00:46:56
untagged          vni104001  02:1c:20:67:6f:e8  172.16.1.5             self, offload  00:49:23
untagged          vni104001  12:06:74:d5:ca:5b  172.16.1.6             self, offload  00:49:26
untagged          vni104002  0c:e5:a7:14:15:05  172.16.1.4             self, offload  00:46:41
untagged          vni104002  0c:e5:a7:27:81:05  172.16.1.3             self, offload  00:46:43
untagged          vni104002  0c:e5:a7:42:38:05  172.16.1.2             self, offload  00:46:45
untagged          vni104002  02:1c:20:67:6f:e8  172.16.1.5             self, offload  00:49:23
untagged          vni104002  12:06:74:d5:ca:5b  172.16.1.6             self, offload  00:49:26
untagged  bridge  swp5       0c:e5:a7:fb:90:05              permanent                 00:52:08
untagged  bridge  swp6       0c:e5:a7:fb:90:06              permanent                 00:52:08
untagged  bridge  vni10010   5e:02:6a:12:a6:18              permanent                 00:49:29
untagged  bridge  vni10020   c2:51:84:f4:b0:81              permanent                 00:49:29
untagged  bridge  vni104001  02:e9:fc:b1:a0:b7              permanent                 00:49:29
untagged  bridge  vni104002  6e:38:0a:ed:f3:de              permanent                 00:49:29
root@leaf01:~#
root@leaf01:~# #overlay確認
root@leaf01:~# net show vrf list

VRF: vrf2
--------------------
vlan20@bridge    UP             0c:e5:a7:fb:90:05 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan20-v0@vlan20 UP             00:00:00:00:00:22 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan4002@bridge  UP             0c:e5:a7:fb:90:05 <BROADCAST,MULTICAST,UP,LOWER_UP>

VRF: vrf1
--------------------
vlan10@bridge    UP             0c:e5:a7:fb:90:05 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan10-v0@vlan10 UP             00:00:00:00:00:11 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan4001@bridge  UP             0c:e5:a7:fb:90:05 <BROADCAST,MULTICAST,UP,LOWER_UP>

root@leaf01:~# net show vrf vni
VRF                                   VNI        VxLAN IF             L3-SVI               State Rmac
vrf1                                  104001     vni104001            vlan4001             Up    0c:e5:a7:fb:90:05
vrf2                                  104002     vni104002            vlan4002             Up    0c:e5:a7:fb:90:05
root@leaf01:~# net show bgp vrf vrf1
show bgp vrf vrf1 ipv4 unicast
==============================
BGP table version is 13, local router ID is 192.168.1.254
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  11.11.11.0/30    172.16.1.6                             0 65100 65006 65535 65005 ?
*>                  172.16.1.5                             0 65100 65005 ?
*                   172.16.1.5                             0 65100 65005 ?
*                   172.16.1.6                             0 65100 65006 65535 65005 ?
*  11.11.11.4/30    172.16.1.6                             0 65100 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*>                  172.16.1.6                             0 65100 65006 ?
*  22.22.22.0/30    172.16.1.6                             0 65100 65006 65535 65005 ?
*>                  172.16.1.6                             0 65100 65006 65535 65005 ?
*> 22.22.22.4/30    172.16.1.5                             0 65100 65005 65535 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*  81.1.1.0/24      172.16.1.6                             0 65100 65006 65535 ?
*                   172.16.1.5                             0 65100 65005 65535 ?
*=                  172.16.1.5                             0 65100 65005 65535 ?
*>                  172.16.1.6                             0 65100 65006 65535 ?
*  192.168.1.0      172.16.1.6                             0 65100 65006 ?
*                   172.16.1.5                             0 65100 65005 ?
*=                  172.16.1.5                             0 65100 65005 ?
*>                  172.16.1.6                             0 65100 65006 ?
*  192.168.1.2/32   172.16.1.2                             0 65100 65002 i
*>                  172.16.1.2                             0 65100 65002 i
*  192.168.1.3/32   172.16.1.3                             0 65100 65003 i
*>                  172.16.1.3                             0 65100 65003 i
*  192.168.1.4/32   172.16.1.4                             0 65100 65004 i
*>                  172.16.1.4                             0 65100 65004 i
*> 192.168.2.0      172.16.1.5                             0 65100 65005 65535 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?

Displayed  10 routes and 28 total paths


show bgp vrf vrf1 ipv6 unicast
==============================
No BGP prefixes displayed, 0 exist
root@leaf01:~# net show bgp vrf vrf2
show bgp vrf vrf2 ipv4 unicast
==============================
BGP table version is 13, local router ID is 192.168.2.254
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  11.11.11.0/30    172.16.1.6                             0 65100 65006 65535 65005 ?
*>                  172.16.1.6                             0 65100 65006 65535 65005 ?
*> 11.11.11.4/30    172.16.1.5                             0 65100 65005 65535 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*  22.22.22.0/30    172.16.1.6                             0 65100 65006 65535 65005 ?
*>                  172.16.1.5                             0 65100 65005 ?
*                   172.16.1.5                             0 65100 65005 ?
*                   172.16.1.6                             0 65100 65006 65535 65005 ?
*  22.22.22.4/30    172.16.1.6                             0 65100 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*>                  172.16.1.6                             0 65100 65006 ?
*  81.1.1.0/24      172.16.1.6                             0 65100 65006 65535 ?
*                   172.16.1.5                             0 65100 65005 65535 ?
*=                  172.16.1.5                             0 65100 65005 65535 ?
*>                  172.16.1.6                             0 65100 65006 65535 ?
*> 192.168.1.0      172.16.1.5                             0 65100 65005 65535 65006 ?
*                   172.16.1.5                             0 65100 65005 65535 65006 ?
*  192.168.2.0      172.16.1.6                             0 65100 65006 ?
*                   172.16.1.5                             0 65100 65005 ?
*=                  172.16.1.5                             0 65100 65005 ?
*>                  172.16.1.6                             0 65100 65006 ?
*> 192.168.2.2/32   172.16.1.2                             0 65100 65002 i
*                   172.16.1.2                             0 65100 65002 i
*  192.168.2.3/32   172.16.1.3                             0 65100 65003 i
*>                  172.16.1.3                             0 65100 65003 i
*  192.168.2.4/32   172.16.1.4                             0 65100 65004 i
*>                  172.16.1.4                             0 65100 65004 i

Displayed  10 routes and 28 total paths


show bgp vrf vrf2 ipv6 unicast
==============================
No BGP prefixes displayed, 0 exist
root@leaf01:~#
```
</div></details>

<details><summary>borderleaf01状態確認</summary><div>

```bash:borderleaf01
root@borderleaf01:~# #VXLAN/EVPN確認
root@borderleaf01:~# net show bgp evpn route
BGP table version is 3, local router ID is 172.16.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]

EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.1:5
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.2:4
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.5:2
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                         32768 i
Route Distinguisher: 172.16.1.5:3
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                         32768 i
Route Distinguisher: 172.16.1.5:4
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65535 65006 ?
Route Distinguisher: 172.16.1.5:5
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65535 65006 ?
Route Distinguisher: 172.16.1.6:2
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
Route Distinguisher: 172.16.1.6:3
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
Route Distinguisher: 172.16.1.6:4
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
Route Distinguisher: 172.16.1.6:5
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?

Displayed 46 prefixes (78 paths)
root@borderleaf01:~# net show bgp evpn route type macip
BGP table version is 3, local router ID is 172.16.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.1:5
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.2:4
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i

Displayed 16 prefixes (32 paths) (of requested type)
root@borderleaf01:~# net show bgp evpn route type multicast
BGP table version is 3, local router ID is 172.16.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.1:5
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.2:4
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.5:2
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                         32768 i
Route Distinguisher: 172.16.1.5:3
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                         32768 i
Route Distinguisher: 172.16.1.6:2
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
Route Distinguisher: 172.16.1.6:3
*  [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                             0 65100 65006 i

Displayed 12 prefixes (22 paths) (of requested type)
root@borderleaf01:~# net show bgp evpn route type prefix
BGP table version is 6, local router ID is 172.16.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.5:4
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65535 65006 ?
Route Distinguisher: 172.16.1.5:5
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.5                             0 65535 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.5                             0 65535 65006 ?
Route Distinguisher: 172.16.1.6:4
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6                             0 65100 65006 ?
Route Distinguisher: 172.16.1.6:5
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6                             0 65100 65006 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6                             0 65100 65006 ?
*  [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6                             0 65100 65006 ?

Displayed 18 prefixes (24 paths) (of requested type)
root@borderleaf01:~# net show bgp evpn vni
Advertise Gateway Macip: Disabled
Advertise SVI Macip: Disabled
Advertise All VNI flag: Enabled
BUM flooding: Head-end replication
Number of L2 VNIs: 2
Number of L3 VNIs: 2
Flags: * - Kernel
  VNI        Type RD                    Import RT                 Export RT                 Tenant VRF
* 10010      L2   172.16.1.5:3          65005:10010               65005:10010              vrf1
* 10020      L2   172.16.1.5:2          65005:10020               65005:10020              vrf2
* 104001     L3   172.16.1.5:5          65005:104001              65005:104001             vrf1
* 104002     L3   172.16.1.5:4          65005:104002              65005:104002             vrf2
root@borderleaf01:~# net show evpn vni
VNI        Type VxLAN IF              # MACs   # ARPs   # Remote VTEPs  Tenant VRF
10010      L2   vni10010              5        6        5               vrf1
10020      L2   vni10020              5        6        5               vrf2
104001     L3   vni104001             4        4        n/a             vrf1
104002     L3   vni104002             4        4        n/a             vrf2
root@borderleaf01:~# net show evpn arp-cache vni all
VNI 10010 #ARP (IPv4 and IPv6, local and remote) 6

IP                      Type   State    MAC               Remote VTEP
192.168.1.4             remote active   62:98:23:8c:c7:76 172.16.1.4
192.168.1.3             remote active   3e:60:1c:8e:89:27 172.16.1.3
192.168.1.15            local  active   02:1c:20:67:6f:e8
fe80::1c:20ff:fe67:6fe8 local  active   02:1c:20:67:6f:e8
192.168.1.1             remote active   b6:25:64:11:88:d7 172.16.1.1
192.168.1.2             remote active   4e:09:93:53:b1:0f 172.16.1.2

VNI 10020 #ARP (IPv4 and IPv6, local and remote) 6

IP                      Type   State    MAC               Remote VTEP
192.168.2.1             remote active   52:76:24:3b:2c:da 172.16.1.1
fe80::1c:20ff:fe67:6fe8 local  active   02:1c:20:67:6f:e8
192.168.2.15            local  active   02:1c:20:67:6f:e8
192.168.2.2             remote active   ae:ab:c2:9c:59:6b 172.16.1.2
192.168.2.4             remote active   5e:2b:39:88:56:2f 172.16.1.4
192.168.2.3             remote active   be:d1:e6:78:81:ae 172.16.1.3
root@borderleaf01:~# net show evpn mac vni all
VNI 10010 #MACs (local and remote) 5

MAC               Type   Intf/Remote VTEP      VLAN
4e:09:93:53:b1:0f remote 172.16.1.2
b6:25:64:11:88:d7 remote 172.16.1.1
02:1c:20:67:6f:e8 local  vlan10                10
62:98:23:8c:c7:76 remote 172.16.1.4
3e:60:1c:8e:89:27 remote 172.16.1.3

VNI 10020 #MACs (local and remote) 5

MAC               Type   Intf/Remote VTEP      VLAN
5e:2b:39:88:56:2f remote 172.16.1.4
02:1c:20:67:6f:e8 local  vlan20                20
52:76:24:3b:2c:da remote 172.16.1.1
be:d1:e6:78:81:ae remote 172.16.1.3
ae:ab:c2:9c:59:6b remote 172.16.1.2
root@borderleaf01:~# net show bridge macs

VLAN      Master  Interface  MAC                TunnelDest  State      Flags          LastSeen
--------  ------  ---------  -----------------  ----------  ---------  -------------  --------
10        bridge  bridge     00:00:00:00:00:11              permanent                 00:51:50
10        bridge  bridge     02:1c:20:67:6f:e8              permanent                 00:51:51
10        bridge  vni10010   3e:60:1c:8e:89:27                         offload        00:49:16
10        bridge  vni10010   4e:09:93:53:b1:0f                         offload        00:49:18
10        bridge  vni10010   62:98:23:8c:c7:76                         offload        00:49:14
10        bridge  vni10010   b6:25:64:11:88:d7                         offload        00:49:21
20        bridge  bridge     00:00:00:00:00:22              permanent                 00:51:51
20        bridge  bridge     02:1c:20:67:6f:e8              permanent                 00:51:51
20        bridge  vni10020   5e:2b:39:88:56:2f                         offload        00:49:03
20        bridge  vni10020   52:76:24:3b:2c:da                         offload        00:49:09
20        bridge  vni10020   ae:ab:c2:9c:59:6b                         offload        00:49:07
20        bridge  vni10020   be:d1:e6:78:81:ae                         offload        00:49:05
4001      bridge  bridge     02:1c:20:67:6f:e8              permanent                 00:51:50
4001      bridge  vni104001  0c:e5:a7:14:15:05                         offload        00:49:14
4001      bridge  vni104001  0c:e5:a7:27:81:05                         offload        00:49:16
4001      bridge  vni104001  0c:e5:a7:42:38:05                         offload        00:49:18
4001      bridge  vni104001  0c:e5:a7:fb:90:05                         offload        00:49:21
4002      bridge  bridge     02:1c:20:67:6f:e8              permanent                 00:51:51
4002      bridge  vni104002  0c:e5:a7:14:15:05                         offload        00:49:03
4002      bridge  vni104002  0c:e5:a7:27:81:05                         offload        00:49:05
4002      bridge  vni104002  0c:e5:a7:42:38:05                         offload        00:49:07
4002      bridge  vni104002  0c:e5:a7:fb:90:05                         offload        00:49:09
untagged          bridge     00:00:00:00:00:11              permanent  self           <1 sec
untagged          bridge     00:00:00:00:00:22              permanent  self           <1 sec
untagged          vlan10     00:00:00:00:00:11              permanent  self           <1 sec
untagged          vlan20     00:00:00:00:00:22              permanent  self           <1 sec
untagged          vni10010   00:00:00:00:00:00  172.16.1.1  permanent  self           00:51:46
untagged          vni10010   00:00:00:00:00:00  172.16.1.2  permanent  self           00:51:46
untagged          vni10010   00:00:00:00:00:00  172.16.1.3  permanent  self           00:51:46
untagged          vni10010   00:00:00:00:00:00  172.16.1.4  permanent  self           00:51:46
untagged          vni10010   00:00:00:00:00:00  172.16.1.6  permanent  self           00:51:46
untagged          vni10010   3e:60:1c:8e:89:27  172.16.1.3             self, offload  00:49:16
untagged          vni10010   4e:09:93:53:b1:0f  172.16.1.2             self, offload  00:49:18
untagged          vni10010   62:98:23:8c:c7:76  172.16.1.4             self, offload  00:49:14
untagged          vni10010   b6:25:64:11:88:d7  172.16.1.1             self, offload  00:49:21
untagged          vni10020   00:00:00:00:00:00  172.16.1.1  permanent  self           00:51:46
untagged          vni10020   00:00:00:00:00:00  172.16.1.2  permanent  self           00:51:46
untagged          vni10020   00:00:00:00:00:00  172.16.1.3  permanent  self           00:51:46
untagged          vni10020   00:00:00:00:00:00  172.16.1.4  permanent  self           00:51:46
untagged          vni10020   00:00:00:00:00:00  172.16.1.6  permanent  self           00:51:46
untagged          vni10020   5e:2b:39:88:56:2f  172.16.1.4             self, offload  00:49:03
untagged          vni10020   52:76:24:3b:2c:da  172.16.1.1             self, offload  00:49:09
untagged          vni10020   ae:ab:c2:9c:59:6b  172.16.1.2             self, offload  00:49:07
untagged          vni10020   be:d1:e6:78:81:ae  172.16.1.3             self, offload  00:49:05
untagged          vni104001  0c:e5:a7:14:15:05  172.16.1.4             self, offload  00:49:14
untagged          vni104001  0c:e5:a7:27:81:05  172.16.1.3             self, offload  00:49:16
untagged          vni104001  0c:e5:a7:42:38:05  172.16.1.2             self, offload  00:49:18
untagged          vni104001  0c:e5:a7:fb:90:05  172.16.1.1             self, offload  00:49:21
untagged          vni104002  0c:e5:a7:14:15:05  172.16.1.4             self, offload  00:49:03
untagged          vni104002  0c:e5:a7:27:81:05  172.16.1.3             self, offload  00:49:05
untagged          vni104002  0c:e5:a7:42:38:05  172.16.1.2             self, offload  00:49:07
untagged          vni104002  0c:e5:a7:fb:90:05  172.16.1.1             self, offload  00:49:09
untagged  bridge  vni10010   e2:87:da:11:17:29              permanent                 00:51:51
untagged  bridge  vni10020   0e:b7:5e:2f:83:af              permanent                 00:51:51
untagged  bridge  vni104001  ca:c2:8d:c5:d6:9b              permanent                 00:51:51
untagged  bridge  vni104002  02:1c:20:67:6f:e8              permanent                 00:51:51
root@borderleaf01:~#
root@borderleaf01:~# #overlay確認
root@borderleaf01:~# net show vrf list

VRF: vrf2
--------------------
swp1.4002@swp1   UP             0c:e5:a7:05:c1:01 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan20@bridge    UP             02:1c:20:67:6f:e8 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan20-v0@vlan20 UP             00:00:00:00:00:22 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan4002@bridge  UP             02:1c:20:67:6f:e8 <BROADCAST,MULTICAST,UP,LOWER_UP>

VRF: vrf1
--------------------
swp1.4001@swp1   UP             0c:e5:a7:05:c1:01 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan10@bridge    UP             02:1c:20:67:6f:e8 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan10-v0@vlan10 UP             00:00:00:00:00:11 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan4001@bridge  UP             02:1c:20:67:6f:e8 <BROADCAST,MULTICAST,UP,LOWER_UP>

root@borderleaf01:~# net show vrf vni
VRF                                   VNI        VxLAN IF             L3-SVI               State Rmac
vrf1                                  104001     vni104001            vlan4001             Up    02:1c:20:67:6f:e8
vrf2                                  104002     vni104002            vlan4002             Up    02:1c:20:67:6f:e8
root@borderleaf01:~# net show bgp vrf vrf1
show bgp vrf vrf1 ipv4 unicast
==============================
BGP table version is 10, local router ID is 172.16.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 11.11.11.0/30    0.0.0.0                  0         32768 ?
*  11.11.11.4/30    172.16.1.6                             0 65100 65006 ?
*                   172.16.1.6                             0 65100 65006 ?
*>                  11.11.11.1                             0 65535 65006 ?
*> 22.22.22.4/30    11.11.11.1                             0 65535 65006 ?
*  81.1.1.0/24      172.16.1.6                             0 65100 65006 65535 ?
*                   172.16.1.6                             0 65100 65006 65535 ?
*>                  11.11.11.1               0             0 65535 ?
*  192.168.1.0      172.16.1.6                             0 65100 65006 ?
*                   172.16.1.6                             0 65100 65006 ?
*                   11.11.11.1                             0 65535 65006 ?
*>                  0.0.0.0                  0         32768 ?
*  192.168.1.1/32   172.16.1.1                             0 65100 65001 i
*>                  172.16.1.1                             0 65100 65001 i
*> 192.168.1.2/32   172.16.1.2                             0 65100 65002 i
*                   172.16.1.2                             0 65100 65002 i
*> 192.168.1.3/32   172.16.1.3                             0 65100 65003 i
*                   172.16.1.3                             0 65100 65003 i
*  192.168.1.4/32   172.16.1.4                             0 65100 65004 i
*>                  172.16.1.4                             0 65100 65004 i
*> 192.168.2.0      11.11.11.1                             0 65535 65006 ?

Displayed  10 routes and 21 total paths


show bgp vrf vrf1 ipv6 unicast
==============================
No BGP prefixes displayed, 0 exist
root@borderleaf01:~# net show bgp vrf vrf2
show bgp vrf vrf2 ipv4 unicast
==============================
BGP table version is 10, local router ID is 172.16.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 11.11.11.4/30    22.22.22.1                             0 65535 65006 ?
*> 22.22.22.0/30    0.0.0.0                  0         32768 ?
*  22.22.22.4/30    172.16.1.6                             0 65100 65006 ?
*                   172.16.1.6                             0 65100 65006 ?
*>                  22.22.22.1                             0 65535 65006 ?
*  81.1.1.0/24      172.16.1.6                             0 65100 65006 65535 ?
*                   172.16.1.6                             0 65100 65006 65535 ?
*>                  22.22.22.1               0             0 65535 ?
*> 192.168.1.0      22.22.22.1                             0 65535 65006 ?
*  192.168.2.0      172.16.1.6                             0 65100 65006 ?
*                   172.16.1.6                             0 65100 65006 ?
*                   22.22.22.1                             0 65535 65006 ?
*>                  0.0.0.0                  0         32768 ?
*> 192.168.2.1/32   172.16.1.1                             0 65100 65001 i
*                   172.16.1.1                             0 65100 65001 i
*> 192.168.2.2/32   172.16.1.2                             0 65100 65002 i
*                   172.16.1.2                             0 65100 65002 i
*> 192.168.2.3/32   172.16.1.3                             0 65100 65003 i
*                   172.16.1.3                             0 65100 65003 i
*> 192.168.2.4/32   172.16.1.4                             0 65100 65004 i
*                   172.16.1.4                             0 65100 65004 i

Displayed  10 routes and 21 total paths


show bgp vrf vrf2 ipv6 unicast
==============================
No BGP prefixes displayed, 0 exist
root@borderleaf01:~#
```
</div></details>

<details><summary>borderleaf02状態確認</summary><div>

```bash:borderleaf02
root@borderleaf02:~# #VXLAN/EVPN確認
root@borderleaf02:~# net show bgp evpn route
BGP table version is 3, local router ID is 172.16.1.6
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]


   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]

                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]

                    172.16.1.1                             0 65100 65001 i
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.1:5
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]

                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.2:4
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.5:2
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.5:3
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.5:4
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
Route Distinguisher: 172.16.1.5:5
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
Route Distinguisher: 172.16.1.6:2
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                         32768 i
Route Distinguisher: 172.16.1.6:3
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                         32768 i
Route Distinguisher: 172.16.1.6:4
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[32]:[192.168.1.1]
                    172.16.1.6                             0 65535 65005 65100 65001 i
*> [5]:[0]:[0]:[32]:[192.168.1.2]
                    172.16.1.6                             0 65535 65005 65100 65002 i
*> [5]:[0]:[0]:[32]:[192.168.1.3]
                    172.16.1.6                             0 65535 65005 65100 65003 i
*> [5]:[0]:[0]:[32]:[192.168.1.4]
                    172.16.1.6                             0 65535 65005 65100 65004 i
Route Distinguisher: 172.16.1.6:5
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[32]:[192.168.2.1]
                    172.16.1.6                             0 65535 65005 65100 65001 i
*> [5]:[0]:[0]:[32]:[192.168.2.2]
                    172.16.1.6                             0 65535 65005 65100 65002 i
*> [5]:[0]:[0]:[32]:[192.168.2.3]
                    172.16.1.6                             0 65535 65005 65100 65003 i
*> [5]:[0]:[0]:[32]:[192.168.2.4]
                    172.16.1.6                             0 65535 65005 65100 65004 i

Displayed 52 prefixes (84 paths)
root@borderleaf02:~# net show bgp evpn route type macip
BGP table version is 3, local router ID is 172.16.1.6
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[b6:25:64:11:88:d7]:[32]:[192.168.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.1:5
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]
                    172.16.1.1                             0 65100 65001 i
*  [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
*> [2]:[0]:[0]:[48]:[52:76:24:3b:2c:da]:[32]:[192.168.2.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.2:4
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[4e:09:93:53:b1:0f]:[32]:[192.168.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]
                    172.16.1.2                             0 65100 65002 i
*> [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
*  [2]:[0]:[0]:[48]:[ae:ab:c2:9c:59:6b]:[32]:[192.168.2.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[3e:60:1c:8e:89:27]:[32]:[192.168.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]
                    172.16.1.3                             0 65100 65003 i
*  [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
*> [2]:[0]:[0]:[48]:[be:d1:e6:78:81:ae]:[32]:[192.168.2.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[62:98:23:8c:c7:76]:[32]:[192.168.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]
                    172.16.1.4                             0 65100 65004 i
*  [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i
*> [2]:[0]:[0]:[48]:[5e:2b:39:88:56:2f]:[32]:[192.168.2.4]
                    172.16.1.4                             0 65100 65004 i

Displayed 16 prefixes (32 paths) (of requested type)
root@borderleaf02:~# net show bgp evpn route type multicast
BGP table version is 3, local router ID is 172.16.1.6
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.1:4
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.1:5
*  [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
*> [3]:[0]:[32]:[172.16.1.1]
                    172.16.1.1                             0 65100 65001 i
Route Distinguisher: 172.16.1.2:4
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.2:5
*  [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
*> [3]:[0]:[32]:[172.16.1.2]
                    172.16.1.2                             0 65100 65002 i
Route Distinguisher: 172.16.1.3:4
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.3:5
*  [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
*> [3]:[0]:[32]:[172.16.1.3]
                    172.16.1.3                             0 65100 65003 i
Route Distinguisher: 172.16.1.4:4
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.4:5
*  [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
*> [3]:[0]:[32]:[172.16.1.4]
                    172.16.1.4                             0 65100 65004 i
Route Distinguisher: 172.16.1.5:2
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.5:3
*  [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
*> [3]:[0]:[32]:[172.16.1.5]
                    172.16.1.5                             0 65100 65005 i
Route Distinguisher: 172.16.1.6:2
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                         32768 i
Route Distinguisher: 172.16.1.6:3
*> [3]:[0]:[32]:[172.16.1.6]
                    172.16.1.6                         32768 i

Displayed 12 prefixes (22 paths) (of requested type)
root@borderleaf02:~# net show bgp evpn route type prefix
BGP table version is 3, local router ID is 172.16.1.6
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-2 prefix: [2]:[ESI]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[ESI]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 172.16.1.5:4
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.5                             0 65100 65005 ?
Route Distinguisher: 172.16.1.5:5
*  [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.5                             0 65100 65005 65535 ?
*  [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.5                             0 65100 65005 ?
*  [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.5                             0 65100 65005 ?
Route Distinguisher: 172.16.1.6:4
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.2.0]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[30]:[22.22.22.4]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[32]:[192.168.1.1]
                    172.16.1.6                             0 65535 65005 65100 65001 i
*> [5]:[0]:[0]:[32]:[192.168.1.2]
                    172.16.1.6                             0 65535 65005 65100 65002 i
*> [5]:[0]:[0]:[32]:[192.168.1.3]
                    172.16.1.6                             0 65535 65005 65100 65003 i
*> [5]:[0]:[0]:[32]:[192.168.1.4]
                    172.16.1.6                             0 65535 65005 65100 65004 i
Route Distinguisher: 172.16.1.6:5
*> [5]:[0]:[0]:[24]:[81.1.1.0]
                    172.16.1.6               0             0 65535 ?
*> [5]:[0]:[0]:[24]:[192.168.1.0]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[30]:[11.11.11.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[30]:[11.11.11.4]
                    172.16.1.6               0         32768 ?
*> [5]:[0]:[0]:[30]:[22.22.22.0]
                    172.16.1.6                             0 65535 65005 ?
*> [5]:[0]:[0]:[32]:[192.168.2.1]
                    172.16.1.6                             0 65535 65005 65100 65001 i
*> [5]:[0]:[0]:[32]:[192.168.2.2]
                    172.16.1.6                             0 65535 65005 65100 65002 i
*> [5]:[0]:[0]:[32]:[192.168.2.3]
                    172.16.1.6                             0 65535 65005 65100 65003 i
*> [5]:[0]:[0]:[32]:[192.168.2.4]
                    172.16.1.6                             0 65535 65005 65100 65004 i

Displayed 24 prefixes (30 paths) (of requested type)
root@borderleaf02:~# net show bgp evpn vni
Advertise Gateway Macip: Disabled
Advertise SVI Macip: Disabled
Advertise All VNI flag: Enabled
BUM flooding: Head-end replication
Number of L2 VNIs: 2
Number of L3 VNIs: 2
Flags: * - Kernel
  VNI        Type RD                    Import RT                 Export RT                 Tenant VRF
* 10010      L2   172.16.1.6:3          65006:10010               65006:10010              vrf1
* 10020      L2   172.16.1.6:2          65006:10020               65006:10020              vrf2
* 104001     L3   172.16.1.6:5          65006:104001              65006:104001             vrf1
* 104002     L3   172.16.1.6:4          65006:104002              65006:104002             vrf2
root@borderleaf02:~# net show evpn vni
VNI        Type VxLAN IF              # MACs   # ARPs   # Remote VTEPs  Tenant VRF
10010      L2   vni10010              5        6        5               vrf1
10020      L2   vni10020              5        6        5               vrf2
104001     L3   vni104001             4        4        n/a             vrf1
104002     L3   vni104002             4        4        n/a             vrf2
root@borderleaf02:~# net show evpn arp-cache vni all
VNI 10010 #ARP (IPv4 and IPv6, local and remote) 6

IP                        Type   State    MAC               Remote VTEP
fe80::1006:74ff:fed5:ca5b local  active   12:06:74:d5:ca:5b
192.168.1.4               remote active   62:98:23:8c:c7:76 172.16.1.4
192.168.1.16              local  active   12:06:74:d5:ca:5b
192.168.1.3               remote active   3e:60:1c:8e:89:27 172.16.1.3
192.168.1.1               remote active   b6:25:64:11:88:d7 172.16.1.1
192.168.1.2               remote active   4e:09:93:53:b1:0f 172.16.1.2

VNI 10020 #ARP (IPv4 and IPv6, local and remote) 6

IP                        Type   State    MAC               Remote VTEP
fe80::1006:74ff:fed5:ca5b local  active   12:06:74:d5:ca:5b
192.168.2.1               remote active   52:76:24:3b:2c:da 172.16.1.1
192.168.2.16              local  active   12:06:74:d5:ca:5b
192.168.2.2               remote active   ae:ab:c2:9c:59:6b 172.16.1.2
192.168.2.4               remote active   5e:2b:39:88:56:2f 172.16.1.4
192.168.2.3               remote active   be:d1:e6:78:81:ae 172.16.1.3
root@borderleaf02:~# net show evpn mac vni all
VNI 10010 #MACs (local and remote) 5

MAC               Type   Intf/Remote VTEP      VLAN
4e:09:93:53:b1:0f remote 172.16.1.2
b6:25:64:11:88:d7 remote 172.16.1.1
12:06:74:d5:ca:5b local  vlan10                10
62:98:23:8c:c7:76 remote 172.16.1.4
3e:60:1c:8e:89:27 remote 172.16.1.3

VNI 10020 #MACs (local and remote) 5

MAC               Type   Intf/Remote VTEP      VLAN
5e:2b:39:88:56:2f remote 172.16.1.4
52:76:24:3b:2c:da remote 172.16.1.1
12:06:74:d5:ca:5b local  vlan20                20
be:d1:e6:78:81:ae remote 172.16.1.3
ae:ab:c2:9c:59:6b remote 172.16.1.2
root@borderleaf02:~# net show bridge macs

VLAN      Master  Interface  MAC                TunnelDest  State      Flags          LastSeen
--------  ------  ---------  -----------------  ----------  ---------  -------------  --------
10        bridge  bridge     00:00:00:00:00:11              permanent                 00:53:21
10        bridge  bridge     12:06:74:d5:ca:5b              permanent                 00:53:21
10        bridge  vni10010   3e:60:1c:8e:89:27                         offload        00:50:46
10        bridge  vni10010   4e:09:93:53:b1:0f                         offload        00:50:48
10        bridge  vni10010   62:98:23:8c:c7:76                         offload        00:50:45
10        bridge  vni10010   b6:25:64:11:88:d7                         offload        00:50:51
20        bridge  bridge     00:00:00:00:00:22              permanent                 00:53:21
20        bridge  bridge     12:06:74:d5:ca:5b              permanent                 00:53:21
20        bridge  vni10020   5e:2b:39:88:56:2f                         offload        00:50:33
20        bridge  vni10020   52:76:24:3b:2c:da                         offload        00:50:40
20        bridge  vni10020   ae:ab:c2:9c:59:6b                         offload        00:50:38
20        bridge  vni10020   be:d1:e6:78:81:ae                         offload        00:50:36
4001      bridge  bridge     12:06:74:d5:ca:5b              permanent                 00:53:21
4001      bridge  vni104001  0c:e5:a7:14:15:05                         offload        00:50:45
4001      bridge  vni104001  0c:e5:a7:27:81:05                         offload        00:50:46
4001      bridge  vni104001  0c:e5:a7:42:38:05                         offload        00:50:48
4001      bridge  vni104001  0c:e5:a7:fb:90:05                         offload        00:50:51
4002      bridge  bridge     12:06:74:d5:ca:5b              permanent                 00:53:21
4002      bridge  vni104002  0c:e5:a7:14:15:05                         offload        00:50:33
4002      bridge  vni104002  0c:e5:a7:27:81:05                         offload        00:50:35
4002      bridge  vni104002  0c:e5:a7:42:38:05                         offload        00:50:37
4002      bridge  vni104002  0c:e5:a7:fb:90:05                         offload        00:50:40
untagged          bridge     00:00:00:00:00:11              permanent  self           <1 sec
untagged          bridge     00:00:00:00:00:22              permanent  self           <1 sec
untagged          vlan10     00:00:00:00:00:11              permanent  self           <1 sec
untagged          vlan20     00:00:00:00:00:22              permanent  self           <1 sec
untagged          vni10010   00:00:00:00:00:00  172.16.1.1  permanent  self           00:53:18
untagged          vni10010   00:00:00:00:00:00  172.16.1.2  permanent  self           00:53:18
untagged          vni10010   00:00:00:00:00:00  172.16.1.3  permanent  self           00:53:18
untagged          vni10010   00:00:00:00:00:00  172.16.1.4  permanent  self           00:53:18
untagged          vni10010   00:00:00:00:00:00  172.16.1.5  permanent  self           00:53:18
untagged          vni10010   3e:60:1c:8e:89:27  172.16.1.3             self, offload  00:50:46
untagged          vni10010   4e:09:93:53:b1:0f  172.16.1.2             self, offload  00:50:48
untagged          vni10010   62:98:23:8c:c7:76  172.16.1.4             self, offload  00:50:45
untagged          vni10010   b6:25:64:11:88:d7  172.16.1.1             self, offload  00:50:51
untagged          vni10020   00:00:00:00:00:00  172.16.1.1  permanent  self           00:53:18
untagged          vni10020   00:00:00:00:00:00  172.16.1.2  permanent  self           00:53:18
untagged          vni10020   00:00:00:00:00:00  172.16.1.3  permanent  self           00:53:18
untagged          vni10020   00:00:00:00:00:00  172.16.1.4  permanent  self           00:53:18
untagged          vni10020   00:00:00:00:00:00  172.16.1.5  permanent  self           00:53:18
untagged          vni10020   5e:2b:39:88:56:2f  172.16.1.4             self, offload  00:50:33
untagged          vni10020   52:76:24:3b:2c:da  172.16.1.1             self, offload  00:50:40
untagged          vni10020   ae:ab:c2:9c:59:6b  172.16.1.2             self, offload  00:50:38
untagged          vni10020   be:d1:e6:78:81:ae  172.16.1.3             self, offload  00:50:36
untagged          vni104001  0c:e5:a7:14:15:05  172.16.1.4             self, offload  00:50:45
untagged          vni104001  0c:e5:a7:27:81:05  172.16.1.3             self, offload  00:50:46
untagged          vni104001  0c:e5:a7:42:38:05  172.16.1.2             self, offload  00:50:48
untagged          vni104001  0c:e5:a7:fb:90:05  172.16.1.1             self, offload  00:50:51
untagged          vni104002  0c:e5:a7:14:15:05  172.16.1.4             self, offload  00:50:33
untagged          vni104002  0c:e5:a7:27:81:05  172.16.1.3             self, offload  00:50:35
untagged          vni104002  0c:e5:a7:42:38:05  172.16.1.2             self, offload  00:50:37
untagged          vni104002  0c:e5:a7:fb:90:05  172.16.1.1             self, offload  00:50:40
untagged  bridge  vni10010   12:06:74:d5:ca:5b              permanent                 00:53:21
untagged  bridge  vni10020   d2:d9:51:69:5d:ee              permanent                 00:53:21
untagged  bridge  vni104001  ca:e7:a5:3c:5a:ce              permanent                 00:53:21
untagged  bridge  vni104002  76:df:8e:24:a0:24              permanent                 00:53:21
root@borderleaf02:~#
root@borderleaf02:~# #overlay確認
root@borderleaf02:~# net show vrf list

VRF: vrf2
--------------------
swp1.4002@swp1   UP             0c:e5:a7:cb:c1:01 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan20@bridge    UP             12:06:74:d5:ca:5b <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan20-v0@vlan20 UP             00:00:00:00:00:22 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan4002@bridge  UP             12:06:74:d5:ca:5b <BROADCAST,MULTICAST,UP,LOWER_UP>

VRF: vrf1
--------------------
swp1.4001@swp1   UP             0c:e5:a7:cb:c1:01 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan10@bridge    UP             12:06:74:d5:ca:5b <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan10-v0@vlan10 UP             00:00:00:00:00:11 <BROADCAST,MULTICAST,UP,LOWER_UP>
vlan4001@bridge  UP             12:06:74:d5:ca:5b <BROADCAST,MULTICAST,UP,LOWER_UP>

root@borderleaf02:~# net show vrf vni
VRF                                   VNI        VxLAN IF             L3-SVI               State Rmac
vrf1                                  104001     vni104001            vlan4001             Up    12:06:74:d5:ca:5b
vrf2                                  104002     vni104002            vlan4002             Up    12:06:74:d5:ca:5b
root@borderleaf02:~# net show bgp vrf vrf1
show bgp vrf vrf1 ipv4 unicast
==============================
BGP table version is 13, local router ID is 172.16.1.6
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  11.11.11.0/30    172.16.1.5                             0 65100 65005 ?
*                   172.16.1.5                             0 65100 65005 ?
*>                  11.11.11.5                             0 65535 65005 ?
*> 11.11.11.4/30    0.0.0.0                  0         32768 ?
*> 22.22.22.0/30    11.11.11.5                             0 65535 65005 ?
*  81.1.1.0/24      172.16.1.5                             0 65100 65005 65535 ?
*                   172.16.1.5                             0 65100 65005 65535 ?
*>                  11.11.11.5               0             0 65535 ?
*  192.168.1.0      172.16.1.5                             0 65100 65005 ?
*                   172.16.1.5                             0 65100 65005 ?
*>                  0.0.0.0                  0         32768 ?
*  192.168.1.1/32   11.11.11.5                             0 65535 65005 65100 65001 i
*                   172.16.1.1                             0 65100 65001 i
*>                  172.16.1.1                             0 65100 65001 i
*  192.168.1.2/32   11.11.11.5                             0 65535 65005 65100 65002 i
*>                  172.16.1.2                             0 65100 65002 i
*                   172.16.1.2                             0 65100 65002 i
*  192.168.1.3/32   11.11.11.5                             0 65535 65005 65100 65003 i
*                   172.16.1.3                             0 65100 65003 i
*>                  172.16.1.3                             0 65100 65003 i
*  192.168.1.4/32   11.11.11.5                             0 65535 65005 65100 65004 i
*                   172.16.1.4                             0 65100 65004 i
*>                  172.16.1.4                             0 65100 65004 i
*> 192.168.2.1/32   11.11.11.5                             0 65535 65005 65100 65001 i
*> 192.168.2.2/32   11.11.11.5                             0 65535 65005 65100 65002 i
*> 192.168.2.3/32   11.11.11.5                             0 65535 65005 65100 65003 i
*> 192.168.2.4/32   11.11.11.5                             0 65535 65005 65100 65004 i

Displayed  13 routes and 27 total paths


show bgp vrf vrf1 ipv6 unicast
==============================
No BGP prefixes displayed, 0 exist
root@borderleaf02:~# net show bgp vrf vrf2
show bgp vrf vrf2 ipv4 unicast
==============================
BGP table version is 13, local router ID is 172.16.1.6
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 11.11.11.0/30    22.22.22.5                             0 65535 65005 ?
*  22.22.22.0/30    172.16.1.5                             0 65100 65005 ?
*                   172.16.1.5                             0 65100 65005 ?
*>                  22.22.22.5                             0 65535 65005 ?
*> 22.22.22.4/30    0.0.0.0                  0         32768 ?
*  81.1.1.0/24      172.16.1.5                             0 65100 65005 65535 ?
*                   172.16.1.5                             0 65100 65005 65535 ?
*>                  22.22.22.5               0             0 65535 ?
*> 192.168.1.1/32   22.22.22.5                             0 65535 65005 65100 65001 i
*> 192.168.1.2/32   22.22.22.5                             0 65535 65005 65100 65002 i
*> 192.168.1.3/32   22.22.22.5                             0 65535 65005 65100 65003 i
*> 192.168.1.4/32   22.22.22.5                             0 65535 65005 65100 65004 i
*  192.168.2.0      172.16.1.5                             0 65100 65005 ?
*                   172.16.1.5                             0 65100 65005 ?
*>                  0.0.0.0                  0         32768 ?
*  192.168.2.1/32   22.22.22.5                             0 65535 65005 65100 65001 i
*                   172.16.1.1                             0 65100 65001 i
*>                  172.16.1.1                             0 65100 65001 i
*  192.168.2.2/32   22.22.22.5                             0 65535 65005 65100 65002 i
*>                  172.16.1.2                             0 65100 65002 i
*                   172.16.1.2                             0 65100 65002 i
*  192.168.2.3/32   22.22.22.5                             0 65535 65005 65100 65003 i
*                   172.16.1.3                             0 65100 65003 i
*>                  172.16.1.3                             0 65100 65003 i
*  192.168.2.4/32   22.22.22.5                             0 65535 65005 65100 65004 i
*                   172.16.1.4                             0 65100 65004 i
*>                  172.16.1.4                             0 65100 65004 i

Displayed  13 routes and 27 total paths


show bgp vrf vrf2 ipv6 unicast
==============================
No BGP prefixes displayed, 0 exist
root@borderleaf02:~#
```
</div></details>

---
- パケットキャプチャ確認

BorderleafからBGP-updateパケットを抜粋
(RT-2/3は前回確認したためスキップ)
RT-5
![prefix.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/10170b89-583e-d002-6795-c144f4cb3b14.png)


Routerからみるパケット
![routerrrrrr.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/364621/e9114b2f-0f6e-0e7e-e836-a514c5ea0d5f.png)

#メモ
・Route-type-5
主にEVPN(overlayネットワーク)のNLRI情報を外部へ広報するために使用
VTEPのIRBのConnected経路(L2VNIセグ)もRT-5で広報される

・Anycast-Gateway
全VTEPのIRBのIPアドレス/MACアドレスを共通化することで、全VTEPでL3終端が可能
ホスト/VMが他のVTEP配下に移動してもARPテーブルクリアせずそのまま通信可能


# 参考資料
https://docs.cumulusnetworks.com/display/DOCS/Ethernet+Virtual+Private+Network+-+EVPN
https://docs.cumulusnetworks.com/display/DOCS/Virtual+Routing+and+Forwarding+-+VRF
https://qiita.com/tom7/items/472e9871128ef082d1f1
https://speakerdeck.com/akkanbe/vxlan-evpnmian-qiang-matome

# Dynamic Route Leaking
時間あるとき更新！