autotest: L3VPN_EVPN pump version and ajust commands

This commit is contained in:
rebortg 2022-03-28 17:53:27 +02:00
parent 3b6848821c
commit 4bf3e11b70
5 changed files with 774 additions and 368 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@
L3VPN EVPN with VyOS
####################
| Testdate: 2021-11-25
| Version: 1.4-rolling-202111240711
| Testdate: 2022-03-28
| Version: 1.4-rolling-202203280217
I spun up a new lab in EVE-NG, which represents this as the
"Foo Bar - Service Provider Inc." that has 3 points of presence (PoP) in random
@ -153,41 +153,38 @@ Show routes for all VRFs
vyos@PE1:~$ show ip route vrf all
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, f - OpenFabric,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
VRF blue:
K>* 0.0.0.0/0 [255/8192] unreachable (ICMP unreachable), 00:00:59
C>* 10.1.1.0/24 is directly connected, br2000, 00:00:58
B>* 10.1.2.0/24 [200/0] via 172.29.255.2, br2000 onlink, weight 1, 00:00:34
B>* 10.1.3.0/24 [200/0] via 172.29.255.3, br2000 onlink, weight 1, 00:00:34
C>* 10.1.1.0/24 is directly connected, br2000, 00:01:05
B>* 10.1.2.0/24 [200/0] via 172.29.255.2, br2000 onlink, weight 1, 00:00:47
B>* 10.1.3.0/24 [200/0] via 172.29.255.3, br2000 onlink, weight 1, 00:00:42
VRF default:
O 172.29.0.2/31 [110/1] is directly connected, eth1, weight 1, 00:00:55
C>* 172.29.0.2/31 is directly connected, eth1, 00:00:58
O>* 172.29.0.4/31 [110/2] via 172.29.0.3, eth1, weight 1, 00:00:31
* via 172.29.0.7, eth3, weight 1, 00:00:31
O 172.29.0.6/31 [110/1] is directly connected, eth3, weight 1, 00:00:55
C>* 172.29.0.6/31 is directly connected, eth3, 00:00:58
C>* 172.29.255.1/32 is directly connected, dum0, 00:00:59
O>* 172.29.255.2/32 [110/20] via 172.29.0.3, eth1, weight 1, 00:00:35
O>* 172.29.255.3/32 [110/20] via 172.29.0.7, eth3, weight 1, 00:00:30
O 172.29.0.2/31 [110/1] is directly connected, eth1, weight 1, 00:01:02
C>* 172.29.0.2/31 is directly connected, eth1, 00:01:04
O>* 172.29.0.4/31 [110/2] via 172.29.0.3, eth1, weight 1, 00:00:39
* via 172.29.0.7, eth3, weight 1, 00:00:39
O 172.29.0.6/31 [110/1] is directly connected, eth3, weight 1, 00:01:02
C>* 172.29.0.6/31 is directly connected, eth3, 00:01:05
C>* 172.29.255.1/32 is directly connected, dum0, 00:01:06
O>* 172.29.255.2/32 [110/20] via 172.29.0.3, eth1, weight 1, 00:00:48
O>* 172.29.255.3/32 [110/20] via 172.29.0.7, eth3, weight 1, 00:00:38
VRF green:
K>* 0.0.0.0/0 [255/8192] unreachable (ICMP unreachable), 00:00:59
C>* 10.3.1.0/24 is directly connected, br4000, 00:00:58
B>* 10.3.3.0/24 [200/0] via 172.29.255.3, br4000 onlink, weight 1, 00:00:34
C>* 10.3.1.0/24 is directly connected, br4000, 00:01:05
B>* 10.3.3.0/24 [200/0] via 172.29.255.3, br4000 onlink, weight 1, 00:00:42
VRF mgmt:
S>* 0.0.0.0/0 [210/0] via 10.100.0.1, eth0, weight 1, 00:01:56
K * 0.0.0.0/0 [255/8192] unreachable (ICMP unreachable), 00:01:59
C>* 10.100.0.0/24 is directly connected, eth0, 00:01:57
S>* 0.0.0.0/0 [210/0] via 10.100.0.1, eth0, weight 1, 00:01:39
C>* 10.100.0.0/24 is directly connected, eth0, 00:01:40
VRF red:
K>* 0.0.0.0/0 [255/8192] unreachable (ICMP unreachable), 00:00:59
C>* 10.2.1.0/24 is directly connected, br3000, 00:00:58
B>* 10.2.2.0/24 [200/0] via 172.29.255.2, br3000 onlink, weight 1, 00:00:34
C>* 10.2.1.0/24 is directly connected, br3000, 00:01:04
B>* 10.2.2.0/24 [200/0] via 172.29.255.2, br3000 onlink, weight 1, 00:00:47
Information about Ethernet Virtual Private Networks
@ -198,7 +195,7 @@ Information about Ethernet Virtual Private Networks
BGP table version is 1, local router ID is 172.29.255.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-1 prefix: [1]:[ESI]:[EthTag]:[IPlen]:[VTEP-IP]
EVPN type-1 prefix: [1]:[EthTag]:[ESI]:[IPlen]:[VTEP-IP]
EVPN type-2 prefix: [2]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-4 prefix: [4]:[ESI]:[IPlen]:[OrigIP]
@ -212,7 +209,7 @@ Information about Ethernet Virtual Private Networks
Route Distinguisher: 10.1.2.1:4
*>i[5]:[0]:[24]:[10.1.2.0]
172.29.255.2 0 100 0 ?
RT:100:2000 ET:8 Rmac:4a:da:66:c7:5a:54
RT:100:2000 ET:8 Rmac:02:18:c8:f9:1a:d1
Route Distinguisher: 10.1.3.1:4
*>i[5]:[0]:[24]:[10.1.3.0]
172.29.255.3 0 100 0 ?
@ -224,7 +221,7 @@ Information about Ethernet Virtual Private Networks
Route Distinguisher: 10.2.2.1:5
*>i[5]:[0]:[24]:[10.2.2.0]
172.29.255.2 0 100 0 ?
RT:100:3000 ET:8 Rmac:1a:c4:c5:ec:b3:e6
RT:100:3000 ET:8 Rmac:36:17:df:67:bd:bc
Route Distinguisher: 10.3.1.1:7
*> [5]:[0]:[24]:[10.3.1.0]
172.29.255.1 0 32768 ?
@ -232,7 +229,7 @@ Information about Ethernet Virtual Private Networks
Route Distinguisher: 10.3.3.1:6
*>i[5]:[0]:[24]:[10.3.3.0]
172.29.255.3 0 100 0 ?
RT:100:4000 ET:8 Rmac:0a:61:a1:5c:7b:14
RT:100:4000 ET:8 Rmac:50:00:00:03:00:06
Displayed 7 out of 7 total prefixes
@ -251,4 +248,4 @@ the EVPN network we need to run
172.29.255.1 (metric 20) from 172.29.255.1 (172.29.255.1)
Origin incomplete, metric 0, localpref 100, valid, internal, best (First path received)
Extended Community: RT:100:4000 ET:8 Rmac:50:00:00:01:00:06
Last update: Thu Nov 25 19:45:06 2021
Last update: Mon Mar 28 15:46:02 2022

