Jiménez Fernández, Mikel
2011-03-02 16:05:47 UTC
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.
[***@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
***@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:
[***@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
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.
[***@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
***@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:
[***@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