Americas Headquarters
N a L D R a F T C i s c o C o n f i d e n t i a l
OAM
Prerequisites
Viewing Configuration Error Messages Without Descriptions
Previewing Rollback Configuration Changes
Adding a Filter at the --More-- Prompt Multipipe Support
Using the ping Command Examples
Complex Regular Expressions Using Multipliers A-3
N a L D R a F T C i s c o C o n f i d e n t i a l
Changes to This Document
About This Document
Revision Date Change Summary
OL-17502-01 March Initial release of this document
Intended Audience
Organization of the Document
Related Documents
Conventions
Menu items and button names
Menu navigation
Option Network Preferences
N a L D R a F T C i s c o C o n f i d e n t i a l
Contents
Router Overview
Cisco IOS XR Software
Flexible Ethernet
L2VPN
Multicast
Layer 3 routing
QoS
System Configurations
High Availability
Slot Chassis
Management and Security
Manageability
8x10GE Ethernet line card
Initial Router Configuration
Management Interfaces
Security
Command-Line Interface
Extensible Markup Language API
Simple Network Management Protocol
Connecting to the Router Through the Console Port
Power on the router
Admin Show dsc
Connect a terminal to the Console port
Command or Action
Detailed Steps
Where to Go Next
Command or Action Purpose
Example
N a L D R a F T C i s c o C o n f i d e n t i a l
Bringing Up Cisco IOS XR Software on the Router
Prerequisites
Bringing Up and Configuring the Router
Software Requirements
Hardware Prerequisites and Documentation
System requires compatible ROM Monitor firmware on all RPs
Examples
Enter
Verifying the System After Initial Boot
Examples of show Commands
Show version Command Example
Show platform Command Example
Show redundancy Command Example
Show environment Command Example
Show environment options
Following example shows a router’s LED status
Where to Go Next
Configuring General Router Features
Connecting to and Communicating with the Router
Connecting Through the Console Port
Documentation listed in the Related Documents section on
Connecting Through a Terminal Server
Press Enter Log in to the router
Establishes a Telnet session with the terminal server
Connects to the target RSP Console port
Connecting Through the Management Ethernet Interface
Logging In to a Router
CLI Prompt
Prompt Syntax Components Description
User Access Privileges
User Groups, Task Groups, and Task IDs
Command Description
Predefined User Groups
Viewing Your User Groups and Task IDs
User Group Privileges
Show user Command Example
Show user tasks Command Example
Show user group Command Example
Show user all Command Example
Show aaa usergroup Command Example
Aaa usergroup root-system
Navigating Cisco IOS XR Software Command Modes
Example of Command Mode Navigation in Cisco IOS XR Software
Identifying the Command Mode in the CLI Prompt
Common Command Modes
Command Mode Description
Not available on most routers
With any keywords and arguments required for that protocol
Entering Exec Commands from a Configuration Mode
Password recovery, and other diagnostic tasks
Instructions on using ROM Monitor mode
Command Mode Navigation Example
Managing Configuration Sessions
2shows the two-stage configuration process
Entering Configuration Changes
Two-Stage Configuration Process
Configure
End or commit
Commit
Viewing Active Configuration Sessions
End
Starting a Configuration Session
Simple RSP Configuration Example
Sessions
Starting an Exclusive Configuration Session
Viewing Configuration Details
Simple Administration Configuration Session Example
Viewing the Running Configuration
Explicit-path name 10GEPathtoP19
Viewing a Sanitized Version of the Running Configuration
Viewing the Target Configuration
Viewing a Combined Target and Running Configuration
Saving the Target Configuration to a File
Viewing Configuration Error Messages and Descriptions
Viewing Configuration Error Messages Without Descriptions
Loading the Target Configuration from a File
Loading an Alternative Configuration at System Startup
Clearing All Changes to a Target Configuration
Committing Changes to the Running Configuration
Configuration changes takes effect
Might fail due to semantic errors
Commit best-effort
Command Description
Following examples illustrate how to commit a configuration
Reloading a Failed Configuration
RP/0/0/CPU0routerconfig# load configuration failed commit
Exiting a Configuration Submode
Returning Directly to Configuration Mode from a Submode
Ending a Configuration Session
Configuring the RSP Hostname
Aborting a Configuration Session
Preceding example sets the RSP name to Rpsj
Configuring the Management Ethernet Interface
Syntax Components Description
Viewing the Available Management Ethernet Interfaces
Configuring the Management Ethernet Interface
Configure Interface MgmtEthrack/slot/CPU0/port
Prerequisites
Enters interface configuration mode and specifies
See -6for command parameters
Enables the interface to carry traffic
Exits the Management Ethernet interface configuration
When you issue the end command, the system
Configured on the router
Prompts you to commit changes
Displays statistics for the management interfaces
Manually Setting the Router Clock
Clock update-calendar Show clock
Related Documents
Related Topic Document Title
Clock timezone command should be entered
Type the show clock command
Ends the configuration session and returns to Exec mode
Updates the hardware clock calendar clock with the new
Descriptions of the clock commands
Commands used to configure NTP
Configuration of NTP
Configuring Additional Router Features
Domain name-server ipv4-address Commit or end Show hosts
Configuring Telnet and XML Host Services
Displays all configured name servers
Following example, the domain name and DNS are configured
Show hosts
Configure Telnet ipv4 server max-servers limit End or commit
Prerequisites
Enables Telnet services on the router and specifies
Following example, the host services are enabled
RP/0/RSP0/CPU0routerconfig# telnet ipv4 server max-servers
Maximum number of allowable Telnet servers
Managing Configuration History and Rollback
Installation and activation of the Manageability
Descriptions of the XML server commands
Related Documents
Viewing Configuration Changes Recorded in a CommitID
RP/0/RSP1/CPU0router# show configuration commit list
Viewing CommitIDs
Previewing Rollback Configuration Changes
Rolling Back the Configuration to a Specific Rollback Point
Rollback changes command
RP/0/RSP1/CPU0router# rollback configuration to
RP/0/RSP0/CPU0router# rollback configuration last
RP/0/RSP1/CPU0router# show configuration commit changes ?
RP/0/RSP0/CPU0routerconfig# load rollback changes to
RP/0/RSP0/CPU0routerconfig# load rollback changes
RP/0/RSP0/CPU0router# clear configuration commit diskspace
RP/0/RSP0/CPU0router# clear configuration commit oldest
Configuring Logging and Logging Correlation
Logging Destination Command Global Configuration Mode
Logging Locations and Severity Levels
Level Description
Alarm Logging Correlation
Configuring Basic Message Logging
Logging trap severity Logging console severity
Commit End Show logging
When a severity level is specified, only messages at
Commits the target configuration to the router running
Ends the configuration session and returns to Exec
Following example, basic message logging is configured
Disabling Console Logging
Show aaa userdb username
Configuring User Accounts
Creating Users and Assigning Groups
Enters username configuration submode
Specifies a password for the user named in Step
Use the secret command to create a secure login
Password for the user names specified in Step
Configuring Software Entitlement
Configuration Limiting
Static Route Configuration Limits
IS-IS Configuration Limits
OSPFv2 and v3 Configuration Limits
Description Limit Router Configuration Mode Exec Mode
Maximum Interfaces for Each Ospf Instance Example
Maximum Routes Redistributed into Ospf Example
Routing Policy Language Line and Policy Limits
Number of Parallel Links max-paths Example
RP/0/RSP1/CPU0router#
Multicast Configuration Limits
Default Absolute Maximum Show Current Settings
Limit Configuration Command Command Exec Mode
Mpls Configuration Limits
Other Configuration Limits
OL-17502-01
Entering Abbreviated Commands
CLI Tips and Shortcuts
Using the Question Mark ? to Display On-Screen Command Help
Command
Press Enter to execute the command
Configuration to the running configuration
That apply to the keyword and brief explanations
Completing a Partial Command with the Tab Key
Identifying Command Syntax Errors
Using the no Form of a Command
Viewing System Information with show Commands
Editing Command Lines that Wrap
Common show Commands
Browsing Display Output when the --More-- Prompt Appears
Command Description Command Mode
Halting the Display of Screen Output
Redirecting Output to a File
Narrowing Output from Large Configurations
Using Wildcards to Display All Instances of an Interface
RP/0/RSP1/CPU0router# show running-config router static
RP/0/RSP1/CPU0router# show running-config interface gi
Filtering show Command Output
Contains the regular expression
Displays output lines that contain the regular expression
File on the specified device
RP/0/RSP0/CPU0router# show configuration running begin line
Adding a Filter at the --More-- Prompt
Show Parser Dump Enhancement Feature
Wildcards, Templates, and Aliases
Multipipe Support
This section contains the following topics
Using Wildcards to Identify Interfaces in show Commands
Example
Wildcard Syntax Description
Gi0/1
Creating Configuration Templates
Type the template commands
Enters template configuration mode and creates a template
Applied to the running configuration
Config-commands Optional Global configuration
Commands to be added to the template definition. Any
Applying Configuration Templates
5defines the alias command syntax
Aliases
Command History
Keystrokes Used as Command Aliases
Viewing Previously Entered Commands
Recalling Previously Entered Commands
Redisplaying the Command Line
Key Combinations
Recalling Deleted Entries
Recalls
Key Combinations to Move the Cursor
Keystrokes to Control Capitalization
Keystrokes Function Moves the Cursor
Keystrokes Purpose
Keystrokes to Delete CLI Entries
Transposing Mistyped Characters
Keystrokes Deletes
Basic Troubleshooting Commands
Additional Sources for Information
Using the ping Command
Following example, a successful ping attempt is shown
Next example, an unsuccessful ping attempt is shown
Using the traceroute Command
Using debug Commands
Following example, the route for an IP address appears
RP/0/RSP0/CPU0router# traceroute
Viewing a List of Debug Features
Enabling Debugging for a Feature
Disabling Debugging for a Service
Viewing Debugging Status
Configuration Error Messages
Configuration Failures During a Commit Operation
Show configuration failed command
Memory Warnings in Configuration Sessions
Configuration Errors at Startup
Understanding Low-Memory Warnings in Configuration Sessions
RP/0/RSP0/CPU0router# show configuration failed startup
ERROR! Memory is in Severe or Critical State
Viewing System Memory Information
Removing Configurations to Resolve Low-Memory Warnings
Heading Description
Clearing a Target Configuration
Removing Committed Configurations to Free System Memory
Rolling Back to a Previously Committed Configuration
Clearing Configuration Sessions
Interfaces Not Coming Up
Contacting TAC for Additional Assistance
Verifying System Interfaces
RP/0/RSP0/CPU0router# show ipv4 interface brief
Bring the interface up with the following commands
Connection
Regular Expressions
Special Characters
Character Pattern Ranges
Character Special Meaning
Complex Regular Expressions Using Multipliers
Multiple-Character Patterns
Character Description
Ba?b
Pattern Alternation
Anchor Characters
Underscore Wildcard
Parentheses Used for Pattern Recall
Bc.\1\2
N a L D R a F T C i s c o C o n f i d e n t i a l