nandhakumar a
2018-05-28 04:47:09 UTC
Hi,
I have tried to login into the device using clogin, But the user
credentials is not working from the .clogin rc. Please take a look on the
below example.
For Ex:
add user 1x.1x.1x.1x user1
add password 1x.1x.1x.1x {userpwd} {$userpwd$}
add method 1x.1x.1x.1x telnet ssh
When we try to execute
I can see that username which is in ,cloginrc and while executing the
username is diff, it looks like that the username it takes the server
credentials.
I have tried to login into the device using clogin, But the user
credentials is not working from the .clogin rc. Please take a look on the
below example.
For Ex:
add user 1x.1x.1x.1x user1
add password 1x.1x.1x.1x {userpwd} {$userpwd$}
add method 1x.1x.1x.1x telnet ssh
When we try to execute
/usr/local/rancid/bin/clogin x.x.x.x
x.x.x.x
spawn telnet x.x.x.x
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.
CC*******************************************
HostName : Compiled_hostname
Hardware : ABCDE
IOS version : Version 12.2(55)EX3
SettingDate : 2014/11/11
Region : Global
Country : XXXXXX
Owner : abc
*******************************************
User Access Verification
Username: rancid
Login Invalidx.x.x.x
spawn telnet x.x.x.x
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.
CC*******************************************
HostName : Compiled_hostname
Hardware : ABCDE
IOS version : Version 12.2(55)EX3
SettingDate : 2014/11/11
Region : Global
Country : XXXXXX
Owner : abc
*******************************************
User Access Verification
Username: rancid
I can see that username which is in ,cloginrc and while executing the
username is diff, it looks like that the username it takes the server
credentials.