Cisco ASR 9000 Getting Started Manual

Cisco ASR 9000 Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

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 ASR 9000 Series Aggregation
Services Router Getting Started Guide
Cisco IOS XR Software Release 3.7
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-17502-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco ASR 9000

  • Page 1 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 ASR 9000 Series Aggregation Services Router Getting Started Guide Cisco IOS XR Software Release 3.7 Americas Headquarters Cisco Systems, Inc.
  • Page 2 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.
  • Page 3: Table Of Contents

    Extensible Markup Language API Simple Network Management Protocol Connecting to the Router Through the Console Port OL-17502-01 C O N T E N T S viii 1-10 1-10 1-10 1-11 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 4 Command Mode Navigation Example Managing Configuration Sessions Entering Configuration Changes Viewing Active Configuration Sessions Starting a Configuration Session Examples 3-20 Starting an Exclusive Configuration Session Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-13 3-11 3-12 3-12 3-14 3-15 3-16...
  • Page 5 Configuring Telnet and XML Host Services Prerequisites Examples OL-17502-01 3-21 3-22 3-23 3-24 3-25 3-26 3-26 3-26 3-27 3-27 3-27 3-28 3-30 3-31 3-31 3-31 3-32 3-32 3-33 3-34 3-35 3-38 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Contents 3-26 3-33...
  • Page 6 Multicast Configuration Limits MPLS Configuration Limits Other Configuration Limits C H A P T E R Contents CLI Tips and Shortcuts Entering Abbreviated Commands Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-12 4-12 4-13 4-13 4-15 4-15...
  • Page 7 Keystrokes to Delete CLI Entries Transposing Mistyped Characters C H A P T E R Contents OL-17502-01 5-10 5-11 5-11 5-12 5-13 5-15 5-17 5-17 5-17 5-18 5-19 5-19 5-20 5-20 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Contents...
  • Page 8 A P P E N D I X Understanding Regular Expressions, Special Characters, and Patterns Contents Regular Expressions Special Characters Character Pattern Ranges Multiple-Character Patterns Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-10 6-10 6-10 6-11 6-11 6-12...
  • Page 9 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 Complex Regular Expressions Using Multipliers Pattern Alternation Anchor Characters Underscore Wildcard Parentheses Used for Pattern Recall Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
  • Page 10 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 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
  • Page 11: Preface

    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 This guide introduces the Cisco ASR 9000 Series Aggregation Services Router that runs Cisco IOS XR Software. This guide also describes administration, maintenance, and troubleshooting tasks that may be required after initially starting the router.
  • Page 12: Intended Audience

    Customers who daily use and manage routers running Cisco IOS XR Software • Organization of the Document This document contains the following chapters: Chapter 1, “Introducing to the Cisco ASR 9000 Series Aggregation Services Router” • Chapter 2, “Bringing Up Cisco IOS XR Software on the Router” •...
  • Page 13: Obtaining Documentation And Submitting A Service Request

    The RSS feeds are a free service and Cisco currently supports RSS version 2.0. OL-17502-01 Convention boldface font Option > Network Preferences Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 14 Preface 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 ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
  • Page 15: 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 Introducing to the Cisco ASR 9000 Series Aggregation Services Router This chapter introduces the Cisco ASR 9000 Series Aggregation Services Router that runs Cisco IOS XR Software. It also introduces router concepts, features, and user interfaces. Contents Router Overview, page 1-1 •...
  • Page 16: Cisco Ios Xr Software

    You can use EVC-based services in conjunction with MPLS-based L2VPNs and native IEEE bridging deployments. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router...
  • Page 17: Flexible Ethernet

    Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services 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 Flexible VLAN classification: VLAN classification into Ethernet flow points (EFPs) includes •...
  • Page 18: L2Vpn

    MPLS OAM: This protocol supports label-switched-path (LSP) ping, LSP TraceRoute, and virtual • circuit connectivity verification (VCCV). Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router OL-17502-01...
  • Page 19: Layer 3 Routing

    Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services 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...
  • Page 20: High Availability

    The router runs Cisco IOS XR Software on the following standalone chassis types, available in AC or DC versions: a 6-slot chassis • • a 10-slot chassis Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router OL-17502-01...
  • Page 21 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services 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...
  • Page 22: Management And Security

    A flexible common infrastructure for managing network resources – Consistent procedures and interfaces for all network elements – Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router OL-17502-01...
  • Page 23: Security

    • Initial Router Configuration The initial configuration of the Cisco ASR 9000 Series Aggregation Services Router is determined automatically by the software when you boot the router; you need not set up any general configuration information. Also there is no explicit configuration needed to make a particular RSP active. It becomes the active RSP when chosen automatically by the software upon boot.
  • Page 24: Command-Line Interface

    For more information, see the Cisco IOS XR Software documents listed in the section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-10 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router “Related Documents”...
  • Page 25: Connecting To The Router Through The Console Port

    Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services 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...
  • Page 26 Connect a terminal to the Console port. Step 3 Start the terminal emulation program. Step 4 Press Enter. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-12 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Purpose Starts the router.
  • Page 27: Configuring Gigabit Ethernet And 10-Gigabit Ethernet Interfaces

    Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services 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...
  • Page 28 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router 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...
  • Page 29: Contents

    Prerequisites The following sections describe the software and hardware requirements for bringing up the router running Cisco IOS XR Software Release 3.7. OL-17502-01 C H A P T E R Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 30: Software Requirements

    If the router is brought up with an incompatible version of the ROM Monitor software, the standby RP may fail to boot. For instructions to overcome a boot block in the standby RSP, see the Cisco ASR 9000 Series Aggregation Series Router ROM Monitor Guide. Hardware Prerequisites and Documentation...
  • Page 31: Examples

    After you log in, the router displays the CLI prompt, • which is described in the page 3-6. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Bringing Up and Configuring the Router 1-11. “CLI Prompt” section on...
  • Page 32: Verifying The System After Initial Boot

    RP/0/RSP0/CPU0:router# show platform Step 4 exit Example: RP/0/RSP0/CPU0:router# exit Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 2 Bringing Up Cisco IOS XR Software on the Router Purpose Displays information about the router, including image names, uptime, and other system information.
  • Page 33: Examples Of Show Commands

    Partner node , and the role Standby node Displays information about the hardware attributes and status. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Verifying the System After Initial Boot row displays standby row displays Ready...
  • Page 34 For more information on the show platform command, see Cisco IOS XR Interface and Hardware Component Command Reference. show redundancy Command: Example To view information about the active and standby (inactive) RPs, type the show redundancy command as follows: Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 2 Type State A9K-RSP-4G-HDD(Active)
  • Page 35 1 07:40:00 2008: 5 hours, 8 minutes ago Inlet Hotspot Temperature Temperature (deg C) (deg C) 28.1 35.7 24.0 33.5 26.7 35.0 30.0 39.1 Status Critical-Alarm Major-Alarm Minor-Alarm Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Verifying the System After Initial Boot...
  • Page 36: 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 Where to Go Next For information on configuring basic router features, see Chapter 3, “Configuring General Router Features.” Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
  • Page 37: Contents

    The following sections describe how to connect to the router: OL-17502-01 C H A P T E R 3-33. Router management and configuration can take place over an Ethernet Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide “Configuring the Management Ethernet...
  • Page 38: Connecting Through The Console Port

    Connect a terminal to the Console port of the active RSP. Step 3 Start the terminal emulation program. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 3 Purpose Identifies the RSP to which you must connect in the next step.
  • Page 39: Connecting Through A Terminal Server

    Router” section on page 3-5. After you log in, the router displays the CLI prompt, which is • described in the “CLI Prompt” section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Username: “Logging In to 3-6.
  • Page 40 “Related Documents” section on page Identifies the RSP to which you connect in the next step. The Cisco ASR 9000 Series router has two RSPs: RSP0 and RSP1. • One is the active RSP, and the other is the standby.
  • Page 41: Connecting Through The Management Ethernet Interface

    The router displays the prompt: Establishes your access rights for the router management session. Type a username and password when prompted. 3-35. 3-5. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Logging In to a Router Username: “Configuring the Management “Logging In...
  • Page 42: Cli Prompt

    3-6. The command set that you can use is determined by the privileges assigned to your username. For information on how privileges are assigned to usernames, see the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 43: User Access Privileges

    Users are not assigned to groups by default and must be explicitly assigned by an administrator. Only root-system users (root-lr users) or users associated with the WRITE:AAA task ID can configure Note task groups. OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Logging In to a Router...
  • Page 44: Predefined User Groups

    For information on configuring user groups, see Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.. Viewing Your User Groups and Task IDs To view user groups and task IDs associated with your account, enter show user in EXEC mode.
  • Page 45 WRITE dwdm : READ WRITE : READ WRITE eigrp : READ WRITE : READ WRITE Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Logging In to a Router EXECUTE DEBUG EXECUTE DEBUG EXECUTE DEBUG EXECUTE DEBUG EXECUTE DEBUG...
  • Page 46 Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-10 : READ WRITE : READ WRITE admin : READ WRITE ancp : READ WRITE : READ...
  • Page 47: Navigating Cisco Ios Xr Software Command Modes

    : READ WRITE Example of Command Mode Navigation in Cisco IOS XR Software Login EXEC mode Global configuration mode Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Navigating Cisco IOS XR Software Command Modes EXECUTE DEBUG EXECUTE DEBUG...
  • Page 48: Identifying The Command Mode In The Cli Prompt

    From EXEC mode, use the admin command to enter administration EXEC mode: RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-12 ” after the router name: Chapter 3...
  • Page 49 RP/0/RSP0/CPU0:router(config)# router ospf 100 RP/0/RSP0/CPU0:router(config-ospf)# OL-17502-01 Navigating Cisco IOS XR Software Command Modes ” to indicate that the router is now in global router(config) Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-13...
  • Page 50: Entering Exec Commands From A Configuration Mode

    The ROM Monitor CLI mode is accessible only from a terminal connected directly to the Console port of the primary RSP, a terminal-modem connection to the AUX port, or through a terminal server. See Cisco ASR 9000 Series Aggregation Services Router ROM Monitor Guide for information and instructions on using ROM Monitor mode.
  • Page 51: Command Mode Navigation Example

    IP ARM information ARP show commands ARP show commands ASIC error information Attractor Cache related Show commands for attractor process IM Attributes operations information Auto-RP Commands Show Bulk Content DownLoader information Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-15...
  • Page 52: Managing Configuration Sessions

    This allows you to make, edit, and verify configuration changes before impacting the running state of the router. Figure 3-2 shows the two-stage configuration process. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-16 Chapter 3 Show trace data for the bcm8705 component...
  • Page 53 Stage 1: Enter configuration changes or load a saved configuration. Administration configuration mode Save configuration changes to a file. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions Stage 2: "Commit" changes to the running configuration. 3-17...
  • Page 54: Entering Configuration Changes

    To make configuration changes and remain in CONFIG mode, perform the following procedure. SUMMARY STEPS configure Enter configuration changes. commit Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-18 Chapter 3 Configuring General Router Features Purpose Enters global configuration mode.
  • Page 55: Viewing Active Configuration Sessions

    EXEC mode without committing the configuration changes. – Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-19...
  • Page 56: Starting A Configuration Session

    RP/0/RSP0/CPU0:router # configure RP/0/RSP0/CPU0:router(config)# interface tunnel-te 2 RP/0/RSP0/CPU0:router(config-if)# show configuration Building configuration... interface tunnel-te2 description faq Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-20 Chapter 3 Configuring General Router Features Line User Date...
  • Page 57: Starting An Exclusive Configuration Session

    The following sections describe the different ways to view information about your configuration: Viewing the Running Configuration, page 3-22 • OL-17502-01 “Viewing Active Configuration Sessions” section “Ending a Configuration Session” section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-31. 3-21...
  • Page 58: Viewing The Running Configuration

    3 next-address strict ipv4 unicast 10.119.8.11 index 4 next-address strict ipv4 unicast 10.119.8.19 index 5 next-address strict ipv4 unicast 10.19.19.19 line console Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-22 Chapter 3 Configuring General Router Features...
  • Page 59 3 next-address strict ipv4 unicast 10.0.0.0 index 4 next-address strict ipv4 unicast 10.0.0.0 index 5 next-address strict ipv4 unicast 10.0.0.0 OL-17502-01 2 20:29:51 2008 by <removed> ct ipv4 unicast 10.0.0.0 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-23...
  • Page 60: Viewing The Target Configuration

    RP/0/RSP0/CPU0:router(admin-config-sdr:test)# show configuration Building configuration... sdr test location 0/1/SP Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-24 Chapter 3 Configuring General Router Features OL-17502-01...
  • Page 61: Viewing A Combined Target And Running Configuration

    3 next-address strict ipv4 unicast 10.119.8.11 index 4 next-address strict ipv4 unicast 10.119.8.19 index 5 next-address strict ipv4 unicast 10.19.19.19 line console OL-17502-01 2 20:29:51 2008 by cisco Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-25...
  • Page 62: Viewing Configuration Error Messages And Descriptions

    Target configurations can be saved to a separate file without committing them to the running configuration. Target configuration files can then be loaded at a later time and further modified or committed. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-26 Chapter 3...
  • Page 63: Loading The Target Configuration From A File

    When a router is reset or powered on, the last running configuration is loaded and used to operate the router. You can load an alternative configuration during system boot. See Cisco ASR 9000 Series Aggregation Services Router ROM Monitor Guide for information and instructions on this process.
  • Page 64: Committing Changes To The Running Configuration

    Table 3-5 Command commit commit best-effort Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-28 for more information. Commit Command Options Description (Default) Merges the target configuration with the running configuration and commits changes only if all changes in the target configuration pass the semantic verification process.
  • Page 65: Examples

    The force option should be used only to remove configurations. (Optional) Replaces the contents of the running configuration with the target configuration. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-29...
  • Page 66: Reloading A Failed Configuration

    RP/0/0/CPU0:router(config)# load configuration failed commit RP/0/0/CPU0:router(config)# show configuration Building configuration... taskgroup alr Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-30 6 09:26:17.781 : %LIBTARCFG-6-COMMIT Configuration committed by user Label: test user1 Line:...
  • Page 67: Exiting A Configuration Submode

    Type the end command in any configuration mode or submode • Press Ctrl-Z. Note If you type the exit command in a configuration submode, the command returns you to the parent configuration level. OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-31...
  • Page 68: Aborting A Configuration Session

    'user_a'. the changes. RP/0/RSP0/CPU0:RP_SJ(config)# The preceding example sets the RSP name to RP_SJ. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-32 7 00:07:33.246 : config[65669]: %LIBTARCFG-6-COMMIT : Configuration Use 'show configuration commit changes 1000000067' to view...
  • Page 69: Configuring The Management Ethernet Interface

    On an RSP, the module is “CPU0.” RSPs have two processors, so the module is either “CPU0” and “CPU1.” On a Cisco ASR 9000 Series router, one Ethernet port labeled MGMT ETH exists on each RSP. Specify 0 for the MGMT ETH interface on an RSP.
  • Page 70: Viewing The Available Management Ethernet Interfaces

    Gi0/1/0/3 Gi0/1/0/3.185 Gi0/1/0/3.189 Gi0/1/0/3.215 Gi0/1/0/4 Gi0/1/0/5 Gi0/1/0/6 Gi0/1/0/7 Gi0/1/0/7.185 Gi0/1/0/7.187 --More-- Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-34 MgmtEth0/5/CPU0/0 router(config)# interface MgmtEth0/5/CPU0/0 MgmtEth0/5/CPU1/0 router(config)# interface MgmtEth0/5/CPU1/0 MgmtEth0/0/CPU0/0 router(config)# interface MgmtEth0/0/CPU0/0 MgmtEth0/0/CPU0/1 router(config)# interface MgmtEth0/0/CPU0/1 MgmtEth0/1/CPU0/0 router(config)# interface MgmtEth0/1/CPU0/0...
  • Page 71: Configuring The Management Ethernet Interface

    For information on additional configuration options for the Management Ethernet interface, see Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide. Prerequisites To configure the Ethernet Management port for network communications, you must type the interface network addresses and subnet mask.
  • Page 72 Example: RP/0/RSP0/CPU0:router(config-static)# address-family ipv4 unicast Step 7 commit Example: RP/0/RSP0/CPU0:RO-C(config)# commit Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-36 Chapter 3 Configuring General Router Features Purpose Enters global configuration mode. Enters interface configuration mode and specifies the Management Ethernet interface of the primary RSP.
  • Page 73: Examples

    0 runts, 0 giants, 0 throttles, 0 parity Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuring the Management Ethernet Interface Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.
  • Page 74: Related Documents

    Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-38 Chapter 3 Configuring General Router Features Document Title Cisco ASR 9000 Series Aggregation Services Router...
  • Page 75: Examples

    The hardware clock is battery operated and runs • continuously, even if the router is powered off or rebooted. Displays the clock setting. Use this command to verify the settings. • Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Manually Setting the Router Clock 3-39...
  • Page 76: Related Documents

    Techniques, and Shortcuts.” • For information on configuring interfaces, see the hardware documents listed in the Documents” section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-40 Chapter 3 Document Title Cisco ASR 9000 Series Aggregation Services Router System...
  • Page 77: Contents

    Use the show hosts command in EXEC mode to display the default domain name, the style of name • lookup service, a list of name server hosts, and the cached list of hostnames and addresses. OL-17502-01 C H A P T E R Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 78 Step 3 domain name-server ipv4-address Example: RP/0/RSP0/CPU0:router(config)# domain name-server 192.168.1.111 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 4 Configuring Additional Router Features Purpose Enters global configuration mode. Defines a default domain name used to complete unqualified hostnames.
  • Page 79: Examples

    Use the commit command to save the configuration • changes to the running configuration file and remain within the configuration session. Displays all configured name servers. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 80: Prerequisites

    This process enables the Telnet and XML host services on the Management Ethernet interfaces. For more Note information on how to enable these services on other inband interfaces, refer to the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 81: Examples

    Use the commit command to save the configuration • changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 82: Managing Configuration History And Rollback

    Loading Rollback Configuration Changes to the Target Configuration, page 4-10 • Deleting CommitIDs, page 4-11 • Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 4 Document Title Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide...
  • Page 83: Viewing Commitids

    Changes made in the most recent <n> commits Changes made since (and including) a specific commit Commit ID Commit ID Commit ID Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration History and Rollback Time Stamp ~~~~~~~~~~ 12:27:50 UTC Wed Mar 22 2008...
  • Page 84: Previewing Rollback Configuration Changes

    The rollback process rolls back the configuration and commits the rolled-back configuration. The rollback process also creates a new rollback point so that you can roll back the configuration to the previous configuration. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Commit ID Commit ID...
  • Page 85: Rolling Back The Configuration Over A Specified Number Of Commits

    Unlike the rollback process, the loaded changes are not applied until you commit them. OL-17502-01 Managing Configuration History and Rollback Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 86: Loading Rollback Configuration Changes To The Target Configuration

    Unlike the rollback process, the loaded changes are not applied until you commit them. To display the rollback changes, type the show configuration rollback changes command. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-10 Changes made in the most recent <n> commits...
  • Page 87: Deleting Commitids

    RP/0/RSP0/CPU0:router# clear configuration commit oldest 5 Deleting 5 rollback points '1000000005' to '1000000009' 80 KB of disk space will be freed. Continue with deletion?[confirm] Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-11 OL-17502-01...
  • Page 88: Configuring Logging And Logging Correlation

    Level 1—Alerts Level 2—Critical Level 3—Errors Level 4—Warnings Level 5—Notifications Level 6—Informational Level 7—Debugging Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-12 Logging Locations for System Error Messages Command (Global Configuration Mode) logging console logging monitor logging trap...
  • Page 89: Alarm Logging Correlation

    An operator can extract all correlated messages for display later, should the need arise. See Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide for more information.
  • Page 90: Examples

    Trap logging: level debugging, 2 messages logged Logging to 10.1.1.1, 2 message lines logged Buffer logging: level debugging, 722 messages logged Log Buffer (1000000 bytes): Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-14 Chapter 4 Configuring Additional Router Features Purpose Logs messages on the console.
  • Page 91: Related Documents

    Commands used to configure alarm correlation Retrieve logging events through an XML interface Cisco ASR 9000 Series Aggregation Services Router XML API Guide Disabling Console Logging To disable console logging, type the logging console disable command in global configuration mode.
  • Page 92: Viewing Details About User Accounts, User Groups, And Task Ids

    (AAA) feature. AAA is a suite of security features in the Cisco IOS XR software. For more information on the AAA, see the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide and Cisco ASR 9000 Series Aggregation Services Router System Security Command Reference.
  • Page 93: Configuring User Accounts

    AAA configuration submodes, as shown in This section describes the process to configure usernames. For instructions to configure user groups, task groups, and other AAA security features, see the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 94: Related Documents

    RP/0/RSP0/CPU0:router(config-un)# commit Related Documents Related Topic Create users, assign users to user groups, create and modify user groups, and configure remote AAA access Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-18 Chapter 4 Purpose Enters global configuration mode.
  • Page 95: Configuring Software Entitlement

    • Modular services card bandwidth • Refer to the Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide for more information on configuring software licenses. Configuration Limiting The Cisco IOS XR software places preset limits on the configurations you can apply to the running configuration of a router.
  • Page 96: Configuration Limiting

    In the following example, the maximum number of active parallel paths for each route is increased to 10, and the maximum number of prefixes redistributed into IS-IS is increased to 12,000: RP/0/RSP1/CPU0:router# configure RP/0/RSP1/CPU0:router(config)# router isis 100 address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-20 Absolute Configuration Command...
  • Page 97: Ospfv2 And V3 Configuration Limits

    Limit (Router Configuration Mode) 1024 maximum interfaces n 4294967295 maximum redistributed-prefixes maximum paths n Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuration Limiting Show Current Settings Command (EXEC Mode) show ospf show ospf Note The maximum number of...
  • Page 98 RP/0/RSP1/CPU0:Mar 30 16:26:52 : config[65740]: %SYS-5-CONFIG_I : Configured from console by cisco RP/0/RSP1/CPU0:router# Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-22 Chapter 4 Use 'show configuration commit changes 1000000540' to view Use 'show configuration commit changes 1000000541' to view...
  • Page 99: Routing Policy Language Line And Policy Limits

    Current Current Total Limit 65536 3500 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuration Limiting Table 4-7. You can change the default values up Show Current Settings Command (EXEC Mode) show rpl maximum lines...
  • Page 100: Multicast Configuration Limits

    MSDP peers Protocol Independent Multicast (PIM) Limits Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-24 1 00:23:44.062 : config[65709]: %LIBTARCFG-6-COMMIT : Configuration Use 'show configuration commit changes 1000000010' to view 1 00:23:47.781 : config[65709]: %SYS-5-CONFIG_I : Configured from...
  • Page 101: Mpls Configuration Limits

    200,000 350,000 ipv4 access-list maximum ace threshold n Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuration Limiting Show Current Settings Command (EXEC Mode) show pim summary show pim summary show pim summary...
  • Page 102 Configuration Limiting 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 ASR 9000 Series Aggregation Services Router Getting Started Guide 4-26...
  • Page 103: Cli Tips And Shortcuts

    For example, the configure command can be abbreviated as config because the abbreviated form of the command is unique. The router accepts and executes the abbreviated command. OL-17502-01 C H A P T E R Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 104: Using The Question Mark (?) To Display On-Screen Command Help

    RP/0/RSP0/CPU0:router(config)# ipv4 access-list ? log-update maximum WORD Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configure exclusively from this terminal Configure from the terminal symbol indicates that you can execute the command with the <cr> Show all the local taskgroups configured in the system...
  • Page 105 The configuration does not become active until you type the commit command to add the target Note configuration to the running configuration. OL-17502-01 Sequence number for this entry Specifies packets to reject Specifies packets to forward Comment for access list Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide CLI Tips and Shortcuts...
  • Page 106: Completing A Partial Command With The Tab Key

    The username command creates a new user, and the no username command deletes a user when entered with a valid username. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configure exclusively from this terminal...
  • Page 107: Editing Command Lines That Wrap

    Redirecting Output to a File, page 5-7 • Narrowing Output from Large Configurations, page 5-8 • Filtering show Command Output, page 5-9 • OL-17502-01 Viewing System Information with show Commands for more information. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide “Related...
  • Page 108: Common Show Commands

    Press the space bar to display the next screen of output. The following example shows one screen of data and the RP/0/RSP0/CPU0:router# show ? Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Description Displays system information. Displays the uncommitted configuration changes made during a configuration session.
  • Page 109: Halting The Display Of Screen Output

    Show commit information prompt, try entering a value for the screen length with the terminal --More-- filename | file Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Viewing System Information with show Commands “Filtering show Command Output” section...
  • Page 110: Narrowing Output From Large Configurations

    In the following example, a configuration for all Gigabit-Ethernet interfaces appears: RP/0/RSP1/CPU0:router# show running-config interface gi * interface Gi0/1/0/0 ipv4 address 10.2.3.4 255.255.255.0 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide myconfig.cfg Chapter 5 CLI Tips, Techniques, and Shortcuts...
  • Page 111: Filtering Show Command Output

    Displays output lines that contain the regular expression. Writes the output lines that contain the regular expression to the specified file on the specified device. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Viewing System Information with show Commands...
  • Page 112: Adding A Filter At The --More-- Prompt

    On most systems, Ctrl-Z can be entered at any time to interrupt the output and return to EXEC mode. For more information, see Patterns.” Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-10 prompt of a show command output by entering a forward slash...
  • Page 113: Multipipe Support

    Using Wildcards to Identify Interfaces in show Commands, page 5-12 Creating Configuration Templates, page 5-13 • Aliases, page 5-16 • Keystrokes Used as Command Aliases, page 5-17 • OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Wildcards, Templates, and Aliases 5-11...
  • Page 114: Example

    32 keepalive disable --More-- In the following example, the state of all Gigabit-Ethernet interfaces appears: RP/0/RSP1/CPU0:router# show interfaces gi* brief Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-12 Examples of Wildcard Usage Description Specifies all interfaces...
  • Page 115: Creating Configuration Templates

    [($parameter $parameter...)] [config-commands] Type the template commands. end-template commit show running-config template template-name OL-17502-01 Name State State Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Wildcards, Templates, and Aliases Type (byte) (Kbps) HDLC 4474 2488320 HDLC 4474...
  • Page 116 RP/0/RSP0/CPU0:router(config-TPL)# commit Step 6 show running-config template template-name Example: RP/0/RSP0/CPU0:router# show running-config template tmplt_1 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-14 Purpose Enters global configuration mode. Enters template configuration mode and creates a template. • template-name: Unique name for the template to be applied to the running configuration.
  • Page 117: Examples

    In the following example, a simple template is defined. The template contents are then displayed with the show running-config template template-name command: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# apply-template jbtest RP/0/RSP0/CPU0:router(config)# show running-config template jbtest Building configuration... OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Wildcards, Templates, and Aliases 5-15...
  • Page 118: Aliases

    After you enter a command with an alias, the router displays the command you entered with the alias value so that you can verify that alias value. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-16 alias Command Syntax Specifies that the Alias Is Created for Name of the command alias.
  • Page 119: Keystrokes Used As Command Aliases

    To recall commands from the history buffer, use one of the commands or key combinations listed in Table 5-6. OL-17502-01 “Managing Configuration History and 4-6. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Command History 5-17...
  • Page 120: Recalling Deleted Entries

    • Keystrokes to Delete CLI Entries, page 5-20 • Transposing Mistyped Characters, page 5-20 • Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-18 Command History Purpose Recalls commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall successively older commands.
  • Page 121: Key Combinations To Move The Cursor

    Makes the letter at the cursor uppercase. Changes the word at the cursor to lowercase. Makes letters from the cursor to the end of the word uppercase. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Key Combinations Table 5-9...
  • Page 122: Keystrokes To Delete Cli Entries

    Ctrl-U or Ctrl-X Ctrl-W Esc, D Transposing Mistyped Characters To transpose mistyped characters, use the Ctrl-T key combination. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-20 Keystrokes for Deleting Entries Deletes The character to the left of the cursor.
  • Page 123: Additional Sources For Information

    Using show Commands to Display System Status and Configuration, page 6-2 • Using the ping Command, page 6-2 • Using the traceroute Command, page 6-3 • OL-17502-01 C H A P T E R viii. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 124: Using Show Commands To Display System Status And Configuration

    Running Fabric node ping. Please wait... Src: 529:, Dest: 109, Sent: 1, Rec'd: 1, Mismatched: 0 Min/Avg/Max RTT: 20000/20000/20000 Fabric node ping succeeded for node: 109 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 0/RSP1/CPU0 0/6/5 0/RSP1/CPU0 Packet size:...
  • Page 125: Using The Traceroute Command

    Debug commands can generate a very large amount of output and can render the system unusable. Use Caution debug to troubleshoot specific problems or during specific troubleshooting sessions on systems that are not in production. OL-17502-01 2 msec 1 msec 2 msec Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Basic Troubleshooting Commands...
  • Page 126: Viewing A List Of Debug Features

    RP/0/RSP0/CPU0:router(debug)# exit You can also type the complete command from EXEC mode, as shown in the following example: RP/0/RSP0/CPU0:router# debug aaa all Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide AAA Authentication, Authorization and Accounting Adjacency debug platform AIB information...
  • Page 127: Viewing Debugging Status

    RP/0/RSP0/CPU0:router# undebug all RP/0/RSP0/CPU0:router# show debug No matching debug flags set OL-17502-01 #### #### #### #### Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Basic Troubleshooting Commands...
  • Page 128: Disabling Debugging For All Services Started At All Terminal Sessions

    !To display the configuration items that failed, including a description of the error, type the show configuration failed command: P/0/RSP0/CPU0:router(config-tg)# show configuration failed !! CONFIGURATION FAILED DUE TO SEMANTIC ERRORS Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 6 Troubleshooting the Cisco IOS XR Software OL-17502-01...
  • Page 129: Configuration Errors At Startup

    During a configuration session when the memory shortage occurs. • When a user attempts to load a target configuration from a large file that results in a memory shortage. OL-17502-01 Memory Warnings in Configuration Sessions Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
  • Page 130: Warning! Memory Is In Minor State

    To display general memory usage for the device as a whole and by process, type the show memory command. describes the meaning of each heading. RP/0/RSP0/CPU0:router# show memory Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 6 Troubleshooting the Cisco IOS XR Software “Removing Configurations to Resolve Low-Memory Warnings”...
  • Page 131: Removing Configurations To Resolve Low-Memory Warnings

    IO memory—Currently used as a backup for packet memory. Flash file system memory. Process and job ID. Starting address in memory. Size of memory block. Block description. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Memory Warnings in Configuration Sessions...
  • Page 132: Clearing A Target Configuration

    Rolling Back to a Previously Committed Configuration You can roll back the system to a previous committed configuration, as described in Configuration History and Rollback, page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-10 Chapter 6 Managing Configuration History and Rollback, page 4-6.
  • Page 133: Clearing Configuration Sessions

    Displays basic, IP-related information for all available interfaces. Quickly displays the most critical information about the interfaces, including the interface status (up or down) and the protocol status. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Interfaces Not Coming Up 6-2).
  • Page 134: Verifying System Interfaces

    Type the commit command to make the new configuration part of the active running Note configuration. If you end the configuration session, you are automatically prompted to commit the changes, as shown in the second example: RP/0/RSP0/CPU0:router# configure Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-12 Type PLIM MSC(SP)
  • Page 135 Shutdown 10.10.1.101 10.1.1.1 10.1.1.2 Shutdown unassigned Shutdown unassigned Shutdown unassigned Shutdown unassigned Shutdown Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Interfaces Not Coming Up Protocol Down Down Down Down Down Down Down Down Down Down Down...
  • Page 136 TenGigE0/3/0/2 MgmtEth0/RSP0/CPU0/0 Step 8 Repeat these steps for every interface, until every interface shows both Status and Protocol as “Up.” Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-14 Chapter 6 Troubleshooting the Cisco IOS XR Software IP-Address...
  • Page 137: Understanding Regular Expressions, Special Characters, And Patterns

    Letter (A–Z and a–z), digits (0–9), and other keyboard characters (such as ! or ~) can be used as a single-character pattern. OL-17502-01 A P P E N D I X 5-9. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide “Filtering show...
  • Page 138: Special Characters

    [^a–dqsv] The following example matches anything except a right square bracket (]) or the letter d: [^\]d] Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Appendix A Understanding Regular Expressions, Special Characters, and Patterns Characters with Special Meaning Special Meaning Matches any single character, including white space.
  • Page 139: Multiple-Character Patterns

    Matches 0 or more single-character or multiple-character patterns. Matches 1 or more single-character or multiple-character patterns. Matches 0 or 1 occurrences of a single-character or multiple-character pattern. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Multiple-Character Patterns Table A-2...
  • Page 140: Pattern Alternation

    Use parentheses with multiple-character regular expressions to multiply the occurrence of a pattern. IOS XR can remember a pattern for use elsewhere in the regular expression. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Appendix A Understanding Regular Expressions, Special Characters, and Patterns ).
  • Page 141 2 again. So, the regular expression can match aZbcTZT. The software remembers that character number 1 is Z and character number 2 is T, and then uses Z and T again later in the regular expression. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
  • Page 142 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 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...

Table of Contents