Problem with Cisco 4000 with CatOS 7.6

Peter Yardley petery at eng.uts.edu.au
Wed Sep 8 06:34:30 UTC 2004


Hi,

I have a Cisco 4000 which I recently upgraded to CatOS 7.6. after the 
upgrade rancid stopped
working.  The problem seems to be that it misses the "write term" command.

bash-2.05a$ cat5rancid -d cisco-4003
executing clogin -t 90 -c"show version;show boot;show flash;dir 
bootflash:;dir slot0:;dir slot1:;dir sup-bootflash:;dir 
sup-microcode:;show module;show port ifindex;write term all;write term" 
cisco-4003-1-1709-1
PROMPT MATCH: cisco-4003-1-1709-1>
HIT COMMAND:cisco-4003-1-1709-1> (enable) show version
    In ShowVersion: cisco-4003-1-1709-1> (enable) show version
...
HIT COMMAND:cisco-4003-1-1709-1> (enable) write term all
    In WriteTerm: cisco-4003-1-1709-1> (enable) write term all
cisco-4003-1-1709-1: missed cmd(s): write term
cisco-4003-1-1709-1: missed cmd(s): write term

**** If I use clogin to issue the write term command it is often not 
echoed on the console.

bash-2.05a$ clogin -c"write term" cisco-4003
cisco-4003
spawn telnet cisco-4003
Trying X.X.X.X...
Connected to cisco-4003
Escape character is '^]'.

Cisco Systems, Inc. Console

Unauthorised access is prohibited and will be prosecuted

User Access Verification

Username: rancid
Password:
cisco-4003> (enable)
cisco-4003> (enable) set length 0
Screen length for this session set to 0.
cisco-4003> (enable)  set logging session disable
System logging messages will not be sent to the current login session.
cisco-4003> (enable)
cisco-4003> (enable)..............

..........................
..........................
..

begin

**** If I use clogin interactively ....

bash-2.05a$ clogin  cisco-4003
cisco-4003
spawn telnet cisco-4003
Trying X.X.X.X...
Connected to cisco-4003.
Escape character is '^]'.

Cisco Systems, Inc. Console

Unauthorised access is prohibited and will be prosecuted

User Access Verification

Username: rancid
Password:
cisco-4003> (enable)
cisco-4003> (enable) write term
This command shows non-default configurations only.
Use 'write terminal all' to show both default and non-default 
configurations.
...............

..........................
..........................
..

begin

**** It looks clogin is not recognising the output from write term 
correctly, could this be so?

Thanks,
Peter.

-- 
 _--_|\   Peter Yardley                    | petery at eng.uts.edu.au
/      \  Network & UNIX Systems Manager   | Peter.Yardley at uts.edu.au
\_.--._*  Faculty of Engineering,          | Ph:  +61 2 9514-2358
      v   University of Technology, Sydney.| Fax: +61 2 9514-2435




More information about the Rancid-discuss mailing list