cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
1
Helpful
4
Replies

ncs5501 - stuck in sysadmin mode - how to return to router rp0 user

ncs5501 - stuck in sysadmin mode - how to return to router rp0 user mode

4 Replies 4

smilstea
Cisco Employee
Cisco Employee

If you are in the sysadmin prompt or any shell prompt you should be able to enter 'exit' and return to the prior prompt. Are you on console? Its also possible someone entered 'ctrl' + 'o' (as in orange) to change the console between the 3 modes, simply enter that sequence again to switch to a different prompt.

 

Sam

 

When I ssh into the device - it would already be in sysadmin mode. Exit and end did not work. Seemed like XR mode wasn't there

Does show users say ssh or console?
sysadmin-vm:0_RP1# show users
Mon Jun 10 21:12:46.202 UTC+00:00
Session User Context From Proto Date Mode
*1536 smilstea cli 192.0.112.4 ssh 21:12:44 operational
sysadmin-vm:0_RP1#

This is telling me that I came from the XR default SDR VM
Show vm
Location: 0/RP1
Id Status IP Address HB Sent/Recv
-------------------------------------------------------------
sysadmin running 192.0.112.1 NA/NA
default-sdr running 192.0.112.4 525385/525385

When you swap between VMs (XR and sysadmin) you are really doing an SSH.

There are multiple consoles on the box so you could be connected to the wrong one, or the XR default SDR VM could be down so its throwing you to sysadmin.

Hello Smilstea,

I'm getting the same error, it does not seem to connect to the LXC. 

connecting from 'sysadmin' console. Continue(Y/N)?

y
Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒
sysadmin-vm:0_RP0#
Disconnecting from 'sysadmin' console. Continue(Y/N)?
Y

Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒
Disconnecting from 'sysadmin' console. Continue(Y/N)?
Y

Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒
sysadmin-vm:0_RP0#
Disconnecting from 'sysadmin' console. Continue(Y/N)?
Y

Connecting to 'host' console
host login: Disconnecting from host console. Continue(Y/N)?

Connecting to 'host' console
host login:
host login: cisco
Password:
[host:0_RP0:/misc/disk1]$ Disconnecting from host console. Continue(Y/N)?
Y


#### Waiting for '' lxc to be ready. ####

If you want to connect to available console, press 'Ctrl-o' <'o' as in orange>

after this it does not do anything but takes me back to sysadmin-vm:0_RP0# 

Thank you for your help, any advice or suggestion is appreciated.