Example: radius server¶
r1
hostname r1
vrf def v1
rd 1:1
exit
proxy-profile p1
vrf v1
exit
client proxy p1
int lo0
vrf for v1
ipv4 addr 2.2.2.2 255.255.255.255
exit
int eth1
vrf for v1
ipv4 addr 1.1.1.1 255.255.255.0
ipv6 addr 1234::1 ffff::
exit
aaa radius rad
secret tester
server 1.1.1.2
exit
server telnet tel
login authentication rad
vrf v1
port 666
exit
r2
hostname r2
vrf def v1
rd 1:1
exit
int eth1
vrf for v1
ipv4 addr 1.1.1.2 255.255.255.0
ipv6 addr 1234::2 ffff::
exit
aaa userlist usr
username c password c
username c privilege 14
exit
server radius rad
authen usr
secret tester
logg
vrf v1
exit
r2 tping 100 15 1.1.1.1 vrf v1
r2 send telnet 1.1.1.1 666 vrf v1
r2 send c
r2 send c
r2 tping 100 15 2.2.2.2 vrf v1
- Install ContainerLab as described here
- Fetch serv-radius file
- Launch ContainerLab
serv-radius.yml
topology:
containerlab deploy --topo serv-radius.yml
serv-radius.yml
topology:
containerlab destroy --topo serv-radius.yml