FINAL DRAFT —Cisco Confidential 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.
FINAL DRAFT —Cisco Confidential CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, the Cisco logo, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cis
FINAL DRAFT - Cisco Confidential CONTENTS Preface vii Changes to This Document vii About This Document vii Intended Audience viii Organization of the Document Related Documents viii Conventions viii viii Obtaining Documentation and Submitting a Service Request CHAPTER ix 1 Contents 1-1 Router Overview 1-1 Features and Capabilities 1-1 Cisco IOS XR Software 1-2 Flexible Ethernet 1-3 L2VPN 1-4 Multicast 1-4 OAM 1-4 Layer 3 routing 1-5 MPLS VPN 1-5 QoS 1-5 MPLS TE 1-5 High Availability 1-6 System
Contents FINAL DRAFT - Cisco Confidential Configuring Gigabit Ethernet and 10-Gigabit Ethernet Interfaces Where to Go Next CHAPTER 1-13 1-13 2 Contents 2-1 Prerequisites 2-1 Software Requirements 2-2 Hardware Prerequisites and Documentation Bringing Up and Configuring the Router Examples 2-3 2-2 2-2 Verifying the System After Initial Boot 2-4 Examples of show Commands 2-5 Where to Go Next CHAPTER 2-8 3 Contents 3-1 Connecting to and Communicating with the Router 3-1 Connecting Through the C
Contents FINAL DRAFT - Cisco Confidential Viewing Configuration Details 3-21 Viewing the Running Configuration 3-22 Viewing a Sanitized Version of the Running Configuration 3-23 Viewing the Target Configuration 3-24 Viewing a Combined Target and Running Configuration 3-25 Viewing Configuration Error Messages and Descriptions 3-26 Viewing Configuration Error Messages Without Descriptions 3-26 Viewing Configuration Error Messages Produced While Loading a Configuration Saving the Target Configuration to a Fil
Contents FINAL DRAFT - Cisco Confidential Managing Configuration History and Rollback 4-6 Viewing CommitIDs 4-7 Viewing Configuration Changes Recorded in a CommitID 4-7 Previewing Rollback Configuration Changes 4-8 Rolling Back the Configuration to a Specific Rollback Point 4-8 Rolling Back the Configuration over a Specified Number of Commits 4-9 Loading CommitID Configuration Changes to the Target Configuration 4-9 Loading Rollback Configuration Changes to the Target Configuration 4-10 Deleting CommitIDs
Contents FINAL DRAFT - Cisco Confidential Using the Question Mark (?) to Display On-Screen Command Help Completing a Partial Command with the Tab Key 5-4 Identifying Command Syntax Errors 5-4 Using the no Form of a Command 5-4 Editing Command Lines that Wrap 5-5 5-2 Viewing System Information with show Commands 5-5 Common show Commands 5-6 Browsing Display Output when the --More-- Prompt Appears 5-6 Halting the Display of Screen Output 5-7 Redirecting Output to a File 5-7 Narrowing Output from Large Conf
Contents FINAL DRAFT - Cisco Confidential Additional Sources for Information 6-1 Basic Troubleshooting Commands 6-1 Using show Commands to Display System Status and Configuration 6-2 Using the ping Command 6-2 Examples 6-2 Using the traceroute Command 6-3 Examples 6-3 Using debug Commands 6-3 Viewing a List of Debug Features 6-4 Enabling Debugging for a Feature 6-4 Viewing Debugging Status 6-5 Disabling Debugging for a Service 6-5 Disabling Debugging for All Services Started at the Active Terminal Sessio
Contents FINAL DRAFT - Cisco Confidential Complex Regular Expressions Using Multipliers Pattern Alternation A-4 Anchor Characters A-4 Underscore Wildcard A-3 A-4 Parentheses Used for Pattern Recall A-4 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01 7
Contents FINAL DRAFT - Cisco Confidential Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 8 OL-17502-01
FINAL DRAFT - Cisco Confidential 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.
Preface FINAL DRAFT - Cisco Confidential Intended Audience This document is intended for the following people: • Experienced service provider administrators • Cisco telecommunications management engineers • Third-party field service technicians who have completed the Cisco IOS XR Software training sessions • 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
Preface FINAL DRAFT - Cisco Confidential Item Convention Menu items and button names boldface font Menu navigation Option > Network Preferences Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the publication. Tip Means the following information will help you solve a problem. The information in tips might not be troubleshooting or an action, but contains useful information. Caution Means reader be careful.
Preface FINAL DRAFT - Cisco Confidential Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide x OL-17502-01
FINAL DRAFT —Cisco Confidential CH A P T E R 1 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.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Router Overview FINAL DRAFT —Cisco Confidential • Multicast, page 1-4 • OAM, page 1-4 • Layer 3 routing, page 1-5 • QoS, page 1-5 • MPLS TE, page 1-5 • Manageability, page 1-8 • Security, page 1-9 • Command-Line Interface, page 1-10 • Extensible Markup Language API, page 1-10 • Simple Network Management Protocol, page 1-10 Cisco IOS XR Software The router runs Cisco IOS XR Software, this offers the followin
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Router Overview FINAL DRAFT —Cisco Confidential • Flexible VLAN classification: VLAN classification into Ethernet flow points (EFPs) includes single-tagged VLANs, double-tagged VLANs (QinQ and IEEE 802.1ad), contiguous VLAN ranges, and noncontiguous VLAN lists. • IEEE Bridging: The software supports native bridging based on IEEE 802.1Q, IEEE 802.1ad, and QinQ VLAN encapsulation mechanisms on the router. • IEEE 802.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Router Overview FINAL DRAFT —Cisco Confidential • MST Access Gateway: This feature provides a resilient, fast-convergence mechanism for aggregating and connecting to Ethernet-based access rings. L2VPN The router uses L2VPNs, this offers the following: • Virtual Private LAN Services (VPLS): VPLS is a class of VPN that supports the connection of multiple sites in a single, bridged domain over a managed IP/MPLS network.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Router Overview FINAL DRAFT —Cisco Confidential Layer 3 routing The router runs Cisco IOS XR Software which supports Layer 3 routing and a range of IPv4 services and routing protocols, including the following: • Intermediate System-to-Intermediate System (IS-IS) • Open Shortest Path First (OSPF) • static routing • IPv4 Multicast • Routing Policy Language (RPL) • Hot Standby Router Protocol (HSRP) • Virtual Router
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router System Configurations FINAL DRAFT —Cisco Confidential • MPLS TE Preferred Path: Preferred tunnel path functions let you map pseudowires to specific TE tunnels. Attachment circuits are cross-connected to specific MPLS TE tunnel interfaces instead of remote provider-edge router IP addresses (reachable using Interior Gateway Protocol [IGP] or Label Distribution Protocol [LDP]).
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router System Configurations FINAL DRAFT —Cisco Confidential Figure 1-1 6-Slot Chassis Figure 1-2 10-Slot Chassis Each chassis type supports 40G per slot, and can share route-switch processors (RSPs) and line cards (LCs), which are interchangeable. In each chassis, two slots are designated for RSPs, while the remaining slots accommodate line cards that carry the traffic.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Management and Security FINAL DRAFT —Cisco Confidential • 8x10GE Ethernet line card Management and Security In addition to the management and security features listed below, the router has administrative options, like assigning Task IDs, that control who can perform router tasks.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Initial Router Configuration FINAL DRAFT —Cisco Confidential Security • Cisco IOS XR Software: This software provides comprehensive network security features, including ACLs; control-plane protection; routing authentications; authentication, authorization, and accounting (AAA); TACACS+; IP Security (IPSec); Secure Shell (SSH) Protocol; SNMPv3; and leading Routing Policy Language (RPL) support.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Initial Router Configuration FINAL DRAFT —Cisco Confidential • Command-Line Interface, page 1-10 • Extensible Markup Language API, page 1-10 • Simple Network Management Protocol, page 1-10 Command-Line Interface The CLI is a user interface for monitoring and maintaining the router and also for configuring basic router features. Through the CLI you execute the Cisco IOS XR commands. All procedures in this guide use CLI.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Initial Router Configuration FINAL DRAFT —Cisco Confidential Connecting to the Router Through the Console Port The first time you connect to a new router with Cisco IOS XR software, connect through the Console port. Although typical router configuration and management take place using an Ethernet port, you must configure the console port for your LAN before it can be used.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Initial Router Configuration FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Step 2 Command or Action Purpose Power on the router. Starts the router. Connect a terminal to the Console port. • This step is required only if the power is not on. • For information on power installation and controls, see the hardware documentation listed in the “Related Documents” section on page viii.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Where to Go Next FINAL DRAFT —Cisco Confidential Step 5 Step 6 Command or Action Purpose Log in to the router. Establishes your access rights for the router management session. • Type the root-system username and password or the username and password provided by your system administrator. • After you log in, the router displays the CLI prompt, which is described in the “CLI Prompt” section on page 3-6.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Where to Go Next FINAL DRAFT —Cisco Confidential Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-14 OL-17502-01
FINAL DRAFT —Cisco Confidential CH A P T E R 2 Bringing Up Cisco IOS XR Software on the Router This chapter provides instructions for bringing up Cisco IOS XR Software on the router for the first time.
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Bringing Up and Configuring the Router FINAL DRAFT —Cisco Confidential Software Requirements The system requires compatible ROM Monitor firmware on all RPs. Caution The ROM Monitor firmware on all RPs must be compatible with the Cisco IOS XR Software release installed on the router. If the router is brought up with an incompatible version of the ROM Monitor software, the standby RP may fail to boot.
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Bringing Up and Configuring the Router FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Command or Action Purpose Establish a connection to the Console port. Initiates communication with the router. • For instructions on connecting to the Console port, see the “Connecting to the Router Through the Console Port” section on page 1-11.
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot FINAL DRAFT —Cisco Confidential The secret line in the configuration command script shows that the password is encrypted. When you type the password during configuration and login, the password is hidden. Verifying the System After Initial Boot To verify the status of the router, perform the following procedure: SUMMARY STEPS 1. show version 2. admin 3. show platform [node-id] 4. exit 5.
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot FINAL DRAFT —Cisco Confidential Step 5 Command or Action Purpose show redundancy Displays the state of the primary (active) and standby (inactive) RPs, including the ability of the standby to take control of the system.
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot FINAL DRAFT —Cisco Confidential Configuration register on node 0/RSP0/CPU0 is 0x2 Boot device on node 0/RSP0/CPU0 is disk0: --More-- show platform Command: Example The show platform command displays information on router resources. In EXEC mode, the show platform command displays the resources assigned to the RP you are managing.
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot FINAL DRAFT —Cisco Confidential RP/0/RSP0/CPU0:router# show redundancy Redundancy information for node 0/RSP0/CPU0: ========================================== Node 0/RSP0/CPU0 is in ACTIVE role Partner node (0/RSP1/CPU0) is in STANDBY role Standby node in 0/RSP1/CPU0 is ready Reload and boot info ---------------------RP reloaded Wed Feb 15 13:58:32 2008: 1 week, 6 days, 22 hours, 49 minutes ago Active node bo
Chapter 2 Bringing Up Cisco IOS XR Software on the Router Where to Go Next FINAL DRAFT —Cisco Confidential Where to Go Next For information on configuring basic router features, see Chapter 3, “Configuring General Router Features.
FINAL DRAFT —Cisco Confidential CH A P T E R 3 Configuring General Router Features This chapter describes how to communicate with the router using command-line interface (CLI). This chapter also shows basic Cisco IOS XR Software configuration management.
Chapter 3 Configuring General Router Features Connecting to and Communicating with the Router FINAL DRAFT —Cisco Confidential • Connecting Through the Console Port, page 3-2 • Connecting Through a Terminal Server, page 3-3 • Connecting Through the Management Ethernet Interface, page 3-5 Connecting Through the Console Port To connect to the router through the console port, perform the following procedure. SUMMARY STEPS 1. Identify the active RSP. 2.
Chapter 3 Configuring General Router Features Connecting to and Communicating with the Router FINAL DRAFT —Cisco Confidential Step 4 Step 5 Command or Action Purpose Press Enter. Initiates communication with the router. Log in to the router. • If no text or router prompt appears when you connect to the Console port, press Enter to initiate communications.
Chapter 3 Configuring General Router Features Connecting to and Communicating with the Router FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Step 2 Command or Action Purpose Install and configure the terminal server. Prepares the terminal server for communications with the router and with Telnet clients. Connect the terminal server to the Console port of the target RSP. • This step is usually preformed once.
Chapter 3 Configuring General Router Features Logging In to a Router FINAL DRAFT —Cisco Confidential Step 6 Step 7 Command or Action Purpose Press Enter. (Optional) Initiates communications with the RSP. Log in to the router. • If no text or router prompt appears when you start the Telnet session, press Enter. • The router displays the prompt: Username: Establishes your access rights for the router management session. Type a username and password when prompted.
Chapter 3 Configuring General Router Features Logging In to a Router FINAL DRAFT —Cisco Confidential • A Remote Authentication Dial In User Service (RADIUS) server • A Terminal Access Controller Access-Control System Plus (TACACS+) server The username and password validation method that your router uses is determined by the router configuration.
Chapter 3 Configuring General Router Features Logging In to a Router FINAL DRAFT —Cisco Confidential For example, the following prompt indicates that the CLI commands are executed on the RP in rack 0, slot RSP0, by the “CPU0” module on a router named “router:” RP/0/RSP0/CPU0:router# 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.
Chapter 3 Configuring General Router Features Logging In to a Router FINAL DRAFT —Cisco Confidential Predefined User Groups Cisco IOS XR Software includes a set of predefined user groups that meets the needs of most organizations. These groups are described in Table 3-2. Table 3-2 Predefined User Group Descriptions User Group Privileges root-system Display and execute all commands for all RPs in the system. root-lr Display and execute all commands within a single RP.
Chapter 3 Configuring General Router Features Logging In to a Router FINAL DRAFT —Cisco Confidential show user Command: Example To view your username, type the show user command: RP/0/RSP0/CPU0:router# show user cisco show user tasks Command: Example To view the tasks assigned to your account and your rights to those tasks, type the show user tasks command: RP/0/RSP0/CPU0:router# show user tasks Task: aaa : READ WRITE EXECUTE DEBUG Task: acl : READ WRITE EXECUTE DEBUG Task: admin : READ WR
Chapter 3 Configuring General Router Features Logging In to a Router FINAL DRAFT —Cisco Confidential Groups: root-system, cisco-support Authenticated using method local User cisco has the following Task ID(s): Task: aaa : READ WRITE EXECUTE DEBUG Task: acl : READ WRITE EXECUTE DEBUG Task: admin : READ WRITE EXECUTE DEBUG Task: ancp : READ WRITE EXECUTE DEBUG Task: atm : READ WRITE EXECUTE DEBUG Task: basic-services : READ WRITE EXECUTE DEBUG Task: bcdl : READ WRITE
Chapter 3 Configuring General Router Features Navigating Cisco IOS XR Software Command Modes FINAL DRAFT —Cisco Confidential Task: config-mgmt : READ WRITE EXECUTE DEBUG Task: config-services : READ WRITE EXECUTE DEBUG Task: crypto : READ WRITE EXECUTE DEBUG Task: diag : READ WRITE EXECUTE DEBUG Task: drivers : READ WRITE EXECUTE DEBUG --More-- Navigating Cisco IOS XR Software Command Modes The Cisco IOS XR Software CLI has different command modes.
Chapter 3 Configuring General Router Features Navigating Cisco IOS XR Software Command Modes FINAL DRAFT —Cisco Confidential Identifying the Command Mode in the CLI Prompt The command mode is identified in the CLI prompt after the router name.
Chapter 3 Configuring General Router Features Navigating Cisco IOS XR Software Command Modes FINAL DRAFT —Cisco Confidential Table 3-4 Common Command Modes and CLI Prompts (continued) Command Mode Description administration configuration mode Administration configuration mode allows you to assign system resources to RSPs.
Chapter 3 Configuring General Router Features Navigating Cisco IOS XR Software Command Modes FINAL DRAFT —Cisco Confidential Table 3-4 Common Command Modes and CLI Prompts (continued) Command Mode Description Router submode configuration Router configuration submodes are accessed from router configuration mode.
Chapter 3 Configuring General Router Features Navigating Cisco IOS XR Software Command Modes FINAL DRAFT —Cisco Confidential 975M bytes of compact flash card. 33994M bytes of hard disk. 1605616k bytes of disk0: (Sector size 512 bytes). 1605616k bytes of disk1: (Sector size 512 bytes).
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential bcm8705 Show trace data for the bcm8705 component bfd BFD information bgp BGP show commands bridgemib show bridge-mib component bundle Show information for bundles interfaces. calendar Display the system calendar cdp CDP information --More-- Note Step 3 The commands available to you depend on the router mode and your user group assignments.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential Figure 3-2 EXEC mode Two-Stage Configuration Process Global configuration mode Stage 1: Enter configuration changes or load a saved configuration. Administration mode Stage 2: "Commit" changes to the running configuration. Administration configuration mode 149946 Save configuration changes to a file.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential 3. The system saves the changes to the running configuration and leaves you in configuration mode or in EXEC mode. To remain in CONFIG mode after you commit changes, perform the following procedure. SUMMARY STEPS 1. configure 2. Enter configuration changes. 3. end or commit DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential 4. end DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode. Example: RP/0/RSP0/CPU0:router# configure Step 2 Enter configuration changes. Invokes the change you enter. Step 3 commit Saves configuration changes. Example: RP/0/RSP0/CPU0:router(your-config-mode)# commit Step 4 Saves configuration changes.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential RP/0/RSP0/CPU0:router# show configuration sessions Current Configuration Session Line User 00000041-006d60d3-00000000 vty0 mehrenre Wed Dec Date Lock 3 00:33:32 2008 If an asterisk (*) appears in the Lock column, the user is using an exclusive configuration session and you cannot start a configuration session until the session closes.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential end Simple Administration Configuration Session: Example The following example shows a simple administration configuration session in which the target configuration is created and previewed in administration configuration mode: RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# configure RP/0/RSP0/CPU0:router(admin-config)# sdr test RP/0/RSP0/CPU0:router(admin-config-sdr:test)# location 0
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential • Viewing a Sanitized Version of the Running Configuration, page 3-23 • Viewing the Target Configuration, page 3-24 • Viewing a Combined Target and Running Configuration, page 3-25 • Viewing Configuration Error Messages and Descriptions, page 3-26 • Viewing Configuration Error Messages Without Descriptions, page 3-26 • Viewing Configuration Error Messages Produced While Loading a Confi
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential To display the administration portion of the running configuration, connect to the RSP and type the show running-config command in administration EXEC or administration configuration mode, as shown in the following example: RP/0/RSP0/CPU0:router(admin)# show running-config Building configuration... username cisco group root-system group cisco-support secret 5 $1$2dx.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential ! line console --More-- To display the sanitized administration portion of the running configuration, connect to the RSP and type the show running-config sanitized command in administration EXEC or administration configuration mode, as shown in the following example: RP/0/RSP0/CPU0:router(admin)# show running-config sanitized Building configuration...
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential Viewing 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.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential Viewing Configuration Error Messages and Descriptions Configuration changes are automatically verified during the commit operation, and a message appears if one or more configuration entries fail. To display an error message and description for a failed configuration, type the show configuration failed command.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential To save the configuration changes in the target configuration to a file, type the save configuration device: command. Replace the device argument with the name of the device on which you want to store the file (for example, disk0). After you enter this command, the router prompts you to enter a filename. If you enter only a filename, the file is stored in the root directory of the device.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential In the following example, the user configures an interface but does not commit it.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential Table 3-5 Commit Command Options (continued) Command Description commit comment line (Optional) Assigns a comment to a commit. commit confirmed seconds commit label line • This text comment appears in the commit entry displayed with the show configuration commit list [detail] command. • The line argument is the text for the optional comment or label.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential Committing a Configuration from Global Configuration Mode: Example In the following example, the default commit command is entered in global configuration mode: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# interface Gi 0/0/0/2 RP/0/RSP0/CPU0:router(config-if)# description faq RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential 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.
Chapter 3 Configuring General Router Features Managing Configuration Sessions FINAL DRAFT —Cisco Confidential 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/RSP0/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: Note • yes—Commit
Chapter 3 Configuring General Router Features Configuring the Management Ethernet Interface FINAL DRAFT —Cisco Confidential Note No blanks or spaces are permitted as part of a name. Do not expect case to be preserved. Uppercase and 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.
Chapter 3 Configuring General Router Features Configuring the Management Ethernet Interface FINAL DRAFT —Cisco Confidential Table 3-7 Management Ethernet Interface Names 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 MgmtEth0/1/CPU0/1
Chapter 3 Configuring General Router Features Configuring the Management Ethernet Interface FINAL DRAFT —Cisco Confidential 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.
Chapter 3 Configuring General Router Features Configuring the Management Ethernet Interface FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode. Example: RP/0/RSP0/CPU0:router# configure Step 2 interface MgmtEthrack/slot/CPU0/port Enters interface configuration mode and specifies the Management Ethernet interface of the primary RSP. Example: See Table 3-6 for command parameters.
Chapter 3 Configuring General Router Features Configuring the Management Ethernet Interface FINAL DRAFT —Cisco Confidential Step 8 Command or Action Purpose end Saves configuration changes.
Chapter 3 Configuring General Router Features Manually Setting the Router Clock FINAL DRAFT —Cisco Confidential 0 output errors, 0 underruns, 0 applique, 0 resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Related Documents Related Topic Document Title Additional information about configuring management interfaces Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide Manually Setting the Router Clock Generally, if the
Chapter 3 Configuring General Router Features Manually Setting the Router Clock FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode. Example: RP/0/RSP0/CPU0:router# configure Step 2 Sets the time zone for the router clock.
Chapter 3 Configuring General Router Features Where to Go Next FINAL DRAFT —Cisco Confidential RP/0/RSP0/CPU0:router(config)# end RP/0/RSP0/CPU0:router# clock set 14:12:00 10 dec 2008 14:12:00.090 PST Wed Dec 02 2008 RP/0/RSP0/CPU0:router# clock update-calendar RP/0/RSP0/CPU0:router# show clock 14:12:00.
FINAL DRAFT —Cisco Confidential CH A P T E R 4 Configuring Additional Router Features This chapter shows you how to enter basic configurations using command-line interface (CLI).
Chapter 4 Configuring Additional Router Features Configuring the Domain Name and Domain Name Server FINAL DRAFT —Cisco Confidential To configure the DNS and DNS server, complete the following: SUMMARY STEPS 1. configure 2. domain name domain-name-of-organization 3. domain name-server ipv4-address 4. commit or end 5. show hosts DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode.
Chapter 4 Configuring Additional Router Features Configuring Telnet and XML Host Services FINAL DRAFT —Cisco Confidential Step 4 Command or Action Purpose end or commit Saves configuration changes.
Chapter 4 Configuring Additional Router Features Configuring Telnet and XML Host Services FINAL DRAFT —Cisco Confidential Prerequisites Ensure the following prerequisites are met before configuring Telnet and XML host services: • For the XML host services, the Manageability package must be installed and activated on the router. • To enable the Secure Socket Layer (SSL) of the XML services, the Security package must be installed and activated on the router.
Chapter 4 Configuring Additional Router Features Configuring Telnet and XML Host Services FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode. Example: RP/0/RSP0/CPU0:router# configure Step 2 Enables Telnet services on the router and specifies the maximum number of allowable Telnet servers.
Chapter 4 Configuring Additional Router Features Managing Configuration History and Rollback FINAL DRAFT —Cisco Confidential Related Documents Related Topic Document Title Installation and activation of the Manageability and Security Packages Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide Descriptions of the XML server commands Cisco ASR 9000 Series Aggregation Services Router System Management Command Reference Managing Configuration History and Rollback Af
Chapter 4 Configuring Additional Router Features Managing Configuration History and Rollback FINAL DRAFT —Cisco Confidential Viewing CommitIDs To view up to 100 of the most recent commitIDs, type the show configuration commit list command in EXEC or administration EXEC mode. Up to 100 of the most recent commitIDs are saved by the system. Each commitID entry shows the user who committed configuration changes, the connection used to execute the commit, and commitID time stamp.
Chapter 4 Configuring Additional Router Features Managing Configuration History and Rollback FINAL DRAFT —Cisco Confidential 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. For example, if you want to roll back the configuration to a specific point, all configuration changes made after that point must be undone.
Chapter 4 Configuring Additional Router Features Managing Configuration History and Rollback FINAL DRAFT —Cisco Confidential Tip To preview the commands that undo the configuration during a rollback, use the show configuration rollback changes command.
Chapter 4 Configuring Additional Router Features Managing Configuration History and Rollback FINAL DRAFT —Cisco Confidential Note Unlike the rollback process, loading the commitID configuration changes loads only the changes made during that commit operation. The load process does not load all changes made between the commitID and the current committed configuration.
Chapter 4 Configuring Additional Router Features Managing Configuration History and Rollback FINAL DRAFT —Cisco Confidential To load rollback configuration changes from the current configuration to a specific session, go to global configuration or administration configuration mode and type the load rollback changes to commitId command: RP/0/RSP0/CPU0:router(config)# load rollback changes to 1000000068 Building configuration... Loading.
Chapter 4 Configuring Additional Router Features Configuring Logging and Logging Correlation FINAL DRAFT —Cisco Confidential 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. For example, you could direct information messages to the system console and also log debugging messages to a network server.
Chapter 4 Configuring Additional Router Features Configuring Logging and Logging Correlation FINAL DRAFT —Cisco Confidential 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.
Chapter 4 Configuring Additional Router Features Configuring Logging and Logging Correlation FINAL DRAFT —Cisco Confidential Step 4 Command or Action Purpose logging console [severity] Logs messages on the console. • When a severity level is specified, only messages at that severity level are logged on the console. • See Table 4-2 for a summary of the logging severity levels.
Chapter 4 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups FINAL DRAFT —Cisco Confidential RP/0/RSP0/CPU0:Apr RP/0/RSP0/CPU0:Apr RP/0/RSP0/CPU0:Apr LC/0/1/CPU0:Apr 8 LC/0/6/CPU0:Apr 8 RP/0/RSP0/CPU0:Apr RP/0/RSP1/CPU0:Apr LC/0/1/CPU0:Apr 8 LC/0/6/CPU0:Apr 8 RP/0/RSP0/CPU0:Apr RP/0/RSP1/CPU0:Apr RP/0/RSP0/CPU0:Apr RP/0/RSP0/CPU0:Apr RP/0/RSP0/CPU0:Apr --More-- 8 19:18:58.679 : instdir[203]: %INSTALL-INSTMGR-6-INSTALL_OP 8 19:19:01.
Chapter 4 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups FINAL DRAFT —Cisco Confidential Note The management of user accounts, user groups, and task IDs is part of the uthentication, authorization, and accounting (AAA) feature. AAA is a suite of security features in the Cisco IOS XR software.
Chapter 4 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups FINAL DRAFT —Cisco Confidential 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 Figure 4-1. This section describes the process to configure usernames.
Chapter 4 Configuring Additional Router Features Creating and Modifying User Accounts and User Groups FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode. Example: RP/0/RSP0/CPU0:router# configure Step 2 Creates a name for a new user (or identifies a current user) and enters username configuration submode.
Chapter 4 Configuring Additional Router Features Configuring Software Entitlement FINAL DRAFT —Cisco Confidential Configuring Software Entitlement Certain software and hardware features are enabled using software entitlement, which is a system that consists of a license manager on a Cisco IOS XR device that manages licenses for various software and hardware features. The license manager parses and authenticates a license before accepting it.
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential Static Route Configuration Limits Table 4-4 summarizes the maximum limits for static routes, including the commands used to display and change the limits.
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential RP/0/RSP1/CPU0:router(config-isis-af)# maximum-paths 10 RP/0/RSP1/CPU0:router(config-isis-af)# maximum-redistributed-prefixes 12000 RP/0/RSP1/CPU0:router(config-isis-af)# commit RP/0/RSP1/CPU0:Mar 30 14:11:07 : config[65739]: %LIBTARCFG-6-COMMIT : Configuration committed by user 'cisco'. Use 'show configuration commit changes 1000000535' to view the changes.
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential Routing Process "ospf 100" with ID 0.0.0.
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential Number of Parallel Links (max-paths): Example In the following example, the maximum paths command is used to set the maximum number of parallel routes: RP/0/RSP1/CPU0:router# configure RP/0/RSP1/CPU0:router(config)# router ospf 100 RP/0/RSP1/CPU0:router(config-router)# maximum paths 10 RP/0/RSP1/CPU0:router(config-router)# end Uncommitted changes found, commit them? [yes]: y RP/0/RSP1/CPU0:Mar 30 18:05:
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential In the next example, the rpl maximum command changes the currently configured line and policy limits. The show rpl maximum command displays the new settings. RP/0/RSP1/CPU0:router# configure RP/0/RSP1/CPU0:router(config)# rpl maximum policies 4000 RP/0/RSP1/CPU0:router(config)# rpl maximum lines 80000 RP/0/RSP1/CPU0:router(config)# commit RP/0/RSP1/CPU0:Apr 1 00:23:44.
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential Table 4-8 Multicast Configuration Limits and Commands (continued) Default Maximum Feature Limit Description Limit Absolute Maximum Limit Configuration Command Show Current Settings Command (EXEC Mode) Maximum PIM routes supported 100,000 200,000 maximum routes n show pim summary Maximum PIM egress states 300,000 Maximum PIM registers 20,000 (router PIM configuration mode) 600,000 maximum
Chapter 4 Configuring Additional Router Features Configuration Limiting FINAL DRAFT —Cisco Confidential Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-26 OL-17502-01
FINAL DRAFT —Cisco Confidential CH A P T E R 5 CLI Tips, Techniques, and Shortcuts This chapter describes techniques for using the command-line interface (CLI) of the Cisco IOS XR software. Contents Note • CLI Tips and Shortcuts, page 5-1 • Viewing System Information with show Commands, page 5-5 • Wildcards, Templates, and Aliases, page 5-11 • Command History, page 5-17 • Key Combinations, page 5-18 Commands can be entered in uppercase, lowercase, or mixed case.
Chapter 5 CLI Tips, Techniques, and Shortcuts CLI Tips and Shortcuts FINAL DRAFT —Cisco Confidential 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. Table 5-1 summarizes the options for on-screen help. Tip Table 5-1 The space (or no space) before the question mark (?) is significant.
Chapter 5 CLI Tips, Techniques, and Shortcuts CLI Tips and Shortcuts FINAL DRAFT —Cisco Confidential Note Step 2 The number ranges (within the angle brackets) are inclusive ranges.
Chapter 5 CLI Tips, Techniques, and Shortcuts CLI Tips and Shortcuts FINAL DRAFT —Cisco Confidential Completing a Partial Command with the Tab Key If you cannot remember a complete command name or want to reduce the amount of typing you have to perform, type the first few letters of the command, then press the Tab key. If only one command begins with that character string, the system completes the command for you.
Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Information with show Commands FINAL DRAFT —Cisco Confidential The Cisco IOS XR software command reference publications provide the complete syntax for the configuration commands and describe what the no form of a command does. See the “Related Documents” section on page viii for more information. Editing Command Lines that Wrap The CLI provides a wraparound feature for commands that extend beyond a single line on the screen.
Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Information with show Commands FINAL DRAFT —Cisco Confidential Common show Commands Some of the most common show commands are described in Table 5-2. Table 5-2 Common show Commands in Cisco IOS XR Software Command Description Command Mode show version Displays system information. EXEC or administration EXEC mode show configuration Displays the uncommitted configuration changes made during a configuration session.
Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Information with show Commands FINAL DRAFT —Cisco Confidential adjacency aliases alphadisplay aps arm arp as-path-access-list asic-errors atc auto-rp buffer-manager bundle calendar cdp cef cetftp checkpoint cinetd clns clock commit --More-- Tip Adjacency information Display alias commands Shows the message being displayed on the alpha display SONET APS information IP ARM information ARP table List AS path access lists ASIC error information At
Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Information with show Commands FINAL DRAFT —Cisco Confidential • If the saved output is to be used as a configuration file, the filename should end with the cfg suffix for easy identification. This suffix is not required, but can help locate target configuration files. Example: myconfig.
Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Information with show Commands FINAL DRAFT —Cisco Confidential crc 32 ! shutdown keepalive disable ! interface Gi0/1/0/1 ipv4 address 10.2.3.5 255.255.255.0 gi crc 32 ! shutdown keepalive disable ! interface Gi0/1/0/2 ipv4 address 10.2.3.6 255.255.255.0 gi crc 32 ! shutdown keepalive disable ! interface Gi0/1/0/3 ipv4 address 10.2.3.7 255.255.255.
Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Information with show Commands FINAL DRAFT —Cisco Confidential Gi0/2/0/0 is administratively down, line protocol is administratively down 0 drops for unrecognized upper-level protocol Gi0/2/0/1 is administratively down, line protocol is administratively down 0 drops for unrecognized upper-level protocol Gi0/2/0/2 is administratively down, line protocol is administratively down 0 drops for unrecognized upper-level protocol Gi0/2/0/3 is administr
Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases FINAL DRAFT —Cisco Confidential Multipipe Support The multipipe feature supports the multiple pipes on the command-line interface. With this feature the output can be processed by an enhanced utility set. Using various combination of utilities, it is possible to gather, filter, and format the output of any show command.
Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases FINAL DRAFT —Cisco Confidential Using Wildcards to Identify Interfaces in show Commands Wildcards (*) identify a group of interfaces in show commands. Table 5-4 provides examples of wildcard usage to identify a group of interfaces.
Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases FINAL DRAFT —Cisco Confidential Name State State Type (byte) (Kbps) -------------------------------------------------------------------------------Gi0/1/0/0 up up HDLC 4474 2488320 Gi0/1/0/1 up up HDLC 4474 2488320 Gi0/1/0/2 up up HDLC 4474 2488320 Gi0/1/0/3 up up HDLC 4474 2488320 Gi0/1/0/4 up up HDLC 4474 2488320 Gi0/1/0/5 up up HDLC 4474 2488320 Gi0/1/0/6 up up HDLC 4474 2488320 Gi0/1/0/7 up up HDLC 4474 2488320 Gi0/1/0/8 u
Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases FINAL DRAFT —Cisco Confidential DETAILED STEPS Step 1 Command or Action Purpose configure Enters global configuration mode. Example: Router# configure Step 2 template template-name [($parameter $parameter...)] [config-commands] Example: RP/0/RSP0/CPU0:router(config)# template tmplt_1 Step 3 Type the template commands. Enters template configuration mode and creates a template.
Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases FINAL DRAFT —Cisco Confidential Examples In the following example, a simple template is defined.
Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases FINAL DRAFT —Cisco Confidential hostname test end In the next example, a template with one parameter is applied and the show configuration command displays the result: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# apply-template test2 (router) RP/0/RSP0/CPU0:router(config)# show configuration Building configuration...
Chapter 5 CLI Tips, Techniques, and Shortcuts Command History FINAL DRAFT —Cisco Confidential To delete a specific alias, type the no form of the alias command with the alias name. Keystrokes Used as Command Aliases The system can be configured to recognize particular keystrokes (key combination or sequence) as command aliases. In other words, a keystroke can be set as a shortcut for executing a command.
Chapter 5 CLI Tips, Techniques, and Shortcuts Key Combinations FINAL DRAFT —Cisco Confidential Table 5-6 Command History Command or Key Combination Purpose Ctrl-P or the up arrow key Recalls commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall successively older commands. Ctrl-N or the down arrow key Returns to more recent commands in the history buffer after recalling commands with Ctrl-P or the up arrow key.
Chapter 5 CLI Tips, Techniques, and Shortcuts Key Combinations FINAL DRAFT —Cisco Confidential Key Combinations to Move the Cursor Table 5-8 shows the key combinations or sequences you can use to move the cursor around on the command line to make corrections or changes. When you use cursor control keys, consider the following guidelines: Table 5-8 • Ctrl indicates the Control key, which must be pressed simultaneously with its associated letter key.
Chapter 5 CLI Tips, Techniques, and Shortcuts Key Combinations FINAL DRAFT —Cisco Confidential Keystrokes to Delete CLI Entries Table 5-10 describes the keystrokes used to delete command-line entries. Table 5-10 Keystrokes for Deleting Entries Keystrokes Deletes Delete or Backspace The character to the left of the cursor. Ctrl-D The character at the cursor. Ctrl-K All characters from the cursor to the end of the command line.
FINAL DRAFT —Cisco Confidential CH A P T E R 6 Troubleshooting the Cisco IOS XR Software This chapter offers tools and procedures that identify the source of hardware and software problems. This chapter also provides instructions on gathering data for further analysis by Cisco customer support .
Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands FINAL DRAFT —Cisco Confidential • Using debug Commands, page 6-3 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 5-2 lists some of the common show commands. Using the ping Command Use the ping command to diagnose network connectivity.
Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands FINAL DRAFT —Cisco Confidential Using the traceroute Command Use the traceroute command in EXEC mode to discover the routes that packets take when traveling to their destination. Enter a hostname or an IP address as an argument to this command. This command works by taking advantage of the error messages generated by routers when a datagram exceeds its time-to-live (TTL) value.
Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands FINAL DRAFT —Cisco Confidential Viewing a List of Debug Features To display a list of the available debug features, Type the debug mode and enter a ? for on-screen help. The set of debug mode features is different in EXEC and administration EXEC modes.
Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands FINAL DRAFT —Cisco Confidential Viewing Debugging Status Type the show debug command to display the debugging features enabled for your terminal session. The terminal session is labeled tty and represents your connection to the router through a specific port, which might be the console port, auxiliary port, or Management Ethernet interface.
Chapter 6 Troubleshooting the Cisco IOS XR Software Configuration Error Messages FINAL DRAFT —Cisco Confidential Disabling Debugging for All Services Started at All Terminal Sessions Use the undebug all all-tty command to turn off debugging for all services that have been started from all terminal sessions. For example if you enter this command while connected to the router through the console port on the active RP, all debug sessions started from all ports are disabled.
Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Configuration Sessions FINAL DRAFT —Cisco Confidential taskgroup alr !!% Usergroup/Taskgroup names cannot be taskid names You can also display the failed configuration items without the error description by entering the show configuration failed noerror command: !! CONFIGURATION FAILED DUE TO SEMANTIC ERRORS taskgroup alr ! Configuration Errors at Startup Configuration errors that occurred during system startup can be displayed wit
Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Configuration Sessions FINAL DRAFT —Cisco Confidential • Caution During a commit operation that results in the low-memory warning message. The commit operation is denied and only lr-root users can perform commit operations to remove configurations. Never ignore a low-memory warning. These warnings indicate a memory state that could affect system operations if not addressed.
Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Configuration Sessions FINAL DRAFT —Cisco Confidential Physical Memory: 2048M total Application Memory : 1787M (1510M available) Image: 132M (bootram: 132M) Reserved: 128M, IOMem: 0, flashfsys: 0 Total shared window: 0 kernel: jid 1 Address Bytes 000d2000 12288 00112000 12288 Total Allocated Memory: 0 Total Shared Memory: 0 pkg/bin/wd-mbi: Address 4817f000 48180000 481fe000 48200000 --More-- Table 6-1 jid 72 Bytes 4096 516096 8192 81
Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Configuration Sessions FINAL DRAFT —Cisco Confidential Clearing a Target Configuration A low-memory warning can occur when a large configuration file is loaded into a target configuration session. To remove the target configuration, type the clear command to discard the changes.
Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up FINAL DRAFT —Cisco Confidential Clearing Configuration Sessions Active configuration sessions and their associated target configurations can consume system memory. Users with the appropriate access privileges can display the open configuration sessions of other users and terminate those sessions, if necessary (see Table 6-2).
Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up FINAL DRAFT —Cisco Confidential Verifying System Interfaces Perform the following steps to verify the system interfaces.
Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up FINAL DRAFT —Cisco Confidential RP/0/RSP0/CPU0:router(config)# interface gi0/2/0/1 RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0 RP/0/RSP0/CPU0:router(config-if)# no shutdown RP/0/RSP0/CPU0:router(config-if)# commit RP/0/RSP0/CPU0:router(config-if)# end RP/0/RSP0/CPU0:router# RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# interface gi0/2/0/2 RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.
Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up FINAL DRAFT —Cisco Confidential RP/0/RSP0/CPU0:router(config-if)# end RP/0/RSP0/CPU0:router# Step 6 If the interface state is still displayed as “Down,” verify that the physical cable connections are correctly installed. The following message indicates that the interface has either a bad connection or no connection: LC/0/0/1:Sep 29 15:31:12.
FINAL DRAFT —Cisco Confidential A P P E N D I X A Understanding Regular Expressions, Special Characters, and Patterns This appendix describes regular expressions, special or wildcard characters, and patterns used with filters to search through command output. Filter commands are described in the “Filtering show Command Output” section on page 5-9.
Appendix A Understanding Regular Expressions, Special Characters, and Patterns Special Characters FINAL DRAFT —Cisco Confidential Special Characters Certain keyboard characters have special meaning when used in regular expressions. Table A-1 lists the keyboard characters that have special meaning. Table A-1 Characters with Special Meaning Character Special Meaning . Matches any single character, including white space. * Matches 0 or more sequences of the pattern.
Appendix A Understanding Regular Expressions, Special Characters, and Patterns Multiple-Character Patterns FINAL DRAFT —Cisco Confidential 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 %.
Appendix A Understanding Regular Expressions, Special Characters, and Patterns Pattern Alternation FINAL DRAFT —Cisco Confidential 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.
Appendix A Understanding Regular Expressions, Special Characters, and Patterns Parentheses Used for Pattern Recall FINAL DRAFT —Cisco Confidential 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.
Appendix A Understanding Regular Expressions, Special Characters, and Patterns Parentheses Used for Pattern Recall FINAL DRAFT —Cisco Confidential Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide A-6 OL-17502-01