Cisco Systems IOS XR 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Cisco Systems IOS XR, 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 IOS XR 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 IOS XR. 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 IOS XR should contain:
- informations concerning technical data of Cisco Systems IOS XR
- name of the manufacturer and a year of construction of the Cisco Systems IOS XR item
- rules of operation, control and maintenance of the Cisco Systems IOS XR 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 IOS XR 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 IOS XR, 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 IOS XR.

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 IOS XR 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

    RC-169 Cisco IOS XR Routing Configuration Guide Implementing OSPF on Cisco IOS XR Software Open Shortest Path First (OSPF) is an Interior Gate way Protocol (IGP) de v e loped by the OSPF working group of the Internet Engineering T ask Force (I ETF). Designed expressl y for IP networks, OSPF supports IP subnetting and tagging of externally de ri v e[...]

  • Page 2

    Implementing OSPF on Cisco IOS XR Software Contents RC-170 Cisco IOS XR Routing Configuratio n Guide Contents • Prerequisites for Implementing OSPF on Cisco I OS XR Software, page RC-170 • Information Ab out Implementing OSPF on Cisco IOS XR Software, page RC-17 0 • How to Implement OSPF on Cisco IOS XR Softw are, page RC-183 • Config urati[...]

  • Page 3

    Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-171 Cisco IOS XR Routing Configuration Guide • Route Authentication Methods f or OSPF V e rsion 2, page RC-177 • Neighbors and Adja cency for OSPF , page RC-178 • Designated Router (DR) for OSPF , page RC-178 • Default Ro ute for OSPF[...]

  • Page 4

    Implementing OSPF on Cisco IOS XR Software Information About Im plementing OSPF on Cisco IOS XR Softw are RC-172 Cisco IOS XR Routing Configuratio n Guide The networking de vices running O SPF detect topological changes in the network, flood link-state updates to neighbors, and quickly con verge on a ne w view of the topology . Each OSPF router in [...]

  • Page 5

    Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-173 Cisco IOS XR Routing Configuration Guide • Not-so-stubb y area (NSSA)—RFC 1587 is support ed. • OSPF ov er demand circuit—RFC 1793 is supported. Comparison of Cisco IOS XR OSPFv3 and OSPFv2 Much of the OSPFv3 protocol is the same [...]

  • Page 6

    Implementing OSPF on Cisco IOS XR Software Information About Im plementing OSPF on Cisco IOS XR Softw are RC-174 Cisco IOS XR Routing Configuratio n Guide Ti p Understanding hierarchical CLI and CLI inheritance sa ves you considerable conf iguration time. See the “Configuring Aut hentication at Dif ferent Hierarchi cal Lev els for OSPF V ersion 2[...]

  • Page 7

    Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-175 Cisco IOS XR Routing Configuration Guide Areas Areas allo w the subdi vision of an autonom ous system into smaller , more manageable networks or sets of adjacent netw orks. As sho wn in Figure 10 , aut onomous syste m A consists o f three[...]

  • Page 8

    Implementing OSPF on Cisco IOS XR Software Information About Im plementing OSPF on Cisco IOS XR Softw are RC-176 Cisco IOS XR Routing Configuratio n Guide Routers The OSPF network is composed of AB Rs, ASBRs, and interior rout ers. Area Border Routers An area border routers (ABR) is a router with multiple interfaces t hat connect directly to netw o[...]

  • Page 9

    Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-177 Cisco IOS XR Routing Configuration Guide • The primary IPv4 address of the interface speci fied b y the OSPF rou t er- id command. • The 32-bit numeric v alue specified b y the rou t er-i d command in global conf iguration mode. (This[...]

  • Page 10

    Implementing OSPF on Cisco IOS XR Software Information About Im plementing OSPF on Cisco IOS XR Softw are RC-178 Cisco IOS XR Routing Configuratio n Guide Authentication Strategies Authentication can be specif ied for an entire process or area, or on an i nterface or a virtual link. An interface or virtual li nk can be confi gured for only one type[...]

  • Page 11

    Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-179 Cisco IOS XR Routing Configuration Guide Default Route for OSPF , T ype 5 (ASE) LSAs are generated and flooded to all ar eas except stub areas. F or the routers in a stub area to be able to route packets to destinations outs ide the stub [...]

  • Page 12

    Implementing OSPF on Cisco IOS XR Software Information About Im plementing OSPF on Cisco IOS XR Softw are RC-180 Cisco IOS XR Routing Configuratio n Guide • Interarea-pref ix LSA for ABRs (T ype 3)—Advertises in ternal networks to r outers in other areas (interarea routes). T ype 3 LSAs may represent a s ing le network or set of network s aggre[...]

  • Page 13

    Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-181 Cisco IOS XR Routing Configuration Guide In the case in which an area cannot be co nnected to Area 0, you must conf igure a virtual link between that area and Area 0. The tw o endpoints of a virtual link are ABRs, and the virtual link mu [...]

  • Page 14

    Implementing OSPF on Cisco IOS XR Software Information About Im plementing OSPF on Cisco IOS XR Softw are RC-182 Cisco IOS XR Routing Configuratio n Guide The interv al at which the SPF calcul ations occur is chosen dynamically and based on t he frequency of topology changes i n the network. Th e chosen interv al is within the bo undary of the user[...]

  • Page 15

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-183 Cisco IOS XR Routing Configuration Guide through intelligent l ine cards while the standb y Route Processor (RP) assumes control from the f ailed RP . The abili ty of line cards to remain up through a f a ilov er and to be kept cu rrent with the Forw a[...]

  • Page 16

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-184 Cisco IOS XR Routing Configuratio n Guide • Controlling the Frequenc y that the Same LSA Is Originated or Ac cepted for OSPF , pa ge RC-197 (optiona l) • Creating a V irtual Link with MD5 Authentication t o Area 0 for OSPF , page RC-199 (optional) ?[...]

  • Page 17

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-185 Cisco IOS XR Routing Configuration Guide DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name or router ospfv3 process-name Example: RP/0/[...]

  • Page 18

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-186 Cisco IOS XR Routing Configuratio n Guide Configuring Stub and Not-so-Stubby Area Types This task explains ho w to configure the stub area and the NSSA for OSPF . SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name or router ospfv3 pr ocess-name 3.[...]

  • Page 19

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-187 Cisco IOS XR Routing Configuration Guide 6. stub or nssa 7. default-cost cost 8. end or commit 9. Repeat this task on al l other routers in the stub area or N SSA. DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router[...]

  • Page 20

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-188 Cisco IOS XR Routing Configuratio n Guide Step 5 stub [ no-summary ] or nssa [ no-redistribution ] [ default-information-originate ] [ no-summary ] Example: RP/0/RP0/CPU0:router(config-ospf-ar)# stub no summary or RP/0/RP0/CPU0:router(config-ospf-ar)# n[...]

  • Page 21

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-189 Cisco IOS XR Routing Configuration Guide Configuring Neighbors for Nonbroadcast Networks This task ex plains ho w to conf igure neighbors for a nonbroadcast netw ork. This task is optio nal. Prerequisites Config uring NBMA networks as eith er broadcast[...]

  • Page 22

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-190 Cisco IOS XR Routing Configuratio n Guide 9. neighbor ip-addr ess [ priority number ] [ poll-interval seconds ] [ cost number ] or neighbor ipv6-link-loca l-addr ess [ priority number ] [ poll-inter val seconds ] [ cost number ] [ database-f ilter [ all[...]

  • Page 23

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-191 Cisco IOS XR Routing Configuration Guide Step 5 network { broadcast | non-broadcast | { point-to-multipoint [ non-broadcast ] | point-to-point }} Example: RP/0/RP0/CPU0:router(config-ospf-ar)# network non-broadcast Configures the OSPF network type to a[...]

  • Page 24

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-192 Cisco IOS XR Routing Configuratio n Guide Step 9 neighbor ip-address [ priority number ] [ poll-interval seconds ][ cost number ] or neighbor ipv6-link-local-address [ priority number ] [ poll-interval seconds ][ cost number ] [ database-filter [ all ]][...]

  • Page 25

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-193 Cisco IOS XR Routing Configuration Guide Step 13 neighbor ip-address [ priority number ] [ poll-interval seconds ][ cost number ] [ database-filter [ all ]] or neighbor ipv6-link-local-address [ priority number ] [ poll-interval seconds ][ cost number [...]

  • Page 26

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-194 Cisco IOS XR Routing Configuratio n Guide Configuring Authentication at Different Hierarchical Levels for OSPF Version 2 This task explains ho w to config ure MD5 (secure) authenticati on on the OSPF router process, configure one area with plain text au[...]

  • Page 27

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-195 Cisco IOS XR Routing Configuration Guide 5. message-digest-key key-id md5 { key | clear key | encrypted ke y } 6. area ar ea-id 7. interface type instance 8. Repeat Step 7 for each interface that must communicate, using the same authentication. 9. exit[...]

  • Page 28

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-196 Cisco IOS XR Routing Configuratio n Guide Step 6 area area-id Example: RP/0/RP0/CPU0:router(config-ospf)# area 0 Enters area conf iguration mode and configures a backbone area for the OSPF process. Step 7 interface type instance Example: RP/0/RP0/CPU0:r[...]

  • Page 29

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-197 Cisco IOS XR Routing Configuration Guide Controlling the Frequency that the Same LSA Is Originated or Accepted for OSPF This task ex plains ho w to tune the con ver gence time of OSPF routes in the routing table when many LSAs need to be flooded in a v[...]

  • Page 30

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-198 Cisco IOS XR Routing Configuratio n Guide 8. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name or router ospfv3 process-na[...]

  • Page 31

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-199 Cisco IOS XR Routing Configuration Guide Creating a Virtual Link with MD5 Authentication to Area 0 for OSPF This task e xplains ho w to create a virtual link to your backbone (area 0) and ap ply MD5 authenticatio n. Y ou must perform the steps describe[...]

  • Page 32

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-200 Cisco IOS XR Routing Configuratio n Guide • For a virtual link to be successful, you need a stable router ID at each end of the virtual link. Y ou do not want them to be subject to chan ge, which could happen if the y are assigned by default (See the [...]

  • Page 33

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-201 Cisco IOS XR Routing Configuration Guide DETAILED ST EPS Command or Action Purpose Step 1 show ospf [ process-name ] or show ospfv3 [ process-name ] Example: RP/0/RP0/CPU0:router# show ospf or RP/0/RP0/CPU0:router# show ospfv3 (Optional) Displays gene [...]

  • Page 34

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-202 Cisco IOS XR Routing Configuratio n Guide Step 8 message-digest-key key-id md5 { key | clear key | encrypted key } Example: RP/0/RP0/CPU0:router(config-ospf-ar-vl)# message-digest-key 4 md5 yourkey Defines an OSPF virtual link. • See the “V irtual L[...]

  • Page 35

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-203 Cisco IOS XR Routing Configuration Guide Examples In the follo wing example, th e show ospfv3 virtual li nks EXEC command verif i es that the OSPF_VL0 virtual link to the OSPFv3 neighbor is up, the ID of the virtual link interface is 2, and the IPv6 ad[...]

  • Page 36

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-204 Cisco IOS XR Routing Configuratio n Guide 7. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name or router ospfv3 process-na[...]

  • Page 37

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-205 Cisco IOS XR Routing Configuration Guide Redistributing Routes from One IGP into OSPF This task redistrib utes routes from an IGP (c ould be a dif ferent OSPF process) into OSPF . Prerequisites For information about conf igur ing routing p olicy , see [...]

  • Page 38

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-206 Cisco IOS XR Routing Configuratio n Guide 5. summary-pref ix addr ess mask [ not-adv ertise ] [ tag ta g ] or summary-pref ix ipv6-pr e f ix / pr efix-len gth [ not-advertise ] [ t ag tag ] 6. end or commit DETAILED ST EPS Command or Action Purpose Step[...]

  • Page 39

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-207 Cisco IOS XR Routing Configuration Guide Step 4 redistribute protocol [ process-id ] { level-1 | level-1-2 | level-2 } [ metric metric-value ] [ metric-type type-value ] [ match { internal | external [ 1 | 2 } | nssa-external [ 1 | 2 }] [ tag tag-value[...]

  • Page 40

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-208 Cisco IOS XR Routing Configuratio n Guide Step 5 summary-prefix address mask [ not-advertise ] [ tag tag ] or summary-prefix ipv6-prefix / prefix-length [ not-advertise ] [ tag tag ] Example: RP/0/RP0/CPU0:router(config-ospf)# summary-prefix 10.1.0.0 25[...]

  • Page 41

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-209 Cisco IOS XR Routing Configuration Guide Configuring OSPF Shortest Path First Throttling This task explains ho w to configure SPF schedulin g in mill isecond interv als and potentially delay SPF calculations during times of network instabil ity . This [...]

  • Page 42

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-210 Cisco IOS XR Routing Configuratio n Guide Step 3 router-id { ipv4-address | interface-type interface-instance } Example: RP/0/RP0/CPU0:router(config-ospf)# router-id 192.168.4.3 Configures a r outer ID for the OSPF pr ocess. Note W e recommend using a s[...]

  • Page 43

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-211 Cisco IOS XR Routing Configuration Guide Examples In the follo wing example, the show ospf EXEC command is used to verify t hat the initial SPF schedule delay time, minimum hold time, and maximu m wait time are conf igured correctly . Additional detai [...]

  • Page 44

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-212 Cisco IOS XR Routing Configuratio n Guide Non-Stop Forwarding enabled Note For a description of each o utput display f ield, see the show ospf command in the OSPF Comma nds on Cisco IOS XR Softwar e module in the Cisco IOS XR Routing Command Refer ence [...]

  • Page 45

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-213 Cisco IOS XR Routing Configuration Guide DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name Example: RP/0/RP0/CPU0:router(config)# route[...]

  • Page 46

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-214 Cisco IOS XR Routing Configuratio n Guide Configuring OSPF Version 2 for MPLS Traffic Engineering This task explains ho w to configure OSPF for MPLS TE. This task is opt ional. For a descript ion of the MPLS TE tasks and commands that allo w you to conf[...]

  • Page 47

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-215 Cisco IOS XR Routing Configuration Guide Restrictions MPLS traff ic engineering currently supports only a single OSPF area. SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name 3. rou t er- id { ipv4-ad dr e ss | interface -type inte rface-insta nc[...]

  • Page 48

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-216 Cisco IOS XR Routing Configuratio n Guide Step 5 mpls traffic-eng router-id { ip-address | interface-type interface-instance } Example: RP/0/RP0/CPU0:router(config-ospf)# mpls traffic-eng router-id loopback 0 (Optiona l) Specifies that th e traffic engi[...]

  • Page 49

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-217 Cisco IOS XR Routing Configuration Guide Examples This section pro v ides the follo wing output examples: • Sample Output for the sho w ospf Command Before Configuri ng MPLS TE, page RC-217 • Sample Outpu t for the show ospf mpls traff ic-eng Comma[...]

  • Page 50

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-218 Cisco IOS XR Routing Configuratio n Guide Sample Output for the show ospf mpls traffic-eng Command In the following e xample, the show ospf mpls traffic-eng EXEC command v erifies that the MPLS TE fragments are configured correctly: RP/0/RP0/CPU0:router[...]

  • Page 51

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-219 Cisco IOS XR Routing Configuration Guide Priority 0 : 3125000 Priority 1 : 3125000 Priority 2 : 3125000 Priority 3 : 3125000 Priority 4 : 3125000 Priority 5 : 3125000 Priority 6 : 3125000 Priority 7 : 3125000 Affinity Bit :0 Sample Output for the show [...]

  • Page 52

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-220 Cisco IOS XR Routing Configuratio n Guide DETAILED ST EPS Command or Action Purpose Step 1 show ospf [ process-name ] Example: RP/0/RP0/CPU0:router# show ospf group1 (Optional) Displays gene ral information about OSPF routing processes. Step 2 show ospf[...]

  • Page 53

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-221 Cisco IOS XR Routing Configuration Guide Configuring OSPFv3 Graceful Restart This section describes the follo wing tasks for conf iguring a graceful restar t of an OSPFv3 process: • Enabling Graceful Restart, page RC-221 • Config uring the Maximum [...]

  • Page 54

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-222 Cisco IOS XR Routing Configuratio n Guide SUMMARY STEPS 1. conf iguration 2. router ospfv3 3. graceful-r estart lifetime DETAILED ST EPS Configuring the Minimum Time Required Between Restarts This section descri bes the task of modifying the mi nimal ti[...]

  • Page 55

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-223 Cisco IOS XR Routing Configuration Guide DETAILED ST EPS Configuring the Helper Level of the Router This section describes the task o f disabling the helper mode on the current router . By default, a router that is capable of doing an OSPFv3 gr aceful [...]

  • Page 56

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-224 Cisco IOS XR Routing Configuratio n Guide DETAILED ST EPS Displaying Information About Graceful Restart This section describes the tasks you can use to display information ab out a graceful restart. • T o see if the feature is e nabled and when the la[...]

  • Page 57

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-225 Cisco IOS XR Routing Configuration Guide Displaying Graceful Restart Information for an OSPFv3 Instance The follo wing screen output sh o ws the link state for the instance of OSPFv3 called test : RP/0/0/CPU0:LA# show ospfv3 test database grace OSPFv3 [...]

  • Page 58

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-226 Cisco IOS XR Routing Configuratio n Guide Step 3 mpls traffic-eng multicast-intact Example: RP/0/RP0/CPU0:router(config-isis)# mpls traffic-eng multicast-intact Enables multicast-intact. Step 4 end or commit Example: RP/0/RP0/CPU0:router(config-isis-af)[...]

  • Page 59

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-227 Cisco IOS XR Routing Configuration Guide Configuring the Multi-VRF Capability for OSPF Routing This task explains ho w to configure multi-VRF capabil ity for OSPF Routing. This task is implemented for OSPFv2 only . SUMMARY STEPS 1. conf igure 2. router[...]

  • Page 60

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-228 Cisco IOS XR Routing Configuratio n Guide Associating Interfaces to a VRF This task explains ho w to a ssociate an interface with a VPN R outing and Forw arding (VRF) instance. SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name 3. vrf vrf-name 4. [...]

  • Page 61

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-229 Cisco IOS XR Routing Configuration Guide 8. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name Example: RP/0/RP0/CPU0:rout[...]

  • Page 62

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-230 Cisco IOS XR Routing Configuratio n Guide Configuring OSPF as a Provider Edge to Customer Edge (PE-CE) Protocol SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name 3. vrf vrf-name 4. rou t er- id { r o uter-id | interface-type interface-instance } [...]

  • Page 63

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-231 Cisco IOS XR Routing Configuration Guide 11. disable-dn-bit-check 12. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name E[...]

  • Page 64

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-232 Cisco IOS XR Routing Configuratio n Guide Step 6 area area-id Example: RP/0/RP0/CPU0:router(config-ospf-vrf)# area 0 Enters area configuration mode and conf igures an area for the OSPF process. • The ar ea -id argument can be entered in dott ed-decima[...]

  • Page 65

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-233 Cisco IOS XR Routing Configuration Guide Configuring LDP-IGP Synchronization This task expl ains ho w to synchronize Label Distribution Pr otocol (LDP) with Interior Gat ew ay Protocol (IGP) on an OSPF interface. SUMMARY STEPS 1. conf igure 2. router o[...]

  • Page 66

    Implementing OSPF on Cisco IOS XR Software How to Implement OSPF on Cisco IOS XR Software RC-234 Cisco IOS XR Routing Configuratio n Guide DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 2 router ospf process-name Example: RP/0/RP0/CPU0:router(config)# route[...]

  • Page 67

    Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-235 Cisco IOS XR Routing Configuration Guide Creating Multiple OSPF Instances (OSPF Process and a VRF) This task e xplains ho w to create multiple OSPF inst ances. In this case, the in stances are a normal OSPF instance and a VRF instance. SUMMARY STEPS 1.[...]

  • Page 68

    Implementing OSPF on Cisco IOS XR Software Configuration Examples for Implementing OSPF on Cisco IOS XR Softwa re RC-236 Cisco IOS XR Routing Configuratio n Guide Configuration Examples for Implementing OSPF on Cisco IOS XR Software This section pro v ides the follo wing configurat ion examp les: • Cisco IOS XR for OSPF V ersion 2 Conf iguration:[...]

  • Page 69

    Implementing OSPF on Cisco IO S XR Software Configuration Examples fo r Implementing OSPF on Cisco IOS XR Software RC-237 Cisco IOS XR Routing Configuration Guide • CLI Inheritance and Precedence for OSPF V ersion 2: Example, page RC-238 • MPLS TE for OSPF V e rsion 2: Example, page RC-239 • ABR with Summarization for OSPFv3: Example, page RC[...]

  • Page 70

    Implementing OSPF on Cisco IOS XR Software Configuration Examples for Implementing OSPF on Cisco IOS XR Softwa re RC-238 Cisco IOS XR Routing Configuratio n Guide In Cisco IOS XR software, OSPF areas must be e xplicitly configured, and interf aces conf igured under the area conf iguration mode are e x plicitly bound t o that area. In this ex ample,[...]

  • Page 71

    Implementing OSPF on Cisco IO S XR Software Configuration Examples fo r Implementing OSPF on Cisco IOS XR Software RC-239 Cisco IOS XR Routing Configuration Guide ! ! area 4 interface POS 0/1/0/2 cost 20 ! interface POS 0/2/0/2 ! interface POS 0/3/0/2 ! ! area 6 cost 30 interface POS 0/1/0/3 ! interface POS 0/2/0/3 ! interface POS 0/3/0/3 cost 1 ! [...]

  • Page 72

    Implementing OSPF on Cisco IOS XR Software Configuration Examples for Implementing OSPF on Cisco IOS XR Softwa re RC-240 Cisco IOS XR Routing Configuratio n Guide ABR Stub Area for OSPFv3: Example The follo wing example sho ws that area 1 is configured as a stub area: router ospfv3 1 router-id 10.0.0.217 area 0 interface POS 0/2/0/1 area 1 stub int[...]

  • Page 73

    Implementing OSPF on Cisco IO S XR Software Where to Go Next RC-241 Cisco IOS XR Routing Configuration Guide interface POS 0/2/0/1 area 1 virtual-link 10.0.0.212 interface POS 0/2/0/0 ABR 2 Configuration router ospfv3 1 router-id 10.0.0.212 area 0 interface POS 0/3/0/1 area 1 virtual-link 10.0.0.217 interface POS 0/2/0/0 Virtual Link Configured wit[...]

  • Page 74

    Implementing OSPF on Cisco IOS XR Software Where to Go Ne xt RC-242 Cisco IOS XR Routing Configuratio n Guide T o build an MPLS TE topology , create tunnels, and configure forwarding o ver the tunnel for OSPF V ersion 2; see the Cisco IOS XR MPLS Confi guration Guide .[...]

  • Page 75

    Implementing OSPF on Cisco IO S XR Software Additional References RC-243 Cisco IOS XR Routing Configuration Guide Additional References The follo wing sections pro vide references relate d to implementing OSPF on Cisco IOS XR software. Related Documents Standards MIBs RFCs Related T opic Document T itle OSPF and OSPFv3 commands: complete command sy[...]

  • Page 76

    Implementing OSPF on Cisco IOS XR Software Additional References RC-244 Cisco IOS XR Routing Configuratio n Guide Technical Assistance Description Link The Cisco T echnical Support website contains thousands of pa ges of sear chable technical content, including lin ks to products, technologies, so lutions, technical tips, and tools. Registered Cisc[...]