help with .cloginrc

Hopper, Faron W. faron.hopper at capgemini.com
Wed Sep 7 23:05:26 UTC 2005


Hello all,
    After Blake's response to my questions, I have set up a RANCID server, v2.3.1_1 and am having some problems.  It is running on FreeBSD 5.4.  Here is the output from a clogin and a rancid command.  The clogin command logs in, but doesn't execute the command.  The rancid -d command wasn't very revealing.  Can anyone offer any advice?  Thanks in advance.

fwh at ckcus0002-cfgbak01$ clogin -c 'show version' kcscrt1
kcscrt1
spawn telnet kcscrt1
Trying 65.212.24.130...
Connected to kcscrt1.cgeykcsc.com.
Escape character is '^]'.




             SSSSS     TTTTTTTTT       OOOOO       PPPPPPP     !!
            SSS  SS    TTTTTTTTT      OOOOOOO      PPP   PP    !!
             SSS          TTT        OOO   OOO     PPP   PP    !!
              SSS         TTT        OO     OO     PPPPPPP     !!
               SSS        TTT        OOO   OOO     PPP         !!
            SS  SSS       TTT         OOOOOOO      PPP
             SSSSS        TTT          OOOOO       PPP         !!



                    THIS DEVICE IS PRIVATELY OWNED.


             ANY UNAUTHORIZED ACCESS IS STRICTLY PROHIBITED.


   VIOLATORS CAN AND WILL BE PROSECUTED TO THE FULLEST EXTENT OF THE LAW.




Username: Kerberos:     No default realm defined for Kerberos!
fwh
Password:

KCSCrt1#
Error: TIMEOUT reached
fwh at ckcus0002-cfgbak01$ rancid -d kcscrt1
executing clogin -t 90 -c"show version;show redundancy secondary;show idprom backplane;show install active;show env all;show rsp chassis-info;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all harddiskb:;dir /all sup-bootflash:;dir /all sup-microcode:;dir /all slavenvram:;dir /all slavebootflash:;dir /all slaveslot0:;dir /all slavedisk0:;dir /all slaveslot1:;dir /all slavedisk1:;dir /all slaveslot2:;dir /all slavedisk2:;dir /all slavesup-bootflash:;dir /all sec-nvram:;dir /all sec-bootflash:;dir /all sec-slot0:;dir /all sec-disk0:;dir /all sec-slot1:;dir /all sec-disk1:;dir /all sec-slot2:;dir /all sec-disk2:;show controllers;show controllers cbus;show diagbus;show diag;show module;show spe version;show c7200;show vtp status;show vlan;show running-config;write term" kcscrt1
kcscrt1 clogin error: Error: TIMEOUT reached
kcscrt1 clogin error: Error: TIMEOUT reached
kcscrt1: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,dir /all slavedisk1:,show env all,show module,show controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show redundancy secondary,show running-config,show c7200,dir /all slot1:
kcscrt1: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,dir /all slavedisk1:,show env all,show module,show controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show redundancy secondary,show running-config,show c7200,dir /all slot1:
kcscrt1: End of run not found
kcscrt1: End of run not found
!
fwh at ckcus0002-cfgbak01$ ls
dead.letter     kcscrt1.new
fwh at ckcus0002-cfgbak01$ cat kcscrt1.new
!RANCID-CONTENT-TYPE: cisco
!
!
!
!
!

below is my .cloginrc file in the fwh user account
===================================

add method        *            {telnet} {ssh}
add autoenable    *            {0}
add enauser       *            {fwh}
add user          *            {fwh}
add password      *            {password} {password}
add cyphertype    pix*         {des}

add user          network      uunet verio
add password      *ds3         {password}








thanks
Faron Hopper
Capgemini
Network Engineer
3315 N. Oak Trfy
Kansas City, MO 64116
816.459.5139



More information about the Rancid-discuss mailing list