Post by john heasleyPost by Richard ZhengHi,
I'd like to save config when config is different, e.g. run 'wr mem' on
cisco. There is a flag do_saveconfig on clogin. I changed it to 1, nothing
happens.
Is it possible to set it somewhere else?
it only works for a few of the platforms that prompt to save the config,
such as force10, cisco css, hp procurve, etc. ios does not prompt.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Not working for newer hp procurve!
You have to "logout" from manager level to get save config prompt.
Rancid 2.3.5.
diff -c hlogin.in.ORG hlogin.in
***************
*** 563,569 ****
}
}
log_user 1
! send -h "exit\r"
expect {
"Do you want to save current configuration" {
if {$do_saveconfig} {
--- 563,569 ----
}
}
log_user 1
! send -h "logout\r"
expect {
"Do you want to save current configuration" {
if {$do_saveconfig} {
/Peo
----------------------------------------------------------
Per-Olof Olsson Email: ***@chalmers.se
Chalmers tekniska högskola IT-service
Hörsalsvägen 5 412 96 Göteborg
Tel: 031/772 6738 Fax: 031/772 8660
----------------------------------------------------------