From: Michael White (mickdcsw@charter.net)
Date: Wed Jan 07 2004 - 21:19:12 GMT-3
I having some problems using tcl scripts in my lab. I get a "%rcp: Protocol
error, End of data transfer" message. My config looks ok and the device is
reachable.
This is the config I use on all routers.
ip rcmd rsh-enable
ip rcmd remote-host R1 172.16.146.1 R1 enable
R1(tcl)#tclsh
R1(tcl)#foreach router {
+>(tcl)#172.16.146.1
+>(tcl)#172.16.241.2
+>(tcl)#172.16.43.3
+>(tcl)#172.16.241.4
+>(tcl)#172.16.53.5
+>(tcl)#172.16.106.1
+>(tcl)#172.16.110.1
+>(tcl)#172.16.107.1
+>(tcl)#172.16.120.1
+>(tcl)#} {
+>(tcl)#rsh $router show run | include \^ ip address
+>(tcl)#}
ip address 172.16.101.1 255.255.255.0
ip address 172.16.146.1 255.255.248.0
ip address 172.16.241.1 255.255.255.0
ip address 172.16.61.1 255.255.255.0
%rcp: Protocol error, End of data transfer
ip address 172.16.103.1 255.255.255.0
ip address 172.16.23.3 255.255.252.0
ip address 172.16.43.3 255.255.255.0
ip address 172.16.53.3 255.255.255.0
ip address 172.16.104.1 255.255.255.0
ip address 172.16.146.4 255.255.248.0
ip address 172.16.241.4 255.255.255.0
ip address 172.16.43.4 255.255.255.0
%rcp: Protocol error, End of data transfer
%rcp: Protocol error, End of data transfer
ip address 172.16.110.1 255.255.255.0
ip address 10.10.10.1 255.255.255.0
ip address 172.16.200.10 255.255.255.0
ip address 172.16.146.10 255.255.248.0
%rcp: Protocol error, End of data transfer
R1(tcl)#
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:37 GMT-3