summaryrefslogtreecommitdiff
path: root/docs/configexamples/autotest/L3VPN_EVPN/_include
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-11-25 20:51:44 +0100
committerrebortg <github@ghlr.de>2021-11-25 20:51:44 +0100
commited417b84d9c907e901b8526e5da3a62cb0e273df (patch)
tree86a82ea9d36cd94b123742b084ae0f20c74a0084 /docs/configexamples/autotest/L3VPN_EVPN/_include
parentb173216445c6b04f31331a06d9d4c5195ca9c58f (diff)
downloadvyos-documentation-ed417b84d9c907e901b8526e5da3a62cb0e273df.tar.gz
vyos-documentation-ed417b84d9c907e901b8526e5da3a62cb0e273df.zip
blueprint: add L3VPN EVPN
Diffstat (limited to 'docs/configexamples/autotest/L3VPN_EVPN/_include')
-rw-r--r--docs/configexamples/autotest/L3VPN_EVPN/_include/PE1.conf96
-rw-r--r--docs/configexamples/autotest/L3VPN_EVPN/_include/PE2.conf89
-rw-r--r--docs/configexamples/autotest/L3VPN_EVPN/_include/PE3.conf89
-rw-r--r--docs/configexamples/autotest/L3VPN_EVPN/_include/topology.pngbin0 -> 102832 bytes
4 files changed, 274 insertions, 0 deletions
diff --git a/docs/configexamples/autotest/L3VPN_EVPN/_include/PE1.conf b/docs/configexamples/autotest/L3VPN_EVPN/_include/PE1.conf
new file mode 100644
index 00000000..6d161f89
--- /dev/null
+++ b/docs/configexamples/autotest/L3VPN_EVPN/_include/PE1.conf
@@ -0,0 +1,96 @@
+set system host-name PE1
+set interfaces ethernet eth0 address 'dhcp'
+set interfaces ethernet eth0 description 'out-of-band management'
+set interfaces ethernet eth0 vrf 'mgmt'
+set service ssh vrf 'mgmt'
+set vrf name mgmt table '1000'
+
+set interfaces dummy dum0 address '172.29.255.1/32'
+
+set interfaces ethernet eth1 address '172.29.0.2/31'
+set interfaces ethernet eth1 description 'link to pe2'
+set interfaces ethernet eth1 mtu '1600'
+set interfaces ethernet eth3 address '172.29.0.6/31'
+set interfaces ethernet eth3 description 'link to pe3'
+set interfaces ethernet eth3 mtu '1600'
+
+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 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
+set protocols bgp address-family l2vpn-evpn advertise-all-vni
+set protocols bgp local-as '100'
+set protocols bgp neighbor 172.29.255.2 peer-group 'ibgp'
+set protocols bgp neighbor 172.29.255.3 peer-group 'ibgp'
+set protocols bgp parameters log-neighbor-changes
+set protocols bgp parameters router-id '172.29.255.1'
+set protocols bgp peer-group ibgp address-family l2vpn-evpn
+set protocols bgp peer-group ibgp remote-as '100'
+set protocols bgp peer-group ibgp update-source 'dum0'
+
+set interfaces vxlan vxlan2000 mtu '1500'
+set interfaces vxlan vxlan2000 parameters nolearning
+set interfaces vxlan vxlan2000 port '4789'
+set interfaces vxlan vxlan2000 source-address '172.29.255.1'
+set interfaces vxlan vxlan2000 vni '2000'
+
+set vrf name blue protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name blue protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name blue protocols bgp local-as '100'
+set vrf name blue table '2000'
+set vrf name blue vni '2000'
+
+set interfaces vxlan vxlan3000 mtu '1500'
+set interfaces vxlan vxlan3000 parameters nolearning
+set interfaces vxlan vxlan3000 port '4789'
+set interfaces vxlan vxlan3000 source-address '172.29.255.1'
+set interfaces vxlan vxlan3000 vni '3000'
+
+set vrf name red protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name red protocols bgp local-as '100'
+set vrf name red table '3000'
+set vrf name red vni '3000'
+
+set interfaces vxlan vxlan4000 mtu '1500'
+set interfaces vxlan vxlan4000 parameters nolearning
+set interfaces vxlan vxlan4000 port '4789'
+set interfaces vxlan vxlan4000 source-address '172.29.255.1'
+set interfaces vxlan vxlan4000 vni '4000'
+
+set vrf name green protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name green protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name green protocols bgp local-as '100'
+set vrf name green table '4000'
+set vrf name green vni '4000'
+
+set interfaces bridge br2000 address '10.1.1.1/24'
+set interfaces bridge br2000 description 'customer blue'
+set interfaces bridge br2000 member interface eth4
+set interfaces bridge br2000 member interface vxlan2000
+set interfaces bridge br2000 vrf 'blue'
+
+set interfaces bridge br3000 address '10.2.1.1/24'
+set interfaces bridge br3000 description 'customer red'
+set interfaces bridge br3000 member interface eth5
+set interfaces bridge br3000 member interface vxlan3000
+set interfaces bridge br3000 vrf 'red'
+
+set interfaces bridge br4000 address '10.3.1.1/24'
+set interfaces bridge br4000 description 'customer green'
+set interfaces bridge br4000 member interface eth6
+set interfaces bridge br4000 member interface vxlan4000
+set interfaces bridge br4000 vrf 'green'
+
+set interfaces ethernet eth4 description 'customer blue'
+set interfaces ethernet eth5 description 'customer red'
+set interfaces ethernet eth6 description 'customer green' \ No newline at end of file
diff --git a/docs/configexamples/autotest/L3VPN_EVPN/_include/PE2.conf b/docs/configexamples/autotest/L3VPN_EVPN/_include/PE2.conf
new file mode 100644
index 00000000..3f25f193
--- /dev/null
+++ b/docs/configexamples/autotest/L3VPN_EVPN/_include/PE2.conf
@@ -0,0 +1,89 @@
+set system host-name PE2
+set interfaces ethernet eth0 address 'dhcp'
+set interfaces ethernet eth0 description 'out-of-band management'
+set interfaces ethernet eth0 vrf 'mgmt'
+set service ssh vrf 'mgmt'
+set vrf name mgmt table '1000'
+
+set interfaces dummy dum0 address '172.29.255.2/32'
+
+set interfaces ethernet eth1 address '172.29.0.3/31'
+set interfaces ethernet eth1 description 'link to pe1'
+set interfaces ethernet eth1 mtu '1600'
+set interfaces ethernet eth2 address '172.29.0.4/31'
+set interfaces ethernet eth2 description 'link to pe3'
+set interfaces ethernet eth2 mtu '1600'
+
+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 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
+set protocols bgp address-family l2vpn-evpn advertise-all-vni
+set protocols bgp local-as '100'
+set protocols bgp neighbor 172.29.255.1 peer-group 'ibgp'
+set protocols bgp neighbor 172.29.255.3 peer-group 'ibgp'
+set protocols bgp parameters log-neighbor-changes
+set protocols bgp parameters router-id '172.29.255.2'
+set protocols bgp peer-group ibgp address-family l2vpn-evpn
+set protocols bgp peer-group ibgp remote-as '100'
+set protocols bgp peer-group ibgp update-source 'dum0'
+
+set interfaces vxlan vxlan2000 mtu '1500'
+set interfaces vxlan vxlan2000 parameters nolearning
+set interfaces vxlan vxlan2000 port '4789'
+set interfaces vxlan vxlan2000 source-address '172.29.255.2'
+set interfaces vxlan vxlan2000 vni '2000'
+
+set vrf name blue protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name blue protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name blue protocols bgp local-as '100'
+set vrf name blue table '2000'
+set vrf name blue vni '2000'
+
+set interfaces vxlan vxlan3000 mtu '1500'
+set interfaces vxlan vxlan3000 parameters nolearning
+set interfaces vxlan vxlan3000 port '4789'
+set interfaces vxlan vxlan3000 source-address '172.29.255.2'
+set interfaces vxlan vxlan3000 vni '3000'
+
+set vrf name red protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name red protocols bgp local-as '100'
+set vrf name red table '3000'
+set vrf name red vni '3000'
+
+set interfaces vxlan vxlan4000 mtu '1500'
+set interfaces vxlan vxlan4000 parameters nolearning
+set interfaces vxlan vxlan4000 port '4789'
+set interfaces vxlan vxlan4000 source-address '172.29.255.2'
+set interfaces vxlan vxlan4000 vni '4000'
+
+set vrf name green protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name green protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name green protocols bgp local-as '100'
+set vrf name green table '4000'
+set vrf name green vni '4000'
+
+set interfaces bridge br2000 address '10.1.2.1/24'
+set interfaces bridge br2000 description 'customer blue'
+set interfaces bridge br2000 member interface eth4
+set interfaces bridge br2000 member interface vxlan2000
+set interfaces bridge br2000 vrf 'blue'
+
+set interfaces bridge br3000 address '10.2.2.1/24'
+set interfaces bridge br3000 description 'customer red'
+set interfaces bridge br3000 member interface eth5
+set interfaces bridge br3000 member interface vxlan3000
+set interfaces bridge br3000 vrf 'red'
+
+set interfaces ethernet eth4 description 'customer blue'
+set interfaces ethernet eth5 description 'customer red' \ No newline at end of file
diff --git a/docs/configexamples/autotest/L3VPN_EVPN/_include/PE3.conf b/docs/configexamples/autotest/L3VPN_EVPN/_include/PE3.conf
new file mode 100644
index 00000000..a1bdd97e
--- /dev/null
+++ b/docs/configexamples/autotest/L3VPN_EVPN/_include/PE3.conf
@@ -0,0 +1,89 @@
+set system host-name PE3
+set interfaces ethernet eth0 address 'dhcp'
+set interfaces ethernet eth0 description 'out-of-band management'
+set interfaces ethernet eth0 vrf 'mgmt'
+set service ssh vrf 'mgmt'
+set vrf name mgmt table '1000'
+
+set interfaces dummy dum0 address '172.29.255.3/32'
+
+set interfaces ethernet eth2 address '172.29.0.5/31'
+set interfaces ethernet eth2 description 'link to pe2'
+set interfaces ethernet eth2 mtu '1600'
+set interfaces ethernet eth3 address '172.29.0.7/31'
+set interfaces ethernet eth3 description 'link to pe1'
+set interfaces ethernet eth3 mtu '1600'
+
+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 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
+set protocols bgp address-family l2vpn-evpn advertise-all-vni
+set protocols bgp local-as '100'
+set protocols bgp neighbor 172.29.255.1 peer-group 'ibgp'
+set protocols bgp neighbor 172.29.255.2 peer-group 'ibgp'
+set protocols bgp parameters log-neighbor-changes
+set protocols bgp parameters router-id '172.29.255.3'
+set protocols bgp peer-group ibgp address-family l2vpn-evpn
+set protocols bgp peer-group ibgp remote-as '100'
+set protocols bgp peer-group ibgp update-source 'dum0'
+
+set interfaces vxlan vxlan2000 mtu '1500'
+set interfaces vxlan vxlan2000 parameters nolearning
+set interfaces vxlan vxlan2000 port '4789'
+set interfaces vxlan vxlan2000 source-address '172.29.255.3'
+set interfaces vxlan vxlan2000 vni '2000'
+
+set vrf name blue protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name blue protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name blue protocols bgp local-as '100'
+set vrf name blue table '2000'
+set vrf name blue vni '2000'
+
+set interfaces vxlan vxlan3000 mtu '1500'
+set interfaces vxlan vxlan3000 parameters nolearning
+set interfaces vxlan vxlan3000 port '4789'
+set interfaces vxlan vxlan3000 source-address '172.29.255.3'
+set interfaces vxlan vxlan3000 vni '3000'
+
+set vrf name red protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name red protocols bgp local-as '100'
+set vrf name red table '3000'
+set vrf name red vni '3000'
+
+set interfaces vxlan vxlan4000 mtu '1500'
+set interfaces vxlan vxlan4000 parameters nolearning
+set interfaces vxlan vxlan4000 port '4789'
+set interfaces vxlan vxlan4000 source-address '172.29.255.3'
+set interfaces vxlan vxlan4000 vni '4000'
+
+set vrf name green protocols bgp address-family ipv4-unicast redistribute connected
+set vrf name green protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
+set vrf name green protocols bgp local-as '100'
+set vrf name green table '4000'
+set vrf name green vni '4000'
+
+set interfaces bridge br2000 address '10.1.3.1/24'
+set interfaces bridge br2000 description 'customer blue'
+set interfaces bridge br2000 member interface eth4
+set interfaces bridge br2000 member interface vxlan2000
+set interfaces bridge br2000 vrf 'blue'
+
+set interfaces bridge br4000 address '10.3.3.1/24'
+set interfaces bridge br4000 description 'customer green'
+set interfaces bridge br4000 member interface eth6
+set interfaces bridge br4000 member interface vxlan4000
+set interfaces bridge br4000 vrf 'green'
+
+set interfaces ethernet eth4 description 'customer blue'
+set interfaces ethernet eth6 description 'customer green' \ No newline at end of file
diff --git a/docs/configexamples/autotest/L3VPN_EVPN/_include/topology.png b/docs/configexamples/autotest/L3VPN_EVPN/_include/topology.png
new file mode 100644
index 00000000..18ecaabb
--- /dev/null
+++ b/docs/configexamples/autotest/L3VPN_EVPN/_include/topology.png
Binary files differ