cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
290
Views
0
Helpful
4
Replies

IOS-XR access from bash

Hi,

I am using IOS-XRv in my lab and I am trying to access IOS-XR shell (enable#) from SysAdmin. I am able to connect to RP virtual machine, but then I find myself inside bash and don't know how to reach IOS-XR shell from there.

I know that I could access IOS-XR directly from console or management port, but this is actually part of a test case I want to perform.

 

Thank you in advance!

Dragan

 

Everyone's tags (1)
4 REPLIES 4
Highlighted

Re: IOS-XR access from bash

Not saying this site has the answer you're looking for, but are you aware of:

https://xrdocs.io/

 

 

Cisco Employee

Re: IOS-XR access from bash

The attached picture should answer your question, its from an NCS5500 but same principles apply.

 

Sam

Re: IOS-XR access from bash

Hi Sam,

 

thanks for your answer, it is definitely useful for me in order to understand better about how components are related to one another. However, what I am trying is actually oposite direction:

host -> sysadmin -> IOS-XR#

Is this possible somehow? So this would not mean going from IOS-XR to SysAdmin and than getting back using 'exit', but connecting from SysAdmin as a starting point. Actually, it would be great if it is possible to connect from host to SysAdmin too. I think I remember that colleague from TAC was able to SSH to IOS-XR, but I forgot to write it down...

 

Thanks!

Dragan

Cisco Employee

Re: IOS-XR access from bash

Are you connected on console?

 

Please try ctrl+o (“o” as in orange) on the console while in sysadmin.

You will be directed to host and then press ctrl+o

 

 

Another way if you are not consoled in:

sysadmin-vm:0_RP0# show sdr
Sun May 26 19:13:28.249 UTC

SDR: default-sdr
Location IP Address Status Boot Count Time Started
-----------------------------------------------------------------------------
0/RP0/VM1 192.0.0.4 RUNNING 3 04/26/2019 00:50:06
0/RP0/VM2 192.0.0.6 RUNNING 3 04/26/2019 00:52:16
sysadmin-vm:0_RP0# run
Sun May 26 19:13:32.391 UTC

[sysadmin-vm:0_RP0:~]$ssh 192.0.0.4
Last login: Sun May 26 19:08:47 2019 from 192.0.0.1

[xr-vm_node0_RP0_CPU0:~]$/pkg/sbin/exec

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Banner
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


User Access Verification

Username: smilstea

Password:


RP/0/RP0/CPU0:NCS-5502-B#exit

Terminated
[xr-vm_node0_RP0_CPU0:~]$exit
logout
[sysadmin-vm:0_RP0:~]$exit
exit
sysadmin-vm:0_RP0#

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards