Cisco Systems A9K24X10GETR Network Router User Manual


 
FINAL DRAFT —Cisco Confidential
3-12
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 3 Configuring General Router Features
Navigating Cisco IOS XR Software Command Modes
Identifying the Command Mode in the CLI Prompt
The command mode is identified in the CLI prompt after the router name.
When the router enters global configuration mode from the EXEC mode, the CLI prompt changes to
include “
(config)” after the router name:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)#
When the router enters interface configuration submode, the prompt changes to include “(config-if)
after the router name:
RP/0/RSP0/CPU0:router(config)# interface tunnel-te 2
RP/0/RSP0/CPU0:router(config-if)#
Common Command Modes
Table 3-4 summarizes the most common command modes of Cisco IOS XR Software and associated CLI
prompts.
Ta ble 3-4 Common Command Modes and CLI Prompts
Command Mode Description
EXEC Logging in to an RP running the Cisco IOS XR Software automatically places the router in EXEC
mode.
Example:
RP/0/RSP0/CPU0:router#
EXEC mode enables a basic set of commands to display the operational state of an RP and the
Cisco
IOS XR Software. Most CLI commands in EXEC mode do not change the RP operation. The
most common EXEC commands are show commands (to display RP configuration or operational
data) and clear commands (to clear or reset RP counters).
In EXEC mode, you can view the configuration of an RP but not the configuration of the system. The
difference is that RSPs are defined in administration configuration mode, which is a submode of
administration EXEC mode. RPs are configured in global configuration mode.
Additional commands are available depending on the access privileges (user groups) assigned to
your username. Minimal privileges also include a small set of EXEC commands for connecting to
remote devices, changing terminal line settings on a temporary basis, and performing basic tests.
Administration EXEC Administration EXEC mode is used to manage system resources. In administration EXEC mode, you
can view the configuration of the system but not the configuration of an RP. The difference is that
RPs are defined in administration configuration mode, which is a submode of administration EXEC
mode. RPs are configured in global configuration mode.
Administration EXEC mode is used primarily to view system-wide parameters, configure the
administration plane over the control Ethernet, and configure the RP. These operations are available
only to users with the required root level access.
From EXEC mode, use the admin command to enter administration EXEC mode:
RP/0/RSP0/CPU0:router# admin
RP/0/RSP0/CPU0:router(admin)#