[rancid] Re: Has anybody solved the extreme "unsaved changes" bug?
David Young
david at prophecy.net.nz
Wed Jun 9 22:46:26 UTC 2010
Hi John,
>
> could you show the o/p of "clogin -c 'show version' host" to me? ie: the
> match of the clogin -d o/p below.
>
>
Sorry it took a while, here's the output:
---
[rancid at stats ~]$ clogin -c 'show version' myswitch.local
myswitch.local
spawn telnet myswitch.local
Trying 10.0.0.1..
Connected to myswitch.local (10.0.0.1).
Escape character is '^]'.
Copyright (C) 1999 by Extreme Networks
login: admin
password:
Press the <tab> key at any time for completions.
Don't forget to save your configuration changes.
* myswitch:1 # enable
Syntax error at end of line.
Next possible completions:
autodst bootp bootprelay cli-config-logging clipaging
dvmrp edp esrp gvrp icmp
idletimeouts igmp ignore-stp iparp ipforwarding
ipmcforwarding iproute isq ipxrip ipxsap
jumbo irdp learning license log
mirroring multinetting ospf pace pim-dm
ports qosmonitor radius rip rmon
sharing smartredundancy snmp sntp-client stpd
subvlan-proxy-arp summitlink syslog telnet type20
web <spanning tree name>
* myswitch:2 # couldn't compile regular expression pattern: quantifier
operand invalid
while executing
"expect -nobrace -re {* myswitch([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[
]+} { exp_continue }"
invoked from within
"expect {
-re $reprompt {}
-re "\[\n\r]+" { exp_continue }
}"
(procedure "run_commands" line 21)
invoked from within
"run_commands $prompt $command"
("foreach" body line 155)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/bin/clogin" line 722)
[rancid at stats ~]$
---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20100610/f2f40e4b/attachment.html
More information about the Rancid-discuss
mailing list