Page 1
F I N A L D R A F T — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Cisco IOS XR Software Release 3.7 Americas Headquarters Cisco Systems, Inc.
Page 2
MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc.
Extensible Markup Language API Simple Network Management Protocol Connecting to the Router Through the Console Port OL-17502-01 C O N T E N T S viii 1-10 1-10 1-10 1-11 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
Page 4
Command Mode Navigation Example Managing Configuration Sessions Entering Configuration Changes Viewing Active Configuration Sessions Starting a Configuration Session Examples 3-20 Starting an Exclusive Configuration Session Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-13 3-11 3-12 3-12 3-14 3-15 3-16...
Page 5
Configuring Telnet and XML Host Services Prerequisites Examples OL-17502-01 3-21 3-22 3-23 3-24 3-25 3-26 3-26 3-26 3-27 3-27 3-27 3-28 3-30 3-31 3-31 3-31 3-32 3-32 3-33 3-34 3-35 3-38 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Contents 3-26 3-33...
Page 6
Multicast Configuration Limits MPLS Configuration Limits Other Configuration Limits C H A P T E R Contents CLI Tips and Shortcuts Entering Abbreviated Commands Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-12 4-12 4-13 4-13 4-15 4-15...
Page 7
Keystrokes to Delete CLI Entries Transposing Mistyped Characters C H A P T E R Contents OL-17502-01 5-10 5-11 5-11 5-12 5-13 5-15 5-17 5-17 5-17 5-18 5-19 5-19 5-20 5-20 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Contents...
Page 8
A P P E N D I X Understanding Regular Expressions, Special Characters, and Patterns Contents Regular Expressions Special Characters Character Pattern Ranges Multiple-Character Patterns Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-10 6-10 6-10 6-11 6-11 6-12...
Page 9
F I N A L D R A F T - C i s c o C o n f i d e n t i a l Complex Regular Expressions Using Multipliers Pattern Alternation Anchor Characters Underscore Wildcard Parentheses Used for Pattern Recall Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
Page 10
Contents F I N A L D R A F T - C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
F I N A L D R A F T - C i s c o C o n f i d e n t i a l Preface This guide introduces the Cisco ASR 9000 Series Aggregation Services Router that runs Cisco IOS XR Software. This guide also describes administration, maintenance, and troubleshooting tasks that may be required after initially starting the router.
Customers who daily use and manage routers running Cisco IOS XR Software • Organization of the Document This document contains the following chapters: Chapter 1, “Introducing to the Cisco ASR 9000 Series Aggregation Services Router” • Chapter 2, “Bringing Up Cisco IOS XR Software on the Router” •...
The RSS feeds are a free service and Cisco currently supports RSS version 2.0. OL-17502-01 Convention boldface font Option > Network Preferences Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
Page 14
Preface F I N A L D R A F T - C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
F I N A L D R A F T — C i s c o C o n f i d e n t i a l Introducing to the Cisco ASR 9000 Series Aggregation Services Router This chapter introduces the Cisco ASR 9000 Series Aggregation Services Router that runs Cisco IOS XR Software. It also introduces router concepts, features, and user interfaces. Contents Router Overview, page 1-1 •...
You can use EVC-based services in conjunction with MPLS-based L2VPNs and native IEEE bridging deployments. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router...
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router F I N A L D R A F T — C i s c o C o n f i d e n t i a l Flexible VLAN classification: VLAN classification into Ethernet flow points (EFPs) includes •...
MPLS OAM: This protocol supports label-switched-path (LSP) ping, LSP TraceRoute, and virtual • circuit connectivity verification (VCCV). Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router OL-17502-01...
The router runs Cisco IOS XR Software on the following standalone chassis types, available in AC or DC versions: a 6-slot chassis • • a 10-slot chassis Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router OL-17502-01...
Page 21
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router F I N A L D R A F T — C i s c o C o n f i d e n t i a l...
A flexible common infrastructure for managing network resources – Consistent procedures and interfaces for all network elements – Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router OL-17502-01...
• Initial Router Configuration The initial configuration of the Cisco ASR 9000 Series Aggregation Services Router is determined automatically by the software when you boot the router; you need not set up any general configuration information. Also there is no explicit configuration needed to make a particular RSP active. It becomes the active RSP when chosen automatically by the software upon boot.
For more information, see the Cisco IOS XR Software documents listed in the section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-10 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router “Related Documents”...
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router F I N A L D R A F T — C i s c o C o n f i d e n t i a l...
Page 26
Connect a terminal to the Console port. Step 3 Start the terminal emulation program. Step 4 Press Enter. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 1-12 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Purpose Starts the router.
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router F I N A L D R A F T — C i s c o C o n f i d e n t i a l...
Page 28
Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Where to Go Next F I N A L D R A F T — C i s c o C o n f i d e n t i a l...
Prerequisites The following sections describe the software and hardware requirements for bringing up the router running Cisco IOS XR Software Release 3.7. OL-17502-01 C H A P T E R Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
If the router is brought up with an incompatible version of the ROM Monitor software, the standby RP may fail to boot. For instructions to overcome a boot block in the standby RSP, see the Cisco ASR 9000 Series Aggregation Series Router ROM Monitor Guide. Hardware Prerequisites and Documentation...
After you log in, the router displays the CLI prompt, • which is described in the page 3-6. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Bringing Up and Configuring the Router 1-11. “CLI Prompt” section on...
RP/0/RSP0/CPU0:router# show platform Step 4 exit Example: RP/0/RSP0/CPU0:router# exit Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 2 Bringing Up Cisco IOS XR Software on the Router Purpose Displays information about the router, including image names, uptime, and other system information.
Partner node , and the role Standby node Displays information about the hardware attributes and status. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Verifying the System After Initial Boot row displays standby row displays Ready...
Page 34
For more information on the show platform command, see Cisco IOS XR Interface and Hardware Component Command Reference. show redundancy Command: Example To view information about the active and standby (inactive) RPs, type the show redundancy command as follows: Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 2 Type State A9K-RSP-4G-HDD(Active)
Page 35
1 07:40:00 2008: 5 hours, 8 minutes ago Inlet Hotspot Temperature Temperature (deg C) (deg C) 28.1 35.7 24.0 33.5 26.7 35.0 30.0 39.1 Status Critical-Alarm Major-Alarm Minor-Alarm Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Verifying the System After Initial Boot...
F I N A L D R A F T — C i s c o C o n f i d e n t i a l Where to Go Next For information on configuring basic router features, see Chapter 3, “Configuring General Router Features.” Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
The following sections describe how to connect to the router: OL-17502-01 C H A P T E R 3-33. Router management and configuration can take place over an Ethernet Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide “Configuring the Management Ethernet...
Connect a terminal to the Console port of the active RSP. Step 3 Start the terminal emulation program. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 3 Purpose Identifies the RSP to which you must connect in the next step.
Router” section on page 3-5. After you log in, the router displays the CLI prompt, which is • described in the “CLI Prompt” section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Username: “Logging In to 3-6.
Page 40
“Related Documents” section on page Identifies the RSP to which you connect in the next step. The Cisco ASR 9000 Series router has two RSPs: RSP0 and RSP1. • One is the active RSP, and the other is the standby.
The router displays the prompt: Establishes your access rights for the router management session. Type a username and password when prompted. 3-35. 3-5. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Logging In to a Router Username: “Configuring the Management “Logging In...
3-6. The command set that you can use is determined by the privileges assigned to your username. For information on how privileges are assigned to usernames, see the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
Users are not assigned to groups by default and must be explicitly assigned by an administrator. Only root-system users (root-lr users) or users associated with the WRITE:AAA task ID can configure Note task groups. OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Logging In to a Router...
For information on configuring user groups, see Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.. Viewing Your User Groups and Task IDs To view user groups and task IDs associated with your account, enter show user in EXEC mode.
Page 45
WRITE dwdm : READ WRITE : READ WRITE eigrp : READ WRITE : READ WRITE Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Logging In to a Router EXECUTE DEBUG EXECUTE DEBUG EXECUTE DEBUG EXECUTE DEBUG EXECUTE DEBUG...
From EXEC mode, use the admin command to enter administration EXEC mode: RP/0/RSP0/CPU0:router# admin RP/0/RSP0/CPU0:router(admin)# Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-12 ” after the router name: Chapter 3...
Page 49
RP/0/RSP0/CPU0:router(config)# router ospf 100 RP/0/RSP0/CPU0:router(config-ospf)# OL-17502-01 Navigating Cisco IOS XR Software Command Modes ” to indicate that the router is now in global router(config) Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-13...
The ROM Monitor CLI mode is accessible only from a terminal connected directly to the Console port of the primary RSP, a terminal-modem connection to the AUX port, or through a terminal server. See Cisco ASR 9000 Series Aggregation Services Router ROM Monitor Guide for information and instructions on using ROM Monitor mode.
IP ARM information ARP show commands ARP show commands ASIC error information Attractor Cache related Show commands for attractor process IM Attributes operations information Auto-RP Commands Show Bulk Content DownLoader information Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-15...
This allows you to make, edit, and verify configuration changes before impacting the running state of the router. Figure 3-2 shows the two-stage configuration process. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-16 Chapter 3 Show trace data for the bcm8705 component...
Page 53
Stage 1: Enter configuration changes or load a saved configuration. Administration configuration mode Save configuration changes to a file. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions Stage 2: "Commit" changes to the running configuration. 3-17...
To make configuration changes and remain in CONFIG mode, perform the following procedure. SUMMARY STEPS configure Enter configuration changes. commit Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-18 Chapter 3 Configuring General Router Features Purpose Enters global configuration mode.
EXEC mode without committing the configuration changes. – Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-19...
RP/0/RSP0/CPU0:router # configure RP/0/RSP0/CPU0:router(config)# interface tunnel-te 2 RP/0/RSP0/CPU0:router(config-if)# show configuration Building configuration... interface tunnel-te2 description faq Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-20 Chapter 3 Configuring General Router Features Line User Date...
The following sections describe the different ways to view information about your configuration: Viewing the Running Configuration, page 3-22 • OL-17502-01 “Viewing Active Configuration Sessions” section “Ending a Configuration Session” section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-31. 3-21...
RP/0/RSP0/CPU0:router(admin-config-sdr:test)# show configuration Building configuration... sdr test location 0/1/SP Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-24 Chapter 3 Configuring General Router Features OL-17502-01...
Target configurations can be saved to a separate file without committing them to the running configuration. Target configuration files can then be loaded at a later time and further modified or committed. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-26 Chapter 3...
When a router is reset or powered on, the last running configuration is loaded and used to operate the router. You can load an alternative configuration during system boot. See Cisco ASR 9000 Series Aggregation Services Router ROM Monitor Guide for information and instructions on this process.
Table 3-5 Command commit commit best-effort Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-28 for more information. Commit Command Options Description (Default) Merges the target configuration with the running configuration and commits changes only if all changes in the target configuration pass the semantic verification process.
The force option should be used only to remove configurations. (Optional) Replaces the contents of the running configuration with the target configuration. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-29...
RP/0/0/CPU0:router(config)# load configuration failed commit RP/0/0/CPU0:router(config)# show configuration Building configuration... taskgroup alr Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-30 6 09:26:17.781 : %LIBTARCFG-6-COMMIT Configuration committed by user Label: test user1 Line:...
Type the end command in any configuration mode or submode • Press Ctrl-Z. Note If you type the exit command in a configuration submode, the command returns you to the parent configuration level. OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration Sessions 3-31...
'user_a'. the changes. RP/0/RSP0/CPU0:RP_SJ(config)# The preceding example sets the RSP name to RP_SJ. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-32 7 00:07:33.246 : config[65669]: %LIBTARCFG-6-COMMIT : Configuration Use 'show configuration commit changes 1000000067' to view...
On an RSP, the module is “CPU0.” RSPs have two processors, so the module is either “CPU0” and “CPU1.” On a Cisco ASR 9000 Series router, one Ethernet port labeled MGMT ETH exists on each RSP. Specify 0 for the MGMT ETH interface on an RSP.
For information on additional configuration options for the Management Ethernet interface, see Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide. Prerequisites To configure the Ethernet Management port for network communications, you must type the interface network addresses and subnet mask.
Page 72
Example: RP/0/RSP0/CPU0:router(config-static)# address-family ipv4 unicast Step 7 commit Example: RP/0/RSP0/CPU0:RO-C(config)# commit Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-36 Chapter 3 Configuring General Router Features Purpose Enters global configuration mode. Enters interface configuration mode and specifies the Management Ethernet interface of the primary RSP.
0 runts, 0 giants, 0 throttles, 0 parity Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuring the Management Ethernet Interface Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-38 Chapter 3 Configuring General Router Features Document Title Cisco ASR 9000 Series Aggregation Services Router...
The hardware clock is battery operated and runs • continuously, even if the router is powered off or rebooted. Displays the clock setting. Use this command to verify the settings. • Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Manually Setting the Router Clock 3-39...
Techniques, and Shortcuts.” • For information on configuring interfaces, see the hardware documents listed in the Documents” section on page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 3-40 Chapter 3 Document Title Cisco ASR 9000 Series Aggregation Services Router System...
Use the show hosts command in EXEC mode to display the default domain name, the style of name • lookup service, a list of name server hosts, and the cached list of hostnames and addresses. OL-17502-01 C H A P T E R Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
Page 78
Step 3 domain name-server ipv4-address Example: RP/0/RSP0/CPU0:router(config)# domain name-server 192.168.1.111 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 4 Configuring Additional Router Features Purpose Enters global configuration mode. Defines a default domain name used to complete unqualified hostnames.
Use the commit command to save the configuration • changes to the running configuration file and remain within the configuration session. Displays all configured name servers. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
This process enables the Telnet and XML host services on the Management Ethernet interfaces. For more Note information on how to enable these services on other inband interfaces, refer to the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
Use the commit command to save the configuration • changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
Loading Rollback Configuration Changes to the Target Configuration, page 4-10 • Deleting CommitIDs, page 4-11 • Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 4 Document Title Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide...
Changes made in the most recent <n> commits Changes made since (and including) a specific commit Commit ID Commit ID Commit ID Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Managing Configuration History and Rollback Time Stamp ~~~~~~~~~~ 12:27:50 UTC Wed Mar 22 2008...
The rollback process rolls back the configuration and commits the rolled-back configuration. The rollback process also creates a new rollback point so that you can roll back the configuration to the previous configuration. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Commit ID Commit ID...
Unlike the rollback process, the loaded changes are not applied until you commit them. OL-17502-01 Managing Configuration History and Rollback Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
Unlike the rollback process, the loaded changes are not applied until you commit them. To display the rollback changes, type the show configuration rollback changes command. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-10 Changes made in the most recent <n> commits...
RP/0/RSP0/CPU0:router# clear configuration commit oldest 5 Deleting 5 rollback points '1000000005' to '1000000009' 80 KB of disk space will be freed. Continue with deletion?[confirm] Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-11 OL-17502-01...
An operator can extract all correlated messages for display later, should the need arise. See Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide for more information.
Commands used to configure alarm correlation Retrieve logging events through an XML interface Cisco ASR 9000 Series Aggregation Services Router XML API Guide Disabling Console Logging To disable console logging, type the logging console disable command in global configuration mode.
(AAA) feature. AAA is a suite of security features in the Cisco IOS XR software. For more information on the AAA, see the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide and Cisco ASR 9000 Series Aggregation Services Router System Security Command Reference.
AAA configuration submodes, as shown in This section describes the process to configure usernames. For instructions to configure user groups, task groups, and other AAA security features, see the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
RP/0/RSP0/CPU0:router(config-un)# commit Related Documents Related Topic Create users, assign users to user groups, create and modify user groups, and configure remote AAA access Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-18 Chapter 4 Purpose Enters global configuration mode.
• Modular services card bandwidth • Refer to the Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide for more information on configuring software licenses. Configuration Limiting The Cisco IOS XR software places preset limits on the configurations you can apply to the running configuration of a router.
In the following example, the maximum number of active parallel paths for each route is increased to 10, and the maximum number of prefixes redistributed into IS-IS is increased to 12,000: RP/0/RSP1/CPU0:router# configure RP/0/RSP1/CPU0:router(config)# router isis 100 address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-20 Absolute Configuration Command...
Limit (Router Configuration Mode) 1024 maximum interfaces n 4294967295 maximum redistributed-prefixes maximum paths n Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuration Limiting Show Current Settings Command (EXEC Mode) show ospf show ospf Note The maximum number of...
Page 98
RP/0/RSP1/CPU0:Mar 30 16:26:52 : config[65740]: %SYS-5-CONFIG_I : Configured from console by cisco RP/0/RSP1/CPU0:router# Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-22 Chapter 4 Use 'show configuration commit changes 1000000540' to view Use 'show configuration commit changes 1000000541' to view...
Current Current Total Limit 65536 3500 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuration Limiting Table 4-7. You can change the default values up Show Current Settings Command (EXEC Mode) show rpl maximum lines...
200,000 350,000 ipv4 access-list maximum ace threshold n Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configuration Limiting Show Current Settings Command (EXEC Mode) show pim summary show pim summary show pim summary...
Page 102
Configuration Limiting F I N A L D R A F T — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 4-26...
For example, the configure command can be abbreviated as config because the abbreviated form of the command is unique. The router accepts and executes the abbreviated command. OL-17502-01 C H A P T E R Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
RP/0/RSP0/CPU0:router(config)# ipv4 access-list ? log-update maximum WORD Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configure exclusively from this terminal Configure from the terminal symbol indicates that you can execute the command with the <cr> Show all the local taskgroups configured in the system...
Page 105
The configuration does not become active until you type the commit command to add the target Note configuration to the running configuration. OL-17502-01 Sequence number for this entry Specifies packets to reject Specifies packets to forward Comment for access list Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide CLI Tips and Shortcuts...
The username command creates a new user, and the no username command deletes a user when entered with a valid username. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Configure exclusively from this terminal...
Redirecting Output to a File, page 5-7 • Narrowing Output from Large Configurations, page 5-8 • Filtering show Command Output, page 5-9 • OL-17502-01 Viewing System Information with show Commands for more information. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide “Related...
Press the space bar to display the next screen of output. The following example shows one screen of data and the RP/0/RSP0/CPU0:router# show ? Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Description Displays system information. Displays the uncommitted configuration changes made during a configuration session.
Show commit information prompt, try entering a value for the screen length with the terminal --More-- filename | file Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Viewing System Information with show Commands “Filtering show Command Output” section...
In the following example, a configuration for all Gigabit-Ethernet interfaces appears: RP/0/RSP1/CPU0:router# show running-config interface gi * interface Gi0/1/0/0 ipv4 address 10.2.3.4 255.255.255.0 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide myconfig.cfg Chapter 5 CLI Tips, Techniques, and Shortcuts...
Displays output lines that contain the regular expression. Writes the output lines that contain the regular expression to the specified file on the specified device. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Viewing System Information with show Commands...
On most systems, Ctrl-Z can be entered at any time to interrupt the output and return to EXEC mode. For more information, see Patterns.” Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-10 prompt of a show command output by entering a forward slash...
Using Wildcards to Identify Interfaces in show Commands, page 5-12 Creating Configuration Templates, page 5-13 • Aliases, page 5-16 • Keystrokes Used as Command Aliases, page 5-17 • OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Wildcards, Templates, and Aliases 5-11...
32 keepalive disable --More-- In the following example, the state of all Gigabit-Ethernet interfaces appears: RP/0/RSP1/CPU0:router# show interfaces gi* brief Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-12 Examples of Wildcard Usage Description Specifies all interfaces...
[($parameter $parameter...)] [config-commands] Type the template commands. end-template commit show running-config template template-name OL-17502-01 Name State State Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Wildcards, Templates, and Aliases Type (byte) (Kbps) HDLC 4474 2488320 HDLC 4474...
Page 116
RP/0/RSP0/CPU0:router(config-TPL)# commit Step 6 show running-config template template-name Example: RP/0/RSP0/CPU0:router# show running-config template tmplt_1 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-14 Purpose Enters global configuration mode. Enters template configuration mode and creates a template. • template-name: Unique name for the template to be applied to the running configuration.
In the following example, a simple template is defined. The template contents are then displayed with the show running-config template template-name command: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# apply-template jbtest RP/0/RSP0/CPU0:router(config)# show running-config template jbtest Building configuration... OL-17502-01 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Wildcards, Templates, and Aliases 5-15...
After you enter a command with an alias, the router displays the command you entered with the alias value so that you can verify that alias value. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-16 alias Command Syntax Specifies that the Alias Is Created for Name of the command alias.
To recall commands from the history buffer, use one of the commands or key combinations listed in Table 5-6. OL-17502-01 “Managing Configuration History and 4-6. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Command History 5-17...
• Keystrokes to Delete CLI Entries, page 5-20 • Transposing Mistyped Characters, page 5-20 • Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-18 Command History Purpose Recalls commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall successively older commands.
Makes the letter at the cursor uppercase. Changes the word at the cursor to lowercase. Makes letters from the cursor to the end of the word uppercase. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Key Combinations Table 5-9...
Ctrl-U or Ctrl-X Ctrl-W Esc, D Transposing Mistyped Characters To transpose mistyped characters, use the Ctrl-T key combination. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 5-20 Keystrokes for Deleting Entries Deletes The character to the left of the cursor.
Using show Commands to Display System Status and Configuration, page 6-2 • Using the ping Command, page 6-2 • Using the traceroute Command, page 6-3 • OL-17502-01 C H A P T E R viii. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
Debug commands can generate a very large amount of output and can render the system unusable. Use Caution debug to troubleshoot specific problems or during specific troubleshooting sessions on systems that are not in production. OL-17502-01 2 msec 1 msec 2 msec Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Basic Troubleshooting Commands...
RP/0/RSP0/CPU0:router(debug)# exit You can also type the complete command from EXEC mode, as shown in the following example: RP/0/RSP0/CPU0:router# debug aaa all Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide AAA Authentication, Authorization and Accounting Adjacency debug platform AIB information...
RP/0/RSP0/CPU0:router# undebug all RP/0/RSP0/CPU0:router# show debug No matching debug flags set OL-17502-01 #### #### #### #### Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Basic Troubleshooting Commands...
!To display the configuration items that failed, including a description of the error, type the show configuration failed command: P/0/RSP0/CPU0:router(config-tg)# show configuration failed !! CONFIGURATION FAILED DUE TO SEMANTIC ERRORS Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 6 Troubleshooting the Cisco IOS XR Software OL-17502-01...
During a configuration session when the memory shortage occurs. • When a user attempts to load a target configuration from a large file that results in a memory shortage. OL-17502-01 Memory Warnings in Configuration Sessions Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide...
To display general memory usage for the device as a whole and by process, type the show memory command. describes the meaning of each heading. RP/0/RSP0/CPU0:router# show memory Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Chapter 6 Troubleshooting the Cisco IOS XR Software “Removing Configurations to Resolve Low-Memory Warnings”...
IO memory—Currently used as a backup for packet memory. Flash file system memory. Process and job ID. Starting address in memory. Size of memory block. Block description. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Memory Warnings in Configuration Sessions...
Rolling Back to a Previously Committed Configuration You can roll back the system to a previous committed configuration, as described in Configuration History and Rollback, page Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-10 Chapter 6 Managing Configuration History and Rollback, page 4-6.
Displays basic, IP-related information for all available interfaces. Quickly displays the most critical information about the interfaces, including the interface status (up or down) and the protocol status. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Interfaces Not Coming Up 6-2).
Type the commit command to make the new configuration part of the active running Note configuration. If you end the configuration session, you are automatically prompted to commit the changes, as shown in the second example: RP/0/RSP0/CPU0:router# configure Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-12 Type PLIM MSC(SP)
Page 135
Shutdown 10.10.1.101 10.1.1.1 10.1.1.2 Shutdown unassigned Shutdown unassigned Shutdown unassigned Shutdown unassigned Shutdown Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Interfaces Not Coming Up Protocol Down Down Down Down Down Down Down Down Down Down Down...
Page 136
TenGigE0/3/0/2 MgmtEth0/RSP0/CPU0/0 Step 8 Repeat these steps for every interface, until every interface shows both Status and Protocol as “Up.” Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide 6-14 Chapter 6 Troubleshooting the Cisco IOS XR Software IP-Address...
Letter (A–Z and a–z), digits (0–9), and other keyboard characters (such as ! or ~) can be used as a single-character pattern. OL-17502-01 A P P E N D I X 5-9. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide “Filtering show...
[^a–dqsv] The following example matches anything except a right square bracket (]) or the letter d: [^\]d] Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Appendix A Understanding Regular Expressions, Special Characters, and Patterns Characters with Special Meaning Special Meaning Matches any single character, including white space.
Matches 0 or more single-character or multiple-character patterns. Matches 1 or more single-character or multiple-character patterns. Matches 0 or 1 occurrences of a single-character or multiple-character pattern. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Multiple-Character Patterns Table A-2...
Use parentheses with multiple-character regular expressions to multiply the occurrence of a pattern. IOS XR can remember a pattern for use elsewhere in the regular expression. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide Appendix A Understanding Regular Expressions, Special Characters, and Patterns ).
Page 141
2 again. So, the regular expression can match aZbcTZT. The software remembers that character number 1 is Z and character number 2 is T, and then uses Z and T again later in the regular expression. Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...
Page 142
Parentheses Used for Pattern Recall F I N A L D R A F T — C i s c o C o n f i d e n t i a l Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01...