System Setup and Software Installation Guide for Cisco NCS 1001

PDF

System Setup and Software Installation Guide for Cisco NCS 1001

Console sessions on Cisco NCS 1001

Want to summarize with AI?

Log in

This section provides details about Cisco NCS 1001 console session types, console swap commands, keyboard shortcuts, and first-login notes for administrators.


Cisco NCS 1001 has XR, System Admin, and host console sessions. After you enter the root username and password, you log in to the XR console. You can switch from XR to System Admin and host consoles by using CLI commands or the keyboard shortcut.

Table 1. Feature history

Feature Name

Release

Description

Console Swap for NCS 1001

Cisco IOS XR Release 7.8.1

Console swap feature provides a quicker and simpler way to toggle between the following console sessions using a keyboard shortcut:

  • from XR to Admin console

  • from Admin to Host console

  • from Host to XR console

NCS 1001 has three types of consoles to interact with it. After entering the root username and password, you are logged in to the XR console. From the XR console, you can switch to the System Admin console and then to the host console using CLI commands.

This table lists the console session available on NCS 1001.

Table 2. Console session types

Console type

Functions

XR Console

Run the regular CLI commands to configure and manage the node.

System Admin Console

Perform all system administration and hardware management setups.

Host Console

Run the Linux commands such as pwd, scp, cp, traceroute, ls -la and so on.

From Release 7.8.1, you can enter Ctrl+O to swap between the console session, host session, and XR session. This keyboard shortcut enables you to toggle between consoles without using several CLI commands. However, you can still use the CLI commands to toggle between the console sessions.

This table lists the CLI to move between consoles.

Table 3. Source and target console swap for NCS 1001

Changing console session

Command prompt

Keyboard shortcut

Notes

From

To

XR console

System Admin console

XR console

RP/0/RP0/CPU0:ios# admin

System Admin console

sysadmin-vm:0_RP0#

CTRL+O

Example
RP/0/RP0/CPU0#
Disconnecting from 'default-sdr--1' console. Continue(Y/N)?
(Enter -> Y and then <enter> to confirm)
Connecting to 'default-sdr--1' console

Connecting to 'sysadmin' console
▒▒▒▒▒▒▒▒

System Admin Username: <enter username>
Password: <enter password>

sysadmin-vm:0_RP0#

When entering the System Admin console for the first time, you must provide the username and password to continue with the System Admin console.

To return to the XR console from the System Admin console using CLI, enter exit.

System admin console

Host console

System Admin console
sysadmin-vm:0_RP0#run
sysadmin-vm:0_RP0#ssh 10.0.2.16
Host console

[host:~]$

CTRL+O

Example
sysadmin-vm:0_RP0#
Disconnecting from 'sysadmin' console. Continue(Y/N)?
(Enter -> Y and then <enter> to confirm)
Connecting to 'host' console
host login:<username>
Password:<password>
[host:/]$

When entering the host console for the first time, you must provide the username and password to continue with the host console.

To access the host console, use the internal host IP address 10.0.2.16 using SSH.

Host console

XR console

Host console
[host:~]$exit
logout
Connection to 10.0.2.16 closed.
[sysadmin-vm:0_RP0:~]$
[sysadmin-vm:0_RP0:~]$exit
exit
sysadmin-vm:0_RP0#
sysadmin-vm:0_RP0#exit
Thu Oct  13 10:08:17.162 UTC+00:00
RP/0/RP0/CPU0#
XR console

RP/0/RP0/CPU0:ios#

CTRL+O

Example
[host:/]$
Disconnecting from host console. Continue(Y/N)?
(Enter -> Y and then <enter> to confirm)
Connecting to 'default-sdr--1' console
RP/0/RP0/CPU0#

When toggling from host console to XR console using CLI, you must enter exit to switch to System Admin console. Then in Admin console, enter exit twice to switch to XR console.