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