cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1659
Views
10
Helpful
4
Replies

rcp and rsh on IOS XR

Hello everyone!

How to configure rcp and rsh on IOS XR? Regular IOS commands (ip rcmd ... ) is not present. 

Sometimes i need to configure routers by rsh and copy running-configs via rcp. I do this successfully with Catalyst 6500, but not with ASR.

/usr/bin/rsh -l <username> <ASR IP address> sh ver
 <ASR IP address>: Connection refused

/usr/bin/rsh -l <username> <Cat6500 IP address> sh ver
Cisco IOS Software, s72033_rp Software (s72033_rp-ADVIPSERVICESK9-M), Version 15.1(1)SY5, RELEASE SOFTWARE (fc3)

..............

 

Username and password 100% correct

When configure line i does't see "transport input rlogin" like in regular IOS:

RP/0/RSP0/CPU0:SR36-21.ekb(config-line)#transport input ?
  all     All protocols
  none    No protocols
  ssh     Unix ssh protocol
  telnet  TCP/IP Telnet protocol

 

Does IOS XR support rsh and rcp?

 

4 Replies 4

xthuijs
Cisco Employee
Cisco Employee

Hi D,

you can, never used it to be honest and I probably would recommend against using it.

these have been classfied as "dangerous" or unsecure methods and the better options are ssh and scp or sftp.

But any case find some more info here:

http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-3/addr_serv/configuration/guide/b_ipaddr_cg43xa9k/b_ipaddr_cg42a9k_chapter_0101.html#con_1067100

 

RP/0/RP0/CPU0:Boca#copy rcp:/file disk0:/
Sat Jun 27 07:23:41.603 PST
Address or name of remote host []?

 

cheers

xander

Thanks for answer!

Using cisco ASR cli i can copy files via rcp from remote server to cisco, but i need to copy files via rcp from cisco ASR to remote server.

Looks like IOS XR doesn't support it...

Ah sorry, that is correct dmitry, it can be the client, but not the server...

If RCP is invoked from from the a9k/xr as a client then no problem (both copy from rcp to disk or from disk to rcp destination can be done).

But pushing it from a server and invoked there towards the a9k can't be done...

regards!

xander

Alexander, thank you for quick reply!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: