[rancid] FWSM compatibility

Jiménez Fernández, Mikel m.jimenez at ibermatica.com
Wed Mar 2 16:05:47 UTC 2011


Hi!

 

First of all, I have to say that I have read numerous of forums before asking here anything.

 

I want to backup Cisco FWSM 3.x and 4.x contexts configurations. Is possible with actual Rancid/Clogin ?

 

Actually I define a file with the commands, but when I change from admin context to fwlearning2 context, the session get "stalled", here the output.

 

 

 

[rancid at jazznetmon rancid]$ clogin -x file -u mike -p "kikoko"  -e kikoko 172.24.133.40

172.24.133.40

spawn ssh -c 3des -x -l mike 172.24.133.40

mike at 172.24.133.40's password: 

*********************************************

 FWSM - FIREWALL SERVICES MODULE

 Dtpo. COMUNICACIONES IBERMATICA 913849100

*********************************************

Type help or '?' for a list of available commands.

fwcat1/admin> enable

Password: ******

fwcat1/admin# 

fwcat1/admin# terminal length 0

                       ^

ERROR: % Invalid input detected at '^' marker.

fwcat1/admin#  changeto context fwelearning2  -- "(stalled....)

 

 

And here the file with the commands:

[rancid at jazznetmon ~]$ cat file 

changeto context fwelearning2

config t

sh run

 

 

I doesn´t work to run commands inside another context...

 

Any ideas ?

 

Thanks!!

 

 

Mikel Jimenez Fernandez

Departamento de Comunicaciones

Ibermatica

Tlf: 91 384 9100 ext 7561

Camino de Hormigueras, 172

28031 MADRID

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20110302/bcb1cb84/attachment.html>


More information about the Rancid-discuss mailing list