Cisco IOS XR Getting Started Guide
Americas Headquarters
Cisco IOS XR Getting Started Guide
N T E N T S
Restrictions
Verifying the Spanning Tree
Routing Policy Language Line and Policy Limits
Contents CLI Tips and Shortcuts
Configuration Failures During a Commit Operation
Viii
Revision Date Change Summary
Changes to This Document
About This Document
Intended Audience
Organization of the Document
Related Documents
This document contains the following chapters
Obtaining Documentation
Conventions
Cisco.com
Convention
Documentation Feedback
Cisco Product Security Overview
Product Documentation DVD Ordering Documentation
Xii
Xiii
Reporting Security Problems in Cisco Products
Product Alerts and Field Notices
Xiv
Obtaining Technical Assistance
Cisco Technical Support & Documentation Website
Obtaining Additional Publications and Information
Submitting a Service Request
Definitions of Service Request Severity
Xvi
Contents
Supported Standalone System Configurations
Cisco CRS-1 Multishelf System Overview
Single-FCC Multishelf System
Two-FCC Multishelf System
Four-FCC Multishelf System
Command-Line Interface
Router Management Interfaces
Craft Works Interface
Extensible Markup Language API
Selecting and Identifying the Designated Shelf Controller
Simple Network Management Protocol
Selecting and Identifying the DSC on Cisco CRS-1 Routers
Connecting to the Router Through the Console Port
Communication Ports on the RP for a Cisco CRS-1 16-Slot LCC
Card status green=OK
To connect to the router, perform the following procedure
Start the terminal emulation program Press Enter
Command or Action
Log in to the router
Where to Go Next
Command or Action Purpose
If the router has no configuration, the router displays
If the router has been configured, the router displays
Prerequisites
Software Requirements
Establish a connection to the DSC Console port
Bringing Up and Configuring a Standalone Router
Hardware Prerequisites and Documentation
Examples
Return
Verifying the System After Initial Bring-Up
Example
Examples of show Commands
Show version Command
Show environment options
Show environment Command
RP/0/RP0/CPU0router# show environment temperatures
Show platform Command
Show redundancy Command
Multishelf System
Restrictions
Hardware Requirements
Preparing a Rack Number Plan
Information About Bringing Up a Multishelf System
Bringup Overview
Chassis Serial ID Rack Number
DSC in a CRS-1/M-F1 Multishelf System
Sample Rack Number Plan for a Two-FCC Multishelf System
Location of the Serial Number on a Fabric Card Chassis
Location of the Serial Number on a Line Card Chassis
Configuring the External Cisco Catalyst 6509 Switches
Hardware Requirements
Prerequisites
Software Requirements
Restrictions
Before You Begin
Quantity Description Part
Catalyst 6500 Sup720 Compact Flash Mem 256MB
Revision number
Information About the Catalyst Switch Configuration
Configuring the Catalyst Switches
Switchport access vlan
Sets the forward-delay timer for all MST instances on
Sets the maximum-age timer for all MST instances on
Sets the spanning tree priority for the switch
Primary Catalyst switch should be configured
Example Single-FCC Multishelf System Configuration
Default selection
Exits interface configuration mode and returns to global
Configuration mode
Example Four-FCC Multishelf System Configuration
Switches in a four-FCC multishelf system
CAT6k-2config# interface gigabitethernet 0/1
Router# show running-config
Switchport
Shutdown
CAT6k-1#show interfaces status
Verifying the Catalyst Switch
Verify the Interface Status
Router# show interface gi 6/1 inc Gig
Verify that the Links are Not Unidirectional
CAT6k-1#show spanning-tree
Integrated Switch System
Prerequisites for an Integrated Switch System
Integrated Switch Overview
Restrictions for an Integrated Switch System
Information About the Integrated Switch Implementation
Integrated Switch Functions
Rack Type Description
Implementing the Integrated Switch System
Integrated Switch Control Network Topology
LED Definitions for the Integrated Switch System
Implementing the Integrated Switch Through Rommon
Implementing the Integrated Switch in Cisco IOS XR
Booting Up the Integrated Switch Network
6lists the Rommon switch configuration
Reenabling the Ports
Verifying the Control Ethernet Connection
Verifying the Port Statistics
Verifying Bidirectionality
Verifying Spanning Tree Protocol Information
Bringing Up and Configuring Rack
Admin Configure Dsc serial serial ID rack
Planning information including DSC placement
Places the router in administration configuration mode
LCC containing the DSC should be configured with
Want to configure as Rack
When each subsequent LCC comes on line, the DSC
Enter this command for every FCC in the multishelf
When each subsequent rack comes on line, the DSC
Commits the target configuration to the router running
Configures a plane to operate in an FCC slot
Enter this command sequence for each of the eight fabric
You want to configure
Fabric plane you are configuring. Valid slot numbers are
Group cisco-support
F0/SM0/FM
Apply power to all FCCs
Bringing Up and Verifying FCCs
Show controllers fabric rack all detail
Show controllers fabric rack all detail
Show controllers fabric plane all detail
Bringing Up and Verifying the Non-DSC LCC
Show controllers fabric connectivity all detail
Exit
Verifying the Spanning Tree
Show platform command must be executed
Enter this command for each RP and Scge card
Switched Interface column, one GE port
Expected Catalyst switch, as defined by the Catalyst
Verify the Spanning Tree
Detail location 1/rp1/cpu0
Detail location 0/rp1/cpu0
Detail location 1/rp0/cpu0
Detail location F0/SC1/cpu0
Verifying Fabric Cabling Connections
Detail location F0/SC0/cpu0
LED State Color Meaning
If the LED is off, it can mean
10 6 11 7
OIM11 OIM0
Where to Go Next
OL-10957-02
Secure Domain Routers
Chapter contains the following sections
Connecting and Communicating with the Router
3shows the DRP Plim connections
Remote CLI, CWI XML, or Snmp
Card status green=OK
Communication Ports on the DRP Plim
Establishing a Connection Through the Console Port
Summary Steps
Establishing a Connection Through a Terminal Server
Standalone router is starting up for the first time, see
Standalone Router. If a multishelf system is starting
Up for the first time, see , Bringing Up
Install and configure the terminal server
Press Enter Log in to the router
Replace access-server-address with the IP address
Root-system username and password when prompted
Establishes a Telnet session with the terminal server
Terminal server, and replace port with the terminal
Logging In to a Router or an SDR
Telnet ManagementEthernetInterfaceIPaddress
CLI Prompt
Prompt Syntax Components Description
User Access Privileges
User Groups, Task Groups, and Task IDs
Command Description
Predefined User Groups
User Group Privileges
Personnel
Show aaa usergroup group-name
Show user tasks
Show user all
Aaa usergroup root-system
User group root-system Inherits from task group Root-system
Navigating the Cisco IOS XR Command Modes
Identifying the Command Mode in the CLI Prompt
Command Mode Navigation Example,
Example
Summary of Common Command Modes
Command Mode Description
Not available on most routers
Entering Exec Commands from a Configuration Mode
Password recovery, and other diagnostic tasks
Command Mode Navigation Example
Managing Configuration Sessions
6illustrates the two-stage configuration process
Displaying the Active Configuration Sessions
RP/0/RP0/CPU0router# show configuration sessions
Starting a Configuration Session
RP/0/RP0/CPU0routerconfig-if#ipv4 address 10.10.10.10
Starting an Exclusive Configuration Session
Displaying Configuration Details with show Commands
Displaying the Running Configuration
Following sections describe the following tasks
Ntp
Displaying a Sanitized Version of the Running Configuration
Telnet ipv4 server max-servers 5 username removed
Displaying the Target Configuration
Displaying a Combined Target and Running Configuration
Displaying Configuration Error Messages and Descriptions
Configuration failed load command
Loading an Alternative Configuration at System Startup
Saving the Target Configuration to a File
Loading the Target Configuration from a File
Clearing All Changes to a Target Configuration
Committing Changes to the Running Configuration
Show configuration commit list detail command
Commit best-effort
Commit comment line
Commit confirmed
Reloading a Failed Configuration
RP/0/0/CPU0routerconfig# load configuration failed commit
Ending a Configuration Session
Exiting a Configuration Submode
Returning Directly to Configuration Mode from a Submode
Preceding example sets the SDR name to Sdrsj
Configuring the SDR Hostname
Aborting a Configuration Session
Configuring the Management Ethernet Interface
Syntax Components Description
Displaying the Available Management Ethernet Interfaces
Management Interface Interface Name Example
Prerequisites
Configuring the Management Ethernet Interface
Configure Interface MgmtEthrack/slot/CPU0/port
Enters global configuration mode
Enters interface configuration mode and specifies
Command parameters are described in Table
Exits the Management Ethernet interface configuration
Ends the configuration session and returns to Exec
Displays the interface details to verify the settings
RP/0/RP0/CPU0routerconfig-if#ipv4 address 10.1.1.1
Show interfaces MgmtEth rack/ slot/CPU0/ port
Manually Setting the Router Clock
Clock update-calendar Show clock
Related Topic Document Title
Commit End
Clock timezone command should be entered
Enter the show clock command
For detailed information about setting the system
Clock, including the configuration of a network time
Related Documents
Configuring Additional Router Features
Configuring Telnet, HTTP, and XML Host Services
Following example, the domain name and DNS are configured
Complete descriptions of the domain services
Commands
Managing Configuration History and Rollback
Following example, the host services are enabled
Installation and activation of the Manageability
Descriptions of the Telnet commands
Displaying the Configuration Changes Recorded in a CommitID
RP/0/RP1/CPU0router# show configuration commit list
RP/0/RP1/CPU0routeradmin# show configuration commit list
Displaying the CommitIDs
RP/0/RP1/CPU0router# show configuration rollback changes to
Previewing Rollback Configuration Changes
RP/0/RP1/CPU0routeradmin# show configuration commit changes
RP/0/RP0/CPU0router# rollback configuration last
Rolling Back the Configuration to a Specific Rollback Point
RP/0/RP1/CPU0router# rollback configuration to
RP/0/RP1/CPU0router# show configuration commit changes ?
RP/0/0/CPU0routerconfig# load rollback changes to
RP/0/0/CPU0routerconfig# load rollback changes
RP/0/0/CPU0router# clear configuration commit diskspace
Deleting CommitIDs
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
RP/0/RP0/CPU0routerconfig# logging
RP/0/RP0/CPU0routerconfig# logging trap debugging Levels
When a severity level is specified, only messages at
Specifies a syslog server host to use for system logging
Following example, basic message logging is configured
Configuration of system logging
Commands used to configure logging
Configuration of alarm correlation and generating
Creating and Modifying User Accounts and User Groups
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
Configuration Limiting
Static Route Configuration Limits
Default Absolute Configuration Command
Limit Mode
IS-IS Configuration Limits
OSPFv2 and v3 Configuration Limits
Limit Mode Exec Mode
Maximum-redistributed-prefixes n Show isis adjacency
Maximum paths n Show running-config router ospf
Maximum interfaces n Show ospf
Maximum redistributed-prefixes Show ospf
If the maximum paths
Maximum Routes Redistributed into Ospf
Feature Limit Description
BGP Configuration Limits
Default Absolute Maximum Configuration Command
Routing Policy Language Line and Policy Limits
RP/0/RP1/CPU0router# show rpl maximum
Multicast Configuration Limits
Mpls Configuration Limits
Default Absolute Show Current Settings Maximum Command
Limit Configuration Command Exec Mode
Other Configuration Limits
CLI Tips, Techniques, and Shortcuts
CLI Tips and Shortcuts
Entering Abbreviated Commands
Using the Question Mark ? to Display On-Screen Command Help
That apply to the keyword and brief explanations
Generally, uppercase letters represent variables arguments
Completing a Partial Command with the Tab Key
Identifying Command Syntax Errors
Editing Command Lines that Wrap
Displaying System Information with show Commands
Using the no Form of a Command
Common show Commands
Command Description Command Mode
Browsing Display Output when the --More-- Prompt Appears
Halting the Display of Screen Output
Redirecting Output to a File
Narrowing Output from Large Configurations
RP/0/RP1/CPU0router# show running-config router static
RP/0/RP1/CPU0router# show running-config interface pos
Filtering show Command Output
Using Wildcards to Display All Instances of an Interface
Adding a Filter at the --More-- Prompt
Contains the regular expression
Displays output lines that contain the regular expression
File on the specified device
Using Wildcards to Identify Interfaces in show Commands
Wildcards, Templates, and Aliases
Example
Wildcard Syntax Description
Creating Configuration Templates
RP/0/RP1/CPU0router# show interfaces pos* brief
Show running-config template template-name
End-template
Applying Configuration Templates
Applies the target configuration commands to the running
RP/0/RP0/CPU0router# show running-config Template tmplt1
Show running-config template template-name
5defines the alias command syntax
Aliases
Command History
Keystrokes Used as Command Aliases
Displaying Previously Entered Commands
RP/0/0/CPU0routerconfig# alias my-cookie mgmtEth 0/0/CPU0/0
Recalling Previously Entered Commands
Redisplaying the Command Line
Command or Key Combination Purpose
Command or Key Combination Recalls
Key Combinations
Key Combinations to Move the Cursor
Keystrokes to Control Capitalization
Keystrokes Function Moves the Cursor
Keystrokes to Delete CLI Entries
Transposing Mistyped Characters
Esc, L Esc, U
Keystrokes Deletes
OL-10957-02
Basic Troubleshooting Commands
Additional Sources for Information
Show variables boot
Show install
Show context and show exception
Show controller
Using the ping Command
Next example, an unsuccessful ping attempt is shown
Using the traceroute Command
Following example, a successful ping attempt is shown
Using debug Commands
Displaying a List of Debug Features
Following example, the route for an IP address is displayed
RP/0/RP0/CPU0router# traceroute
Enabling Debugging for a Feature
Displaying Debugging Status
Configuration Error Messages
Disabling Debugging for a Service
Configuration Failures During a Commit Operation
Configuration Errors at Startup
Show configuration failed command
Show configuration failed noerror command
Memory Warnings in Configuration Sessions
Understanding Low-Memory Warnings in Configuration Sessions
ERROR! Memory is in Severe or Critical State
Displaying System Memory Information
Removing Configurations to Resolve Low-Memory Warnings
Clearing a Target Configuration
Removing Committed Configurations to Free System Memory
Heading Description
Rolling Back to a Previously Committed Configuration
Clearing Configuration Sessions
Verifying the System Interfaces
Interfaces Not Coming Up
Contacting TAC for Additional Assistance
Configure the interfaces, as shown in the following examples
RP/0/RP0/CPU0router# show ipv4 interface brief
Bring the interface up with the following commands
Connection
OL-10957-02
Regular Expressions
Character Special Meaning
Special Characters
Character Pattern Ranges
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
OL-10957-02
Denoted as primary
GL-1
Into memory at startup
Is from 0x0 to 0xFFFF 0 to 65535 in decimal
Processes
Client runs in a web browser
Installation or upgrade
Have a registered name in the same style
Outgoing channel
Received
GL-4
Examples of platforms using a GUI. See also CLI
Need to provide continuous service
GL-5
Provides other information relevant to IP packet processing
RIP
To boot a node
048,576 bits
Standard and private proprietary branches
IP routing information
Card installed and running on the router
Battery permanently connected
Loading software images from a network server, such as Tftp
Sent to it by a peer
Group of software components installed on the router
Interfaces connecting to a Cisco CRS-1 router
SDH frames
GL-8
GL-9
Delay, and delivery guarantee
Data
GL-10
Cisco Technical Assistance Center
GL-11
GL-12
GL-13
GL-14
IN-1
IS-IS
Multicast
Static routes
IN-2
IN-3
DRP Plim illustration PRP-2 illustration
RP for 4-slot and 8-slot LCCs, illustration 1-11,4-4
Low memory warning, removing configurations
IN-4
IN-5
Maximum-paths command
Module Number displayed in prompt More prompt
FCC
IN-6
IN-7
Show task supported command
Show tech-support command 6-6,7-3 Show user command
Status LEDs
IN-8
IN-9
Username command
Wildcards
IN-10