Cisco Router IOS XR Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for Router Cisco IOS XR:
Table of Contents
Cisco IOS XR Getting Started Guide
Cisco IOS XR Software Release 3.4
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-10957-02
Table of Contents
loading

Summary of Contents for Cisco Router Cisco IOS XR

  • Page 1 Cisco IOS XR Getting Started Guide Cisco IOS XR Software Release 3.4 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-10957-02...
  • Page 2 OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCVP, the Cisco Logo, and the Cisco Square Bridge logo are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.;...
  • Page 3: Table Of Contents

    Preface Changes to This Document About This Document Intended Audience Organization of the Document Related Documents Conventions Obtaining Documentation Cisco.com Product Documentation DVD Ordering Documentation Documentation Feedback Cisco Product Security Overview Reporting Security Problems in Cisco Products Product Alerts and Field Notices Obtaining Technical Assistance Cisco Technical Support &...
  • Page 4 Contents Connecting to the Router Through the Console Port Where to Go Next Bringing Up the Cisco IOS XR Software on a Standalone Router C H A P T E R Contents Prerequisites Software Requirements Hardware Prerequisites and Documentation Bringing Up and Configuring a Standalone Router Verifying the System After Initial Bring-Up Where to Go Next Bringing Up the Cisco IOS XR Software on a Multishelf System...
  • Page 5 Verifying the Spanning Tree Verifying Fabric Cabling Connections Where to Go Next Configuring General Router Features C H A P T E R Contents Secure Domain Routers Connecting and Communicating with the Router Establishing a Connection Through the Console Port Establishing a Connection Through a Terminal Server Establishing a Connection Through the Management Ethernet Interface Logging In to a Router or an SDR...
  • Page 6 Contents Configuring the Management Ethernet Interface Specifying the Management Ethernet Interface Name in CLI Commands Displaying the Available Management Ethernet Interfaces Configuring the Management Ethernet Interface Manually Setting the Router Clock Where to Go Next Configuring Additional Router Features C H A P T E R Contents Configuring the Domain Name and Domain Name Server Configuring Telnet, HTTP, and XML Host Services...
  • Page 7 CLI Tips, Techniques, and Shortcuts C H A P T E R Contents CLI Tips and Shortcuts Entering Abbreviated Commands Using the Question Mark (?) to Display On-Screen Command Help Completing a Partial Command with the Tab Key Identifying Command Syntax Errors Using the no Form of a Command Editing Command Lines that Wrap Displaying System Information with show Commands...
  • Page 8 Contents Using the ping Command Using the traceroute Command Using debug Commands Configuration Error Messages Configuration Failures During a Commit Operation Configuration Errors at Startup Memory Warnings in Configuration Sessions Understanding Low-Memory Warnings in Configuration Sessions Displaying System Memory Information Removing Configurations to Resolve Low-Memory Warnings Contacting TAC for Additional Assistance Interfaces Not Coming Up...
  • Page 9: About This Document

    Preface This guide describes how to create the initial configuration for a router using the Cisco IOS XR software. This guide also describes how to complete additional administration, maintenance, and troubleshooting tasks that may be required after initial configuration. This preface contains the following sections: Changes to This Document, page ix •...
  • Page 10: Preface

    About This Document Intended Audience, page x • Organization of the Document, page x • • Related Documents, page x • Conventions, page xi Intended Audience This document is intended for the following people: Experienced service provider administrators • Cisco telecommunications management engineers •...
  • Page 11: Obtaining Documentation

    Preface Cisco IOS XR software runs only on the Cisco XR 12000 Series Routers listed in the Note Standalone System Configurations” section on page 1 Software.” Conventions This document uses the following conventions: Item Commands and keywords Variable for which you supply values Displayed session and system information Commands and keywords you enter in an interactive environment...
  • Page 12: Documentation Feedback

    Documentation Feedback You can access the Cisco website at this URL: http://www.cisco.com You can access international Cisco websites at this URL: http://www.cisco.com/public/countries_languages.shtml Product Documentation DVD The Product Documentation DVD is a library of technical product documentation on a portable medium. The DVD enables you to access installation, configuration, and command guides for Cisco hardware and software products.
  • Page 13: Product Alerts And Field Notices

    Preface A current list of security advisories, security notices, and security responses for Cisco products is available at this URL: http://www.cisco.com/go/psirt To see security advisories, security notices, and security responses as they are updated in real time, you can subscribe to the Product Security Incident Response Team Really Simple Syndication (PSIRT RSS) feed.
  • Page 14: Obtaining Technical Assistance

    Obtaining Technical Assistance To access the Product Alert Tool, you must be a registered Cisco.com user. (To register as a Cisco.com user, go to this URL: http://tools.cisco.com/RPF/register/register.do) Registered users can access the tool at this URL: Obtaining Technical Assistance Cisco Technical Support provides 24-hour-a-day award-winning technical assistance. The Cisco Technical Support &...
  • Page 15: Obtaining Additional Publications And Information

    Preface Submitting a Service Request Using the online TAC Service Request Tool is the fastest way to open S3 and S4 service requests. (S3 and S4 service requests are those in which your network is minimally impaired or for which you require product information.) After you describe your situation, the TAC Service Request Tool provides recommended solutions.
  • Page 16 You can access the Internet Protocol Journal at this URL: http://www.cisco.com/ipj Networking products offered by Cisco Systems, as well as customer support services, can be • obtained at this URL: http://www.cisco.com/en/US/products/index.html...
  • Page 17: Contents

    Introduction to Cisco IOS XR Software This chapter introduces the routers that support Cisco IOS XR software and the user interfaces you can use to manage routers that run Cisco IOS XR software. Contents This chapter contains the following sections: Supported Standalone System Configurations, page 1-1 •...
  • Page 18: Chapter 1 Introduction To Cisco Io Xr Software

    Chapter 1 Introduction to Cisco IOS XR Software Cisco CRS-1 Multishelf System Overview Many cards operate in both Cisco XR 12000 Series routers and in Cisco 12000 Series routers. For the Note latest information on which cards are supported by the Cisco IOS XR software in Cisco XR 12000 Series routers and Cisco 12000 Series routers, see Release Notes for Cisco IOS XR Software Release 3.4.
  • Page 19 Chapter 1 Introduction to Cisco IOS XR Software Figure 1-1 Cisco CRS-1 16-Slot Line Card Chassis (two required) Cisco CRS-1 Fabric Card Chassis (one required) OL-10957-02 Single-FCC Multishelf System Cisco CRS-1 Multishelf System Overview INPUT OUTPUT FAIL INPUT OUTPUT FAIL Cisco Catalyst 6509 Switch (two suggested) Cisco IOS XR Getting Started Guide INPUT...
  • Page 20 Cisco CRS-1 Multishelf System Overview Figure 1-2 Cisco CRS-1 16-Slot Line Card Chassis (two required) Cisco CRS-1 Fabric Card Chassis (two required) Cisco IOS XR Getting Started Guide Two-FCC Multishelf System Chapter 1 Introduction to Cisco IOS XR Software INPUT OUTPUT INPUT FAIL...
  • Page 21 Chapter 1 Introduction to Cisco IOS XR Software Figure 1-3 Cisco CRS-1 16-Slot Line Card Chassis (two required) Cisco CRS-1 Fabric Card Chassis (four required) For more information on multishelf systems, see on a Multishelf System.” OL-10957-02 Four-FCC Multishelf System Chapter 3, “Bringing Up the Cisco IOS XR Software Cisco CRS-1 Multishelf System Overview INPUT...
  • Page 22: Router Management Interfaces

    Router Management Interfaces Router Management Interfaces Because new routers are not yet configured for your environment, you must start configuration using the command-line interface (CLI). This guide provides instructions on using the CLI to configure basic router features. The Cisco IOS XR software supports the following router management interfaces, which are described in the following sections: Command-Line Interface, page 1-6 •...
  • Page 23: Simple Network Management Protocol

    Chapter 1 Introduction to Cisco IOS XR Software sends the response to the client in the form of encoded XML API tags. The XML API supports readily available transport layers, including Telnet, Secure Shell (SSH), and Common Object Request Broker Architecture (CORBA).
  • Page 24: Selecting And Identifying The Dsc On Cisco Crs-1 Routers

    Selecting and Identifying the Designated Shelf Controller Selecting and Identifying the DSC on Cisco CRS-1 Routers, page 1-8 • Selecting and Identifying the DSC on Cisco CRS-1 Multishelf Systems, page 1-8 • • Selecting and Identifying the DSC on Cisco XR 12000 and 12000 Series Routers, page 1-9 Selecting and Identifying the DSC on Cisco CRS-1 Routers A Cisco CRS-1 router supports up to two RPs.
  • Page 25: Selecting And Identifying The Dsc On Cisco Xr 12000 And 12000 Series Routers

    Chapter 1 Introduction to Cisco IOS XR Software Any LCC can host the DSC. The FCC cannot host the DSC function. Note Selecting and Identifying the DSC on Cisco XR 12000 and 12000 Series Routers A Cisco XR 12000 or 12000 Series router supports multiple PRPs. When the router is started for the first time, the PRP in the lowest-numbered slot becomes the active PRP and is identified by the alphanumeric display: ACTV RP.
  • Page 26 Connecting to the Router Through the Console Port Figure 1-4 Communication Ports on the RP for a Cisco CRS-1 16-Slot LCC RJ-45 cable Local terminal or terminal server for CLI communication Remote terminal for CLI communication Management Ethernet connection Network for out-of-band network communciation Remote CLI, CWI, XML, or SNMP...
  • Page 27 Chapter 1 Introduction to Cisco IOS XR Software Figure 1-5 Communication Ports on the RP for Cisco CRS-1 4-slot and 8-Slot LCCs RJ-45 cable Local terminal or terminal server for CLI communication Remote terminal for CLI communication Network Remote CLI, CWI, XML, or SNMP communication.
  • Page 28 Connecting to the Router Through the Console Port Figure 1-6 Communication Ports on the PRP-2 for a Cisco XR 12000 Series Router Network Remote CLI, CWI, XML, or SNMP communication. Remote file storage Remote terminal for CLI communication RJ-45 cable Local terminal or terminal server for CLI communication...
  • Page 29 Chapter 1 Introduction to Cisco IOS XR Software Log in to the router. DETAILED STEPS Command or Action Step 1 Power on the standalone router, or power on Rack 0 in a multishelf system. Step 2 Identify the DSC. Step 3 Connect a terminal to the Console port of the DSC.
  • Page 30: Where To Go Next

    Where to Go Next Command or Action Step 5 Press Enter. Step 6 Log in to the router. Where to Go Next If you have logged into the router or multishelf system, you are ready to perform general router configuration as described in If the router is prompting you to enter a root-system username, bring up the router or multishelf system as described in the appropriate chapter: Chapter 2, “Bringing Up the Cisco IOS XR Software on a Standalone Router”...
  • Page 31: Contents

    Bringing Up the Cisco IOS XR Software on a Standalone Router This chapter provides instructions for bringing up the Cisco IOS XR software on a standalone router for the first time. This section applies to standalone routers that are delivered with Cisco IOS XR software installed.
  • Page 32: Hardware Prerequisites And Documentation

    For instructions to overcome a boot block in the standby RP in a single-chassis system, see Cisco IOS XR ROM Monitor Guide. If a boot block occurs in a multishelf system, contact your Cisco Systems support representative for assistance. See Hardware Prerequisites and Documentation The Cisco IOS XR software runs on the routers listed in the Configurations”...
  • Page 33 Chapter 2 Bringing Up the Cisco IOS XR Software on a Standalone Router DETAILED STEPS Command or Action Step 1 Establish a connection to the DSC Console port. Step 2 Type the username for the root-system login and press Return. Step 3 Type the password for the root-system login and press Return.
  • Page 34: Verifying The System After Initial Bring-Up

    Verifying the System After Initial Bring-Up User Access Verification Username: cisco Password: RP/0/0/CPU0:ios# The secret line in the configuration command script shows that the password is encrypted. When you enter the password during configuration and login, the password is hidden. Verifying the System After Initial Bring-Up To verify the status of the router, perform the following procedure: SUMMARY STEPS...
  • Page 35 RP/0/RP0/CPU0:router# show version Cisco IOS XR Software, Version 3.3.0[2I] Copyright (c) 2006 by cisco Systems, Inc. ROM: System Bootstrap, Version 1.38(20050525:193559) [CRS-1 ROMMON], CRS-8_P1 uptime is 1 week, 1 day, 17 hours, 1 minute System image file is "disk0:hfr-os-mbi-3.3.0/mbihfr-rp.vm"...
  • Page 36 Verifying the System After Initial Bring-Up hfr-base, V 3.3.0[2I], Cisco Systems, at disk0:hfr-base-3.3.0 Built on Mon Mar 13 11:43:22 UTC 2006 By iox8.cisco.com in /auto/ioxws48/production/3.3.0.2I/hfr/workspace for c8 hfr-os-mbi, V 3.3.0[2I], Cisco Systems, at disk0:hfr-os-mbi-3.3.0 Built on Mon Mar 13 11:27:02 UTC 2006 By iox8.cisco.com in /auto/ioxws48/production/3.3.0.2I/hfr/workspace for c8...
  • Page 37 Chapter 2 Bringing Up the Cisco IOS XR Software on a Standalone Router 0/1/*: Module (host) LED status says: OK 0/1/*: Module (jacket) LED status says: OK 0/1/*: Module (spa0) LED status says: OK 0/1/*: Module (spa5) LED status says: OK 0/6/*: Module (host) LED status says: OK 0/6/*: Module (jacket) LED status says: OK 0/6/*: Module (spa0) LED status says: OK...
  • Page 38: Where To Go Next

    Where to Go Next 0/SM2/SP 0/SM3/SP RP/0/RP0/CPU0:router# end Line cards in Cisco CRS-1 routers are called modular services cards (MSCs). The show platform Note command output is different for Cisco CRS-1 routers and Cisco XR 12000 Series Routers. In the following example, information is shown for a single node in a Cisco CRS-1 router: RP/0/RP0/CPU0:router# show platform 0/1/CPU0 Node -----------------------------------------------------------------------------...
  • Page 39: Contents

    Bringing Up the Cisco IOS XR Software on a Multishelf System This chapter describes how to bring up the Cisco IOS XR software on a Cisco CRS-1 Carrier Routing System Multishelf System for the first time. Contents This chapter contains the following sections: Prerequisites, page 3-1 •...
  • Page 40: C H A P T E R 3 Bringing Up The Cisco Ios Xr Software On A Multishelf System

    Although Cisco IOS XR Software Release 3.4.0 supports the addition of a second line card chassis, • the removal of a line card chassis is restricted. Consult your Cisco Systems support representative for more information (see the Cisco IOS XR Getting Started Guide...
  • Page 41: Information About Bringing Up A Multishelf System

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Information About Bringing Up a Multishelf System The following sections provide information that is good to know before you bring up a multishelf system: • Bringup Overview, page 3-3 •...
  • Page 42 Information About Bringing Up a Multishelf System Figure 3-1 DSC in a CRS-1/M-F1 Multishelf System Line Card Chassis Fabric Card Chassis Rack 1 Rack F0 Chassis, shelf, and rack are used interchangeably. Each term refers to the physical tower that contains Note the installed cards, power, and cooling equipment.
  • Page 43 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Chassis LCC containing the active DSC Non-DSC LCC Fabric chassis 0 Fabric chassis 1 Table 3-3 shows a sample rack number plan for a four-FCC system. Chassis LCC containing the active DSC Non-DSC LCC Fabric chassis 0...
  • Page 44 Information About Bringing Up a Multishelf System Figure 3-2 SN: XXXNNNNXXXX Cisco IOS XR Getting Started Guide Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Location of the Serial Number on a Fabric Card Chassis OL-10957-02...
  • Page 45 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Figure 3-3 SN: AAANNNNXXXX Always assign a rack number to each chassis in the system before the chassis is booted. If a chassis is Caution not assigned a rack number, or if the rack number conflicts with an existing chassis, it may not be recognized by the system or cause other operational difficulties.
  • Page 46: Configuring The External Cisco Catalyst 6509 Switches

    Configuring the External Cisco Catalyst 6509 Switches To display the configured chassis serial numbers in administration EXEC mode, see Cisco IOS XR • System Management Configuration Guide, Release 3.4. To display the chassis serial numbers in ROM Monitor, see Cisco IOS XR ROM Monitor Guide. •...
  • Page 47: Prerequisites

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Figure 3-4 Catalyst Ethernet Switch Catalyst Ethernet Switch Prerequisites The following sections describe the software and hardware requirements for bringing up Catalyst 6509 switches in a multishelf system. Software Requirements Each Cisco Catalyst 6509 switch requires the same software: Cisco IOS Release 12.2(14r)S9 with SUP720 Supervisor Engine controller module...
  • Page 48: Restrictions

    Configuring the External Cisco Catalyst 6509 Switches The recommended hardware configuration for an AC-powered Cisco Catalyst 6509 system is shown • in the following table: Quantity Description Catalyst 6509 Chassis, 9slot, 15RU, No Pow Supply, No Fan Tray Cisco CAT6000-SUP720 IOS IP (see Catalyst 6500/Cisco 7600 Supervisor 720 Fabric MSFC3 PFC3B...
  • Page 49: Information About The Catalyst Switch Configuration

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Information About the Catalyst Switch Configuration The configuration described in the following sections places all Catalyst ports in VLAN 1. The configuration on the Catalyst switches is the same as the configuration on the Cisco CRS-1 router internal Broadcom switches—they all participate in a Multiple Spanning Tree (MST) region with one MST instance.
  • Page 50 Configuring the External Cisco Catalyst 6509 Switches switchport access vlan 1 Repeat Step 16 through Step 20 for all interfaces. Repeat all steps for the second switch. DETAILED STEPS Command or Action Step 1 configure Example: router# configure Step 2 spanning-tree portfast default Example: router(config)# spanning-tree portfast default...
  • Page 51 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Command or Action Step 10 spanning-tree mst forward-time seconds Example: router(config)# spanning-tree mst forward-time 6 Step 11 spanning-tree mst max-age seconds Example: router(config)# spanning-tree mst max-age 8 Step 12 spanning-tree mst max-hops hops Example:...
  • Page 52 Configuring the External Cisco Catalyst 6509 Switches Command or Action Step 19 switchport access vlan 1 Example: router(config-if)# switchport access vlan 1 Step 20 Example: router(config-if)# end Step 21 Repeat Step 16 through Step 20 for all interfaces. Step 22 Repeat all steps for the second switch.
  • Page 53 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System CAT6k-2(config-mst)# revision 1 CAT6k-2(config-mst)# instance 1 vlan 1 CAT6k-2(config-mst)# end CAT6k-2(config)# spanning-tree mst hello-time 1 CAT6k-2(config)# spanning-tree mst forward-time 6 CAT6k-2(config)# spanning-tree mst max-age 8 CAT6k-2(config)# spanning-tree mst max-hops 4 CAT6k-2(config)# spanning-tree mst 0-1 priority 28672 CAT6k-2(config)# udld aggressive CAT6k-2(config)# udld message time 7...
  • Page 54 Configuring the External Cisco Catalyst 6509 Switches instance 1 vlan 1 spanning-tree mst hello-time 1 spanning-tree mst forward-time 6 spanning-tree mst max-age 8 spanning-tree mst 0-1 priority 28672 diagnostic cns publish cisco.cns.device.diag_results diagnostic cns subscribe cisco.cns.device.diag_commands redundancy mode sso main-cpu auto-sync running-config auto-sync standard vlan internal allocation policy ascending...
  • Page 55 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System switchport mode access spanning-tree portfast interface GigabitEthernet1/9 no ip address switchport switchport mode access spanning-tree portfast interface GigabitEthernet1/10 no ip address switchport switchport mode access spanning-tree portfast interface GigabitEthernet1/11 no ip address switchport...
  • Page 56: Verifying The Catalyst Switch

    Configuring the External Cisco Catalyst 6509 Switches no ip http server line con 0 line vty 0 4 login Verifying the Catalyst Switch As each rack in the multishelf system is brought up, verify that the Catalyst switch links are operating correctly by completing the tasks in the following sections: •...
  • Page 57 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Configuring the External Cisco Catalyst 6509 Switches The listed interfaces should include the port to which you have connected. If the port is not listed, contact Cisco Technical Support. For contact information, see the “Obtaining Technical Assistance”...
  • Page 58: Integrated Switch System

    Integrated Switch System Router# The output of this command should display “connected.” If it does not, then the connector may have a partial fiber cut or a bad optic. You may need to jiggle the GBIC wire to ensure that it is firmly inserted. Re-enter the command show interface until the port displays a status of “connected”...
  • Page 59: Restrictions For An Integrated Switch System

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Requires Cisco IOS XR Software Release 3.4.1 to support 22-port SCGE cards. • Hardware Requirements Route processors (RPs) should be revision 8 or higher. SMF cables are required and LX optics is recommended.
  • Page 60 Integrated Switch System Table 3-4 Rack Type Intra-Rack Switch Inter-Rack Switch Integrated Switch Functions The 22-port SCGE performs the following functions: Arbitrate for shelf ownership (active mode or standby mode) with the other 22-port SCGE card that • is installed on the rack. •...
  • Page 61: Implementing The Integrated Switch System

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Test the FE links to all the rack hardware periodically. • Keep the local state information synchronized to the rack master. • • Rearbitrate the shelf ownership if the primary router releases ownership. Integrated Switch Control Network Topology Once the 22-port SCGE cards are installed, the control network topology ceases to be a simple hub-and-spoke set of connections.
  • Page 62 Integrated Switch System Table 3-6 lists the ROMMON switch configuration. Table 3-6 Type Switch connections Port configuration Implementing the Integrated Switch in Cisco IOS XR When the RP and SCGE node boots to Cisco IOS XR software, rapid spanning tree protocol (RSTP) starts to run on that node.
  • Page 63: Verifying The Connections Of The Integrated Switch Control Network

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System SUMMARY STEPS admin clear controller switch errdisable {port {FE | GE} {0 | 1}} {location node-id}} clear controller switch inter-rack {errdisable {ports {number | all} | statistics {all | ports number}} {location node-id} DETAILED STEPS Command or Action...
  • Page 64 Integrated Switch System FE Port 2 : Down FE Port 3 : Down FE Port 4 : Down FE Port 5 : Down FE Port 6 : Down FE Port 7 : Down FE Port 8 : Down FE Port 9 : Down FE Port 10 : Down FE Port 11 : Down...
  • Page 65 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Verifying Bidirectionality To verify the bidirection for the integrated switch, you can use the Unidirectional Link Detection (UDLD) protocol to detect unidirectional links on Ethernet ports. UDLD is a Layer 2 protocol. UDLD is useful at linkup time.
  • Page 66: Bringing Up And Configuring Rack 0

    Bringing Up and Configuring Rack 0 Interface ---------------- ---- --- --------- -------- ---------------------------- FE_Port_1 Desg GE_Port_0 Root To verify STP information for inter-rack switches, use the show controllers switch inter-rack ports command, as shown in the following example: RP/0/RP0/CPU0:router(admin)# show controllers switch inter-rack stp location f0/sc0/cpu0 ##### MST Bridge Root...
  • Page 67 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System controllers fabric plane planeNumber oim count 1 oim instance 0 location Frack/slot/FM commit DETAILED STEPS Command or Action Step 1 Power down all LCCs and FCCs. Step 2 Apply power to the LCC that contains the DSC.
  • Page 68 Bringing Up and Configuring Rack 0 Command or Action Step 7 dsc serial serial ID rack rackNumber Example: RP/0/RP0/CPU0:router(admin-config)# dsc serial TBA00000002 rack 1 Step 8 dsc serial serial ID rack F n Example: RP/0/RP0/CPU0:router(admin-config)# dsc serial TBA00000003 rack F0 Step 9 commit Example:...
  • Page 69 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Command or Action Step 11 controllers fabric plane planeNumber oim count 1 oim instance 0 location F rack /SM slot /FM Example: RP/0/RP0/CPU0:router(admin-config)# controllers fabric plane 0 RP/0/RP0/CPU0:router(admin-config)# oim count RP/0/RP0/CPU0:router(admin-config)# oim instance 0 location F0/SM9/FM...
  • Page 70 Bringing Up and Configuring Rack 0 Building configuration... dsc serial TBA00000003 rack F0 dsc serial TBA00000001 rack 0 dsc serial TBA00000002 rack 1 RP/0/RP0/CPU0:router(admin-config)# Example: Mapping Each Fabric Plane in a Single-FCC Multishelf System In the following example, each fabric plane is assigned to an FCC slot in administration configuration mode: RP/0/RP0/CPU0:router(admin-config)# controllers fabric plane 0 RP/0/RP0/CPU0:router(admin-config)# oim count 1...
  • Page 71 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System oim count 1 oim instance 0 location F0/SM0/FM controllers fabric plane 1 oim count 1 oim instance 0 location F0/SM9/FM controllers fabric plane 2 oim count 1 oim instance 0 location F0/SM12/FM controllers fabric plane 3 oim count 1...
  • Page 72: Bringing Up And Verifying Fccs

    Bringing Up and Verifying FCCs oim count 1 oim instance 0 location F1/SM9/FM controllers fabric plane 4 oim count 1 oim instance 0 location F2/SM0/FM controllers fabric plane 5 oim count 1 oim instance 0 location F2/SM9/FM controllers fabric plane 6 oim count 1 oim instance 0 location F3/SM0/FM controllers fabric plane 7...
  • Page 73 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System DETAILED STEPS Command or Action Step 1 Apply power to all FCCs. Step 2 show controllers fabric rack all detail Example: RP/0/RP0/CPU0:router(admin)# show controllers fabric rack all detail Step 3 show controllers fabric plane all detail Example:...
  • Page 74 Bringing Up and Verifying FCCs Command or Action Step 4 show controllers fabric connectivity all detail Example: RP/0/RP0/CPU0:router(admin)# show controllers fabric connectivity all detail Step 5 On the external Catalyst switches, verify that the links are not unidirectional. Examples This section contains an example for the following task: •...
  • Page 75: Bringing Up And Verifying The Non-Dsc Lcc

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Flags: P - plane admin down, C - card admin down, L - link port admin down, A - asic admin down, B - bundle port admin Down, b - bundle port oper down I - bundle admin down, N - node admin down, o - other end of link down...
  • Page 76 Bringing Up and Verifying the Non-DSC LCC SUMMARY STEPS Apply power to the second LCC. show controllers fabric rack all detail show controllers fabric plane all detail show controllers fabric connectivity all detail On the external Catalyst switches, verify that the links are not unidirectional. exit DETAILED STEPS Command or Action...
  • Page 77: Verifying The Spanning Tree

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Command or Action Step 5 On the external Catalyst switches, verify that the links are not unidirectional. Step 6 exit Example: RP/0/RP0/CPU0:router(admin)# exit RP/0/RP0/CPU0:router# Verifying the Spanning Tree When both LCCs and all FCCs are up and running, it is time to verify the spanning tree on the control network as described in the following procedure.
  • Page 78 Verifying the Spanning Tree Command or Action Step 2 show platform Example: RP/0/RP0/CPU0:router(admin)# show platform Step 3 show spantree mst 1 detail location rack / slot /cpu0 Example: RP/0/RP0/CPU0:router(admin)# show spantree mst 1 detail location 0/rp0/cpu0 RP/0/RP0/CPU0:router(admin)# show spantree mst 1 detail location 0/rp1/cpu0 RP/0/RP0/CPU0:router(admin)# show spantree mst 1 detail location 1/rp0/cpu0...
  • Page 79 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System 0/FC1/SP 0/AM0/SP 0/AM1/SP 0/SM0/SP 0/SM1/SP 0/SM2/SP 0/SM3/SP 0/SM4/SP 0/SM5/SP 0/SM6/SP 0/SM7/SP 1/3/SP 1/3/CPU0 1/RP0/CPU0 1/FC0/SP 1/FC1/SP 1/AM0/SP 1/AM1/SP 1/SM0/SP 1/SM1/SP 1/SM2/SP 1/SM3/SP 1/SM4/SP 1/SM5/SP 1/SM6/SP 1/SM7/SP F0/SM0/SP F0/SM3/SP F0/SM6/SP F0/SM9/SP...
  • Page 80 Verifying the Spanning Tree Bridge ID MAC ADDR Bridge ID Priority Bridge Max Age Switched Interface -------------------- ----- ---- --------- ---- -------------------------------- FE_Port_1 GE_Port_0 GE_Port_1 RP/0/RP0/CPU0:router(admin)# show spantree mst 1 detail location 0/rp1/cpu0 Instance Vlans mapped: Designated Root Designated Root Priority 1 (0 + 1) Designated Root Port Bridge ID MAC ADDR Bridge ID Priority...
  • Page 81: Verifying Fabric Cabling Connections

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Bridge ID Priority Bridge Max Age Switched Interface -------------------- ----- ---- --------- ---- -------------------------------- FE_Port_0 GE_Port_0 GE_Port_1 RP/0/RP0/CPU0:router(admin)# show spantree mst 1 detail location F0/SC0/cpu0 Instance Vlans mapped: Designated Root Designated Root Priority 1 (0 + 1) Designated Root Port...
  • Page 82 Verifying Fabric Cabling Connections Figure 3-5 shows the faceplate of the CRS-FCC- LED panel. The CRS-FCC-LED is also called an optical interface module (OIM) LED panel. This panel goes into slot LM0 or LM1 in a fabric card chassis.The OIM LED panel provides connectivity information on how the fabric chassis cards are functioning in the multishelf system.
  • Page 83 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Figure 3-5 Because the OIM LED panel is present only in the fabric card chassis, the LEDs indicate the status of the bundles in the fabric card chassis only. Therefore, if a connection is wrong, the equipment assumes that the connection at the line card chassis is fixed, and the connection at the fabric card chassis is the one that needs to be relocated to the correct position as indicated by the LEDs.
  • Page 84 Verifying Fabric Cabling Connections The following description helps explain the states of LEDs on the OIM LED panel. In cables should connect an LCC S13 card to the FCC S2 card as follows: A0 to J0, A1 to J1, and A2 to J2. Instead, A1 is incorrectly connected to J2.
  • Page 85: Where To Go Next

    Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Where to Go Next Where to Go Next For information on configuring basic router features, see Chapter 4, “Configuring General Router Features.” Cisco IOS XR Getting Started Guide 3-47 OL-10957-02...
  • Page 86 Chapter 3 Bringing Up the Cisco IOS XR Software on a Multishelf System Where to Go Next Cisco IOS XR Getting Started Guide 3-48 OL-10957-02...
  • Page 87: Secure Domain Routers

    Configuring General Router Features This chapter describes how to communicate with the router using the command-line interface (CLI), and it describes basic Cisco IOS XR software configuration management. Contents The chapter contains the following sections: Secure Domain Routers, page 4-1 •...
  • Page 88: C H A P T E R 4 Configuring General Router Features

    Connecting and Communicating with the Router SDRs perform routing functions in the same manner as a physical router, but share some chassis resources with the rest of the system. For example, the applications, configurations, protocols, and routing tables assigned to an SDR belong to that SDR only, but other functions, such as chassis control, switch fabric, and partitioning, are shared with the rest of the system.
  • Page 89 Chapter 4 Configuring General Router Features Figure 4-1 Communication Ports on the RP for a Cisco CRS-1 16-Slot Line Card Chassis RJ-45 cable Local terminal or terminal server for CLI communication Remote terminal for CLI communication Management Ethernet connection Network for out-of-band network communciation Remote CLI, CWI, XML, or SNMP...
  • Page 90 Connecting and Communicating with the Router Figure 4-2 Communication Ports on the RP for a Cisco CRS-1 4-Slot and 8-Slot LCCs RJ-45 cable Local terminal or terminal server for CLI communication Remote terminal for CLI communication Network Remote CLI, CWI, XML, or SNMP communication.
  • Page 91 Chapter 4 Configuring General Router Features Figure 4-3 Communication Ports on the DRP PLIM CPU0 AUX connection Remote terminal for CLI communication CPU1 AUX connection Network Remote CLI, CWI, XML, or SNMP communication Figure 4-4 Communication Ports on the PRP-2 for a Cisco XR 12000 Series Router OL-10957-02 RJ-45 cable RJ-45 cable...
  • Page 92: Establishing A Connection Through The Console Port

    Connecting and Communicating with the Router Network Remote CLI, CWI, XML, or SNMP communication. Remote file storage Remote terminal for CLI communication RJ-45 cable Local terminal or terminal server for CLI communication The following sections describe three ways to connect to a DSC or DSDRSC: Establishing a Connection Through the Console Port, page 4-6 •...
  • Page 93 Chapter 4 Configuring General Router Features SUMMARY STEPS Identify the active RP or DRP. Connect a terminal to the Console port of the active RP or DRP. Start the terminal emulation program. Press Enter. Log in to the router. DETAILED STEPS Command or Action Step 1 Identify the active RP or DRP.
  • Page 94: Establishing A Connection Through A Terminal Server

    Connecting and Communicating with the Router Command or Action Step 3 Start the terminal emulation program. Step 4 Press Enter. Step 5 Log in to the router. Establishing a Connection Through a Terminal Server A terminal server connection provides a way to access the Console port from a remote location. It is less expensive to connect to the router through the Management Ethernet interface (because you do not have the additional cost of a terminal server).
  • Page 95 Chapter 4 Configuring General Router Features To establish a connection through a terminal server, perform the following procedure: SUMMARY STEPS Install and configure the terminal server. Connect the terminal server to the Console port of the target RP or DRP. Power on the router.
  • Page 96: Establishing A Connection Through The Management Ethernet Interface

    Connecting and Communicating with the Router Command or Action Step 3 Power on the router. Step 4 Identify the target RP or DRP. Step 5 telnet access-server-address port Step 6 Press Enter. Step 7 Log in to the router. Establishing a Connection Through the Management Ethernet Interface The Management Ethernet interface allows you to manage the router using a network connection.
  • Page 97: Logging In To A Router Or An Sdr

    Chapter 4 Configuring General Router Features Telnet clients can connect to a Telnet server in the router. The Telnet server is disabled by default • and can be enabled with the telnet ipv4 server or telnet ipv6 server command in global configuration mode.
  • Page 98: Cli Prompt

    CLI Prompt Passwords are case sensitive. If you want to log in to an SDR using a root-system username from the Note owner SDR, enter the username in the following format: username@admin. To support admin login, local database authentication must be enabled with the aaa authentication login remote local command.
  • Page 99: User Access Privileges

    Chapter 4 Configuring General Router Features User Access Privileges When you log in to the router, your username and password are used to determine if you are authorized to access the router. After you successfully log in, your username is used to determine which commands you are allowed to use.
  • Page 100: Predefined User Groups

    User Access Privileges ouni fabric bundle network transport hdlc --More-- Only the root-system users, root-lr users, or users associated with the WRITE:AAA task ID can Note configure task groups. (The root-lr user has the highest level of privileges in an SDR. In previous releases, SDRs were called logical routers (LRs).) Predefined User Groups The Cisco IOS XR software includes a set of predefined user groups that meets the needs of most...
  • Page 101 Chapter 4 Configuring General Router Features Table 4-3 Command show user tasks show user all show aaa usergroup group-name Examples To display your username, enter the show user command: RP/0/RP0/CPU0:router# show user cisco To display the tasks assigned to your account and your rights to those tasks, enter the show user tasks command: RP/0/RP0/CPU0:router# show user tasks Task:...
  • Page 102 User Access Privileges Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: To display the user groups assigned to your user account, enter the show user group command: RP/0/RP0/CPU0:router# show user group root-system To display the rights assigned to a user group, enter the show aaa usergroup group-name command:...
  • Page 103: Navigating The Cisco Ios Xr Command Modes

    Chapter 4 Configuring General Router Features Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task: Task:...
  • Page 104: Identifying The Command Mode In The Cli Prompt

    Navigating the Cisco IOS XR Command Modes Command Mode Navigation Example, page 4-22 • Figure 4-5 illustrates the basic command mode navigation for the CLI. Only a small sample of the possible configuration submodes is shown. Figure 4-5 Administration EXEC mode Administration configuration mode Logical router configuration submode Identifying the Command Mode in the CLI Prompt...
  • Page 105: Summary Of Common Command Modes

    Chapter 4 Configuring General Router Features Summary of Common Command Modes Table 4-4 summarizes the most common command modes of the Cisco IOS XR software and the associated CLI prompts. Table 4-4 Common Command Modes and CLI prompts Command Mode Description EXEC Logging in to an SDR running the Cisco IOS XR software automatically places the router in EXEC...
  • Page 106 Navigating the Cisco IOS XR Command Modes Table 4-4 Common Command Modes and CLI prompts (continued) Command Mode Description Global configuration Global configuration mode is the starting point for SDR configuration. Commands entered in this mode affect the SDR as a whole, rather than just one protocol or interface. Global configuration mode is also used for entering configuration submodes to configure specific elements, such as interfaces or protocols.
  • Page 107: Entering Exec Commands From A Configuration Mode

    RP/0/RP0/CPU0:router(config)# router bgp 140 RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 multicast RP/0/RP0/CPU0:router(config-bgp-af)# For more information, see the following Cisco Systems documents: Cisco IOS XR Routing Configuration Guide • Cisco IOS XR Routing Command Reference •...
  • Page 108: Command Mode Navigation Example

    Navigating the Cisco IOS XR Command Modes Command Mode Navigation Example The following steps provide an example of command mode navigation: Start a session by logging in to the router and entering EXEC mode, as shown in the following example: Step 1 router con0_RP0_CPU0 is now available Press RETURN to get started.
  • Page 109: Managing Configuration Sessions

    Chapter 4 Configuring General Router Features In the following example, the router enters interface configuration mode and the user selects a POS interface for configuration. The command syntax is interface type rack/slot/module/port. RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/4 RP/0/RP0/CPU0:router(config-if)# The command mode prompt changes from “ configuration commands for the specified interface.
  • Page 110: Displaying The Active Configuration Sessions

    Managing Configuration Sessions Loading an Alternative Configuration at System Startup, page 4-33 • Clearing All Changes to a Target Configuration, page 4-34 • • Committing Changes to the Running Configuration, page 4-34 • Reloading a Failed Configuration, page 4-36 Exiting a Configuration Submode, page 4-37 •...
  • Page 111: Starting A Configuration Session

    Chapter 4 Configuring General Router Features Starting a Configuration Session When you place the router in global configuration mode or administration configuration mode using the configure command, a new target configuration session is created. The target configuration allows you to enter, review, and verify configuration changes without impacting the running configuration. The target configuration is not a copy of the running configuration;...
  • Page 112: Starting An Exclusive Configuration Session

    Managing Configuration Sessions Starting an Exclusive Configuration Session An exclusive configuration session allows you to configure the administration configuration or an SDR and lock out all users from committing configuration changes until you are done. Other users can still create and modify a target configuration, but they cannot commit those changes to the running configuration until you exit your exclusive configuration session.
  • Page 113 Chapter 4 Configuring General Router Features In EXEC and global configuration mode, you can view the SDR configuration for the SDR to which you are connected. When you are connected to the DSC and operating in administration EXEC and administration configuration mode, you can view the administration configuration, which includes hardware assignments for SDRs and multishelf systems.
  • Page 114 Managing Configuration Sessions interface POS0/0/0/2 shutdown interface POS0/0/0/3 shutdown interface POS0/3/0/0 shutdown interface POS0/3/0/1 shutdown interface POS0/3/0/2 shutdown interface POS0/3/0/3 shutdown interface preconfigure MgmtEth0/RP0/CPU0/0 shutdown router static address-family ipv4 unicast 0.0.0.0/0 MgmtEth0/RP1/CPU0/0 To display the administration portion of the running configuration, connect to the DSC and enter the show running-config command in administration EXEC or administration configuration mode, as shown in the following example: RP/0/RP0/CPU0:router(admin)# show running-config...
  • Page 115 Chapter 4 Configuring General Router Features RP/0/RP1/CPU0:router(config)# show running-config sanitized Building configuration... !! Last configuration change at 11:05:38 UTC Mon May 02 2005 by hostname logging console debugging telnet ipv4 server max-servers 5 username password 7 group root-system group cisco-support interface Loopback99...
  • Page 116 Managing Configuration Sessions shutdown interface POS0/3/0/2 shutdown interface POS0/3/0/3 shutdown interface preconfigure MgmtEth0/RP0/CPU0/0 shutdown router static address-family ipv4 unicast 0.0.0.0/0 MgmtEth0/RP1/CPU0/0 To display the sanitized administration portion of the running configuration, connect to the DSC and enter the show running-config sanitized command in administration EXEC or administration configuration mode, as shown in the following example: RP/0/RP0/CPU0:router(admin)# show running-config sanitized Building configuration...
  • Page 117 Chapter 4 Configuring General Router Features Displaying a Combined Target and Running Configuration Although the target and running configurations remain separate until the target configuration is committed, you can preview the combined target and running configuration without committing the changes. The combined configuration shows what the new running configuration will look like after the changes from the target configuration are committed.
  • Page 118 Managing Configuration Sessions Displaying Configuration Error Messages and Descriptions Configuration changes are automatically verified during the commit operation, and a message is displayed if one or more configuration entries fail. To display an error message and description for a failed configuration, enter the show configuration failed command. You can view configuration errors only during the current configuration session.
  • Page 119: Saving The Target Configuration To A File

    Chapter 4 Configuring General Router Features Saving the Target Configuration to a File 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.
  • Page 120: Clearing All Changes To A Target Configuration

    Managing Configuration Sessions Clearing All Changes to a Target Configuration To clear changes made to the target configuration without terminating the configuration session, enter the clear command in global configuration mode or administration configuration mode. This command deletes any configuration changes that have not been committed. In the following example, the user configures an interface but does not commit it.
  • Page 121 Chapter 4 Configuring General Router Features To commit target configuration changes to the running configuration, enter the commit command by itself or with one or more of the options described in Table 4-5 Command commit commit best-effort commit comment line commit confirmed seconds commit label line...
  • Page 122: Reloading A Failed Configuration

    Managing Configuration Sessions Examples In the following example, the default commit command is entered in global configuration mode: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# interface POS 0/0/0/2 RP/0/RP0/CPU0:router(config-if)# description faq RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0 RP/0/RP0/CPU0:router(config-if)# commit RP/0/0/0:Aug ‘cisco'. Use 'show configuration commit changes 1000000124' to view the changes. The preceding message is stored in the log and appears only if logging is configured to display on screen.
  • Page 123: Exiting A Configuration Submode

    Chapter 4 Configuring General Router Features In the preceding example, the show configuration command displays the target configuration, which includes the failed configuration. Note The failed configuration is discarded if you exit global configuration mode or administration configuration mode without recovering the configuration. After recovery, correct and commit the configuration or save it to a file to avoid losing it.
  • Page 124: Aborting A Configuration Session

    Configuring the SDR Hostname If you end a configuration session without committing the configuration changes, the router prompts you to save changes, discard changes, or cancel the action, as shown in the following example: RP/0/RP0/CPU0:router(config-if)# end Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]: Respond to the prompt by entering one of the following options: •...
  • Page 125: Configuring The Management Ethernet Interface

    Chapter 4 Configuring General Router Features No blanks or spaces are permitted as part of a name. Do not expect case to be preserved. Upper- and Note lowercase characters look the same to many Internet software applications. It may seem appropriate to capitalize a name the same way you might if you were writing, but conventions dictate that computer names appear all lowercase.
  • Page 126: Displaying The Available Management Ethernet Interfaces

    Configuring the Management Ethernet Interface Table 4-6 provides examples of Management Ethernet interface names for a single-shelf system. Table 4-7 Management Ethernet Interface Names for Single-Shelf Systems Management Interface Cisco CRS-1 RP in slot RP0 Cisco CRS-1 RP in slot RP1 Cisco CRS-1 DRP CPU0 in slot 5 Cisco CRS-1 DRP CPU1 in slot 5 Cisco XR 12000 Series Router PRP...
  • Page 127: Configuring The Management Ethernet Interface

    Chapter 4 Configuring General Router Features Configuring the Management Ethernet Interface To use the Management Ethernet interface for system management and remote communication, you must configure an IP address and a subnet mask for the interface. If you want the interface to communicate with devices on other networks (such as remote management stations or TFTP servers), you need to configure a default route for the router.
  • Page 128 Configuring the Management Ethernet Interface DETAILED STEPS Command or Action Step 1 configure Example: RP/0/RP0/CPU0:router# configure Step 2 interface MgmtEth rack / slot /CPU0/ port Example: RP/0/RP0/CPU0:router(config)# interface MgmtEth0/RP0/CPU0/0 Step 3 ipv4 address ipv4-address subnet-mask Example: RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0 Step 4 no shutdown Example:...
  • Page 129 Chapter 4 Configuring General Router Features Command or Action Step 8 Example: RP/0/RP0/CPU0:router(config)# end Step 9 show interfaces MgmtEth rack / slot /CPU0/ port Example: RP/0/RP0/CPU0:router# show interfaces MgmtEth0/RP0/CPU0/0 Examples In the following example, the Management Ethernet interface on the RP in slot RP1 is configured with an IP address: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# interface MgmtEth0/RP1/CPU0/0...
  • Page 130: Manually Setting The Router Clock

    Manually Setting the Router Clock Related Documents Related Topic Additional information on configuring management interfaces Manually Setting the Router Clock Generally, if the system is synchronized by a valid outside timing mechanism, such as a Network Time Protocol (NTP) or VINES clock source, you need not set the software clock. Use the clock set command for initial configuration or if a network time source is not available.
  • Page 131 Chapter 4 Configuring General Router Features DETAILED STEPS Command or Action Step 1 configure Example: RP/0/RP0/CPU0:router# configure Step 2 clock timezone zone hours-offset Example: RP/0/RP0/CPU0:router(config)# clock timezone pst -8 Step 3 commit Example: RP/0/RP0/CPU0:router(config-if)# commit Step 4 Example: RP/0/RP0/CPU0:router(config-if)# end Step 5 clock set hh : mm : ss dd mm yyyy Example:...
  • Page 132: Where To Go Next

    Where to Go Next Examples In the following example, the manual system clock is configured: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# clock timezone pst -8 RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router(config)# end RP/0/RP0/CPU0:router# clock set 14:12:00 10 feb 2004 14:12:00.090 PST Tue Feb 10 2004 RP/0/RP0/CPU0:router# clock update-calendar RP/0/RP0/CPU0:router# show clock 14:12:00.090 PST Tue Feb 10 2004 Related Documents...
  • Page 133: Configuring The Domain Name And Domain Name Server

    Configuring Additional Router Features This chapter contains instructions and information for entering basic configurations using the command-line interface (CLI). Contents This chapter contains the following sections: Configuring the Domain Name and Domain Name Server, page 5-1 • Configuring Telnet, HTTP, and XML Host Services, page 5-2 •...
  • Page 134: C H A P T E R 5 Configuring Additional Router Features

    Configuring Telnet, HTTP, and XML Host Services domain name domain-name-of-organization domain name-server ipv4-address commit show hosts Examples In the following example, the domain name and DNS are configured: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# domain name cisco.com RP/0/RP0/CPU0:router(config)# domain name-server 10.1.1.1 RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router(config)# end RP/0/RP0/CPU0:router# show hosts Default domain is cisco.com...
  • Page 135: Managing Configuration History And Rollback

    Chapter 5 Configuring Additional Router Features SUMMARY STEPS configure telnet ipv4 server max-servers 5 telnet ipv6 server max-servers 5 http server xml agent corba commit Examples In the following example, the host services are enabled: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# telnet ipv4 server max-servers 5 RP/0/RP0/CPU0:router(config)# telnet ipv6 server max-servers 5 RP/0/RP0/CPU0:router(config)# http server RP/0/RP0/CPU0:router(config)# xml agent corba...
  • Page 136: Displaying The Commitids

    Managing Configuration History and Rollback The Cisco IOS XR software automatically saves up to 100 of the most recent commitIDs. The following sections describe how to manage configuration changes and roll back to a previously committed configuration: Displaying the CommitIDs, page 5-4 •...
  • Page 137: Previewing Rollback Configuration Changes

    Chapter 5 Configuring Additional Router Features 2000000021 2000000022 RP/0/RP1/CPU0:router(admin)# show configuration commit changes 2000000020 Building configuration... username cisco secret 5 $1$MgUH$xzUEW6jLfyAYLKJE.3p440 group root-system Previewing Rollback Configuration Changes The show configuration rollback changes command allows you to preview the configuration changes that take place if you roll back the configuration to a specific commitID.
  • Page 138: Rolling Back The Configuration To A Specific Rollback Point

    Managing Configuration History and Rollback Rolling Back the Configuration to a Specific Rollback Point When you roll back the configuration to a specific rollback point, you undo all configuration changes made during the session identified by the commit ID for that rollback point, and you undo all configuration changes made after that point.
  • Page 139: Loading Commitid Configuration Changes To The Target Configuration

    Chapter 5 Configuring Additional Router Features Loading CommitID Configuration Changes to the Target Configuration If the changes saved for a specific commitID are close to what you want, but a rollback is not appropriate, you can load the configuration changes for a commitID into the target configuration, modify the target configuration, and then commit the new configuration.
  • Page 140: Loading Rollback Configuration Changes To The Target Configuration

    Managing Configuration History and Rollback Loading Rollback Configuration Changes to the Target Configuration If the changes for a specific rollback point are close to what you want, but a rollback is not appropriate, you can load the rollback configuration changes into the target configuration, modify the target configuration, and then commit the new configuration.
  • Page 141: Configuring Logging And Logging Correlation

    Chapter 5 Configuring Additional Router Features RP/0/0/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] Configuring Logging and Logging Correlation System messages generated by the Cisco IOS XR software can be logged to a variety of locations based on the severity level of the messages.
  • Page 142: Alarm Logging Correlation

    Configuring Logging and Logging Correlation Alarm Logging Correlation Alarm logging correlation is used to group and filter similar messages to reduce the amount of redundant logs and isolate the root causes of the messages. For example, the original message describing a card online insertion and removal (OIR) and system state being up or down can be reported, and all subsequent messages reiterating the same event can be correlated.
  • Page 143 Chapter 5 Configuring Additional Router Features DETAILED STEPS Command or Action Step 1 configure Example: RP/0/RP0/CPU0:router# configure Step 2 logging { ip-address | hostname } Example: RP/0/RP0/CPU0:router(config)# logging 10.1.1.1 Step 3 logging trap severity Example: RP/0/RP0/CPU0:router(config)# logging trap debugging Step 4 logging console [ severity ] Example: RP/0/RP0/CPU0:router(config)# logging console...
  • Page 144: Disabling Console Logging

    Configuring Logging and Logging Correlation In the following example, basic message logging is configured: RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# logging 10.1.1.1 RP/0/RP0/CPU0:router(config)# logging trap debugging RP/0/RP0/CPU0:router(config)# logging console emergencies RP/0/RP0/CPU0:router(config)# logging buffered 1000000 RP/0/RP0/CPU0:router(config)# commit RP/0/RP0/CPU0:router(config)# end RP/0/RP0/CPU0:router# show logging Syslog logging: enabled (162 messages dropped, 0 flushes, 0 overruns) Console logging: level emergencies, 593 messages logged Monitor logging: level debugging, 0 messages logged Trap logging: level debugging, 2 messages logged...
  • Page 145: Creating And Modifying User Accounts And User Groups

    Chapter 5 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups In the Cisco IOS XR software, users are assigned individual usernames and passwords. Each username is assigned to one or more user groups, each of which defines display and configuration commands the user is authorized to execute.
  • Page 146: Configuring User Accounts

    Creating and Modifying User Accounts and User Groups Configuring User Accounts User accounts, user groups, and task groups are created by entering the appropriate commands in one of the “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 IOS XR System Security Configuration Guide.
  • Page 147 Chapter 5 Configuring Additional Router Features DETAILED STEPS Command or Action Step 1 configure Example: RP/0/RP0/CPU0:router# configure Step 2 username user-name Example: RP/0/RP0/CPU0:router(config)# username user1 Step 3 password {0 | 7} password secret {0 | 5} password Example: RP/0/RP0/CPU0:router(config-un)# password 0 pwd1 RP/0/RP0/CPU0:router(config-un)# secret 5 pwd1 Step 4...
  • Page 148: Configuration Limiting

    Configuration Limiting Configuration Limiting The Cisco IOS XR software places preset limits on the configurations you can apply to the running configuration of a router. These limits ensure that the router has sufficient system resources (such as RAM) for normal operations. Under most conditions, these preset limits are sufficient. In some cases, for which a large number of configurations is required for a particular feature, it may be necessary to override the preset configuration limits.
  • Page 149: Is-Is Configuration Limits

    Chapter 5 Configuring Additional Router Features RP/0/RP1/CPU0:router(config-static)# show running-config router static router static maximum path ipv4 5000 address-family ipv4 unicast 0.0.0.0/0 172.29.52.1 IS-IS Configuration Limits Table 5-5 summarizes the maximum limits for IS-IS, including the commands used to display and change the limits.
  • Page 150 Configuration Limiting Table 5-6 OSPFv2 and OSPFv3 Configuration Limits and Commands Default Feature Limit Maximum Description Limit Maximum number of interfaces that can be configured for an OSPF instance Maximum routes 10,000 redistributed into OSPF Maximum number of parallel routes (OSPFv2) (maximum paths) on Cisco CRS-1 routers...
  • Page 151 Chapter 5 Configuring Additional Router Features Minimum hold time for LSA throttle 5000 msecs Maximum wait time for LSA throttle 5000 msecs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Maximum number of configured interfaces 255 --More-- The following example configures the maximum interface limit on a router: RP/0/RP1/CPU0:router# configure RP/0/RP1/CPU0:router(config)# router ospf 100 RP/0/RP1/CPU0:router(config-router)# maximum interfaces 600...
  • Page 152: Bgp Configuration Limits

    Configuration Limiting RP/0/RP1/CPU0:router(config-router)# end Uncommitted changes found, commit them? [yes]: y RP/0/RP1/CPU0:Mar 30 18:05:13 : config[65740]: %LIBTARCFG-6-COMMIT : Configurati on committed by user 'cisco'. the changes. RP/0/RP1/CPU0:Mar 30 18:05:13 : config[65740]: %SYS-5-CONFIG_I : Configured from console by cisco RP/0/RP1/CPU0:router# BGP Configuration Limits The maximum number of BGP neighbors (peers) that can be configured is 1024.
  • Page 153: Routing Policy Language Line And Policy Limits

    Chapter 5 Configuring Additional Router Features A cease-notification message is sent to the neighbor and the peering with the neighbor is terminated when the number of prefixes received from the peer for a given address family exceeds the maximum limit (either set by default or configured by the user) for that address family. However, if the warning-only keyword (for the maximum-prefix command) is configured, the Cisco IOS XR software sends only a log message, but continues peering with the sender.
  • Page 154 Configuration Limiting Examples In the following example, the show rpl maximum command is used in EXEC mode to display the current setting for RPL limits and number of each limit currently in use. A summary of the memory used by all of the defined policies is also shown below the limit settings. RP/0/RP1/CPU0:router# show rpl maximum ------------------------------------------------------------ Lines of configuration...
  • Page 155: Multicast Configuration Limits

    Chapter 5 Configuring Additional Router Features Multicast Configuration Limits Table 5-9 summarizes the maximum limits for multicast configuration, including the commands used to display and change the limits. Table 5-9 Multicast Configuration Limits and Commands Default Maximum Feature Limit Description Limit Internet Group Management Protocol (IGMP) Limits Maximum number of...
  • Page 156: Other Configuration Limits

    Configuration Limiting Table 5-10 MPLS Configuration Limits and Commands Limit Description Maximum traffic engineer (TE) tunnels head Other Configuration Limits Table 5-11 summarizes the maximum limits for additional configuration limits, including the commands used to display and change the limits. Table 5-11 Additional Configuration Limits and Commands Limit Description...
  • Page 157: Cli Tips And Shortcuts

    Note Commands can be entered in uppercase, lowercase, or mixed case. Only passwords are case sensitive. However, the Cisco Systems documentation convention presents commands in lowercase. CLI Tips and Shortcuts The following sections describe tips and shortcuts useful when using the CLI: •...
  • Page 158: Entering Abbreviated Commands

    CLI Tips and Shortcuts Entering Abbreviated Commands You can abbreviate commands and keywords to the number of characters that allow a unique abbreviation. 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. Using the Question Mark (?) to Display On-Screen Command Help Use the question mark (?) to learn what commands are available and the correct syntax for a command.
  • Page 159: Chapter 6 Cli Tip, Technique, And Shortcut

    Chapter 6 CLI Tips, Techniques, and Shortcuts Step 1 Enter the access-list command, followed by a space and a question mark, to list the available options for the command: RP/0/0/CPU0:router(config)# ipv4 access-list ? log-update maximum WORD The number ranges (within the angle brackets) are inclusive ranges. Note Enter the access list name list1, followed by a space and another question mark, to display the arguments Step 2...
  • Page 160: Completing A Partial Command With The Tab Key

    CLI Tips and Shortcuts The symbol by itself indicates that there are no more keywords or arguments. Press Return to execute the command: Step 5 RP/0/RP0/CPU0:router(config)# ipv4 access-list list1 deny 172.31.134.0 The configuration does not become active until you enter the commit command to add the target Note configuration to the running configuration.
  • Page 161: Using The No Form Of A Command

    Chapter 6 CLI Tips, Techniques, and Shortcuts exclusive terminal Using the no Form of a Command Almost every configuration command has a no form. Depending on the command, the no form may enable or disable a feature. For example, when configuring an interface, the no shutdown command brings up the interface, and the shutdown command shuts down the interface.
  • Page 162: Common Show Commands

    Displaying System Information with show Commands Common show Commands, page 6-6 • Browsing Display Output when the --More-- Prompt Appears, page 6-7 • • Halting the Display of Screen Output, page 6-7 • Redirecting Output to a File, page 6-8 Narrowing Output from Large Configurations, page 6-8 •...
  • Page 163: Browsing Display Output When The --More-- Prompt Appears

    Chapter 6 CLI Tips, Techniques, and Shortcuts Browsing Display Output when the --More-- Prompt Appears When command output requires more than one screen, such as for the ?, show, or more command, the output is presented one screen at a time, and a To display additional command output, do one of the following: Press Return to display the next line.
  • Page 164: Redirecting Output To A File

    Displaying System Information with show Commands Redirecting Output to a File By default, CLI command output is displayed on screen. CLI command output can be redirected to a user-specified file by entering a filename and location after the show command syntax. The following command syntax is used to redirect output to a file: command show...
  • Page 165: Filtering Show Command Output

    Chapter 6 CLI Tips, Techniques, and Shortcuts Using Wildcards to Display All Instances of an Interface To display the configuration for all instances, enter the asterisk (*) wildcard character. See the “Using Wildcards to Identify Interfaces in show Commands” section on page 6-11 Note information.
  • Page 166: Table

    Displaying System Information with show Commands Table 6-3 show Command Filter Options Command show command | begin regular-expression show command | exclude regular-expression show command | include regular-expression show command | file device0:path/file In the following example, the show interface command includes only lines in which the expression “protocol”...
  • Page 167: Wildcards, Templates, And Aliases

    Chapter 6 CLI Tips, Techniques, and Shortcuts exec-timeout 120 120 logging trap --More-- filtering... ip route 0.0.0.0 255.255.0.0 pos0/2/0/0 interface pos0/2/0/0 ip address 172.19.73.215 255.255.0.0 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.”...
  • Page 168: Creating Configuration Templates

    Wildcards, Templates, and Aliases interface POS0/1/0/0 ipv4 address 10.2.3.4 255.255.255.0 crc 32 keepalive disable interface POS0/1/0/1 ipv4 address 10.2.3.5 255.255.255.0 crc 32 keepalive disable interface POS0/1/0/2 ipv4 address 10.2.3.6 255.255.255.0 crc 32 keepalive disable interface POS0/1/0/3 ipv4 address 10.2.3.7 255.255.255.0 crc 32 keepalive disable --More--...
  • Page 169 Chapter 6 CLI Tips, Techniques, and Shortcuts The two primary steps in working with templates are creating templates and applying templates. The following procedure describes how to create a configuration template. SUMMARY STEPS configure template template-name [($parameter $parameter...)] [config-commands] Enter the template commands. end-template commit show running-config template template-name...
  • Page 170: Applying Configuration Templates

    Wildcards, Templates, and Aliases Command or Action Step 5 commit Example: RP/0/RP0/CPU0:router(config-TPL)# commit Step 6 show running-config template template-name Example: RP/0/RP0/CPU0:router# show running-config template tmplt_1 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/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# template jbtest...
  • Page 171: Aliases

    Chapter 6 CLI Tips, Techniques, and Shortcuts After a template is applied, the show configuration command displays the target configuration • changes. The target configuration must be committed (with the commit command) to become part of the running configuration. Examples In the following example, a simple template is defined.
  • Page 172: Keystrokes Used As Command Aliases

    Command History Multiple commands can be supported under a single command alias, and multiple variables can be supported for each command. If multiple commands are specified under a single alias, then each command is executed in the order in which it is listed in the alias command. In the following example, an alias named my-cookie is created for the Management Ethernet interface, and then the new alias is specified to enter interface configuration mode: RP/0/0/CPU0:router(config)# alias my-cookie mgmtEth 0/0/CPU0/0...
  • Page 173: Recalling Previously Entered Commands

    Chapter 6 CLI Tips, Techniques, and Shortcuts sho config commit changes 1000000001 show history Recalling Previously Entered Commands The Cisco IOS XR software records the ten most recent commands issued from the command line in its history buffer. This feature is particularly useful for recalling long or complex commands or entries, including access lists.
  • Page 174: Key Combinations

    Key Combinations Key Combinations The following sections provide information on key combinations: • Key Combinations to Move the Cursor, page 6-18 Keystrokes to Control Capitalization, page 6-18 • Keystrokes to Delete CLI Entries, page 6-19 • Key Combinations to Move the Cursor Table 6-8 shows the key combinations or sequences you can use to move the cursor around on the command line to make corrections or changes.
  • Page 175: Keystrokes To Delete Cli Entries

    Chapter 6 CLI Tips, Techniques, and Shortcuts Keystrokes Esc, L Esc, U Keystrokes to Delete CLI Entries Table 6-10 describes the keystrokes used to delete command line entries. Table 6-10 Keystrokes for Deleting Entries Keystrokes Delete or Backspace Ctrl-D Ctrl-K Ctrl-U or Ctrl-X Ctrl-W Esc, D...
  • Page 176 Chapter 6 CLI Tips, Techniques, and Shortcuts Key Combinations Cisco IOS XR Getting Started Guide 6-20 OL-10957-02...
  • Page 177: Additional Sources For Information

    Troubleshooting the Cisco IOS XR Software This chapter describes the tools and procedures used to identify the source of hardware and software problems. This chapter also provides instructions on gathering data for further analysis by Cisco customer support representatives. Contents This chapter contains the following sections: •...
  • Page 178: C H A P T E R 7 Troubleshooting The Cisco Ios Xr Software

    Basic Troubleshooting Commands Using the traceroute Command, page 7-4 • Using debug Commands, page 7-5 • Using show Commands to Display System Status and Configuration Use show commands to check the status of various Cisco IOS XR software subsystems and services. Table 7-1 lists some of the common show commands.
  • Page 179: Using The Ping Command

    Chapter 7 Troubleshooting the Cisco IOS XR Software Table 7-1 Common show Commands in Cisco IOS XR Software (continued) Command show interfaces (EXEC mode) show logging (EXEC and administration EXEC modes) show memory (EXEC and administration EXEC modes) show platform (EXEC and administration EXEC modes) show processes blocked...
  • Page 180: Using The Traceroute Command

    Basic Troubleshooting Commands Each exclamation point (!) indicates receipt of a reply. A period (.) indicates the network server timed out while waiting for a reply. Other characters may appear in the ping output display, depending on the protocol type. Examples In the following example, a successful ping attempt is shown: RP/0/RP0/CPU0:router# ping 10.233.233.233...
  • Page 181: Using Debug Commands

    Chapter 7 Troubleshooting the Cisco IOS XR Software Examples In the following example, the route for an IP address is displayed: RP/0/RP0/CPU0:router# traceroute 10.233.233.233 Type escape sequence to abort. Tracing the route to 10.233.233.233 172.25.0.2 11 msec 192.255.254.254 1 msec Using debug Commands Debug commands are used to diagnose and resolve network problems.
  • Page 182: Enabling Debugging For A Feature

    Basic Troubleshooting Commands cctl cetftp cpuctrl describe diagnostic dumper exit fabric fabricq ingressq install invd invmgr oird pair shelfmgr sysdb upgrade-fpd --More-- Enabling Debugging for a Feature To enable debugging for a feature, enter the debug command in EXEC or administration EXEC mode and then enable the feature for debugging.
  • Page 183: Configuration Error Messages

    Chapter 7 Troubleshooting the Cisco IOS XR Software Enter the show debug conditions command to display the conditional debugging status. For example: RP/0/RP0/CPU0:router# show debug conditions #### debug conditions set from tty 'con0_RP1_CPU0' interface condition is ON for interface 'POS0/2/0/1' Disabling Debugging for a Service Use the no form of the debug command or the undebug command to turn off debugging for a service or subsystem.
  • Page 184: Configuration Failures During A Commit Operation

    Configuration Error Messages Configuration Failures During a Commit Operation A target configuration is added to the running configuration of a router when the commit command is entered. During this operation, the changes are automatically verified by the other components in the system.
  • Page 185: Memory Warnings In Configuration Sessions

    Chapter 7 Troubleshooting the Cisco IOS XR Software Memory Warnings in Configuration Sessions The Cisco IOS XR software automatically monitors and manages the system resources in a router. Under normal operating conditions, memory problems should not occur. When a low-memory issue does occur, it is often in the form of a low-memory warning during a configuration session.
  • Page 186: Displaying System Memory Information

    Memory Warnings in Configuration Sessions “ERROR! MEMORY IS IN SEVERE (or CRITICAL) STATE” When the memory is in a severe or critical state, router operation and performance is likely to be affected. Regular users are not allowed to enter configuration mode. Only lr-root owners can enter configuration mode to free memory by removing configurations.
  • Page 187: Removing Configurations To Resolve Low-Memory Warnings

    Chapter 7 Troubleshooting the Cisco IOS XR Software Table 7-2 Heading Physical Memory Application Memory Image Reserved IOMem flashfsys Process and JID Address Bytes What Removing Configurations to Resolve Low-Memory Warnings To resolve most low-memory problems, you should remove the configurations from the router that are consuming the most memory.
  • Page 188: Rolling Back To A Previously Committed Configuration

    Memory Warnings in Configuration Sessions Step 1 Enter the show memory summary command in EXEC mode to display the overall system memory: RP/0/RP0/CPU0:router# show memory summary Physical Memory: 2048M total Application Memory : 1787M (1511M available) Image: 132M (bootram: 132M) Reserved: 128M, IOMem: 0, flashfsys: 0 Total shared window: 0 Enter the show configuration commit list command in EXEC or administration EXEC mode to list the...
  • Page 189: Contacting Tac For Additional Assistance

    Chapter 7 Troubleshooting the Cisco IOS XR Software Contacting TAC for Additional Assistance If you remove configurations and the low-memory condition remains, you may need to contact TAC for additional assistance. See the Interfaces Not Coming Up The router interfaces are directly used in processing network traffic, so their status information is crucial to understanding how the device is functioning.
  • Page 190 Interfaces Not Coming Up Line cards in Cisco CRS-1 routers are called modular services cards (MSCs). The show platform Note command output is different for Cisco CRS-1 routers and Cisco XR 12000 Series Routers. When this command is entered in EXEC mode, the display shows only those nodes assigned to the SDR. Enter the show ipv4 interface brief command to verify IP address configuration and protocol status: Step 2 RP/0/RP0/CPU0:router# show ipv4 interface brief...
  • Page 191 Chapter 7 Troubleshooting the Cisco IOS XR Software POS0/1/0/0 POS0/1/0/1 POS0/1/0/2 POS0/1/0/3 POS0/1/0/4 POS0/1/0/5 POS0/1/0/6 POS0/1/0/7 POS0/1/0/8 POS0/1/0/9 POS0/1/0/10 POS0/1/0/11 POS0/1/0/12 POS0/1/0/13 POS0/1/0/14 POS0/1/0/15 POS0/2/0/0 POS0/2/0/1 POS0/2/0/3 POS0/2/0/3 TenGigE0/3/0/0 TenGigE0/3/0/2 MgmtEth0/RP0/CPU0/0 If the interface is in the “Shutdown/Down” state, as shown in the previous example, perform the Step 5 following tasks: Verify that the status of the interface is “Shutdown”:...
  • Page 192 Interfaces Not Coming Up POS0/1/0/5 POS0/1/0/6 POS0/1/0/7 POS0/1/0/8 POS0/1/0/9 POS0/1/0/10 POS0/1/0/11 POS0/1/0/12 POS0/1/0/13 POS0/1/0/14 POS0/1/0/15 POS0/2/0/0 POS0/2/0/1 POS0/2/0/2 POS0/2/0/3 TenGigE0/3/0/0 TenGigE0/3/0/2 MgmtEth0/RP0/CPU0/0 Step 8 Repeat these steps for every interface, until every interface shows both Status and Protocol as “Up.” Cisco IOS XR Getting Started Guide 7-16 Chapter 7...
  • Page 193: Appendix

    Understanding Regular Expressions, Special Characters, and Patterns This appendix describes the regular expressions, special or wildcard characters, and patterns that can be used with filters to search through command output. The filter commands are described in the show Command Output” section on page filters: •...
  • Page 194: Special Characters

    Special Characters Special Characters Certain keyboard characters have special meaning when used in regular expressions. keyboard characters that have special meaning. Table A-1 Character _ (underscore) To use these special characters as single-character patterns, remove the special meaning by preceding each character with a backslash (\).
  • Page 195: A P P E N D I X A Understanding Regular Expressions, Special Characters, And Patterns

    Appendix A Understanding Regular Expressions, Special Characters, and Patterns Multiple-Character Patterns Multiple-character regular expressions can be formed by joining letters, digits, and keyboard characters that do not have a special meaning. With multiple-character patterns, order is important. The regular expression a4% matches the character a followed by a 4 followed by a %. If the string does not have a4%, in that order, pattern matching fails.
  • Page 196: Pattern Alternation

    Pattern Alternation The order for matches using multipliers (*, +, and ?) is to put the longest construct first. Nested constructs are matched from outside to inside. Concatenated constructs are matched beginning at the left side of the construct. Thus, the regular expression matches A9b3, but not 9Ab3 because the letters are specified before the numbers.
  • Page 197 Appendix A Understanding Regular Expressions, Special Characters, and Patterns Parentheses Used for Pattern Recall To create a regular expression that recalls a previous pattern, use parentheses to indicate memory of a specific pattern and a backslash (\) followed by a digit to reuse the remembered pattern. The digit specifies the occurrence of a parenthesis in the regular expression pattern.
  • Page 198: Parentheses Used For Pattern Recall

    Appendix A Understanding Regular Expressions, Special Characters, and Patterns Parentheses Used for Pattern Recall Cisco IOS XR Getting Started Guide OL-10957-02...
  • Page 199: G L O S S A R Y

    authentication, authorization, and accounting. A network security service that provides the primary framework to set up access control on a Cisco CRS-1 router or access server. AAA is an architectural framework and modular means of configuring three independent but closely related security functions in a consistent manner.
  • Page 200 Glossary The type of the card inserted in a slot. card type Cisco Discovery Protocol. CDP runs on all Cisco devices so that these devices can learn about neighboring devices and exchange information. CDP uses a well-known multicast MAC address. During system initialization, the application-specific integrated circuit (ASIC) is configured to forward these packets to the Cisco IOS XR software CPU, which processes the packets.
  • Page 201 dual in-line memory module. Small circuit boards carrying memory integrated circuits, with signal and DIMM power pins on both sides of the board, in contrast to single-in-line memory modules (SIMMs). Name of the flash disk on which the Cisco IOS XR software is stored. disk0 Name of the optional flash disk on which the Cisco IOS XR software can be stored in preparation for disk1...
  • Page 202 Glossary Process of sending a frame toward its ultimate destination by way of an internetworking device. forwarding fast reroute. Automatically reroutes traffic on a label switch path (LSP) if a node or link in an LSP fails. FRR reduces the loss of packets traveling over an LSP. File Transfer Protocol.
  • Page 203 Internet Control Message Protocol. Network layer Internet (TCP/IP) protocol that reports errors and ICMP provides other information relevant to IP packet processing. IP explicit path. List of IP addresses, each representing a node or link in the explicit path. Internet Engineering Task Force. Task force consisting of over 80 working groups responsible for IETF developing Internet standards.
  • Page 204 Glossary Layer 2 refers to the data link layer of the commonly referenced multilayered communication model, Layer 2 Open Systems Interconnection (OSI). The data link layer contains the address inspected by a bridge or switch. Layer 2 processing is faster than layer 3 processing, because less analysis of the packet is required.
  • Page 205 Multiprotocol Label Switching traffic engineering. A switching method that forwards IP traffic using MPLS TE a label. This label instructs the routers and switches in the network where to forward the packets based on pre-established IP routing information. modular services card. Module in which the ingress and egress packet processing and queueing functions are carried out in the Cisco CRS-1 architecture.
  • Page 206 Glossary Open Systems Interconnection. International standardization program created by ISO and ITU-T to develop standards for data networking that facilitate multivendor equipment interoperability. Open Shortest Path First. Link-state, hierarchical Interior Gateway Protocol (IGP) routing algorithm OSPF proposed as a successor to Routing Information Protocol (RIP) in the Internet community. OSPF features include least-cost routing, multipath routing, and load balancing.
  • Page 207 Point-to-Point Protocol. Successor to SLIP that provides router-to-router and host-to-network connections over synchronous and asynchronous circuits. Whereas SLIP was designed to work with IP, PPP was designed to work with several network layer protocols, such as IP, IPX, and ARA. PPP also has built-in security mechanisms, such as CHAP and PAP.
  • Page 208 Glossary A routing algorithm determines that one route is better than another. This information is stored in routing metric routing tables. Metrics include bandwidth, communication cost, delay, hop count, load, MTU, path cost, and reliability. Sometimes referred to simply as a metric. See also algorithm. Protocol that accomplishes routing through the implementation of a specific routing algorithm.
  • Page 209 Simple Network Management Protocol. SNMP is the protocol governing network management and the SNMP monitoring of network devices and their functions. It is not necessarily limited to TCP/IP networks. Simple Network Management Protocol Version 3. An interoperable standards-based protocol for SNMPv3 network management.
  • Page 210 Glossary Terminal Access Controller Access Control System. Authentication protocol, developed by the DDN TACACS community, that provides remote access authentication and related services, such as event logging. User passwords are administered in a central database rather than in individual routers, providing an easily scalable network security solution.
  • Page 211 vertical cavity surface emitting laser. VCSEL A vm file is a Cisco IOS XR software file that can be installed from ROM Monitor mode. A vm file is typically used to install the Cisco IOS XR software when the software has not yet been installed or has been corrupted.
  • Page 212 Glossary Cisco IOS XR Getting Started Guide GL-14 OL-10957-02...
  • Page 213: I N D E X

    Symbols ? command abbreviated commands, entering abort command 4-38 aborting command output admin command 3-39 administration configuration mode administration EXEC mode 4-19 alarm correlation, logging 5-10 alarm logging correlation 5-10 locations severity levels alias command 6-15 aliases, introduction 6-15 alphanumeric LED display DRP PLIM illustration PRP-2 illustration 1-12, 4-5...
  • Page 214 Index supported standalone systems cisco-support user group 4-14 clear command 4-34, 7-11 clear configuration commit command clear configuration sessions command identifying command mode 4-18 introduction logging in 4-11 prompt 4-12 clock, setting the router time 4-44 clock set command 4-45 clock timezone command 4-45 clock update-calendar command...
  • Page 215 loading an alternate 4-33 mode, entering EXEC commands overview 4-23 reloading a failed configuration submodes 4-20 target configuration loading from a file 4-33 saving to a file 4-33 templates applying 6-14 creating 6-12 configurations multishelf systems standalone router configure command 4-25 configure exclusive command 4-26...
  • Page 216 Index FCC serial number physical location file, redirecting output to filters, command output flash disk configuration file storage 4-36 GBIC transceiver module 3-10 Gigabit Interface Converter (GBIC) transceiver module 3-10 global configuration mode 4-20 group command 5-15 halting command output hardware documentation history, commands...
  • Page 217 Management Ethernet interface configuring 4-39 displaying 4-40 DRP PLIM illustration establishing a connection through name syntax 4-39 PRP-2 illustration RP for 16-slot LCC illustration RP for 4-slot and 8-slot LCCs, illustration maximum external-sa command 5-23 maximum group-mappings autorp command maximum groups command IGMP configuration mode 5-23 IGMP interface mode...
  • Page 218 Index oim count command 3-31 oim instance command 3-31 OIM LED card illustration 3-45 LED interpretation 3-46 operator user group 4-14 Optical Interface Module. See OIM OSPF, configuration limits 5-17 owner SDR partial command, entry password command 5-15 pattern alternation multiple-character recall ping command...
  • Page 219 save configuration command 4-33 introduction logging in 4-11 named owner secret command 5-15 secure domain router See SDR serial number FCC location LCC location session configuration overview 4-23 ending 4-37 shortcuts capitalization 6-18 command history 6-17 cursor movement 6-18 deleting text 6-19 recalling deleted entries 6-17...
  • Page 220 Index show running-config router ospf command show running-config router static command show running-config sanitized command show task supported command 4-13, 5-13 show tech-support command 6-6, 7-3 show user command 4-15, 7-3 show user group command 4-16 show user tasks command 4-15 show variables boot command show version command...
  • Page 221 terminal server, establishing a connection through terminal settings, default values 1-13, 4-7, 4-9 time, setting the router clock 4-44 time zone, setting the router clock traceroute command troubleshooting basic commands displaying system memory information errors at startup failed commit operation low memory warnings type, card type displayed in prompt undebug all command...
  • Page 222 Index Cisco IOS XR Getting Started Guide IN-10 OL-10957-02...

This manual is also suitable for:

Ios xr 3.4

Table of Contents