Guest

Preview Tool

Cisco Bug: CSCuo95194 - Switch fails while copying a configuration file to running-config using RCP

Last Modified

Dec 21, 2019

Products (137)

  • Cisco IOS
  • Cisco Catalyst 3560CG-8TC-S Compact Switch
  • Cisco Catalyst 3560E-48PD-E Switch
  • Cisco Catalyst 2960-24TC-L Switch
  • Cisco Catalyst 2960S-24PD-L Switch
  • Cisco Catalyst 2960-48TT-S Switch
  • Cisco Catalyst 3750V2-24FS Switch
  • Cisco Catalyst 2960S-F48FPS-L Switch
  • Cisco Catalyst 3560X-48P-S Switch
  • Cisco Catalyst 3560-12PC-S Compact Switch
View all products in Bug Search Tool Login Required

Known Affected Releases

15.0(2)SE

Description (partial)

Copying a config file to running-config using RCP is failed on some of our switches. Error messages is "rcp: running-config: No such file or directory" in unix servers.

Switch#sh run | i rcmd
ip rcmd remote-host <local-username> {ip-address} <remote-username> [enable] 
Switch#

[UNIX server ~]$ /usr/bin/rcp ./rcptest <devicename>:running-config
rcp: running-config: No such file or directory
[UNIX server ~]$


Copying a file to flash is working.

[UNIX server ~]$ /usr/bin/rcp ./rcptest <devicename>:running-config.txt
[UNIX server ~]$

Swtich#dir flash:
Directory of flash:/

    2  -rwx        1172   Jan 4 2014 01:48:52 -05:00  vlan.dat
    3  -rwx    13437143  Apr 20 1905 14:36:50 -04:00  c3560e-universalk9-mz.122-52.EX1.bin
    4  -rwx        2072   Apr 4 2014 04:17:40 -04:00  multiple-fs
    5  -rwx          37   Apr 4 2014 04:33:19 -04:00  running-config.txt   <--------------------
    6  -rwx    19680178  Apr 11 2013 18:00:43 -04:00  c3560e-universalk9-mz.150-2.SE.bin
    8  -rwx       32940   Apr 3 2014 05:30:43 -04:00  test
    7  -rwx        1913   Apr 4 2014 04:17:40 -04:00  private-config.text
    9  -rwx       15283   Apr 4 2014 04:17:40 -04:00  config.text

57931776 bytes total (24486912 bytes free)
Switch#

Symptom:
Copying a config file to running-config using RCP is failed on some of our switches. Error messages is "rcp: running-config: No such file or directory" in unix servers.

Switch#sh run | i rcmd
ip rcmd remote-host <local-username> {ip-address} <remote-username> [enable] 
Switch#

[UNIX server ~]$
[UNIX server ~]$ /usr/bin/rcp ./rcptest trn2-lab-sw1:running-config
rcp: running-config: No such file or directory
[UNIX server ~]$


Copying a file to flash is working.

[UNIX server ~]$ /usr/bin/rcp ./rcptest <devicename>:running-config.txt
[UNIX server ~]$

Switch#dir flash:
Directory of flash:/

    2  -rwx        1172   Jan 4 2014 01:48:52 -05:00  vlan.dat
    3  -rwx    13437143  Apr 20 1905 14:36:50 -04:00  c3560e-universalk9-mz.122-52.EX1.bin
    4  -rwx        2072   Apr 4 2014 04:17:40 -04:00  multiple-fs
    5  -rwx          37   Apr 4 2014 04:33:19 -04:00  running-config.txt   <--------------------
    6  -rwx    19680178  Apr 11 2013 18:00:43 -04:00  c3560e-universalk9-mz.150-2.SE.bin
    8  -rwx       32940   Apr 3 2014 05:30:43 -04:00  test
    7  -rwx        1913   Apr 4 2014 04:17:40 -04:00  private-config.text
    9  -rwx       15283   Apr 4 2014 04:17:40 -04:00  config.text

57931776 bytes total (24486912 bytes free)
Switch#

Conditions:
HW: cisco SM-ES3G-16-P
SW: c3560e-universalk9-mz.150-2.SE.bin
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.