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