12-30-2010 09:32 PM
Hi all experts.
If someone can help me with this i will be really grateful.
I am currently using rancid for my devices backup and custom configuration upload. I found it to be brilliant.
Recently i had a task, that involved getting the ip address and tunnel source of a particular tunnel and then configuring it on another tunnel (on same router ofcourse). Everything works fine, but when rancid enters the following command
R1(tcl)# ios_config "interface tunnel 1111" "$ip" "$tunnel_source"
Note: ip and tunnel source variables were formed in other lines that i have omitted for simplicity
Now it configures the above, but i dont get the prompt back !!. This only happens if the configuration (ios_config) is passed through rancid.
Any one has any idea what might be the problem ??
Solved! Go to Solution.
12-30-2010 10:09 PM
You should always end ios_config commands with an "end" argument. You might try that:
ios_config "interface tunnel 1111" "$ip" "$tunnel_source" "end"
Also, if you're using 15.1(2)T there is a known bug with Tcl and terminal handling. You should upgrade to 15.1(3)T.
12-30-2010 10:09 PM
You should always end ios_config commands with an "end" argument. You might try that:
ios_config "interface tunnel 1111" "$ip" "$tunnel_source" "end"
Also, if you're using 15.1(2)T there is a known bug with Tcl and terminal handling. You should upgrade to 15.1(3)T.
01-02-2011 09:04 PM
Dear Joe,
Thanks alot for the feedback.But still it hangs. I know it has something to do with Rancid, but i cant figure out why ?
It will be alot helpful to me if i get it to working :-(
I am using IOS 12.4(20)T adv security
01-02-2011 09:58 PM
Dear Sir,
Thanks alot :-) its solved. I am sorry, the router that was creating issues was using an older IOS. Its working perfectly in 12.4(20) T.
Thanks alot
06-13-2018 03:03 AM
Hi @Joe Clarke,
Can you please ping me over personally after seeing this bug.
Are you referring this as a known case when ios-config not used properly.
CSCvj81564
Thanks
Sumit Kumar
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide