[rancid] Re: How do i downgrade from 2.3.2a9 to 2.3.2a8
Mina Eskander
meskander at perimeterwatch.com
Thu Feb 26 17:32:13 UTC 2009
[rancid at pwsecLX ~]$ source etc/rancid.conf
[rancid at pwsecLX ~]$ echo $TERM
network
-----Original Message-----
From: Lance Vermilion [mailto:rancid at gheek.net]
Sent: Thursday, February 26, 2009 12:30 PM
To: Mina Eskander
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Re: How do i downgrade from 2.3.2a9 to 2.3.2a8
I would guess it is something with how the passed ARGs is being
understood. "source <rancid home>/etc/rancid.conf" and do a "echo
$TERM" and see what that returns. it should return "network" if you
actually loaded the "rancid.conf" file.
On Thu, Feb 26, 2009 at 10:18 AM, Mina Eskander
<meskander at perimeterwatch.com> wrote:
> If I run clogin -c "show time" <switch> it will do the set length 0 and it looks like its waiting for something.
> While its waiting I try to type show run, and it just freezes on me and times out.
>
> If I just do clogin <switch> than I can enter whatever I want and there are no timeouts
>
> -----Original Message-----
> From: Lance Vermilion [mailto:rancid at gheek.net]
> Sent: Thursday, February 26, 2009 12:14 PM
> To: Mina Eskander
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: [rancid] Re: How do i downgrade from 2.3.2a9 to 2.3.2a8
>
> Mina,
>
> I am assuming with user interaction it works just fine versus running
> the command as a passed in argument.
>
> John,
>
> Any idea why it would recognize the prompt enough to send set term
> length 0 but not recognize it afterwards?
>
> On Thu, Feb 26, 2009 at 10:03 AM, Mina Eskander
> <meskander at perimeterwatch.com> wrote:
>> [rancid at pwsecLX bin]$ clogin -c "show time" <switchname>
>> <switchname>
>> spawn telnet <switchname>
>> Trying <ipadd>...
>> Connected to <switchname>.
>> Escape character is '^]'.
>>
>>
>> Cisco Systems Console
>>
>>
>> WARNING!!!
>> This system is solely for the use of authorized users for official purposes.
>> You have no expectation of privacy in its use and to ensure that the system
>> is functioning properly, individuals using this computer system are subject
>> to having all of their activities monitored and recorded by system
>> personnel. Use of this system evidences an express consent to such
>> monitoring and agreement that if such monitoring reveals evidence of
>> possible abuse or criminal activity, system personnel may provide the results
>> of such monitoring to appropriate officials.
>>
>>
>>
>> Username: <username>
>>
>> Password:
>> switch> enable
>>
>> Enter password:
>> switch> (enable)
>> switch> (enable) set length 0
>> Screen length for this session set to 0.
>> switch> (enable)
>> Error: TIMEOUT reached
>> [rancid at pwsecLX bin]$
>>
>> Mina Eskander
>> Perimeterwatch Technologies
>> Direct: +1 (347) 448-2845
>> Mobile: +1 (347) 510-4102
>> meskander at perimeterwatch.com
>>
>> Network Security | Disaster Recovery | Business Continuity | IT Projects | Application Development
>> _____________________________________________________________________
>> New York: (347) 448-2845 - 34-12 36th Street - 2nd Floor - Astoria, NY 11106
>>
>>
>> -----Original Message-----
>> From: Lance Vermilion [mailto:rancid at gheek.net]
>> Sent: Thursday, February 26, 2009 11:55 AM
>> To: Mina Eskander
>> Cc: rancid-discuss at shrubbery.net
>> Subject: Re: [rancid] Re: How do i downgrade from 2.3.2a9 to 2.3.2a8
>>
>> You might want to source the conf file in "<rancid
>> home>/etc/rancid.conf" to make sure you have all the same environment
>> variables when you use clogin by default.
>>
>> It is timing out for a reason and I am not 100% sure why. I would
>> think because it can't recognize the prompt correctly, or maybe you
>> have some characters like "#" in your login/banner motd that it is
>> seeing.
>>
>> paste back to the list
>>
>> clogin -c "show time" <host>
>>
>> On Thu, Feb 26, 2009 at 9:38 AM, Mina Eskander
>> <meskander at perimeterwatch.com> wrote:
>>> I have autoenable set to 0, so rancid has to manually enter the enable password, when I do a clogin <switchname> it logs in and gets into enable mode just fine.
>>> But when I run rancid -d <switchname> I get the following output
>>>
>>> [rancid at pwsecLX bin]$ rancid -d <switchname>
>>> executing clogin -t 90 -c"admin show version;show version;show redundancy secondary;show idprom backplane;show install active;admin show env all;show env all;show rsp chassis-info;show gsr chassis;show diag chassis-info;show boot;show bootvar;admin show variables boot;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;admin show diag;show diag;show module;show spe version;show c7200;show inventory raw;show vtp status;show vlan;show vlan-switch;show debug;more system:running-config;show running-config;write term" <switchname>
>>> <switchname> clogin error: Error: TIMEOUT reached
>>> <switchname> clogin error: Error: TIMEOUT reached
>>> <switchname>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,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,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,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 vlan-switch,admin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:
>>> <switchname>: missed cmd(s): admin show diag,dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,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,show inventory raw,dir /all slavedisk1:,show env all,show module,admin show env all,show controllers,admin show version,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,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 vlan-switch,admin show variables boot,show redundancy secondary,show running-config,show c7200,dir /all slot1:
>>> <switchname>: End of run not found
>>> <switchname>: End of run not found
>>> !
>>> [rancid at pwsecLX bin]$
>>>
>>>
>>> -----Original Message-----
>>> From: Lance Vermilion [mailto:rancid at gheek.net]
>>> Sent: Thursday, February 26, 2009 11:30 AM
>>> To: Mina Eskander; rancid-discuss at shrubbery.net
>>> Subject: Re: [rancid] Re: How do i downgrade from 2.3.2a9 to 2.3.2a8
>>>
>>> When you login do you start off at the (enable) prompt? If so do you
>>> have autoenable 1 in your .cloginrc for that host?
>>>
>>> On Thu, Feb 26, 2009 at 9:21 AM, Mina Eskander
>>> <meskander at perimeterwatch.com> wrote:
>>>> The 6509 is running in hybrid mode, the switching modules are running catos 6.4(11) and the routing modules are polling just fine.
>>>>
>>>> switch> (enable) sh ver
>>>> WS-C6509 Software, Version NmpSW: 6.4(11)
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Lance Vermilion
>>>> Sent: Thursday, February 26, 2009 10:55 AM
>>>> To: rancid-discuss at shrubbery.net
>>>> Subject: [rancid] Re: How do i downgrade from 2.3.2a9 to 2.3.2a8
>>>>
>>>> 6509's typically run IOS now not CATOS. Paste back to us the version
>>>> of your software that you are running on the 6509s.
>>>>
>>>> On Wed, Feb 25, 2009 at 12:09 PM, Mina Eskander
>>>> <meskander at perimeterwatch.com> wrote:
>>>>> I am having problems contacting my catos switches, I have 2 6509's
>>>>>
>>>>> I have the type in my router.db as cat5, and clogin works fine, but when I
>>>>> run rancid or cat5rancid it just hangs after getting into enable mode.
>>>>>
>>>>> I have autoenable set to 0 so it has to enter the enable password.
>>>>>
>>>>>
>>>>>
>>>>> I read in another post that somebody downgraded to 2.3.2a8 and it works, but
>>>>> I need some help downgrading.
>>>>>
>>>>> I am running
>>>>>
>>>>> Linux version 2.6.23.12-52.fc7 (mockbuild at xenbuilder4.fedora.phx.redhat.com)
>>>>> (gcc version 4.1.2 20070925 (Red Hat 4.1.2-27))
>>>>>
>>>>>
>>>>>
>>>>> Please help
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Rancid-discuss mailing list
>>>>> Rancid-discuss at shrubbery.net
>>>>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>>>>
>>>> _______________________________________________
>>>> Rancid-discuss mailing list
>>>> Rancid-discuss at shrubbery.net
>>>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>>>
>>>
>>
>
More information about the Rancid-discuss
mailing list