View File

@ -18,12 +18,12 @@ set protocols ospf area 0 network '172.29.0.2/31'
set protocols ospf area 0 network '172.29.0.6/31'
set protocols ospf interface eth1 network 'point-to-point'
set protocols ospf interface eth3 network 'point-to-point'
set protocols ospf interface eth1 passive disable
set protocols ospf interface eth3 passive disable
set protocols ospf log-adjacency-changes detail
set protocols ospf parameters abr-type 'cisco'
set protocols ospf parameters router-id '172.29.255.1'
set protocols ospf passive-interface 'default'
set protocols ospf passive-interface-exclude 'eth1'
set protocols ospf passive-interface-exclude 'eth3'
set protocols ospf redistribute connected
set protocols bgp address-family l2vpn-evpn advertise ipv4 unicast

View File

@ -18,12 +18,12 @@ set protocols ospf area 0 network '172.29.0.2/31'
set protocols ospf area 0 network '172.29.0.4/31'
set protocols ospf interface eth1 network 'point-to-point'
set protocols ospf interface eth2 network 'point-to-point'
set protocols ospf interface eth1 passive disable
set protocols ospf interface eth2 passive disable
set protocols ospf log-adjacency-changes detail
set protocols ospf parameters abr-type 'cisco'
set protocols ospf parameters router-id '172.29.255.2'
set protocols ospf passive-interface 'default'
set protocols ospf passive-interface-exclude 'eth1'
set protocols ospf passive-interface-exclude 'eth2'
set protocols ospf redistribute connected
set protocols bgp address-family l2vpn-evpn advertise ipv4 unicast

View File

@ -18,12 +18,12 @@ set protocols ospf area 0 network '172.29.0.4/31'
set protocols ospf area 0 network '172.29.0.6/31'
set protocols ospf interface eth2 network 'point-to-point'
set protocols ospf interface eth3 network 'point-to-point'
set protocols ospf interface eth2 passive disable
set protocols ospf interface eth3 passive disable
set protocols ospf log-adjacency-changes detail
set protocols ospf parameters abr-type 'cisco'
set protocols ospf parameters router-id '172.29.255.3'
set protocols ospf passive-interface 'default'
set protocols ospf passive-interface-exclude 'eth3'
set protocols ospf passive-interface-exclude 'eth2'
set protocols ospf redistribute connected
set protocols bgp address-family l2vpn-evpn advertise ipv4 unicast