From: Athaide, Dwayne (DAthaide@eprod.com)
Date: Sun Jan 06 2008 - 15:51:31 ARST
I have two Router R1 and R2 connected via Ethernet. I am trying to copy
a file r5.cfg from R1 flash to R2 via rcp. The copy is failing and the
error message I get on R2 is
R2#
*Jan 6 11:46:35.213: RCMD: [514 <- 172.16.12.1:909] recv \0
*Jan 6 11:46:35.213: RCMD: [514 <- 172.16.12.1:909] recv R1\0R1\0rcp -t
r5.cfg\0
*Jan 6 11:46:35.213: RCMD: [514 <- 172.16.12.1:909] recv -- R1
172.16.12.1 R1 not in trusted hosts database
*Jan 6 11:46:35.213: RCMD: [514 -> 172.16.12.1:909] send
<BAD,Permission denied.>\n
My configs
R2
ip rcmd rcp-enable
ip rcmd rsh-enable
ip rcmd remote-host admin 172.16.12.1 R1 enable
ip rcmd remote-host cisco 172.16.12.1 R1
ip rcmd remote-host host 172.16.12.1 R1 enable
ip rcmd remote-username R1
R1
R1#copy flash: rcp:
Source filename [r5.cfg]? r5.cfg
Address or name of remote host []? 172.16.12.2
Destination username [R1]? R1
Destination filename [r5.cfg]?
Writing r5.cfg %Permission denied.
%Error opening rcp://R1@172.16.12.2/r5.cfg (Permission denied)
R1#
R1#dir flash:
Directory of flash:/
1 -rw- 1106 Sep 20 2007 21:44:24 +00:00 r5.cfg
2 -rw- 1648 Apr 13 2005 17:27:00 +00:00 sdmconfig-2811.cfg
3 -rw- 3029504 Apr 13 2005 17:27:20 +00:00 sdm.tar
4 -rw- 741376 Apr 13 2005 17:27:34 +00:00 es.tar
5 -rw- 818176 Apr 13 2005 17:27:50 +00:00 common.tar
6 -rw- 1038 Apr 13 2005 17:28:02 +00:00 home.shtml
7 -rw- 113152 Apr 13 2005 17:28:14 +00:00 home.tar
8 -rw- 93095 Apr 13 2005 17:28:28 +00:00 attack-drop.sdf
9 -rw- 1198080 Apr 13 2005 17:28:46 +00:00 ips.tar
10 -rw- 40205052 Dec 4 2007 13:48:32 +00:00
c2800nm-adventerprisek9-mz.124-17a.bin
64016384 bytes total (17797120 bytes free)
Any help is appreciated
thanks
=
This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:58 ARST