Skip to content

Example: vdc parent connect

Alt text


hostname r1
vdc def a
 loc eth1
vrf def v1
 rd 1:1
int lo0
 vrf for v1
 ipv4 addr
int eth1
 vrf for v1
 ipv4 addr
 ipv6 addr 1234::2 ffff::
port 61000 62000
r1 tping 100 5 vrf v1
r1 send att vdc a
r1 send conf t
r1 send vrf def v1
r1 send  rd 1:1
r1 send  exit
r1 send int eth1
r1 send  vrf for v1
r1 send  ipv4 addr
r1 send  ipv6 addr 1234::1 ffff::
r1 send  exit
r1 send end
r1 tping 100 5 vrf v1
r1 tping 100 5 1234::2 vrf v1
  1. Install ContainerLab as described here
  2. Fetch conn-vdc02 file
  3. Launch ContainerLab conn-vdc02.yml topology:

   containerlab deploy --topo conn-vdc02.yml  
4. Destroy ContainerLab conn-vdc02.yml topology:

   containerlab destroy --topo conn-vdc02.yml  
5. Copy-paste configuration for each node in the lab topology

  1. Fetch or compile freeRtr rtr.jar file.
    You can grab it here
  2. Fetch conn-vdc02.tst file here
  3. Launch conn-vdc02.tst test:

   java -jar ../../rtr.jar test tester conn-vdc02 path ./ temp ./ wait
4. Destroy freeRtr conn-vdc02.tst test:

   Ctrl-C (In freeRtr test window)