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
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
Router Overview
Contents
Cisco IOS XR Software
Flexible Ethernet
Multicast
L2VPN
QoS
Layer 3 routing
High Availability
System Configurations
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
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
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
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
Show environment Command Example
Show environment options
Following example shows a router’s LED status
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
Identifying the Command Mode in the CLI Prompt
Common Command Modes
Command Mode Description
With any keywords and arguments required for that protocol
Not available on most routers
Entering Exec Commands from a Configuration Mode
Password recovery, and other diagnostic tasks
Instructions on using ROM Monitor mode
Command Mode Navigation Example
2shows the two-stage configuration process
Managing Configuration Sessions
Two-Stage Configuration Process
Entering Configuration Changes
Configure
End or commit
Commit
End
Viewing Active Configuration Sessions
Starting a Configuration Session
Simple RSP Configuration Example
Sessions
Starting an Exclusive Configuration Session
Viewing Configuration Details
Simple Administration Configuration Session Example
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
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
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
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
Syntax Components Description
Configuring the Management Ethernet Interface
Viewing the Available Management Ethernet Interfaces
Configuring the Management Ethernet Interface
Configure Interface MgmtEthrack/slot/CPU0/port
Prerequisites
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
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
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 Configuration Changes Recorded in a CommitID
RP/0/RSP1/CPU0router# show configuration commit list
Viewing CommitIDs
Rolling Back the Configuration to a Specific Rollback Point
Previewing Rollback Configuration Changes
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/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
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
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
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
Editing Command Lines that Wrap
Viewing System Information with show Commands
Common show Commands
Browsing Display Output when the --More-- Prompt Appears
Command Description Command Mode
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 to Delete CLI Entries
Transposing Mistyped Characters
Keystrokes Deletes
Additional Sources for Information
Basic Troubleshooting Commands
Using the ping Command
Following example, a successful ping attempt is shown
Next example, an unsuccessful 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
Configuration Error Messages
Configuration Failures During a Commit Operation
Show configuration failed command
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
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
RP/0/RSP0/CPU0router# show ipv4 interface brief
Verifying System Interfaces
Bring the interface up with the following commands
Connection
Regular Expressions
Special Characters
Character Pattern Ranges
Character Special Meaning
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