Cisco Systems, Inc 170 West Tasman Drive San Jose, CA
F I 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
Cisco IOS XR Software Release
800 553-NETS Fax 408
CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, the Cisco logo, DCE, and Welcome to the Human Network are trademarks Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries
F I 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
Connecting to the Router Through the Console Port
Contents
Features and Capabilities
Initial Router Configuration
Entering Configuration Changes
Configuring Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
Where to Go Next
Prerequisites
Viewing Configuration Details
Viewing Configuration Error Messages Without Descriptions
Specifying the Management Ethernet Interface Name in CLI Commands
Viewing the Target Configuration
Contents
Previewing Rollback Configuration Changes
Configuring Basic Message Logging
Configuration Limiting
Filtering show Command Output
Using the Question Mark ? to Display On-Screen Command Help
Completing a Partial Command with the Tab Key
Command History
Disabling Debugging for All Services Started at All Terminal Sessions
Contents A-1
Using the ping Command
Configuration Error Messages
Pattern Alternation
Complex Regular Expressions Using Multipliers A-3
Parentheses Used for Pattern Recall A-4
Anchor Characters
Contents
F I 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
Changes to This Document
Obtaining Documentation and Submitting a Service Request, page
Preface
About This Document
Chapter 6, “Troubleshooting the Cisco IOS XR Software”
Chapter 3, “Configuring General Router Features”
Chapter 4, “Configuring Additional Router Features”
Intended Audience
F I 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
Option Network Preferences
Obtaining Documentation and Submitting a Service Request
boldface font
F I 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
Preface
OL-17502-01
Features and Capabilities
Introducing to the Cisco ASR 9000 Series Aggregation Services Router
Contents
Router Overview, page System Configurations, page
Multicast, page OAM, page Layer 3 routing, page QoS, page
Command-Line Interface, page Extensible Markup Language API, page
Cisco IOS XR Software
MPLS TE, page Manageability, page Security, page
Flexible Ethernet
F I 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
L2VPN
Multicast
F I 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
MPLS TE
Layer 3 routing
MPLS VPN
F I 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
System Configurations
High Availability
F I 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
F I 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
The router uses the following line cards 40x1GE Ethernet line card
Management and Security
Manageability
F I 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
Security
Initial Router Configuration
Management Interfaces
F I 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
Simple Network Management Protocol
Command-Line Interface
Extensible Markup Language API
1-10
SUMMARY STEPS
Connecting to the Router Through the Console Port
6. admin 7. show dsc
2. Connect a terminal to the Console port
1-12
DETAILED STEPS
Documents” section on page
Command or Action
page
Where to Go Next
Configuring Gigabit Ethernet and 10-Gigabit Ethernet Interfaces
1-13
1-14
Where to Go Next
F I 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, page Bringing Up and Configuring the Router, page
Verifying the System After Initial Boot, page Where to Go Next, page
Prerequisites
Hardware Prerequisites and Documentation
Bringing Up and Configuring the Router
Software Requirements
F I 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
Port” section on page
the “Connecting to the Router Through the Console
Examples
Enter
5. show redundancy 6. show environment
Verifying the System After Initial Boot
1. show version 2. admin 3. show platform node-id 4. exit
F I 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
show version Command Example, page
Examples of show Commands
show version Command Example
show platform Command Example, page
show platform Command Example
show redundancy Command Example
F I 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
Verifying the System After Initial Boot
show environment Command Example
show environment options
F I 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
F I 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
Where to Go Next
Where to Go Next
Chapter 2 Bringing Up Cisco IOS XR Software on the Router
Connecting to and Communicating with the Router, page
Configuring General Router Features
Connecting to and Communicating with the Router
Navigating Cisco IOS XR Software Command Modes, page
Connecting Through a Terminal Server, page
Connecting Through the Console Port
Connecting Through the Console Port, page
Connecting Through the Management Ethernet Interface, page
a Router” section on page
Connecting Through a Terminal Server
5. telnet access-server-address port
described in the “CLI Prompt” section on page
section on page
Aggregation Services Router System Management Configuration
Guide
documentation listed in the “Related Documents” section on page
telnet ManagementEthernetInterfaceIPaddress
Connecting Through the Management Ethernet Interface
Logging In to a Router
F I 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
a port interface. For executing commands from the EXEC prompt
Slot in which the RSP is installed. In a Cisco ASR 9000 Series router
Entity on a card that executes user commands or communicates with
initial configuration of the router, as described in the “Configuring
User Groups, Task Groups, and Task IDs, page
User Access Privileges
User Groups, Task Groups, and Task IDs
Predefined User Groups, page
show user all Command Example, page
show user Command Example, page show user tasks Command Example, page
show user group Command Example, page
show aaa usergroup Command Example, page
show user group Command Example
show user Command Example
show user tasks Command Example
show user all Command Example
Chapter 3 Configuring General Router Features Logging In to a Router
show aaa usergroup Command Example
3-10
F I 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
Common Command Modes, page
Navigating Cisco IOS XR Software Command Modes
Identifying the Command Mode in the CLI Prompt, page
Entering EXEC Commands from a Configuration Mode, page
3-12
Identifying the Command Mode in the CLI Prompt
Common Command Modes
F I 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
Command Mode
protocol protocoloptions
3-13
F I 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
Entering EXEC Commands from a Configuration Mode
3-14
F I 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
Command Mode Navigation Example
3-15
F I 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
Managing Configuration Sessions
3-16
F I 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
Viewing Active Configuration Sessions, page
Entering Configuration Changes
Entering Configuration Changes, page
Starting a Configuration Session, page
3. commit
1. configure
3. end or commit
3-18
3-19
Viewing Active Configuration Sessions
4. end
F I 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
Simple RSP Configuration Example, page
Starting a Configuration Session
Simple RSP Configuration Example
Simple Administration Configuration Session Example, page
Simple Administration Configuration Session Example
Starting an Exclusive Configuration Session
Viewing Configuration Details
Viewing the Running Configuration, page
Viewing the Target Configuration, page
Viewing the Running Configuration
Viewing a Sanitized Version of the Running Configuration, page
Viewing a Combined Target and Running Configuration, page
Viewing a Sanitized Version of the Running Configuration
3-23
F I 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
Viewing the Target Configuration
3-24
F I 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
Viewing a Combined Target and Running Configuration
3-25
F I 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
Viewing Configuration Error Messages Without Descriptions
Saving the Target Configuration to a File
Viewing Configuration Error Messages and Descriptions
3-26
Clearing All Changes to a Target Configuration
Loading the Target Configuration from a File
Loading an Alternative Configuration at System Startup
3-27
commit best-effort
Committing Changes to the Running Configuration
commit
3-28
The comment option must appear at the end of the command line. If
Command
show configuration commit list detail command
Optional Commits the configuration in global configuration mode on a
3-30
Reloading a Failed Configuration
Committing a Configuration from Global Configuration Mode Example
F I 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
Ending a Configuration Session
Exiting a Configuration Submode
Returning Directly to Configuration Mode from a Submode
3-31
3-32
Configuring the RSP Hostname
Aborting a Configuration Session
F I 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
routerconfig# interface MgmtEth0/RSP0/CPU0/0
Configuring the Management Ethernet Interface
Specifying the Management Ethernet Interface Name in CLI Commands
routerconfig# interface MgmtEth0/RSP1/CPU0/0
routerconfig# interface MgmtEth0/0/CPU0/0
routerconfig# interface MgmtEth0/5/CPU0/0
routerconfig# interface MgmtEth0/5/CPU1/0
routerconfig# interface MgmtEth0/0/CPU0/1
Prerequisites
Configuring the Management Ethernet Interface
1. configure 2. interface MgmtEthrack/slot/CPU0/port
3. ipv4 address ipv4-address subnet-mask
F I 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
0.0.0.0/0 default-gateway
3-36
ipv4 address ipv4-address subnet-mask
3-37
Examples
F I 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
Interface and Hardware Component Configuration Guide
Manually Setting the Router Clock
Cisco ASR 9000 Series Aggregation Services Router
6. clock update-calendar 7. show clock
Examples
3-39
RP/0/RSP0/CPU0routerconfig# clock timezone
F I 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
Management Configuration Guide
Cisco ASR 9000 Series Aggregation Services Router System
Management Command Reference
3-40
Configuring the Domain Name and Domain Name Server, page
Configuring Additional Router Features
Configuring the Domain Name and Domain Name Server
Configuring Telnet and XML Host Services, page
1. configure
2. domain name domain-name-of-organization
3. domain name-server ipv4-address 4. commit or end 5. show hosts
F I 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
Examples
Configuring Telnet and XML Host Services
Configuring Telnet and XML Host Services
F I 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
F I 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
1. configure 2. telnet ipv4 server max-servers limit 3. end or commit
Prerequisites
SUMMARY STEPS
Examples
F I 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
DETAILED STEPS
Previewing Rollback Configuration Changes, page
Managing Configuration History and Rollback
Viewing Configuration Changes Recorded in a CommitID, page
Rolling Back the Configuration to a Specific Rollback Point, page
RP/0/RSP1/CPU0router# show configuration commit list
Viewing Configuration Changes Recorded in a CommitID
Viewing CommitIDs
RP/0/RSP1/CPU0routeradmin# show configuration commit changes ?
RP/0/RSP1/CPU0router# show configuration rollback changes to ?
Previewing Rollback Configuration Changes
Rolling Back the Configuration to a Specific Rollback Point
RP/0/RSP1/CPU0router# show configuration rollback changes to
rollback changes command
Rolling Back the Configuration over a Specified Number of Commits
Loading CommitID Configuration Changes to the Target Configuration
F I 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
RP/0/RSP1/CPU0router# show configuration commit changes ?
Loading Rollback Configuration Changes to the Target Configuration
4-10
F I 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
RP/0/RSP0/CPU0routerconfig# load rollback changes to
Deleting CommitIDs
4-11
RP/0/RSP0/CPU0routerconfig# load rollback changes
Configuring Basic Message Logging, page
Configuring Logging and Logging Correlation
Alarm Logging Correlation, page
Logging Locations and Severity Levels
2. logging ip-address hostname
Alarm Logging Correlation
Configuring Basic Message Logging
3. logging trap severity 4. logging console severity
Examples
4-14
RP/0/RSP0/CPU0routerconfig# logging buffered
F I 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
Command Reference
Cisco ASR 9000 Series Aggregation Services Router System Monitoring
Configuration Guide
Cisco ASR 9000 Series Aggregation Services Router XML API Guide
Viewing Details About User Accounts, User Groups, and Task IDs
command without a username
group. To display all groups on the system, type the command
show aaa userdb username
secret 0 5 password
Configuring User Accounts
1. configure 2. username user-name 3. password 0 7 password or
Creating Users and Assigning Groups
Configuration Guide
Cisco ASR 9000 Series Aggregation Services Router System Security
4-18
Related Documents
Static Route Configuration Limits, page
Configuring Software Entitlement
Configuration Limiting
IS-IS Configuration Limits, page
show running-config router static
Static Route Configuration Limits
IS-IS Configuration Limits
Maximum static IPv4 routes
Maximum Interfaces for Each OSPF Instance Example
OSPFv2 and v3 Configuration Limits
show running-config router ospf
maximum interfaces n
Maximum Routes Redistributed into OSPF Example
4-22
F I 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
Maximum number of RPL lines
Routing Policy Language Line and Policy Limits
Number of Parallel Links max-paths Example
65,536
show igmp summary
Multicast Configuration Limits
maximum groups n
maximum groups-per-interface n
Global Configuration
MPLS Configuration Limits
Other Configuration Limits
Default
Configuration Limiting
4-26
Chapter 4 Configuring Additional Router Features
F I 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
Wildcards, Templates, and Aliases, page Command History, page
Entering Abbreviated Commands
Viewing System Information with show Commands, page
Entering Abbreviated Commands, page
Note Do not include a space between the command and question mark
Using the Question Mark ? to Display On-Screen Command Help
partial-command?
Lists all commands available for a particular command mode
F I 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
The number ranges within the angle brackets are inclusive ranges
Using the no Form of a Command
Completing a Partial Command with the Tab Key
Identifying Command Syntax Errors
F I 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
Common show Commands, page
Viewing System Information with show Commands
Editing Command Lines that Wrap
Browsing Display Output when the --More-- Prompt Appears, page
show configuration
Common show Commands
Browsing Display Output when the --More-- Prompt Appears
show running-config EXEC or
show command file filename
Halting the Display of Screen Output
Redirecting Output to a File
F I 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
Using Wildcards to Display All Instances of an Interface
Narrowing Output from Large Configurations
Limiting show Command Output to a Specific Feature or Interface
Limiting show Command Output to a Specific Feature or Interface, page
Filtering show Command Output
F I 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
Adding a Filter at the --More-- Prompt
5-10
F I 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
Creating Configuration Templates, page Aliases, page
Show Parser Dump Enhancement Feature
Using Wildcards to Identify Interfaces in show Commands, page
Keystrokes Used as Command Aliases, page
gi0/1
Using Wildcards to Identify Interfaces in show Commands
Example
gi0/3/4
6. show running-config template template-name
Creating Configuration Templates
2. template template-name $parameter $parameter... config-commands
4. end-template 5. commit
RP/0/RSP0/CPU0routerconfig# template tmplt1
5-14
$parameter... config-commands
RP/0/RSP0/CPU0routerconfig-TPL# end-template
Examples
Applying Configuration Templates
5-15
Examples
Original command syntax. Valid abbreviations of the original
Name of the command alias. An alias name can be a single word or
command-syntax
command syntax can be entered for the command-syntax argument
Viewing Previously Entered Commands
Command History
Keystrokes Used as Command Aliases
Recalling Previously Entered Commands
Recalling Deleted Entries
Redisplaying the Command Line
Key Combinations
Key Combinations to Move the Cursor, page
5-19
Key Combinations to Move the Cursor
Keystrokes to Control Capitalization
F I 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
5-20
Keystrokes to Delete CLI Entries
Transposing Mistyped Characters
F I 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
Basic Troubleshooting Commands, page
Troubleshooting the Cisco IOS XR Software
Basic Troubleshooting Commands
Configuration Error Messages, page
Using debug Commands, page
Using show Commands to Display System Status and Configuration
Using the ping Command
Examples
Viewing a List of Debug Features, page
Using the traceroute Command
Using debug Commands
Enabling Debugging for a Feature, page Viewing Debugging Status, page
AAA Authentication, Authorization and Accounting
Viewing a List of Debug Features
Enabling Debugging for a Feature
DRP Pairing debug Display debugging messages of drppairing
Disabling Debugging for a Service
Viewing Debugging Status
F I 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
Disabling Debugging for All Services Started at All Terminal Sessions
Configuration Error Messages
Configuration Failures During a Commit Operation
Configuration Failures During a Commit Operation, page
Understanding Low-Memory Warnings in Configuration Sessions
Memory Warnings in Configuration Sessions
Configuration Errors at Startup
Understanding Low-Memory Warnings in Configuration Sessions, page
“WARNING! MEMORY IS IN MINOR STATE”
“ERROR! MEMORY IS IN SEVERE or CRITICAL STATE”
Viewing System Memory Information
F I 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
Removing Committed Configurations to Free System Memory, page
Removing Configurations to Resolve Low-Memory Warnings
Clearing a Target Configuration, page
Rolling Back to a Previously Committed Configuration, page
Rolling Back to a Previously Committed Configuration
Clearing a Target Configuration
Removing Committed Configurations to Free System Memory
6-10
Displays the active configuration sessions
Clearing Configuration Sessions
show configuration sessions
clear configuration sessions session-id
Verifying System Interfaces
6-12
F I 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
RP/0/RSP0/CPU0router# show running-config interface gi0/2/0/3
6-13
Chapter 6 Troubleshooting the Cisco IOS XR Software
F I 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
6-14
F I 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
connection
Regular Expressions
Complex Regular Expressions Using Multipliers, page A-3
Understanding Regular Expressions, Special Characters, and Patterns
A P P E N D I X A
\$ \ \+
Special Characters
Character Pattern Ranges
a-dA-D
ba?b
Complex Regular Expressions Using Multipliers
Multiple-Character Patterns
A-Za-z0-9+
Underscore Wildcard
Pattern Alternation
Anchor Characters
Parentheses Used for Pattern Recall
a.bc.\1\2
F I 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
F I 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
Parentheses Used for Pattern Recall