Chapter 4 Configuring General Router Features

CLI Prompt

Note Passwords are case sensitive. If you want to log in to an SDR using a root-system username from the owner SDR, enter the username in the following format: username@admin. To support admin login, local database authentication must be enabled with the aaa authentication login remote local command. For more information, see Cisco IOS XR System Security Configuration Guide.

After you log in, the router displays the CLI prompt, which is described in the “CLI Prompt” section on page 4-12. The command set that you can use is determined by the privileges assigned to your username. For information on how privileges are assigned to usernames, see the Cisco IOS XR System Security Configuration Guide.

CLI Prompt

After you log in, you see the CLI prompt for the Cisco IOS XR software. This prompt identifies the router or SDR to which you are issuing commands. The CLI prompt represents the path, through the router, to the CPU that executes the commands you enter. The syntax for the CLI prompt is: type/rack/slot/module: router-name#. The CLI prompt is described in Table 4-1.

Table 4-1

CLI Prompt Description

 

 

Prompt Syntax Components

Description

 

 

 

type

 

Type of interface or card with which you are communicating. For

 

 

most user communication tasks, the type is “RP.”

 

 

 

rack

 

Rack number. In a standalone router, the rack number is always “0.”

 

 

In a multishelf system, the range for LCC rack numbers is 0 to 255,

 

 

and the range for FCC rack numbers is F0 to F7.

 

 

 

slot

 

Slot in which the RP or DRP is installed. In a Cisco CRS-1 router, the

 

 

RP physical slot number is “RP0” or “RP1.” In a

 

 

Cisco XR 12000 Series Router, the physical slot number can be 0 to

 

 

15, and there can be multiple SDRs, each of which is represented by

 

 

an RP.

 

 

 

module

 

Entity on a card that executes user commands or communicates with

 

 

a port (interface). For executing commands from the EXEC prompt,

 

 

the module is the “CPU0” of the RP. “CPU0” also controls the

 

 

forwarding and operating system (OS) functions for the system.

 

 

DRPs have two processors: CPU0 and CPU1.

 

 

 

router-name

 

Hostname of the router or SDR. The hostname is usually defined

 

 

during initial configuration of the router, as described in the

 

 

“Configuring the SDR Hostname” section on page 4-38.

 

 

 

For example, the following prompt indicates that the CLI commands are executed on the RP in rack 0, slot RP0, by the “CPU0” module on a router named “router:”

RP/0/RP0/CPU0:router#

 

Cisco IOS XR Getting Started Guide

4-12

OL-10957-02

Page 98
Image 98
Cisco Systems Cisco IOS XR manual CLI Prompt, Prompt Syntax Components Description