Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Distribute SW Images through SCP failed

Hi!

When I try to distribute an image through SCP, I get the following error message in swim_debug.log:

ERROR,[Thread-20],com.cisco.nm.xms.xdi.pkgs.LibSwim.common.SCPUtil,run,199,copy error java.io.IOException: Administratively disabled.

at com.cisco.nm.lib.fcpsvc.Scp2Svc.checkResponse(Scp2Svc.java:60)

at com.cisco.nm.lib.fcpsvc.Scp2Svc.copyTo(Scp2Svc.java:85)

at com.cisco.nm.xms.xdi.pkgs.LibSwim.common.SCPUtil.run(SCPUtil.java:195)

I'm running LMS 2.6 RME 4.0.5 under Win2k3 SP1.

Can somebody tell me, what causes this administrative deactivation so I can reenable it? Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Distribute SW Images through SCP failed

I think what this message is telling you is that SCP on the device (router or switch) is not enabled.

To scp to a switch you need to enable the scp server on the device, like this:

ip scp server enable

You might need to do a little more (such as setup the authentication privileges etc correctly since you probably need level 15 privileges to do most of the stuff you want to do with scp) so take a read over http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hsec_c/part25/ch10/hscp.pdf

which describes what you need to do.

It's probably a good idea to test it out on the command line using the same credentials as Cisco Works would use.

So from a unix machine I'd do:

scp test.txt cwuser@192.168.100.1:flash/

You can do the same test from Windows using pscp from the Putty SSH suite.

2 REPLIES

Re: Distribute SW Images through SCP failed

I think what this message is telling you is that SCP on the device (router or switch) is not enabled.

To scp to a switch you need to enable the scp server on the device, like this:

ip scp server enable

You might need to do a little more (such as setup the authentication privileges etc correctly since you probably need level 15 privileges to do most of the stuff you want to do with scp) so take a read over http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hsec_c/part25/ch10/hscp.pdf

which describes what you need to do.

It's probably a good idea to test it out on the command line using the same credentials as Cisco Works would use.

So from a unix machine I'd do:

scp test.txt cwuser@192.168.100.1:flash/

You can do the same test from Windows using pscp from the Putty SSH suite.

Community Member

Re: Distribute SW Images through SCP failed

sorry, I thought when ssh is enable, scp would work too. thanks a lot.

3831
Views
10
Helpful
2
Replies
CreatePlease to create content