description tacacs server

addrouter r1
int eth1 eth 0000.0000.1111 $1a$ $1b$
!
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 tacacs tac
 secret tester
 server 1.1.1.2
 exit
server telnet tel
 login authentication tac
 vrf v1
 port 666
 exit
!

addrouter r2
int eth1 eth 0000.0000.2222 $1b$ $1a$
!
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 tacacs tac
 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
