Cisco Systems A9KMOD80TR manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Cisco Systems A9KMOD80TR, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Cisco Systems A9KMOD80TR one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Cisco Systems A9KMOD80TR. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Cisco Systems A9KMOD80TR should contain:
- informations concerning technical data of Cisco Systems A9KMOD80TR
- name of the manufacturer and a year of construction of the Cisco Systems A9KMOD80TR item
- rules of operation, control and maintenance of the Cisco Systems A9KMOD80TR item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Cisco Systems A9KMOD80TR alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Cisco Systems A9KMOD80TR, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Cisco Systems service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Cisco Systems A9KMOD80TR.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Cisco Systems A9KMOD80TR item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    FINAL DRAFT —Ci sco Conf idential Americas Headquarters Cisco Systems, In c. 170 West Tasman Drive San Jose, CA 951 34-1706 USA http://www.ci sco.com Tel: 408 526-4000 800 553-NETS (638 7) Fax: 408 527-0883 Cisco A SR 90 0 0 S eries Ag gregation S er vices Router Get ting Star ted Guide Cisco IOS XR Softwa re Rel ea se 3.7 Text Part Number: OL -1[...]

  • Page 2

    FINAL DRAFT —Ci sco Conf idential CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus , Cisco StadiumVision, Cisco TelePresence, Cisco WebE x, the Cisco logo, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Li ve, Play, and Learn and Cisco Store are service marks; and Access Registrar, Ai rone t, AsyncOS, Bringin g th[...]

  • Page 3

    FINAL DRAFT - Cisco Conf idential 1 Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01 CONTENTS Preface vii Changes to This Document vii About This Documen t vii Intended Audience viii Organization of the Document viii Related Documents viii Conventi ons viii Obtaining Documentation and Submitting a Serv ice Request[...]

  • Page 4

    FINAL DRAFT - Cisco Conf idential Contents 2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Configuring Gigabit Ethernet and 10-Gigabit Eth ernet Interfaces 1-1 3 Where to Go Next 1-13 CHAPTER 2 Contents 2-1 Prerequisites 2-1 Software Requirements 2-2 Hardware Prerequ isites and Documentation 2-2 Bringing Up an[...]

  • Page 5

    FINAL DRAFT - Cisco Conf idential Contents 3 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Viewing Conf iguration Detail s 3-21 Viewing the Running Configuration 3-22 Viewing a Sanitized Version of the Running Configuration 3-23 Viewing the Target Configu ration 3-24 Viewing a Combined Target and Running Confi[...]

  • Page 6

    FINAL DRAFT - Cisco Conf idential Contents 4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Managing Configuratio n History and Rollback 4-6 Viewing CommitIDs 4-7 Viewing Configuration Changes Rec orded in a CommitID 4-7 Previewing Rollback Configuratio n Changes 4-8 Rolling Back the Configuration to a Specific[...]

  • Page 7

    FINAL DRAFT - Cisco Conf idential Contents 5 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Using the Question Mark (?) to Display On-Screen Command Help 5-2 Completing a Partial Command with the Tab Key 5-4 Identifying Command Syntax Errors 5-4 Using the no Form o f a Command 5-4 Editing Command Lines that Wra[...]

  • Page 8

    FINAL DRAFT - Cisco Conf idential Contents 6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Additional Sources for Information 6-1 Basic Troubles hooting 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 Comman d 6-3 Exam[...]

  • Page 9

    FINAL DRAFT - Cisco Conf idential Contents 7 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Complex Regular Expressions Us ing Multipliers A-3 Pattern Alternation A-4 Anchor Characte rs A-4 Underscore Wildcard A-4 Parentheses Used for Pattern Recall A-4[...]

  • Page 10

    FINAL DRAFT - Cisco Conf idential Contents 8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01[...]

  • Page 11

    FINAL DRAFT - Cisco Conf idential vii Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01 Preface This guide introduces the Cisco ASR 9000 Seri es Aggregati on Services Router that runs Cisco IOS XR Software. This guide also d escribes adminis tration, mai ntenance, and troubleshoot ing tasks that may be required aft[...]

  • Page 12

    FINAL DRAFT - Cisco Conf idential viii Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Preface Intended Audience This document is intend ed for the follo wing people: • Experienced service pr ovider administrators • Cisco telecommunications management engineers • Third-party f ield service technicians who [...]

  • Page 13

    FINAL DRAFT - Cisco Conf idential ix Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Preface Note Means reader take note . Notes contain helpful suggestions or references to material not co vered in the publication. Ti p Means the following information will help you solve a pr oblem. The information in ti ps mig[...]

  • Page 14

    FINAL DRAFT - Cisco Conf idential x Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Preface[...]

  • Page 15

    CH A P T E R FINAL DRAFT —Ci sco Conf idential 1-1 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router This chapter intro duces the Cisco ASR 9000 Series Aggregation Se rvices Router that runs Cisco IOS XR Software. It also introduces router [...]

  • Page 16

    FINAL DRAFT —Ci sco Conf idential 1-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Router Overview • Multicast, page 1-4 • O AM, page 1-4 • Layer 3 routing, page 1- 5 • QoS, page 1-5 • MPLS TE, page 1-5 • Manageabilit[...]

  • Page 17

    FINAL DRAFT —Ci sco Conf idential 1-3 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggr egation Services Router Router Over view • Flexible VLAN classification: VLAN classif icati on into Ethernet flow points (EFPs) includes single-tagged VLANs, doub le[...]

  • Page 18

    FINAL DRAFT —Ci sco Conf idential 1-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Router Overview • MST Access Gateway: This feature pro vides a resilient, fast-con ver gence mechanism for aggregati ng and connecting to Ethern[...]

  • Page 19

    FINAL DRAFT —Ci sco Conf idential 1-5 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggr egation Services Router Router Over view Layer 3 routing The router runs Cisco IOS XR Softw are which supp orts Layer 3 routing and a r ange of IPv4 services and routi[...]

  • Page 20

    FINAL DRAFT —Ci sco Conf idential 1-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router System Configurations • MPLS TE Preferred P ath: Preferred tunnel pat h functions let you map pseudo wires to specific TE tunnels. Attachment ci[...]

  • Page 21

    FINAL DRAFT —Ci sco Conf idential 1-7 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggr egation Services Router System Configur ations Figur e 1 -1 6-Slot Chassis Figur e 1 -2 1 0-Slot Chassis Each chassis type supports 40G per slot, and can sh are route-[...]

  • Page 22

    FINAL DRAFT —Ci sco Conf idential 1-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Management and Secu rity • 8x10GE Ethernet line card Management and Security In addition to the management and security feat ures li sted belo w[...]

  • Page 23

    FINAL DRAFT —Ci sco Conf idential 1-9 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggr egation Services Router Initial Router Configuration Security • Cisco IOS XR Software: This soft w are provides co mprehensi ve netw ork security features, in cludin[...]

  • Page 24

    FINAL DRAFT —Ci sco Conf idential 1-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Initial Router Configuration • Command-Line Interf ace, page 1-10 • Extensible Mark up Language API, page 1-10 • Simple Network Management [...]

  • Page 25

    FINAL DRAFT —Ci sco Conf idential 1-11 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggr egation Services Router Initial Router Configuration Connecting to the Router Through the Console Port The first t ime you connect to a ne w router with Cisco IOS XR [...]

  • Page 26

    FINAL DRAFT —Ci sco Conf idential 1-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Initial Router Configuration DETAILED ST EPS Command or Action Purpose Step 1 Po wer on the router . Starts the router . • This step is require[...]

  • Page 27

    FINAL DRAFT —Ci sco Conf idential 1-13 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggr egation Services Router Where to Go Next Configuring Gigabit Ethernet and 10-Gigabit Ethernet Interfaces After connecting to the ro uter , you need to configure Giga [...]

  • Page 28

    FINAL DRAFT —Ci sco Conf idential 1-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 1 Introducing to the Cisco ASR 9000 Series Aggregation Services Router Where to Go Ne xt[...]

  • Page 29

    CH A P T E R FINAL DRAFT —Ci sco Conf idential 2-1 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 2 Bringing Up Cisco IOS XR Software on the Router This chapter pro vides instructions for bringing up Cisco IOS XR Software on the router for the f irst time. Contents • Prerequisites, page 2-1 • Bringing U[...]

  • Page 30

    FINAL DRAFT —Ci sco Conf idential 2-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 2 Bringing Up Ci sco IOS XR Software on the Ro uter Bringing Up an d Configuring the Ro uter Software Requirements The system requires compat ible R O M Monitor firmw are on all RPs. Caution The R OM Monitor firmware [...]

  • Page 31

    FINAL DRAFT —Ci sco Conf idential 2-3 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 2 Bringing Up Cisco IOS XR Software on the Router Bringing Up and Configuring the Router DETAILED ST EPS Examples The follo wing e xample sho ws the root-system username and p assword conf iguration for a ne w route[...]

  • Page 32

    FINAL DRAFT —Ci sco Conf idential 2-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 2 Bringing Up Ci sco IOS XR Software on the Ro uter Verifying the System After Initial Boot The secret line in the conf iguration command script sho ws that the password is encry pted. When you type the passw ord duri[...]

  • Page 33

    FINAL DRAFT —Ci sco Conf idential 2-5 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot Examples of show Commands The follo wing sections pro vide examples of show commands: • sho w version Command: Exampl e, pa[...]

  • Page 34

    FINAL DRAFT —Ci sco Conf idential 2-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 2 Bringing Up Ci sco IOS XR Software on the Ro uter Verifying the System After Initial Boot Configuratio n register on node 0/RSP0/C PU0 is 0x2 Boot device on node 0/R SP0/CPU0 is disk0: --More-- show platform Command[...]

  • Page 35

    FINAL DRAFT —Ci sco Conf idential 2-7 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot RP/0/RSP0/CPU0:router# show redundancy Redundancy information for node 0/RSP0/CPU0: =========================================[...]

  • Page 36

    FINAL DRAFT —Ci sco Conf idential 2-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 2 Bringing Up Ci sco IOS XR Software on the Ro uter Where to Go Ne xt Where to Go Next For info rmation on conf iguring basic rout er features, see Chapter 3, “Conf iguring General Router Features. ”[...]

  • Page 37

    CH A P T E R FINAL DRAFT —Ci sco Conf idential 3-1 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 3 Configuring General Router Features This chapter describes how to communicate with th e router using command-line interface (CLI). T his chapter also sho ws basic Cisco IOS XR Software configur ation manageme[...]

  • Page 38

    FINAL DRAFT —Ci sco Conf idential 3-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Connecting to and Communicating with the Router • Connecting Through the Con sole Port, page 3-2 • Connecting Through a T erminal Serv er , page 3-3 • Connecting Through th[...]

  • Page 39

    FINAL DRAFT —Ci sco Conf idential 3-3 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Connecting to and Commun icating with the Router Connecting Through a Terminal Server A terminal server connection provid es a way to remotely access the Cons ole port. It is l[...]

  • Page 40

    FINAL DRAFT —Ci sco Conf idential 3-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Connecting to and Communicating with the Router DETAILED ST EPS Command or Action Purpose Step 1 Install and conf igure the terminal server . Prepares the terminal se rver for co[...]

  • Page 41

    FINAL DRAFT —Ci sco Conf idential 3-5 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Logging In to a Router Connecting Through the Management Ethernet Interface The Management Ethernet interf ace allo ws you to ma nage the router us ing a network conne ction. B[...]

  • Page 42

    FINAL DRAFT —Ci sco Conf idential 3-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Logging In to a Router • A Remote Authentication Dial I n User Service ( RADIUS) server • A T erminal Access Controller Access-Co ntrol System Plus (T A CACS+) serv er The us[...]

  • Page 43

    FINAL DRAFT —Ci sco Conf idential 3-7 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Logging In to a Router For e xample, the follo wing prompt indicates that the CLI commands are executed on the RP in rack 0, slot RSP0, by the “CPU0” module on a router nam[...]

  • Page 44

    FINAL DRAFT —Ci sco Conf idential 3-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Logging In to a Router Predefined User Groups Cisco IOS XR Software includes a set of predefined user groups that meets the needs of most org anizations. These groups are describ[...]

  • Page 45

    FINAL DRAFT —Ci sco Conf idential 3-9 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Logging In to a Router show user Command: Example T o view your u sername, type the show user command: RP/0/RSP0/CP U0:router# sh ow user cisco show user tasks Command: Ex ampl[...]

  • Page 46

    FINAL DRAFT —Ci sco Conf idential 3-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Logging In to a Router Groups: root -system, cisc o-support Authenticate d using metho d local User cisco h as the follow ing Task ID(s) : Task: aa a : READ W RITE EXECU TE DEBU[...]

  • Page 47

    FINAL DRAFT —Ci sco Conf idential 3-11 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Navigating Cisco IOS XR Software Command Modes Task: config-mgm t : READ W RITE EXECU TE DEBUG Task: c onfig-service s : READ W RITE EXECU TE DEBUG Task: crypt o : READ W RITE[...]

  • Page 48

    FINAL DRAFT —Ci sco Conf idential 3-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Navigating Cisco IOS XR Software Command Modes Identifying the Command Mode in the CLI Prompt The command mode is identif ied in the CLI prompt after the router name. When the r[...]

  • Page 49

    FINAL DRAFT —Ci sco Conf idential 3-13 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Navigating Cisco IOS XR Software Command Modes administration config uration mode Administration conf iguration mode allo ws you to assign system resources t o RSPs. From admi[...]

  • Page 50

    FINAL DRAFT —Ci sco Conf idential 3-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Navigating Cisco IOS XR Software Command Modes Entering EXEC Commands from a Configuration Mode EXEC commands can be ex ecuted from any conf iguration mode by preceding the comm[...]

  • Page 51

    FINAL DRAFT —Ci sco Conf idential 3-15 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Navigating Cisco IOS XR Software Command Modes 975M bytes o f compact fla sh card. 33994M bytes of hard disk . 1605616k bytes of disk0: (Sector size 512 bytes). 1605616k bytes[...]

  • Page 52

    FINAL DRAFT —Ci sco Conf idential 3-16 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions bcm8705 S how trace data for the bcm8 705 component bfd B FD information bgp B GP show comman ds bridgemib s how bridge-mib component bundle S h[...]

  • Page 53

    FINAL DRAFT —Ci sco Conf idential 3-17 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions Figur e 3-2 T w o-Stage Con figurati on Process Global conf iguration mode config ures RSP-le vel fe at ures, such as routing protocols and in[...]

  • Page 54

    FINAL DRAFT —Ci sco Conf idential 3-18 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions 3. The system sa ves the chan ges to the running conf iguration and lea ves you in conf iguration mode or in EXEC mode. T o remain in CONFIG mod[...]

  • Page 55

    FINAL DRAFT —Ci sco Conf idential 3-19 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions 4. end DETAILED ST EPS Viewing Active Configuration Sessions Before you start a conf iguration session, check to see if there are other conf i[...]

  • Page 56

    FINAL DRAFT —Ci sco Conf idential 3-20 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions RP/0/RSP0/CP U0:router# sh ow configuration sessions Current Conf iguration Ses sion Line User D ate Lock 00000041-006 d60d3-0000000 0 vty0 mehr[...]

  • Page 57

    FINAL DRAFT —Ci sco Conf idential 3-21 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions end Simple Administration Configura tion Session: Example The follo wing e xample sho ws a simple administration configu ration session in whi[...]

  • Page 58

    FINAL DRAFT —Ci sco Conf idential 3-22 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions • V ie wing a Sanitized V ersion of the Running Conf iguration, page 3-23 • V ie wing the T arget Confi guration, page 3-24 • V ie wing a [...]

  • Page 59

    FINAL DRAFT —Ci sco Conf idential 3-23 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions T o display the administration portion of the runni ng configurati on, connect to the RSP and type the show running-confi g command in adminis[...]

  • Page 60

    FINAL DRAFT —Ci sco Conf idential 3-24 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions ! line console --More-- T o display the sanitized admini stration portion of the running con figur ation, connect to the RSP and type the show r[...]

  • Page 61

    FINAL DRAFT —Ci sco Conf idential 3-25 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions Viewing a Combined Target and Running Configuration Although the tar get and running conf igurations rema in separate until the tar get conf i[...]

  • Page 62

    FINAL DRAFT —Ci sco Conf idential 3-26 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions Viewing Configuration Error Messages and Descriptions Config uration changes are aut omatically ve rified duri ng the commit operation, an d a m[...]

  • Page 63

    FINAL DRAFT —Ci sco Conf idential 3-27 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions T o save the conf iguration changes in the target conf iguration to a fil e, type the sa ve conf iguration device : command. Replace the devic[...]

  • Page 64

    FINAL DRAFT —Ci sco Conf idential 3-28 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions In the follo wing exampl e, the user config ures an interface b ut does not commit it. After revie wing the changes to the target configurat ion[...]

  • Page 65

    FINAL DRAFT —Ci sco Conf idential 3-29 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions Examples The follo wing e xamples illustrate ho w to commit a configuratio n: • Committing a Conf iguration from Glob al Config uration Mode[...]

  • Page 66

    FINAL DRAFT —Ci sco Conf idential 3-30 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions Committing a Configuration from Global Co nfiguration Mode: Example In the following e xample, the default commit command is entered in global c[...]

  • Page 67

    FINAL DRAFT —Ci sco Conf idential 3-31 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions In the preceding example, the show conf iguration command displays the tar get conf iguration, which includes th e fail ed configuration. Note[...]

  • Page 68

    FINAL DRAFT —Ci sco Conf idential 3-32 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Managing Configuratio n Sessions If you end a conf iguration session wi thout committing the conf iguration changes, the router prompts you to sav e changes, discard changes, or[...]

  • Page 69

    FINAL DRAFT —Ci sco Conf idential 3-33 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Configuring the Manag ement Ethernet Interface Note No blanks or spaces are permitted as part of a name. Do not e xpect case to be preserved. Uppercase and lowercase character[...]

  • Page 70

    FINAL DRAFT —Ci sco Conf idential 3-34 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Configuring the Manage ment Ethernet Interfa ce Viewing the Available Management Ethernet Interfaces T o display the router interfaces, type the sho w interfaces brief command i[...]

  • Page 71

    FINAL DRAFT —Ci sco Conf idential 3-35 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Configuring the Manag ement Ethernet Interface Configuring the Management Ethernet Interface T o use the Mana gement Ethernet interface for syst em management and remote commu[...]

  • Page 72

    FINAL DRAFT —Ci sco Conf idential 3-36 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Configuring the Manage ment Ethernet Interfa ce DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters global conf iguration[...]

  • Page 73

    FINAL DRAFT —Ci sco Conf idential 3-37 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Configuring the Manag ement Ethernet Interface Examples In the following example, the Mana gement Ethernet in terf ace on the RSP in slot RSP1 is conf igured with an IP addres[...]

  • Page 74

    FINAL DRAFT —Ci sco Conf idential 3-38 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Manually Setting the Router Clock 0 output errors, 0 underruns, 0 applique, 0 resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Related Documen[...]

  • Page 75

    FINAL DRAFT —Ci sco Conf idential 3-39 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 3 Configuring General Route r Features Manually Setting the Router Clock DETAILED ST EPS Examples In the follo wing e xample, the manual system clock i s conf igured: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0[...]

  • Page 76

    FINAL DRAFT —Ci sco Conf idential 3-40 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Features Where to Go Ne xt 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-c[...]

  • Page 77

    CH A P T E R FINAL DRAFT —Ci sco Conf idential 4-1 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 4 Configuring Additional Router Features This chapter sho ws you how to enter basic conf igurations using command-line interface (CLI). Contents • Config uring the Domain Name and Domain Name Serv er, pag e 4[...]

  • Page 78

    FINAL DRAFT —Ci sco Conf idential 4-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuring the Doma in Name and Domain Name Server T o configure the DNS and DNS server , c omplete the follo wing: SUMMARY STEPS 1. conf igure 2. domain name domain-name-of-[...]

  • Page 79

    FINAL DRAFT —Ci sco Conf idential 4-3 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Telnet a nd XML Host Services Examples In the following e xample, the doma in name and D NS are conf igured: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:rout[...]

  • Page 80

    FINAL DRAFT —Ci sco Conf idential 4-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuring Telnet a nd XML Host Services Prerequisites Ensure the follo wing prerequisites are met before configur ing T elnet and XML h ost services: • For the XML host se[...]

  • Page 81

    FINAL DRAFT —Ci sco Conf idential 4-5 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Telnet a nd XML Host Services DETAILED ST EPS Examples In the follo wing example, th e host services are enabled: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0[...]

  • Page 82

    FINAL DRAFT —Ci sco Conf idential 4-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Managing Configuration History and Rollback Related Documents Managing Configuration History and Rollback After each commit operation, the system sa ves a record of committed [...]

  • Page 83

    FINAL DRAFT —Ci sco Conf idential 4-7 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Managing Configuration Histor y and Rollback Viewing CommitIDs T o view up to 1 00 of the most recent commitIDs, t ype the show conf iguration commit list command in EXEC or[...]

  • Page 84

    FINAL DRAFT —Ci sco Conf idential 4-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Managing Configuration History and Rollback Previewing Rollback Configuration Changes The show conf iguration rollback changes command allo ws you to pre vie w the conf igurat[...]

  • Page 85

    FINAL DRAFT —Ci sco Conf idential 4-9 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Managing Configuration Histor y and Rollback Ti p T o previe w the commands that undo the config uration during a roll back, use the show conf iguration rollback changes com[...]

  • Page 86

    FINAL DRAFT —Ci sco Conf idential 4-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Managing Configuration History and Rollback Note Unlike the rollback process, lo ading the commitID conf iguration changes load s only the changes made during that commit ope[...]

  • Page 87

    FINAL DRAFT —Ci sco Conf idential 4-11 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Managing Configuration Histor y and Rollback T o load rollback configuration changes from the current config uration to a specific session, go to global confi guration or a[...]

  • Page 88

    FINAL DRAFT —Ci sco Conf idential 4-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuring Logg ing and Logging Correlation Configuring Logging and Logging Correlation System messages generated b y the Cisco IOS XR software can be logged to a v a riety [...]

  • Page 89

    FINAL DRAFT —Ci sco Conf idential 4-13 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Logging and Logging Correlation Alarm Logging Correlation Alarm logging c or rel at io n i s us ed t o group and fi lter similar messages to reduce the amount o[...]

  • Page 90

    FINAL DRAFT —Ci sco Conf idential 4-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuring Logg ing and Logging Correlation Examples In the follo w ing e xample, basic m essage logging is conf igured: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:rout[...]

  • Page 91

    FINAL DRAFT —Ci sco Conf idential 4-15 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Creating and Modifying User Accou nts and User Groups RP/0/RSP0/CPU0:Apr 8 19:18:58.679 : instdir[203]: %INSTALL-INSTMGR-6-INSTALL_OP RP/0/RSP0/CPU0:Apr 8 19:19:01.287 : in[...]

  • Page 92

    FINAL DRAFT —Ci sco Conf idential 4-16 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Creating and M odifying User Accounts an d User Groups Note The management of user accounts, user groups, and task IDs is p art of the uthentication, author ization, and acco[...]

  • Page 93

    FINAL DRAFT —Ci sco Conf idential 4-17 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Creating and Modifying User Accou nts and User Groups Configuring User Accounts User accounts, user groups, and task groups are creat ed by entering the appro priate comman[...]

  • Page 94

    FINAL DRAFT —Ci sco Conf idential 4-18 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Creating and M odifying User Accounts an d User Groups DETAILED ST EPS Related Documents Command or Action Purpose Step 1 configure Example: RP/0/RSP0/CPU0:router# configure [...]

  • Page 95

    FINAL DRAFT —Ci sco Conf idential 4-19 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Soft ware Entitlement Configuring Software Entitlement Certain software and hardware features are enabled us ing softwa re entitlement, which is a system t hat [...]

  • Page 96

    FINAL DRAFT —Ci sco Conf idential 4-20 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuration Limiting Static Route Configuration Limits Ta b l e 4-4 summarizes the maximum limit s for static routes, incl uding the commands used to display and change the[...]

  • Page 97

    FINAL DRAFT —Ci sco Conf idential 4-21 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuration Limiting 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:ro[...]

  • Page 98

    FINAL DRAFT —Ci sco Conf idential 4-22 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuration Limiting Routing Process "ospf 100" with ID 0.0.0.0 Supports only single TOS(TOS0) routes Supports opaque LSA It is an area border router Initial SPF [...]

  • Page 99

    FINAL DRAFT —Ci sco Conf idential 4-23 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuration Limiting Number of Parallel Links (max-p aths): Example In the follo wing example, the maximum paths command is used t o set the maximum number of parallel ro[...]

  • Page 100

    FINAL DRAFT —Ci sco Conf idential 4-24 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuration Limiting In the next e xample, the rpl maximum command changes the currently conf igured line and poli cy limits. The sho w rpl maximum co mmand displays the ne[...]

  • Page 101

    FINAL DRAFT —Ci sco Conf idential 4-25 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuration Limiting MPLS Configuration Limits Ta b l e 4-9 summarizes t he maximum limits for Multiproto col Label Swit ching (MPLS) conf iguration, including the comman[...]

  • Page 102

    FINAL DRAFT —Ci sco Conf idential 4-26 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Configuration Limiting[...]

  • Page 103

    CH A P T E R FINAL DRAFT —Ci sco Conf idential 5-1 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 5 CLI Tips, Techniques, and Shortcuts This chapter describes techniques for usin g the command-line interf ace (CLI) of the Cisco IOS XR software. Contents • CLI T ips and Shortcuts, page 5-1 • V ie wing Sy[...]

  • Page 104

    FINAL DRAFT —Ci sco Conf idential 5-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts CLI Tips and Shortcuts Using the Question Mark (?) to Display On-Screen Command Help Use the question mark ( ? ) to learn what c ommands are a vailable and the correct syntax fo[...]

  • Page 105

    FINAL DRAFT —Ci sco Conf idential 5-3 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts CLI Tips and Shortcuts Note The number ranges (within the angl e brackets) are inclusiv e ranges. Step 2 T ype the access lis t name list1 , follo wed by a space and another que[...]

  • Page 106

    FINAL DRAFT —Ci sco Conf idential 5-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts CLI Tips and Shortcuts Completing a Partial Command with the Tab Key If you cannot remember a complete co mmand name or want to reduce th e amount of typing you ha ve to perform[...]

  • Page 107

    FINAL DRAFT —Ci sco Conf idential 5-5 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Informa tion with show Command s The Cisco IOS XR software command reference publications pr ovide the co mplete syntax for the confi guration commands and descri[...]

  • Page 108

    FINAL DRAFT —Ci sco Conf idential 5-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Viewing System Informa tion with show Commands Common show Commands Some of the most common sho w commands are described in Ta b l e 5-2 . For more i nformation on the use of th[...]

  • Page 109

    FINAL DRAFT —Ci sco Conf idential 5-7 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Informa tion with show Command s adjacency Adjacency information aliases Display alias commands alphadisplay Shows the message being displayed on the alpha displa[...]

  • Page 110

    FINAL DRAFT —Ci sco Conf idential 5-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Viewing System Informa tion with show Commands • If the sa ved ou tput is to be used as a conf iguration f ile, the f ilename should end wit h the cfg s uffi x for easy iden t[...]

  • Page 111

    FINAL DRAFT —Ci sco Conf idential 5-9 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Informa tion with show Command s 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 disa[...]

  • Page 112

    FINAL DRAFT —Ci sco Conf idential 5-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Viewing System Informa tion with show Commands Gi0/2/0/0 is administratively down, line protocol is administratively down 0 drops for unrecognized upper-level protocol Gi0/2/0/[...]

  • Page 113

    FINAL DRAFT —Ci sco Conf idential 5-11 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases Multipipe Support The multipipe feature supp orts the multiple pipes on the command-line interf ace. W ith this feature the output can be pro [...]

  • Page 114

    FINAL DRAFT —Ci sco Conf idential 5-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Wildcards, Templa tes, and Aliases Using Wildcards to Identify Interfaces in show Commands W ildcards ( * ) identify a group of interfaces in sho w commands. Ta b l e 5-4 provi[...]

  • Page 115

    FINAL DRAFT —Ci sco Conf idential 5-13 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases Name State State Type (byte) (Kbps) -------------------------------------------------------------------------------- Gi0/1/0/0 up up HDLC 4474[...]

  • Page 116

    FINAL DRAFT —Ci sco Conf idential 5-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Wildcards, Templa tes, and Aliases DETAILED ST EPS Command or Action Purpose Step 1 configure Example: Router# configure Enters global conf iguration mode. Step 2 template temp[...]

  • Page 117

    FINAL DRAFT —Ci sco Conf idential 5-15 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases Examples In the follo wing example, a simp le template is defi ned. Th e template contents are then disp layed with the show running-conf ig t[...]

  • Page 118

    FINAL DRAFT —Ci sco Conf idential 5-16 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Wildcards, Templa tes, and Aliases hostname test end In the next example, a template with o ne parameter is applied and the show configuration command displays th e result: RP/[...]

  • Page 119

    FINAL DRAFT —Ci sco Conf idential 5-17 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Command History T o d elete a specific alias, type th e no form of the alia s command with the alias name. Keystrokes Used as Command Aliases The system can be configured to re[...]

  • Page 120

    FINAL DRAFT —Ci sco Conf idential 5-18 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Key Combinations Recalling Deleted Entries The Cisco IOS XR CLI also stores deleted commands or keyw ords in a history b uf fer . The buf fer stores the last ten items that ha [...]

  • Page 121

    FINAL DRAFT —Ci sco Conf idential 5-19 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Key Combinations Key Combinations to Move the Cursor Ta b l e 5-8 sho ws the key combinatio ns or sequences y ou can use to mov e the cursor around on the command line to make [...]

  • Page 122

    FINAL DRAFT —Ci sco Conf idential 5-20 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniques, and Shortcuts Key Combinations Keystrokes to Delete CLI Entries Ta b l e 5-10 describes the ke ystrokes used to delete command-line entries. Transposing Mistyped Characters T o transpose mis[...]

  • Page 123

    CH A P T E R FINAL DRAFT —Ci sco Conf idential 6-1 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 6 Troubleshooting the Cisco IOS XR Software This chapter of fers tools and proced ures that identify th e source of hardware and software problems. This chapter also pro vides instruction s on gathering d ata f[...]

  • Page 124

    FINAL DRAFT —Ci sco Conf idential 6-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Basic Trouble shooting Commands • Using debu g Commands, page 6-3 Using show Commands to Display System Status and Configuration Use show commands to check the status of[...]

  • Page 125

    FINAL DRAFT —Ci sco Conf idential 6-3 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands Using the traceroute Command Use the traceroute command in EXEC mode to discov e r the routes th at packets take when trav eling to their de[...]

  • Page 126

    FINAL DRAFT —Ci sco Conf idential 6-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Basic Trouble shooting Commands Viewing a List of Debug Features T o di splay a list of the av ailable debug features, T ype the debug mode and enter a ? for on-screen hel[...]

  • Page 127

    FINAL DRAFT —Ci sco Conf idential 6-5 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands Viewing Debugging Status Ty p e t h e show deb ug command to di splay the deb ugging features enabled for your terminal session. The termina[...]

  • Page 128

    FINAL DRAFT —Ci sco Conf idential 6-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Configuration Error Message s Disabling Debugging for A ll Services Started at All Terminal Sessions Use the undebug all all-t ty command to turn of f debugging fo r all s[...]

  • Page 129

    FINAL DRAFT —Ci sco Conf idential 6-7 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Config uration Sessions taskgroup al r !!% Usergrou p/Taskgroup n ames cannot be taskid names Y ou can also display the failed conf iguration items with[...]

  • Page 130

    FINAL DRAFT —Ci sco Conf idential 6-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Memory Warnings in Configu ration Sessions • During a commit operation that results in the lo w-memory warning message. The commit operation is denied and only lr -root [...]

  • Page 131

    FINAL DRAFT —Ci sco Conf idential 6-9 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Config uration Sessions Physical Memory: 2048M total Application Memory : 1787M (1510M available) Image: 132M (bootram: 132M) Reserved: 128M, IOMem: 0, [...]

  • Page 132

    FINAL DRAFT —Ci sco Conf idential 6-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Memory Warnings in Configu ration Sessions Clearing a Target Configuration A low-memory w arning can occur when a large configur ation f ile is loaded into a target conf [...]

  • Page 133

    FINAL DRAFT —Ci sco Conf idential 6-11 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up Clearing Configuration Sessions Activ e configuration sessions and their associated tar get configurations can consu me system memory . Users wit[...]

  • Page 134

    FINAL DRAFT —Ci sco Conf idential 6-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Interfaces Not Coming Up Verifying System Interfaces Perform the follo wing steps to verify the system interfaces. Step 1 Ty p e t h e show platf orm command in administ [...]

  • Page 135

    FINAL DRAFT —Ci sco Conf idential 6-13 Cisco ASR 9000 Series Aggregation Serv ices Rou ter Getting St arted Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up 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[...]

  • Page 136

    FINAL DRAFT —Ci sco Conf idential 6-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Tro ubleshoot ing the Cisco IOS XR Software Interfaces Not Coming Up RP/0/RSP0/CPU0:router(config-if)# end RP/0/RSP0/CPU0:router# Step 6 If the interface state is still displayed as “Down, ” veri fy tha t the p[...]

  • Page 137

    FINAL DRAFT —Ci sco Conf idential A-1 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 APPENDIX A Understanding Regular Expressions, Special Characters, and Patterns This appendix describes re gular e xpressions, specia l or wild card characters, and patterns used with filt ers to search through comman d output[...]

  • Page 138

    FINAL DRAFT —Ci sco Conf idential A-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Appendix A Understand ing Regular E xpressions, Special Characters, and Patterns Special Characters Special Characters Certain keyboard characters ha ve special me aning when used in re gular expressions. Ta b l e A-1 lists t[...]

  • Page 139

    FINAL DRAFT —Ci sco Conf idential A-3 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Appendix A Understanding Regular Expressions, Spe cial Characters, and Patterns Multiple-Character Patterns Multiple-Character Patterns Multiple-character regul ar expression s can be formed b y joining letters, di gits, and [...]

  • Page 140

    FINAL DRAFT —Ci sco Conf idential A-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Appendix A Understand ing Regular E xpressions, Special Characters, and Patterns Pattern Alternation The order for matches using multipli ers (*, +, and ?) is to put the lon gest construct first. Nested constructs are matched[...]

  • Page 141

    FINAL DRAFT —Ci sco Conf idential A-5 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Appendix A Understanding Regular Expressions, Spe cial Characters, and Patterns Parentheses Used for Patte rn Recall T o c reate a regular e xpression t hat recalls a previous pattern, use pare ntheses to indicate me mory of [...]

  • Page 142

    FINAL DRAFT —Ci sco Conf idential A-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Appendix A Understand ing Regular E xpressions, Special Characters, and Patterns Parentheses Used for Patte rn Recall[...]