[rancid] FWSM compatibility

Ryan West rwest at zyedge.com
Wed Mar 2 16:25:55 UTC 2011


User command / chat might do the trick for you, or create a management interface for the contexts and back them as normal firewalls.

-ryan

From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Jiménez Fernández, Mikel
Sent: Wednesday, March 02, 2011 11:06 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] FWSM compatibility

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<mailto: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/f586628f/attachment.html>


More information about the Rancid-discuss mailing list