From: gladston@br.ibm.com
Date: Tue Mar 15 2005 - 17:07:28 GMT-3
I found this very useful. Hope helps.
Do not use rsh on routers R1 to R6. It is almost sure they will support tcl script, so just use it.
CAT1 and CAT2 does not support tcl script.
The minimal configuration here to use rsh is:
(considering R1 will be used to configure tcl script)
On CAT1
ip rcmd rsh-enable
ip rcmd remote-host r1 172.16.1.1 r1 enable
On R1
ip rcmd rsh-enable
ip rcmd source-interface l0
This is used on each router:
tclsh
foreach address {
r1
172.16.1.1
172.16.19.1
172.16.18.1
172.16.16.1
r2
172.16.2.1
172.16.26.2
172.16.24.2
172.16.200.2
172.16.29.2
172.16.25.2
r4
172.16.4.1
172.16.48.4
172.16.24.4
r5
172.16.5.1
172.16.57.5
172.16.200.5
150.100.2.5
172.16.25.5
r6
172.16.6.1
150.10.1.6
172.16.16.6
172.16.26.6
150.10.3.6
r7
172.16.7.1
172.16.77.1
172.16.57.7
172.16.200.7
sw1
172.16.8.1
172.16.18.8
172.16.48.8
sw2
172.16.9.1
172.16.29.9
172.16.19.9
from bb1
100.117.1.0
100.113.1.0
R 100.115.1.0
from bb3
210.21.1.0
210.23.1.0
210.22.1.0
210.25.1.0
210.24.1.0
210.27.1.0
210.26.1.0
} {
ping $address
}
To used tcl with rsh to test connectivity on CAT1 and CAT2, just remove "ping $address" and add "rsh 172.16.8.1 ping $address"
This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:46 GMT-3