Discussion:
[rancid] rancid-run and Catalyst switches running IOS 11.2
Chris Knight
2010-08-23 05:10:29 UTC
Permalink
Howdy,

I was setting up Rancid to auto-backup the configs on some network
gear, and found that rancid-run completely failed to pull the configs
from two switches. After some poking, verifying that clogin worked,
etc, I determined that the only difference between these switches and
the rest of the gear is that they are running IOS 11.2 while the rest
of the hardware is 12.x.

Is there a device type, or other configuration switch, that I can
use to pull the configs off of IOS 11.x devices?

Thanks,

-Chris
Chandler, Mel
2010-08-23 19:48:01 UTC
Permalink
I'm having a similar issue, was about to troubleshoot it myself. I was
resigning myself that I'd have to upgrade that switch to 12.x code.


-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Knight
Sent: Sunday, August 22, 2010 10:10 PM
To: rancid-discuss
Subject: [rancid] rancid-run and Catalyst switches running IOS 11.2

Howdy,

I was setting up Rancid to auto-backup the configs on some network
gear, and found that rancid-run completely failed to pull the configs
from two switches. After some poking, verifying that clogin worked,
etc, I determined that the only difference between these switches and
the rest of the gear is that they are running IOS 11.2 while the rest
of the hardware is 12.x.

Is there a device type, or other configuration switch, that I can
use to pull the configs off of IOS 11.x devices?

Thanks,

-Chris
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
******************************************************************************************
This message may contain confidential or proprietary information intended only for the use of the
addressee(s) named above or may contain information that is legally privileged. If you are
not the intended addressee, or the person responsible for delivering it to the intended addressee,
you are hereby notified that reading, disseminating, distributing or copying this message is strictly
prohibited. If you have received this message by mistake, please immediately notify us by
replying to the message and delete the original message and any copies immediately thereafter.

Thank you.
******************************************************************************************
FACLD -
Arjan Oosting
2010-08-23 21:48:31 UTC
Permalink
Op zondag 22-08-2010 om 22:10 uur [tijdzone -0700], schreef Chris
Post by Chris Knight
Howdy,
I was setting up Rancid to auto-backup the configs on some network
gear, and found that rancid-run completely failed to pull the configs
from two switches. After some poking, verifying that clogin worked,
etc, I determined that the only difference between these switches and
the rest of the gear is that they are running IOS 11.2 while the rest
of the hardware is 12.x.
Is there a device type, or other configuration switch, that I can
use to pull the configs off of IOS 11.x devices?
We have a couple of IOS 11.2 and 11.3 devices in our shop an they work
fine with rancid. What version of RANCID are you using? (clogin -V)

Did you try to run rancid by hand (rancid -d device) to see where it
goes wrong?

Greeting Arjan
Chandler, Mel
2010-08-23 23:38:25 UTC
Permalink
Did the switch not like write term or show running-config?

I'm running 2.3.3


HIT COMMAND:bur1sw3550d1#show debug
In ShowDebug: bur1sw3550d1#show debug
HIT COMMAND:bur1sw3550d1#more system:running-config
In WriteTerm: bur1sw3550d1#more system:running-config
bur1sw3550d1.trust.firstam.com: missed cmd(s): write term,show
running-config
bur1sw3550d1.trust.firstam.com: missed cmd(s): write term,show
running-config
bur1sw3550d1.trust.firstam.com: End of run not found
bur1sw3550d1.trust.firstam.com: End of run not found
Error: TIMEOUT reached






-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Arjan Oosting
Sent: Monday, August 23, 2010 2:49 PM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] rancid-run and Catalyst switches running IOS 11.2

Op zondag 22-08-2010 om 22:10 uur [tijdzone -0700], schreef Chris
Post by Chris Knight
Howdy,
I was setting up Rancid to auto-backup the configs on some network
gear, and found that rancid-run completely failed to pull the configs
from two switches. After some poking, verifying that clogin worked,
etc, I determined that the only difference between these switches and
the rest of the gear is that they are running IOS 11.2 while the rest
of the hardware is 12.x.
Is there a device type, or other configuration switch, that I can
use to pull the configs off of IOS 11.x devices?
We have a couple of IOS 11.2 and 11.3 devices in our shop an they work
fine with rancid. What version of RANCID are you using? (clogin -V)

Did you try to run rancid by hand (rancid -d device) to see where it
goes wrong?

Greeting Arjan




_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
******************************************************************************************
This message may contain confidential or proprietary information intended only for the use of the
addressee(s) named above or may contain information that is legally privileged. If you are
not the intended addressee, or the person responsible for delivering it to the intended addressee,
you are hereby notified that reading, disseminating, distributing or copying this message is strictly
prohibited. If you have received this message by mistake, please immediately notify us by
replying to the message and delete the original message and any copies immediately thereafter.

