Cisco Systems ASR 9000 manuel d'utilisation

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

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Cisco Systems ASR 9000. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Cisco Systems ASR 9000 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Cisco Systems ASR 9000 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Cisco Systems ASR 9000 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Cisco Systems ASR 9000
- nom du fabricant et année de fabrication Cisco Systems ASR 9000
- instructions d'utilisation, de réglage et d’entretien de l'équipement Cisco Systems ASR 9000
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Cisco Systems ASR 9000 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Cisco Systems ASR 9000 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Cisco Systems en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Cisco Systems ASR 9000, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Cisco Systems ASR 9000, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Cisco Systems ASR 9000. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    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 Series A ggregation S er vices Router Get ting Star ted Guide Cisco IOS XR Softwa r e Re l ea s e 3.7 .2 Marc h, 20 09 Text Part Number: OL -17502-01[...]

  • Page 2

    THE SPECIFICATION S AND INFORMAT ION REGARDING THE PRODUCTS IN THIS MA NUAL ARE SUBJECT TO CHAN GE WITHOUT N OTICE. ALL STATEMENTS , INFORMATION, AND RECOMMENDATI ONS IN THI S MANUAL ARE BE LIEVED TO BE A CCURATE BUT ARE PRESENTED WI THOUT WARRANTY OF ANY KIND, EX PRESS OR IMPLIED. USERS MUST TAKE FUL L RESPONSIBILITY FOR THEIR APPL ICATION OF ANY [...]

  • Page 3

    iii Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01 CONTENTS Preface xi Changes to This Document xi About This Documen t xi Intended Audience xii Organization of the Document xii Conventi ons xii Obtaining Documentation and Submitting a Serv ice Request xiii Introducing the Cisco ASR 9000 Seri es Aggregation Serv[...]

  • Page 4

    Contents iv Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Bringing Up Cisco IOS XR Software on the Router 2-1 Contents 2-1 Prerequisites 2-1 Software Requirements 2-2 Hardware Prerequisite s and Documenta tion 2-2 Bringing Up and Configuring the Router 2-2 Examples 2-3 Verifying the System After Initial Boot 2[...]

  • Page 5

    Contents v Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Viewing a Combined Target and Runn ing Configuration 3-24 Viewing Configuration Error Me ssages and Descriptio ns 3-25 Viewing Configuration Error Me ssages Without Descriptions 3-25 Viewing Configur ation Error Messages Produced While Load ing a Configu[...]

  • Page 6

    Contents vi Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Rolling Back the Configuration to a Specific Rollback Point 4-8 Rolling Back the Configuration over a Specified Number of Commits 4-9 Loading CommitID Configuration Chan ges to the Target Configuration 4-9 Loading Rollback Configuration Chan ges to the [...]

  • Page 7

    Contents vii Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Editing Command Lines that Wrap 5-5 Viewing System Inform ation with s how Commands 5-5 Common show Commands 5-6 Browsing Display Output when the --More-- Prompt Ap pears 5-6 Halting the Displ ay of Screen Output 5-7 Redirecting Output to a File 5-7 Na[...]

  • Page 8

    Contents viii Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Examples 6-2 Using the traceroute Command 6-3 Examples 6-3 Using debug Commands 6-3 Viewing a List of Debug Features 6-4 Enabling Debugging for a Featu re 6-5 Viewing Debuggin g Status 6-5 Disabling Debugging for a Serv ice 6-5 Disabling Debugging for[...]

  • Page 9

    xi Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide OL-17502-01 Preface This guide introduces the Cisco ASR 9000 Series Aggreg ation 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 after initially st arting the router . [...]

  • Page 10

    xii 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 wh o hav e completed the Cisco IOS XR S[...]

  • Page 11

    xiii Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Preface Ti p Means the following informa tion will help you solve a p r oblem. The info rmation in tips might not be troubleshooting or an actio n, but co ntains useful information. Caution Means reader be car eful . In this situation, you might do someth ing [...]

  • Page 12

    xiv Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Preface[...]

  • Page 13

    CH A P T E R 1-11 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-02 1 Introducing the Cisco ASR 9000 Series Aggregation Services Router This chapter intro duces the Cisco ASR 9000 Series router that runs Cisco IOS XR Software. It also introduces ro uter concepts, features, and user interfaces. Contents • Router[...]

  • Page 14

    1-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation 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 y , page 1-8 • Security , page 1-9[...]

  • Page 15

    1-13 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco A SR 9000 Series Aggregation Services Router Router Over view • Flexible VLAN classification: VLAN classif icati on into Ethernet flow points (EFPs) includes single-tagged VLANs, doub le-tagged VLANs (QinQ and IEEE 8 02.1ad),[...]

  • Page 16

    1-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation Services Router Router Overview • MST Access Gateway: This feature pro vides a resilient, fast-con ver gence mechanism for aggregati ng and connecting to Ethernet-based access rings. L2VPN The Cisc[...]

  • Page 17

    1-15 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco A SR 9000 Series Aggregation Services Router Router Over view Layer 3 routing The Cisco ASR 9000 Series router run s Cisco IOS XR Software wh ich supports Layer 3 routing and a range of IPv4 services and routing protocols, incl[...]

  • Page 18

    1-16 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation Services Router System Configurations • MPLS TE Preferred P ath: Preferred tunnel pat h functions let you map pseudo wires to specif ic TE tunnels. Attachment circuits are cross-connected to specif[...]

  • Page 19

    1-17 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco A SR 9000 Series Aggregation Services Router System Configur ations Figur e 1 -1 6-Slot Chassis 243377 Line card 3 FT0 M0 M1 M2 FT1 Line card 2 Line card 1 Line card 0 RSP1 RSP0 Slot 5 Slot 4 Slot 3 Slot 2 Slot 1 Slot 0 P o wer [...]

  • Page 20

    1-18 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation Services Router Management and Secu rity The router uses the following line cards: • 40x1GE Ethernet line card • 4x10GE Ethernet line card • 8x10GE Ethernet line card Management and Security In[...]

  • Page 21

    1-19 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco A SR 9000 Series Aggregation Services Router Initial Router Configuration Security • Cisco IOS XR Software: This soft w are provides co mprehensi ve netw ork security features, in cluding A CLs; control-pl ane protection; ro [...]

  • Page 22

    1-110 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation Services Router Initial Router Configuration • Command-Line Interf ace, page 1-10 • Extensible Mark up Language AP I, page 1-10 • Simple Network Management Protocol, page 1-10 Command-Line Int[...]

  • Page 23

    1-111 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco A SR 9000 Series Aggregation Services Router Initial Router Configuration Connecting to the Router Through the Console Port The first time you connect to a ne w Cisco ASR 9000 Series router with Cisco IOS XR softw are, connect[...]

  • Page 24

    1-112 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation 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 required only if t he power is n ot on. • [...]

  • Page 25

    1-113 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco A SR 9000 Series Aggregation Services Router Where to Go Next Configuring Gigabit Ethernet and 10-Gigabit Ethernet Interfaces After connecting to the ro uter , you need to conf igure Giga bit Ethernet and T en Gigabit Ethernet[...]

  • Page 26

    1-114 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-02 Chapter 1 Introducing the Cisco ASR 9000 Series Aggreg ation Services Router Where to Go Ne xt[...]

  • Page 27

    CH A P T E R 2-1 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 2 Bringing Up Cisco IOS XR Software on the Router This chapter pro vides instructio ns for bringing up Cisco IOS XR Software on the router for the f irst time. Contents • Prerequisites, page 2-1 • Bringing Up and Conf iguring the Router , page[...]

  • Page 28

    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 Router Bringing Up an d Configuring the Ro uter Software Requirements The system requires compat ible R OM Monitor f irmware o n all RPs. Caution The R OM Monitor f irmware on all RPs must be compatible with t[...]

  • Page 29

    2-3 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 2 Bringing Up Cisco IOS XR Software o n the Router Bringing Up and Configuring the Router DETAILED ST EPS Command or Action Purpose Step 1 Establish a connection to the Console por t. Initiate s communic ation wi th the ro uter . • For instru ctions o[...]

  • Page 30

    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 Router Verifying the System After Initial Boot The secret line in the conf iguration comman d script sho ws that the password is encry pted. When you type the passw ord during conf iguration and l ogin, the pa[...]

  • Page 31

    2-5 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 e xamples of show commands: • sho w version Command: Exampl e, page 2-5 • sho w platform Command: E[...]

  • Page 32

    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 Router 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: Example The show platf orm command [...]

  • Page 33

    2-7 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 2 Bringing Up Cisco IOS XR Software on the Router Verifying the System After Initial Boot show redundancy Comma nd: Example T o vie w information about the acti ve and standby (inacti ve) RPs, type the show redundancy command as follo ws: RP/0/RSP0/CPU[...]

  • Page 34

    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 Router Where to Go Ne xt 0/RSP0/* host Critical- Alarm 0 host Major-Ala rm 0 host Minor-Ala rm 0 host ACO 0 Where to Go Next For infor mation on conf iguring basic router features, see “Conf iguring General [...]

  • Page 35

    CH A P T E R 3-1 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 Softw are configur ation management. Contents • Connecting to and C[...]

  • Page 36

    3-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Connecting to and Communicating with the Router The follo wing sections describ e how to connect to the router : • Connecting Through the Con sole Port, page 3-2 • Connecting Through a T erminal Server , page [...]

  • Page 37

    3-3 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 less expensi ve to connect to the rout[...]

  • Page 38

    3-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res 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 communi cations with the router and w[...]

  • Page 39

    3-5 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 net work connection . Before using the Ma nagement Ethernet[...]

  • Page 40

    3-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Logging In to a Router • A Remote Authentication Dial In User Serv ice ( RADIUS) server • A T erminal Access Controller A ccess-Co ntrol System Plus (T A CA CS+) serv er The username and password v alidation m[...]

  • Page 41

    3-7 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 named “rou ter:” RP/0/RSP0/CPU0:rout[...]

  • Page 42

    3-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res 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 described in Ta b l e 3-2 . Ta b l e 3-2 P[...]

  • Page 43

    3-9 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Logging In to a Router show user Command: Example T o vie w your username, type the sho w user command: RP/0/RSP0/CP U0:router# sh ow user cisco show user tasks Command: Ex ample T o vie w the tasks assigned to yo[...]

  • Page 44

    3-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Navigating Cisco IOS XR Software Command Modes Task: basic-services : READ WRITE EXECUTE DEBUG Task: bcdl : READ WRITE EXECUTE DEBUG Task: bfd : READ WRITE EXECUTE DEBUG Task: bgp : READ WRITE EXECUTE DEBUG Task:[...]

  • Page 45

    3-11 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Navigating Cisco IOS XR Software Command Modes Figure 3-1 sho ws the basic command mode na vigation for th e CLI. Only a sample of possible su bmodes is shown. Figur e 3-1 Example of Comman d Mode Navigation in Ci[...]

  • Page 46

    3-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Navigating Cisco IOS XR Software Command Modes Common Command Modes Ta b l e 3-4 summarizes the most co mmon command modes of Cisco IOS XR Software and associated CLI prompts. Ta b l e 3-4 Common Command Mo des a[...]

  • Page 47

    3-13 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Navigating Cisco IOS XR Software Command Modes Global conf iguration Global configurat ion mode is the starting point for RSP configurat ion. Commands entered in this mode affect the RSP as a whole, ra ther than [...]

  • Page 48

    3-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Navigating Cisco IOS XR Software Command Modes Entering EXEC Commands from a Configuration Mode EXEC commands can be ex ecuted from an y conf iguration mode b y preceding the comman d with the do ke yword. Ex ecu[...]

  • Page 49

    3-15 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Navigating Cisco IOS XR Software Command Modes Boot device on node 0/RSP0/CPU0 is disk0: --More-- Command Mode Navigation Example The follo wing steps pro vide an e xample of comman d mode navig ation: Step 1 Sta[...]

  • Page 50

    3-16 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions Step 3 If you belong to a user gr oup that has conf iguration pr ivile ges, you can p lace the router in the global confi guration mode by enterin g the configur e command: RP/0/R[...]

  • Page 51

    3-17 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions The follo wing sections describe man agement options for conf iguration sessions: • Entering C onfiguration Changes, pa ge 3-17 • V iewing Acti v e Conf iguration Sessions, pa[...]

  • Page 52

    3-18 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters global conf iguration mode. Step 2 Enter conf iguration changes . In v [...]

  • Page 53

    3-19 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions Viewing Active Configuration Sessions Before you start a conf iguration session, check to see if there are other conf iguration sessions in progress. More than one user can open a[...]

  • Page 54

    3-20 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions Starting a Configuration Session When you place the router in gl obal configuratio n or admini stration configuration m ode usin g the conf igure command, a ne w target configurat[...]

  • Page 55

    3-21 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions end Starting an Exclusive Configuration Session An exclusi v e conf iguration session allo ws you to conf igure the administ ration conf iguration or an RSP and lock out all users[...]

  • Page 56

    3-22 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions In EXEC and global configurati on mode, you can vie w the RSP conf iguratio n for the RSP to which you are connected. When you are connec ted to the RSP and operating in administr[...]

  • Page 57

    3-23 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions T o display the saniti zed RSP portion of the run ning confi guration, type the show running-conf ig sanitized command in EXEC or global conf igurat ion mode, as sho wn in the fol[...]

  • Page 58

    3-24 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions T o display the tar get confi guration changes you ha ve ent ered for an RSP , type the show configuration command in global conf iguration mode or in an y submode, as sho wn in t[...]

  • Page 59

    3-25 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions ! explicit-path name 10GE_Path_to_P19 index 1 next-address strict ipv4 unicast 10.114.8.44 index 2 next-address strict ipv4 unicast 10.114.8.11 index 3 next-address strict ipv4 un[...]

  • Page 60

    3-26 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions Saving the Target Configuration to a File T arg et conf igurations can be sa ved to a separa te f ile with out committing them to t he running configuration. T arget configuration[...]

  • Page 61

    3-27 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions Clearing All Changes to a Target Configuration T o clear changes made to the tar get confi guration without terminating the con figurat ion session, type the clear command in glob[...]

  • Page 62

    3-28 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions T o commit tar get conf iguration changes to th e running conf iguration, t ype the commit command by itself or with one or more of t he options described in Ta b l e 3-5 . Ta b l[...]

  • Page 63

    3-29 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 conf iguratio n: • Committing a Conf iguration from Glob al Config uration Mode: Example, page 3-29 • Committing [...]

  • Page 64

    3-30 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Managing Configuratio n Sessions T o load a f ailed conf igurati on, go to global conf iguratio n or administrati on confi guration mode an d type the load configuration failed commi t command, as shown in the fo[...]

  • Page 65

    3-31 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Managing Configuration Se ssions Ending a Configuration Session Y ou can use an y of the follo wing methods to end a config uration session: • Ty p e t h e exit command in global conf iguration or administ rati[...]

  • Page 66

    3-32 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Configuring the Manage ment Ethernet Interface T o configure the hostnam e, type the hostname command with the RSP na me as shown in the following exa mp le : RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:route[...]

  • Page 67

    3-33 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Configuring the Managemen t Ethernet In terface Ta b l e 3-7 provides examples of Management Ethernet interface names for a single-she lf system. The Management Ethernet interfaces are listed with the prefix Mg in[...]

  • Page 68

    3-34 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Configuring the Manage ment Ethernet Interfa ce Prerequisites T o conf igure the Ethernet Management port for network communications, yo u must type the interf ace network ad dresses and subnet mask. Consult your[...]

  • Page 69

    3-35 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Configuring the Manag ement Ethernet In terface Step 6 router static address-family ipv4 unicast 0.0.0.0/0 default-gat eway Example: RP/0/RSP0/CP U0:router(conf ig-static)# address-fami ly ipv4 unicast Establishe[...]

  • Page 70

    3-36 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Manually Setting the Router Clo ck Examples In the follo wing e xample, the Management Ethernet interface on th e RSP in slot RSP1 is conf igured with an IP address: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU[...]

  • Page 71

    3-37 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 3 Configuring General Route r Features Manually Setting the Router Clock T o manually set the router clock, comp lete the follo wing steps: SUMMARY STEPS 1. conf igure 2. clock timezone zone hours-of fset 3. commit 4. end 5. clock set hh : mm : ss dd [...]

  • Page 72

    3-38 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 3 Configur ing General Router Featu res Where to Go Ne xt Examples In the follo wing e xample, the manual system cl ock is conf igured: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# clock timezone pst -8 RP/0/RSP0/CPU0:router(config)#[...]

  • Page 73

    CH A P T E R 4-1 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 4 Configuring Additional Router Features This chapter sho ws you ho w to enter basic conf igurations using command-line interface (CLI). Contents • Config uring the Domain Name and Domain Name Serv er , pag e 4-1 • Config uring T elnet and XML[...]

  • Page 74

    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 following steps: SUMMARY STEPS 1. conf igure 2. domain name domain-name-of-or ganization 3. domain name-se[...]

  • Page 75

    4-3 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Telnet a nd XML Host Service s Examples In the following e xample, the doma in name and D NS are configured: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# domain name cisco.com RP/[...]

  • Page 76

    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 host services: • For the XML host services, the Manageab ility packag e m[...]

  • Page 77

    4-5 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Telnet a nd XML Host Services DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters global conf iguration mode. Step 2 telnet ipv4 server max-ser[...]

  • Page 78

    4-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuring Add itional Router Features Managing Configuratio n History and Rollbac k Related Documents Related T opic Document T itle Installat ion and activation of the Manage ability an d Security Packages Cisco ASR 9000 Series Aggr egation Service[...]

  • Page 79

    4-7 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Managing Configuration Histor y and Rollback Viewing CommitIDs T o vie w up to 100 of the mo st recent commitIDs, type the sh ow conf iguration commit list comman d in EXEC or administration EXEC mode. Up t o 1[...]

  • Page 80

    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 r ollback changes command allo ws you to pre vie w the conf iguration changes that take place if you [...]

  • Page 81

    4-9 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 t hat undo the conf iguration during a r ollback, use the show conf iguration rollback changes command. T o roll back the router conf [...]

  • Page 82

    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 operati on. The load process does n ot [...]

  • Page 83

    4-11 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Managing Configuration Histor y and Rollback T o load rollback conf iguration changes from the current conf iguration to a specif ic session, go to global confi guration or administration conf iguration mode a[...]

  • Page 84

    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 Ci sco IOS XR software can be logged to a v ariety of locations b ased on the se verit [...]

  • Page 85

    4-13 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuring Logging and Logging Correlation Alarm Logging Correlation Alarm logging c or r el a ti o n i s us e d to group and fi lter similar messages to reduce the amount of redundant logs and isolate the ro[...]

  • Page 86

    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 wing e xample, basic message lo gging is conf igured: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# logging 10.1.1.1 RP/0/RSP[...]

  • Page 87

    4-15 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started 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 : instdir[203]: %INSTALL-INSTMGR-6-INSTALL[...]

  • Page 88

    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 Accou nts and User Groups Note The management of user accounts, user groups, and task IDs is part of the auth entica tion, authorization, and accounting (AAA) feature. AAA is a su i[...]

  • Page 89

    4-17 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started 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 appropriat e commands in one of the AAA conf iguration su[...]

  • Page 90

    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 Accou nts and User Groups DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RSP0/CPU0:router# configure Enters global conf iguration mode. Step 2 username use[...]

  • Page 91

    4-19 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 consists of a license manager on a Ci[...]

  • Page 92

    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 limits. Ta b l e 4-4 Static Route C[...]

  • Page 93

    4-21 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuration Limiting Examples In the follo wing exampl e, the maximum number of acti v e parallel paths for each route is increased to 10, and the maximum number of pref ix es redistribu ted into IS-IS is inc[...]

  • Page 94

    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 Maximum Interfaces for Each OSPF Instance: Example In the following e xample, the show ospf command is used to display the maximum number of OSPF interfaces: RP/0/RSP1/CPU0:router# show o[...]

  • Page 95

    4-23 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuration Limiting RP/0/RSP1/CPU0:Mar 30 16:26:52 : config[65740]: %LIBTARCFG-6-COMMIT : Configuration committed by user 'cisco'. Use 'show configuration commit changes 1000000541' to vi[...]

  • Page 96

    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 Examples In the following e xample, the show rpl maximum command is used in EXEC mode to display the current setting for RPL limits and nu mber of each limit currently in use. A summary o[...]

  • Page 97

    4-25 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 4 Configuri ng Additional Router Features Configuration Limiting Multicast Configuration Limits Ta b l e 4-8 summarizes the maximum limits for multicast conf igurat ion, including the commands used t o display and change the limits. Ta b l e 4-8 Multic[...]

  • Page 98

    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 MPLS Configuration Limits Ta b l e 4-9 summarizes the maximum li mits for Multiproto col Label Switching (MPLS) conf iguration, including the comman ds used to display and change the limi[...]

  • Page 99

    CH A P T E R 5-1 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 iewing System Informati on with sho w Commands,[...]

  • Page 100

    5-2 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, 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 av ailable and the correct syntax for a command. Ta b l e 5-1 summarize[...]

  • Page 101

    5-3 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 list name list1 , followed b y a space and anothe r question mark, to display the arguments [...]

  • Page 102

    5-4 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, 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 v e to perform, type the first fe w let ters of [...]

  • Page 103

    5-5 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 describe wh at the no form of a command doe[...]

  • Page 104

    5-6 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, and Shortcuts Viewing System Informa tion with show Commands Common show Commands Some of the most commo n show commands are described in Ta b l e 5-2 . Ta b l e 5-2 Common show Commands in Cisco IOS XR Softw are Command Descr[...]

  • Page 105

    5-7 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Informa tion with show Command s The follo wing example sho ws one screen of data and the --More-- prompt: RP/0/RSP0/CPU0:router# show ? aaa Show AAA configuration and operational data adjacency Adja[...]

  • Page 106

    5-8 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, and Shortcuts Viewing System Informa tion with show Commands This feature enables you to sa ve an y show command output in a f ile for fu rther analysis and reference. When you choose to redirect command out put, consider the [...]

  • Page 107

    5-9 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI Tips, Techniqu es, and Shortcuts Viewing System Informa tion with show Command s In the following e xample, a configuration fo r all Gigabit-Ethernet interfaces appears: RP/0/RSP1/CPU0:router# show running-config interface gi * interface Gi0/1/0/0[...]

  • Page 108

    5-10 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, and Shortcuts Viewing System Informa tion with show Commands In the following e xample, the show interface comm and includes only lin es in which the exp ression “protocol” appears: RP/0/RSP0/CPU0:router# show interface |[...]

  • Page 109

    5-11 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Viewing System Informa tion with show Command s Ti p On most systems, Ctrl-Z can be en tered at any ti me to interrupt the output and return to EXEC mode. For more information, see Ap pendix A, “Understanding Re[...]

  • Page 110

    5-12 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, and Shortcuts Wildcards, Templa tes, and Aliases Wildcards, Templates, and Aliases This section contains the following topics: • Using W ildcards to I dentify Interfaces in sho w Commands, page 5-1 2 • Creating Conf igura[...]

  • Page 111

    5-13 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Wildcards, Templates, and Aliases interface Gi0/1/0/3 ipv4 address 10.2.3.7 255.255.255.0 gi crc 32 ! keepalive disable --More-- In the following e xample, the state of all Gigabit-Ethernet interfaces appears: RP/[...]

  • Page 112

    5-14 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, 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 template-name [ ( $ parameter $ paramet[...]

  • Page 113

    5-15 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 template template -name command: RP/0/[...]

  • Page 114

    5-16 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, 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/0/RSP0/CPU0:router# configure RP/0/[...]

  • Page 115

    5-17 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 5 CLI Tips, Techniques, and Shortcuts Command History After you enter a command with an alias, the router displays the command yo u entered with the alias v alue so that you can verify that alias v alue. T o delete a spec ific alias, type the no form [...]

  • Page 116

    5-18 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, and Shortcuts Key Combinations T o recall commands from t he history bu ffer , use one of the commands or ke y combination s listed in Ta b l e 5-6 . Ta b l e 5-6 Command Hist ory Command or Key Combination Purpose Ctrl-P or [...]

  • Page 117

    5-19 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI Tips, Techniqu es, and Shortcuts Key Combinations Key Combinations to Move the Cursor Ta b l e 5-8 sho ws the ke y combinatio ns or sequences y ou can use to mov e the cursor around on the command line to make corrections or changes. When you use[...]

  • Page 118

    5-20 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 5 CLI T i ps, Techniq ues, 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. Ta b l e 5-1 0 Ke ystrok es f or Deleting Entr ies Key strokes Deletes Delete or Ba[...]

  • Page 119

    CH A P T E R 6-1 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started 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 for further analysis b y Cisco custome[...]

  • Page 120

    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 Basic Troubleshooting Commands The following sections de scribe some basic techniques used to determine connectivit y to another de vice and display informat ion on the conf i[...]

  • Page 121

    6-3 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands The follo wing e xample sho ws the output of pin g through the fabri c: RP/0/RSP1/CPU0:router(admin)# ping fabric location 0/6/5 Src node: 529 : 0/RSP1/CPU0 Dest node: 109 : 0/6[...]

  • Page 122

    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 The follo wing sections pro vide informatio n on debug ging: • V iewing a List of Deb ug Features, page 6-4 • Enabling Debugging for a Feature, page 6- 5 • V iewing Deb [...]

  • Page 123

    6-5 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Basic Troubleshooting Commands shelfmgr Shelfmgr debug: all, heartbeat, boot, fsm, init and eah sysdb Configure SysDB debug settings upgrade-fpd Debug upgrade fpd --More-- Enabling Debugging for a Feature T o[...]

  • Page 124

    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 Y ou can als o turn off deb ugging from the undebug mode, as shown in the foll o wing example: RP/0/RSP0/CPU0:router# undebug RP/0/RSP0/CPU0:router(undebug)# aaa all RP/0/RSP0/C[...]

  • Page 125

    6-7 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Config uration Sessions In the follo wing exampl e, a configurat ion error occurs when an in valid commit operation is atte mpted: RP/0/RP0/CPU 0:router# con figure RP/0/RP0/CPU 0:router(co[...]

  • Page 126

    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 Configuration Sessions The follo wing sections describe the commands used to displ ay memory usage in a router and what to do if a lo w-memory warning app ears: • Understanding Lo w-Memo[...]

  • Page 127

    6-9 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Config uration Sessions Caution The commit f orce command sho uld be used only to apply conf igurations that redu ce memory usage. Adding conf igurations that increase memory usage could re[...]

  • Page 128

    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 Configuration Sessions Removing Configurations to Resolve Low-Memory Warnings T o resolve most lo w-memory probl ems, you should remov e the conf igurations from the router that are consu[...]

  • Page 129

    6-11 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Memory Warnings in Config uration Sessions Note T o display the details o f a configu ration, type the sho w configurat ion commit changes command follo wed by a commi tID number . T o display additional conf[...]

  • Page 130

    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 Interfaces Not Coming Up The router interfaces are directly us ed in processi ng network traf f ic, so their status information is crucial to understanding ho w the de vice is fu nc[...]

  • Page 131

    6-13 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up gi0/1/0/7 unassigned Shutdown Down gi0/1/0/8 unassigned Shutdown Down gi0/1/0/9 unassigned Shutdown Down gi0/1/0/10 unassigned Shutdown Down gi0/1/0/11 unassigned Shutdown Down gi0/1[...]

  • Page 132

    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 gi0/2/0/1 10.1.1.1 Up Up gi0/2/0/3 10.1.1.2 Shutdown Down gi0/2/0/3 unassigned Shutdown Down TenGigE0/3/0/0 unassigned Shutdown Down TenGigE0/3/0/2 unassigned Shutdown Down MgmtEth0[...]

  • Page 133

    6-15 Cisco ASR 9000 Series Aggregation Serv ices Router G etting Started Guide OL-17502-01 Chapter 6 Troubleshooting the Cisco IOS XR Software Interfaces Not Coming Up Step 7 V erify again that the inte rface is up by entering the show ipv4 inter face brie f command: RP/0/RSP0/CPU0:router# show ipv4 interface brief Interface IP-Address Status Proto[...]

  • Page 134

    6-16 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[...]

  • Page 135

    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. Filter commands are descri bed in [...]

  • Page 136

    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 the keyboard characters that have sp[...]

  • Page 137

    A-3 Cisco ASR 9000 Series Aggregation Serv ices Router Getting Started Guide OL-17502-01 Appendix A Understand ing Regular Expressions, Special Characters, a nd Patterns Multiple-Character Patterns Multiple-Character Patterns Multiple-character regul ar expression s can be formed b y joining letters, di gits, and ke yboard characters that do not ha[...]

  • Page 138

    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 multiplier s (*, +, and ?) is to put the lon gest construc t first. Nested constructs are matched from outside to in side. Concaten [...]

  • Page 139

    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 create a regular expression that recall s a previous pattern, use pare ntheses to indica te memory of a specific pattern and a backslash ()[...]

  • Page 140

    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[...]