From 8e163645446a698ebb688ef36be9b0cc6da1d417 Mon Sep 17 00:00:00 2001 From: Damien A Date: Sat, 15 Jun 2024 11:24:11 +0200 Subject: [PATCH] General Update - Add devcontainer - Update Readme - Update cEOS images --- .devcontainer/devcontainer.json | 3 +++ .gitignore | 2 +- README.md | 3 ++- documentation/eos configuration/leaf1.md | 30 +++++++++++++++++++++++- lab_vxlan.yml | 6 ++--- network_images/network-images.md | 2 +- 6 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..e24ff57 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,3 @@ +{ + "image": "ghcr.io/srl-labs/containerlab/clab-devcontainer:0.55.0" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index bbc3eb0..51f2d7f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ clab-vxlan-evpn-l2 .lab_vxlan.yml.bak # Network images -network_images/cEOS64-lab-4.31.1F.tar.xz +network_images/*.tar.xz diff --git a/README.md b/README.md index c229098..5f38d53 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This project provides a hands-on lab environment for understanding and experimen The project directory is structured as follows: - `hosts`: Directory containing host configuration files for the lab. -- `network_images/ceos-lab-4.31.1F.tar.xz`: Container image used for the lab nodes. +- `network_images/ceos-lab-4.32.0.1F.tar.xz`: Container image used for the lab nodes. - `lab_vxlan.yml`: YAML file describing the VXLAN lab topology. ## Prerequisites @@ -35,6 +35,7 @@ The project directory is structured as follows: 3. **Start the Lab:** - Navigate to the project directory. + - Add Arista image to Docker `docker import network_images/cEOS64-lab-4.32.0.1F.tar.xz ceos:4.32.0.1F` - Run `sudo containerlab deploy -t lab_vxlan.yml` to deploy the lab topology. ## Usage diff --git a/documentation/eos configuration/leaf1.md b/documentation/eos configuration/leaf1.md index 35794b6..5cec51e 100644 --- a/documentation/eos configuration/leaf1.md +++ b/documentation/eos configuration/leaf1.md @@ -17,7 +17,7 @@ conf service routing protocols model multi-agent ``` -Enabling IP Routing +Enabling IP Routing ```config conf @@ -77,3 +77,31 @@ To check peer status : ```cli leaf1# show bgp summary ``` + +## BGP EVPN Overlay + +```config +interface Loopback0 +description VTEP +ip address 10.10.110.1/32 +! +ip prefix-list VTEP_PREFIX seq 10 permit 10.10.110.1/32 +! +route-map RMAP_VTEP permit 10 +match ip address prefix-list VTEP_PREFIX +! +router bgp 65101 +neighbor 10.10.110.2 peer group VTEP_GROUP +neighbor 10.10.110.2 remote-as 65102 +neighbor 10.10.110.2 update-source Loopback0 +neighbor VTEP_GROUP peer group +neighbor VTEP_GROUP ebgp-multihop 5 +neighbor VTEP_GROUP send-community extended +! +address-family evpn +neighbor 10.10.110.2 activate +! +address-family ipv4 +no neighbor 10.10.110.2 activate +redistribute connected route-map RMAP_VTEP +``` diff --git a/lab_vxlan.yml b/lab_vxlan.yml index 8bc3531..29df629 100644 --- a/lab_vxlan.yml +++ b/lab_vxlan.yml @@ -3,15 +3,15 @@ topology: nodes: spine1: kind: ceos - image: ceos:4.31.1F + image: ceos:4.32.0.1F mgmt-ipv4: 172.20.20.101 leaf1: kind: ceos - image: ceos:4.31.1F + image: ceos:4.32.0.1F mgmt-ipv4: 172.20.20.11 leaf2: kind: ceos - image: ceos:4.31.1F + image: ceos:4.32.0.1F mgmt-ipv4: 172.20.20.12 host1: kind: linux diff --git a/network_images/network-images.md b/network_images/network-images.md index ebb852e..b5ce608 100644 --- a/network_images/network-images.md +++ b/network_images/network-images.md @@ -1,4 +1,4 @@ # Network images Arista cEOS image can be downlaoded at : arista.com -`cEOS64-lab-4.31.1F.tar.xz` +`cEOS64-lab-4.32.0.1F.tar.xz`