[rancid] Re: Cisco 1900 issues

Ed Ravin eravin at panix.com
Fri Mar 24 22:15:03 UTC 2006


On Fri, Mar 24, 2006 at 04:53:15PM -0500, Ashton, James P. wrote:
> 
> bash-3.00# ./clogin -c"sh run" 172.16.29.40
> 172.16.29.40
> spawn telnet 172.16.29.40
> Trying 172.16.29.40...
> Connected to 172.16.29.40.
> Escape character is '^]'.
...
> ip address 172.16.29.40 255.255.255.0
> ip default-gateway 172.16.29.1
> !
> no ip http server
> !
> ip http port 0
> !
> no snmp-server community public
> snmp-server community "m1ck3y" ro
> 
> --More--
> 

Check the control characters at the end - is there a normal
CR/LF before the --More-- prompt, or maybe it's LF/CR?
I ran into a device that issued LF/CR instead of CR/LF and my RANCID
script needed special code for that in the regexps.



More information about the Rancid-discuss mailing list