General Update
- Add devcontainer - Update Readme - Update cEOS images
This commit is contained in:
3
.devcontainer/devcontainer.json
Normal file
3
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"image": "ghcr.io/srl-labs/containerlab/clab-devcontainer:0.55.0"
|
||||||
|
}
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -8,4 +8,4 @@ clab-vxlan-evpn-l2
|
|||||||
.lab_vxlan.yml.bak
|
.lab_vxlan.yml.bak
|
||||||
|
|
||||||
# Network images
|
# Network images
|
||||||
network_images/cEOS64-lab-4.31.1F.tar.xz
|
network_images/*.tar.xz
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ This project provides a hands-on lab environment for understanding and experimen
|
|||||||
The project directory is structured as follows:
|
The project directory is structured as follows:
|
||||||
|
|
||||||
- `hosts`: Directory containing host configuration files for the lab.
|
- `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.
|
- `lab_vxlan.yml`: YAML file describing the VXLAN lab topology.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
@@ -35,6 +35,7 @@ The project directory is structured as follows:
|
|||||||
|
|
||||||
3. **Start the Lab:**
|
3. **Start the Lab:**
|
||||||
- Navigate to the project directory.
|
- 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.
|
- Run `sudo containerlab deploy -t lab_vxlan.yml` to deploy the lab topology.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@@ -77,3 +77,31 @@ To check peer status :
|
|||||||
```cli
|
```cli
|
||||||
leaf1# show bgp summary
|
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
|
||||||
|
```
|
||||||
|
|||||||
@@ -3,15 +3,15 @@ topology:
|
|||||||
nodes:
|
nodes:
|
||||||
spine1:
|
spine1:
|
||||||
kind: ceos
|
kind: ceos
|
||||||
image: ceos:4.31.1F
|
image: ceos:4.32.0.1F
|
||||||
mgmt-ipv4: 172.20.20.101
|
mgmt-ipv4: 172.20.20.101
|
||||||
leaf1:
|
leaf1:
|
||||||
kind: ceos
|
kind: ceos
|
||||||
image: ceos:4.31.1F
|
image: ceos:4.32.0.1F
|
||||||
mgmt-ipv4: 172.20.20.11
|
mgmt-ipv4: 172.20.20.11
|
||||||
leaf2:
|
leaf2:
|
||||||
kind: ceos
|
kind: ceos
|
||||||
image: ceos:4.31.1F
|
image: ceos:4.32.0.1F
|
||||||
mgmt-ipv4: 172.20.20.12
|
mgmt-ipv4: 172.20.20.12
|
||||||
host1:
|
host1:
|
||||||
kind: linux
|
kind: linux
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Network images
|
# Network images
|
||||||
|
|
||||||
Arista cEOS image can be downlaoded at : arista.com
|
Arista cEOS image can be downlaoded at : arista.com
|
||||||
`cEOS64-lab-4.31.1F.tar.xz`
|
`cEOS64-lab-4.32.0.1F.tar.xz`
|
||||||
|
|||||||
Reference in New Issue
Block a user