description ldap 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 ldap lda
 server 1.1.1.2
 exit
server telnet tel
 login authentication lda
 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 ldap lda
 authen usr
 logg
 vrf v1
 exit
!


r2 tping 100 30 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 30 2.2.2.2 vrf v1