Thank you.
******************************************************************************************
FACLD -
Chandler, Mel
2010-08-23 23:49:32 UTC
Permalink
Logging in and manually running the "more system:running-config" command
I notice it prompts for a filename, with the default being
running-config. I wonder if that's what is messing rancid up?

Write-term seems to work ok, other than it outputs the config again.
Show running-config does what you'd expect.


-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chandler, Mel
Sent: Monday, August 23, 2010 4:38 PM
To: Arjan Oosting; rancid-***@shrubbery.net
Subject: Re: [rancid] rancid-run and Catalyst switches running IOS 11.2

Did the switch not like write term or show running-config?

I'm running 2.3.3


HIT COMMAND:bur1sw3550d1#show debug
In ShowDebug: bur1sw3550d1#show debug
HIT COMMAND:bur1sw3550d1#more system:running-config
In WriteTerm: bur1sw3550d1#more system:running-config
bur1sw3550d1.trust.firstam.com: missed cmd(s): write term,show
running-config
bur1sw3550d1.trust.firstam.com: missed cmd(s): write term,show
running-config
bur1sw3550d1.trust.firstam.com: End of run not found
bur1sw3550d1.trust.firstam.com: End of run not found
Error: TIMEOUT reached






-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Arjan Oosting
Sent: Monday, August 23, 2010 2:49 PM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] rancid-run and Catalyst switches running IOS 11.2

Op zondag 22-08-2010 om 22:10 uur [tijdzone -0700], schreef Chris
Post by Chris Knight
Howdy,
I was setting up Rancid to auto-backup the configs on some network
gear, and found that rancid-run completely failed to pull the configs
from two switches. After some poking, verifying that clogin worked,
etc, I determined that the only difference between these switches and
the rest of the gear is that they are running IOS 11.2 while the rest
of the hardware is 12.x.
Is there a device type, or other configuration switch, that I can
use to pull the configs off of IOS 11.x devices?
We have a couple of IOS 11.2 and 11.3 devices in our shop an they work
fine with rancid. What version of RANCID are you using? (clogin -V)

Did you try to run rancid by hand (rancid -d device) to see where it
goes wrong?

Greeting Arjan




_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
************************************************************************
******************
This message may contain confidential or proprietary information
intended only for the use of the
addressee(s) named above or may contain information that is legally
privileged. If you are
not the intended addressee, or the person responsible for delivering it
to the intended addressee,
you are hereby notified that reading, disseminating, distributing or
copying this message is strictly
prohibited. If you have received this message by mistake, please
immediately notify us by
replying to the message and delete the original message and any copies
immediately thereafter.

Thank you.
************************************************************************
******************
FACLD -
Chris Knight
2010-08-24 01:49:05 UTC
Permalink
Post by Chandler, Mel
Logging in and manually running the "more system:running-config" command
I notice it prompts for a filename, with the default being
running-config.  I wonder if that's what is messing rancid up?
Found a fix.

You need to disable file prompt:

pxy-sw-18#conf t
Enter configuration commands, one per line. End with CNTL/Z.
pxy-sw-18(config)#no file prompt
pxy-sw-18(config)#exit
pxy-sw-18#write mem
Building configuration...
[OK]


After that, when I invoke "more system:running-config" I am no longer
prompted for the filename:

pxy-sw-18#more system:running-config
Building configuration...
Chandler, Mel
2010-08-24 17:12:07 UTC
Permalink
This worked beautifully. Thanks for your assistance.


-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Knight
Sent: Monday, August 23, 2010 6:49 PM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] rancid-run and Catalyst switches running IOS 11.2
Post by Chandler, Mel
Logging in and manually running the "more system:running-config" command
I notice it prompts for a filename, with the default being
running-config.  I wonder if that's what is messing rancid up?
Found a fix.

You need to disable file prompt:

pxy-sw-18#conf t
Enter configuration commands, one per line. End with CNTL/Z.
pxy-sw-18(config)#no file prompt
pxy-sw-18(config)#exit
pxy-sw-18#write mem
Building configuration...
[OK]


After that, when I invoke "more system:running-config" I am no longer
prompted for the filename:

pxy-sw-18#more system:running-config
Building configuration...
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
******************************************************************************************
This message may contain confidential or proprietary information intended only for the use of the
addressee(s) named above or may contain information that is legally privileged. If you are
not the intended addressee, or the person responsible for delivering it to the intended addressee,
you are hereby notified that reading, disseminating, distributing or copying this message is strictly
prohibited. If you have received this message by mistake, please immediately notify us by
replying to the message and delete the original message and any copies immediately thereafter.

Thank you.
******************************************************************************************
FACLD -

Loading...