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 navigation
Menu items and button names
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
Manageability
Management and Security
8x10GE Ethernet line card
Management Interfaces
Initial Router Configuration
Security
Extensible Markup Language API
Command-Line Interface
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
Command or Action Purpose
Where to Go Next
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 options
Show environment Command Example
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
Common Command Modes
Identifying the Command Mode in the CLI Prompt
Command Mode Description
Not available on most routers
With any keywords and arguments required for that protocol
Password recovery, and other diagnostic tasks
Entering Exec Commands from a Configuration Mode
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
End or commit
Configure
Commit
Viewing Active Configuration Sessions
End
Simple RSP Configuration Example
Starting a Configuration Session
Sessions
Viewing Configuration Details
Starting an Exclusive Configuration Session
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
Viewing Configuration Error Messages and Descriptions
Saving the Target Configuration to a File
Viewing Configuration Error Messages Without Descriptions
Loading an Alternative Configuration at System Startup
Loading the Target Configuration from a File
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
Returning Directly to Configuration Mode from a Submode
Exiting a Configuration Submode
Ending a Configuration Session
Aborting a Configuration Session
Configuring the RSP Hostname
Preceding example sets the RSP name to Rpsj
Configuring the Management Ethernet Interface
Syntax Components Description
Viewing the Available Management Ethernet Interfaces
Configure Interface MgmtEthrack/slot/CPU0/port
Configuring the Management Ethernet Interface
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
Commands used to configure NTP
Descriptions of the clock commands
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
RP/0/RSP1/CPU0router# show configuration commit list
Viewing Configuration Changes Recorded in a CommitID
Viewing CommitIDs
Previewing Rollback Configuration Changes
Rolling Back the Configuration to a Specific Rollback Point
RP/0/RSP1/CPU0router# rollback configuration to
Rollback changes command
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
Description Limit Router Configuration Mode Exec Mode
OSPFv2 and v3 Configuration Limits
Maximum Interfaces for Each Ospf Instance Example
Maximum Routes Redistributed into Ospf Example
Number of Parallel Links max-paths Example
Routing Policy Language Line and Policy Limits
RP/0/RSP1/CPU0router#
Default Absolute Maximum Show Current Settings
Multicast Configuration Limits
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
Configuration to the running configuration
Press Enter to execute the command
That apply to the keyword and brief explanations
Identifying Command Syntax Errors
Completing a Partial Command with the Tab Key
Using the no Form of a Command
Viewing System Information with show Commands
Editing Command Lines that Wrap
Browsing Display Output when the --More-- Prompt Appears
Common show Commands
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
Transposing Mistyped Characters
Keystrokes to Delete CLI Entries
Keystrokes Deletes
Basic Troubleshooting Commands
Additional Sources for Information
Following example, a successful ping attempt is shown
Using the ping Command
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 Failures During a Commit Operation
Configuration Error Messages
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
Removing Committed Configurations to Free System Memory
Clearing a Target Configuration
Rolling Back to a Previously Committed Configuration
Interfaces Not Coming Up
Clearing Configuration Sessions
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
Character Pattern Ranges
Special Characters
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