... | ... | @@ -11,11 +11,6 @@ Go to the directory of gosdn and use following command: |
|
|
make containerlab-slim-start
|
|
|
```
|
|
|
|
|
|
## Download the folder below and place it into the artifacts folder of your gosdn folder [Lab01.zip](uploads/7cd972bedd7c3d29f83707907f8c42ae/Lab01.zip) or get it with wget if you are using Linux:
|
|
|
```bash
|
|
|
wget https://code.fbi.h-da.de/danet/gosdn/-/wikis/uploads/7cd972bedd7c3d29f83707907f8c42ae/Lab01.zip
|
|
|
```
|
|
|
|
|
|
## Open a new terminal and start the CLI to talk to the controller (Do not close the previous terminal)
|
|
|
|
|
|
Build command prompt
|
... | ... | @@ -72,6 +67,35 @@ In here, the UUID is also visible which we need for the next step: or get it with wget if you are using Linux:
|
|
|
```bash
|
|
|
wget https://code.fbi.h-da.de/danet/gosdn/-/wikis/uploads/7cd972bedd7c3d29f83707907f8c42ae/Lab01.zip
|
|
|
```
|
|
|
Afterwards, unzip Lab01.zip:
|
|
|
´´´bash
|
|
|
unzip Lab01.zip
|
|
|
´´´
|
|
|
### Optional: Use the script in the now unzipped directory Lab01
|
|
|
The directory Lab01 contains different files for the switch interfaces and routing configurations. For each of this, the path to the file has to be modified manually. To simplify the process and avoid typos, the script delivered with Lab01.zip can be used. To set it up, it has to be built:
|
|
|
´´´bash
|
|
|
go build -o buildclicommands main.go
|
|
|
´´´
|
|
|
Then, it can simply be used by setting the UUID`s of the switches as parameters by startup:
|
|
|
´´´bash
|
|
|
./buildclicommands -switch0 "<UUID of Switch0>" -switch1 "<UUID of Switch1>"
|
|
|
´´´
|
|
|
Now, you will find `commands-output.txt' which contains the ready-to-copy-paste commands!
|
|
|
|
|
|
Please note: The path to the files is specified automatically by the location of the directory Lab01. The location of the directory Lab01 can be moved, but the script and configuration files have to stay inside the directory for the script to work!
|
|
|
|
|
|
Next, the scheme tree for the switches need to be loaded, otherwise an error message appears it could not be found. For this, following commands need to be typed:
|
|
|
´´´
|
|
|
mne get path <UUID of Switch0>
|
|
|
´´´
|
|
|
´´´
|
|
|
mne get path <UUID of Switch1>
|
|
|
´´´
|
|
|
|
|
|
### Switch 0
|
|
|
|
|
|
#### Modify interfaces eth1 and eth2
|
... | ... | |