Cisco Systems OL-14356-01 manuel d'utilisation
- Voir en ligne ou télécharger le manuel d’utilisation
- 462 pages
- 4.28 mb
Aller à la page of
Les manuels d’utilisation similaires
-
Network Router
Cisco Systems C65
76 pages 0.62 mb -
Network Router
Cisco Systems UBR10-FAN-CAB=
18 pages 0.73 mb -
Network Router
Cisco Systems 5
230 pages 6.99 mb -
Network Router
Cisco Systems SBC-111
8 pages 0.32 mb -
Network Router
Cisco Systems IC-23
46 pages 0.54 mb -
Network Router
Cisco Systems IGX 8400
46 pages 0.31 mb -
Network Router
Cisco Systems EA4500
71 pages 6.51 mb -
Network Router
Cisco Systems 7401
40 pages 1.59 mb
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 OL-14356-01. 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 OL-14356-01 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 OL-14356-01 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 OL-14356-01 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Cisco Systems OL-14356-01
- nom du fabricant et année de fabrication Cisco Systems OL-14356-01
- instructions d'utilisation, de réglage et d’entretien de l'équipement Cisco Systems OL-14356-01
- 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 OL-14356-01 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 OL-14356-01 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 OL-14356-01, 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 OL-14356-01, 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 OL-14356-01. À 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 IOS XR Routing Configuration Guide Ci sc o I O S X R So ftwa re Rel ea se 3. 4 Customer Order Number: Text Part Number: OL -14356-01[...]
-
Page 2
THE SPECIFICATION S AND INFORMATION REGARDING THE P RODUCTS IN TH IS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. 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 FULL RESPONSI BILITY FOR THEIR APPLICATION OF ANY PRO[...]
-
Page 3
RC-iii Cisco IOS XR Routing Configuration Guide CONTENTS Preface RC-xiii Changes to This Document RC-xiii Obtaining Documentation and Submitting a Serv ice Request RC-xiii Implementing BGP on Cisco IOS XR Software RC-1 Contents RC-2 Prerequisites for Implementing BGP on Cisco IOS XR Software RC-2 Information About Implementing BGP on Cisco IOS XR S[...]
-
Page 4
Contents RC-iv Cisco IOS XR Routing Configuration Guide Resetting an eBGP Session Immediately Upon Link Failu re RC-4 9 Logging Neighbor Changes RC-49 Adjusting BG P Timers RC-50 Changing the BGP Defau lt Local Preference Value RC-51 Configuring the MED Metric for BGP RC-53 Configuring BGP Weights RC-54 Tuning the BGP Best-Path Calcula tion RC-56 I[...]
-
Page 5
Contents RC-v Cisco IOS XR Routing Configuration Guide BGP MDT Address Family Configuration: Example RC-132 Where to Go Next RC-132 Additional References RC-133 Related Documents RC-133 Standards RC-133 MIBs RC-134 RFCs RC-134 Technical Assistance RC-134 Implementing EIGRP on Cisco IOS XR Software RC-135 Contents RC-135 Prerequisites for Implementi[...]
-
Page 6
Contents RC-vi Cisco IOS XR Routing Configuration Guide Configuration Examples fo r Implementing EIGRP on Cis co IOS XR Software RC-166 Configuring a Basic EIGRP Configuration: Example RC-166 Configuring an EIGRP St ub Ope ration: Example RC-167 Configuring an EIGRP PE-CE Configur ation with Prefix-Limits: Example RC-1 67 Additional References RC-1[...]
-
Page 7
Contents RC-vii Cisco IOS XR Routing Configuration Guide GTSM TTL Security Mechanism for OSPF RC-193 Path Computation Element for OSPFv2 RC-193 How to Impleme nt OSPF on Cisc o IOS XR Software RC-194 Enabling OSPF RC-194 Configuring Stub and Not-So-Stubby Area Types RC-197 Configuring Neighbors for Nonbroadca st Networks RC-199 Configuring Authenti[...]
-
Page 8
Contents RC-viii Cisco IOS XR Routing Configuration Guide Related Documents RC-262 Standards RC-262 MIBs RC-263 RFCs RC-263 Technical Assistance RC-264 Implementing IS-IS on Cisco IOS XR Software RC-265 Contents RC-266 Prerequisites for Implementing IS-IS on Cisco IOS XR Software RC-266 Restrictions for Implementing IS-IS on Cisco IOS XR Software R[...]
-
Page 9
Contents RC-ix Cisco IOS XR Routing Configuration Guide Configuring Single Topolo gy for IS-IS RC-280 Configuring Multitopology for IS-IS RC-284 Controlling LSP Flooding for IS-IS RC-285 Configuring Nonstop Forwarding for IS-IS RC-289 Configuring Authentication for IS-IS RC-291 Configuring Keychains for IS-IS RC-293 Configuring MPLS Traffi c Engine[...]
-
Page 10
Contents RC-x Cisco IOS XR Routing Configuration Guide RIB Quarantining RC-323 How to Deploy and Monitor RIB RC-324 Verifying RIB Configuration Using the Routing Table RC-324 Verifying Networking and Routing Problems RC-324 Disabling RIB Next-hop Dampening RC-326 Configuration Examples fo r RIB Monitoring RC-327 Output of show route Command: Exampl[...]
-
Page 11
Contents RC-xi Cisco IOS XR Routing Configuration Guide Adjusting RIP Timers for each VRF Instance: Examp le RC-348 Configuring Redistribut ion for RIP: Example RC-349 Configuring Route Polici es for RIP: Example RC-349 Configuring Passive Interfaces and Ex plicit Neighbors for RIP: Example RC-350 Controlling RIP Routes: Exampl e RC-350 Additional [...]
-
Page 12
Contents RC-xii Cisco IOS XR Routing Configuration Guide RFCs RC-417 Technical Assistance RC-417 Implementing Static Routes on Cisco IOS XR Software RC-419 Contents RC-420 Prerequisites for Implementing Static Routes on Cisco IOS XR Software RC-420 Information About Implementing Sta tic Routes on Cisco IOS XR Software RC-420 Static Route Functional[...]
-
Page 13
RC-xiii Cisco IOS XR Routing Configuration Guide OL-14356-01 Preface The Cisco IOS X R Routing Co nfiguration Guide provid es information and proce dures related to routing on Cisco IOS XR software. The preface contains the follo wing sections: • Changes to This Document • Obtaining Documentati on and Submitting a Ser vice Request Changes to Th[...]
-
Page 14
Preface RC-xiv Cisco IOS XR Routing Configuratio n Guide OL-14356-01[...]
-
Page 15
RC-1 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing BGP on Cisco IOS XR Software Border Gate way Protoco l (BGP) is an Exterior Gate way Prot ocol (EGP) that allo ws you to create loop-free interdom ain routing between autono mous syst ems. An autonomous system is a set of routers under a single technical admin istration. Routers[...]
-
Page 16
Implementing BGP on Ci sco IO S XR Software Contents RC-2 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Contents • Prerequisites for Implementing BGP on Cisco IOS XR Software, page RC-2 • Information About Implementing BGP on Ci sco IOS XR Software, page RC-2 • Ho w to Implement BGP on Cisco IOS XR Soft ware, page RC-42 • Config ura[...]
-
Page 17
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-3 Cisco IOS XR Routing Configuration Guide OL-14356-01 • Administrati ve Distan ce, page RC-30 • Administrati ve Distan ce, page RC-30 • Multiprotocol BGP , page RC-32 • Route Dampening, page RC-33 • BGP Routing Domain Confed eration,[...]
-
Page 18
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-4 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • By means of the address conf igured using the bgp r outer-id command in router conf iguration mode. • By using the highest IPv4 address on a l oopback interface in t he system if [...]
-
Page 19
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-5 Cisco IOS XR Routing Configuration Guide OL-14356-01 the neighbor and peering wit h the neighbor is terminated immed iately after the conf iguration if the confi gured maximum number of pref ixes is fe wer than the number of prefix es that ha[...]
-
Page 20
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-6 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 This route polic y filter ing is possible because RIB iden tifi es the source protocol of route that resolv ed a next hop as well as the mask leng th associat ed with the rou te. The ne[...]
-
Page 21
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-7 Cisco IOS XR Routing Configuration Guide OL-14356-01 The clear bgp nexthop re gistration command performs an asynchron ous regist ration of the ne xt hop with the RIB. See the BGP Commands o n Cisco IOS XR Softwar e mo dule of Cisco IOS XR R [...]
-
Page 22
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-8 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Router Configuration Mode The follo wing e xample sho ws ho w to enter router conf iguration mode: RP/0/RP0/CPU0:router# configuration RP/0/RP0/CPU0:router(config)# router bgp 140 RP/0/[...]
-
Page 23
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-9 Cisco IOS XR Routing Configuration Guide OL-14356-01 VRF Neighbor Address Family Configurat ion Mode The follo wing e xample sho ws ho w to enter VRF neighbor add ress family conf iguration mode: RP/0/RP0/CPU0:router(config)# router bgp 112 R[...]
-
Page 24
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-10 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 RP/0/RP0/CPU0:router(config-bgp)# vrf vrf_A RP/0/RP0/CPU0:router(config-bgp-vrf)# neighbor 11.0.1.2 RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)# address-family ipv4 unicast RP/0/RP0/CPU0:[...]
-
Page 25
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-11 Cisco IOS XR Routing Configuration Guide OL-14356-01 Config uration grouping has t he follo wing effects in Cisco IOS XR software: • Commands entered at the session group lev el def ine address family-in dependent commands (the same comman[...]
-
Page 26
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-12 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 For Address Family: IPv4 Unicast BGP neighbor version 0 Update group: 0.1 eBGP neighbor with no inbound or outbound policy; defaults to 'drop' Route refresh request: received[...]
-
Page 27
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-13 Cisco IOS XR Routing Configuration Guide OL-14356-01 3. Otherwise, if the neighbor uses a neighbor group and does not us e a session group or address f amily group, the conf iguration va lue can be obtained from th e neighbor group either di[...]
-
Page 28
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-14 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 RP/0/RP0/CPU0:router(config-bgp-nbr)# use session-group ADV RP/0/RP0/CPU0:router(config-bgp-nbr)# use neighbor-group TIMER The follo wing output from the show bgp neighbors command sho[...]
-
Page 29
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-15 Cisco IOS XR Routing Configuration Guide OL-14356-01 Route refresh request: received 0, sent 0 0 accepted prefixes Prefix advertised 0, suppressed 0, withdrawn 0, maximum limit 524288 Threshold for warning message 75% Connections established[...]
-
Page 30
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-16 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The follo wing e xample displays sample ou tput from the show bgp neighbors co mmand using the inheritance ke yword. The example sh ows that the neighbor inheri ts session parameters f[...]
-
Page 31
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-17 Cisco IOS XR Routing Configuration Guide OL-14356-01 The follo wing e xample displays sample ou tput from the show bgp af-gr oup command using the conf iguration ke yword. This example sho ws from where ea ch configur ation item was in herit[...]
-
Page 32
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-18 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The follo wing is sample outpu t from the show bgp session-gr o up command with the conf iguration keyw ord in EXEC mode: RP/0/RP0/CPU0:router# show bgp session-group GROUP_1 configura[...]
-
Page 33
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-19 Cisco IOS XR Routing Configuration Guide OL-14356-01 RP/0/RP0/CPU0:router(config-bgp-nbrgrp-af)# use af-group GROUP_2 RP/0/RP0/CPU0:router(config-bgp-nbrgrp-af)# weight 100 The follo wing is sample outpu t from the show bgp neighbor -group c[...]
-
Page 34
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-20 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Routing Policy Enforcement External BGP (eBGP) neighbor s must ha ve an inboun d and outbound polic y conf igured. If no policy is confi gured, no routes are accepted from the neig hbo[...]
-
Page 35
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-21 Cisco IOS XR Routing Configuration Guide OL-14356-01 BGP scan interval 60 secs BGP is operating in STANDALONE mode. Process RecvTblVer bRIB/RIB SendTblVer Speaker 1 1 1 Some configured eBGP neighbors do not have both inbound and outbound pol[...]
-
Page 36
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-22 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 BGP policy acco unting uses traf fic indi ces that are set on BGP routes to track v arious counters. See Implementing Routi ng P olicy on Cisco IOS XR Softwar e for details on table po[...]
-
Page 37
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-23 Cisco IOS XR Routing Configuration Guide OL-14356-01 the path. The path with th e lowest cost community number is preferred. P aths that are n ot specif ically configured with the cost commu nity number are assigned a def ault cost community[...]
-
Page 38
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-24 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 confederation. For e xample, a lo wer cost community va lue can be applied to a specif ic exit path in a network wit h multiple equal cost e xit points, and the specif ic exit path is [...]
-
Page 39
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-25 Cisco IOS XR Routing Configuration Guide OL-14356-01 • 192.168.0.1 – POI=IGP – cost community ID=1 – cost number=200 The single advertised path includes th e aggre gate cost communities as follows: {POI=IGP , ID=1, Cost=2147483647} {[...]
-
Page 40
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-26 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The “prebest pat h” point of insertio n (POI) in the BGP cost community feature supports mix ed EIGRP VPN network topologies that contain V PN and back-d oor links. This POI is app[...]
-
Page 41
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-27 Cisco IOS XR Routing Configuration Guide OL-14356-01 Adding Routes to the Routing Information Base If a nonsourced path becomes the best path after the best-path calcu lation, BGP ad ds the route to the Routing Information Base (RIB) an d pa[...]
-
Page 42
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-28 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 3. If the paths ha ve uneq ual weights, the path with the highest w eight is chosen. Note: the weight is entirely lo cal to the route r , and c an be set with the weight co mmand or us[...]
-
Page 43
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-29 Cisco IOS XR Routing Configuration Guide OL-14356-01 9. If one path is receiv ed from an external peer and the other is receive d from an internal (or confederation) peer , the path from the external peer is chosen. (See Section 9.1.2.2d of [...]
-
Page 44
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-30 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Note This suppression beha vior does not comply with the IETF Netw orking W orking Group draft-ietf-idr-bgp4-24.txt document, but is specified in the IETF Net working W orkin g Group d[...]
-
Page 45
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-31 Cisco IOS XR Routing Configuration Guide OL-14356-01 Note Distance does not influence the BGP path selection algorith m, but it do es influence whether BGP-learned rout es are installed i n the IP routing tab le. In most cases, when a r oute[...]
-
Page 46
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-32 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Multiprotocol BGP Multiprotocol BGP is an enhanced BGP that carries routing in formation for multip le network layer protocols and IP multicast routes. BG P carries two sets of routes,[...]
-
Page 47
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-33 Cisco IOS XR Routing Configuration Guide OL-14356-01 In Figure 5 , only unicast traf fic can tra vel from Router A to the unicast routers to Rout er B and back. Multicast traff ic could not flo w on that path, so another rou ting table is re[...]
-
Page 48
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-34 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 to autonomous system 2, wh ich sends it to autonomous system 3. If t he route to network A r epeatedly becomes unav ailable, then av ailable, many with draw al and advertisement messag[...]
-
Page 49
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-35 Cisco IOS XR Routing Configuration Guide OL-14356-01 Figure 6 Three Fully Meshed iBGP Speak ers W ith route reflectors, all iBGP speak ers need not be fully meshed because there is a method to pass learned routes to neighbors. In this model,[...]
-
Page 50
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-36 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The internal peers of the route refl ector are di vided into two groups: client peers and all other r outers in the autonomous system (non client peers). A route reflector reflects rou[...]
-
Page 51
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-37 Cisco IOS XR Routing Configuration Guide OL-14356-01 Each route reflector would be configured with other route reflectors as nonclient peers (thus, all route reflectors are fully meshed). The clients are conf ig ured to main tain iBGP sessio[...]
-
Page 52
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-38 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • bRIB process—Responsible for performing the best-pat h calculation of routes (recei ves partial best paths from the speaker). The best route is installe d into the bRIB and is ad[...]
-
Page 53
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-39 Cisco IOS XR Routing Configuration Guide OL-14356-01 A backbone carrier off ers Border Gate way Protocol and Multiprotocol Label Swi tching (BGP/MPLS) VPN services . The customer carri er can be eithe r: • An Internet service pro vider (IS[...]
-
Page 54
Implementing BGP on Ci sco IO S XR Software Information About Implementin g BGP on Cis co IOS XR Software RC-40 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 IPv6 Provider Edge Multipath I nternal and external BGP multip ath for IPv6 allows the IPv6 router to load balance b etween several paths (for example, sam e neighboring auto nomous sy[...]
-
Page 55
Implementing BGP on Cisco IOS XR Software Information About Implementin g BGP on Cisco IOS XR Software RC-41 Cisco IOS XR Routing Configuration Guide OL-14356-01 Figure 9 I P L3VPN with L2TPv3 BGP Multicast VPN The BGP Multicast VPN feature introduces the IPv4 multicast distrib ution tree (MDT) subaddress family id entifier (S AFI) in Border Gate w[...]
-
Page 56
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-42 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 When an MVPN-specif ic default MDT gr oup is conf ig ured on PE1, PIM creates a virtual MDT tunnel interface with the tunnel source ad dress the same as the BGP local peering addres s. This MDT interf[...]
-
Page 57
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-43 Cisco IOS XR Routing Configuration Guide OL-14356-01 • Config uring the MED Metric for BGP , page RC-53 (optional ) • Config uring BGP W eights, page RC-54 (optional) • T uning the BGP Best-Path Calculation, page RC-56 (optio nal) • Indicating BGP [...]
-
Page 58
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-44 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Enabling BGP Routing Perform this task to enable BGP rout ing and establish a BGP routing process. Co nfiguring BGP neighbors is included as part of enabli ng BGP routing. Note At least one neighbor a[...]
-
Page 59
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-45 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mod. Step 2 route-policy route-policy-name Example: RP/0/RP0/CPU0:router(c[...]
-
Page 60
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-46 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 5 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 6 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 120 Enters BGP conf iguration[...]
-
Page 61
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-47 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring a Routing Domain Confederation for BGP Perform this task to conf igure the routing domain con federation for BGP . This includes specifying a confederation identifier and autonomous sy stems [...]
-
Page 62
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-48 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)[...]
-
Page 63
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-49 Cisco IOS XR Routing Configuration Guide OL-14356-01 Resetting an eBGP Session Immediately Upon Link Failure Immediately resetting BGP sessions of an y directly adja cent external peers if the link used to reach them goes down is enabled b y default. Use t[...]
-
Page 64
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-50 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Adjusting BGP Timers Perform this task to set th e timers for BG P neighbors. BGP uses certain timers to cont rol periodic acti vities , such as the sending of keepaliv e messages and the interv al af[...]
-
Page 65
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-51 Cisco IOS XR Routing Configuration Guide OL-14356-01 Changing the BGP Default Local Preference Value Perform this task to set the def ault local preference v alue for BGP paths. SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. bgp default local-prefe[...]
-
Page 66
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-52 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)[...]
-
Page 67
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-53 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring the MED Metric for BGP Perform this task to set the mult i exit discriminator (MED) to adv ertise to peer s for routes t hat do not already ha ve a metric set (rou tes that were recei ved wit[...]
-
Page 68
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-54 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring BGP Weights Perform this task to assign a wei ght to routes recei ved from a neig hbor . A weight is a number that y ou can assign to a path so that you can cont rol the best-path selectio[...]
-
Page 69
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-55 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:[...]
-
Page 70
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-56 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Tuning the BGP Best-Path Calculation Perform this task to change the def ault BGP best-path calculation beha vior . SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. bgp bestpath med missing-as-w[...]
-
Page 71
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-57 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)# r[...]
-
Page 72
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-58 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Indicating BGP Back-door Routes Perform this task to set the administr ati ve distance on an external Border Gatew ay Protocol (eBGP) route to that of a l ocally sourced BGP route, causi ng it to be l[...]
-
Page 73
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-59 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)# r[...]
-
Page 74
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-60 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Aggregate Addresses Pe r fo rm t hi s ta sk t o create aggreg ate entries in a BGP routing table. SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. address-family { ipv4 un icast | ip[...]
-
Page 75
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-61 Cisco IOS XR Routing Configuration Guide OL-14356-01 Redistributing iBGP Routes into IGP Perform this task to redistrib ute iBGP routes into an Interior Gatew ay Protocol (IGP), such as Intermediate System-to-Intermediate System ( IS-IS) or Open Shortest P[...]
-
Page 76
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-62 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. bgp redistri bute-inter nal 4. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure [...]
-
Page 77
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-63 Cisco IOS XR Routing Configuration Guide OL-14356-01 Redistributing Prefixes into Multiprotocol BGP Perform this task to redistrib ute prefix es from another prot ocol into multiprotocol BG P . Redistrib ution is the process o f injecting pref ixes from on[...]
-
Page 78
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-64 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 3 address-family { ipv4 unicast | ipv4 multicast | | ipv6 unicast | ipv6 multicast } Example: RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 unicast Enters address family conf iguration mo[...]
-
Page 79
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-65 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 4 redistribute connected [ metric metric-value ] [ route-policy route-policy-name ] or redistribute eigrp process-id [ match { external | internal }] [ metric metric-value ] [ route-policy route-pol[...]
-
Page 80
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-66 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring BGP Route Dampening Perform this task to conf igure and monitor BGP rou te dampening. SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. address-family { ipv4 un icast | ipv4 mul ticas[...]
-
Page 81
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-67 Cisco IOS XR Routing Configuration Guide OL-14356-01 14. clear bgp { ipv4 { unicast | multicast | labeled-unicast | a ll } | ipv6 { unicast | multicast | all | labeled-unicast } | all { unicast | multicast | all | labeled-unicast } | vpn v4 unicast | vrf {[...]
-
Page 82
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-68 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 5 end or commit Example: RP/0/RP0/CPU0:router(config-bgp-af)# end or RP/0/RP0/CPU0:router(config-bgp-af)# commit Sav es configuration changes. • When yo u issue the end command, the system prom[...]
-
Page 83
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-69 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 8 show bgp [ ipv4 { unicast | multicast | labeled-unicast | all } | ipv6 { unicast | multicast | all | labeled-unicast } | all { unicast | multicast | all | labeled-unicast } | vpnv4 unicast [ rd rd[...]
-
Page 84
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-70 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 12 clear bgp { ipv4 { unicast | multicast | labeled-unicast | all } | ipv6 { unicast | multicast | all | labeled-unicast } | all { unicast | multicast | all | labeled-unicast } | vpnv4 unicast | [...]
-
Page 85
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-71 Cisco IOS XR Routing Configuration Guide OL-14356-01 Applying Policy When Updating the Routing Table Pe r fo r m t hi s t as k t o apply a routing policy to routes being installed into the routing table. Prerequisites See the Implementing Routing P olicy o[...]
-
Page 86
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-72 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)[...]
-
Page 87
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-73 Cisco IOS XR Routing Configuration Guide OL-14356-01 Setting BGP Administrative Distance Perform this task to specify the use of ad ministrati ve distances th at can be used to prefer one class of route ov er another . SUMMARY STEPS 1. conf igure 2. router[...]
-
Page 88
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-74 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring a BGP Neighbor Group and Neighbors Perform this task to conf igure BGP neighbor grou ps and apply the neighbor group conf iguration to a neighbor . A neighbor group is a template that hold[...]
-
Page 89
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-75 Cisco IOS XR Routing Configuration Guide OL-14356-01 Note All commands that can be conf igured under a specif ied neighbor group can be conf igured under a neighbor . SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. address-family { ipv4 unicast | ip[...]
-
Page 90
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-76 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 4 exit Example: RP/0/RP0/CPU0:router(config-bgp-af)# exit Exits the curren t confi guration mode. Step 5 neighbor-group name Example: RP/0/RP0/CPU0:router(config-bgp)# neighbor-group nbr-grp-A Pl[...]
-
Page 91
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-77 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring a Route Reflector for BGP Perform this task to conf ig ure a route reflector for BGP . All the neighbo rs configur ed with the r oute-reflector -client command are members of the client group[...]
-
Page 92
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-78 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 6. address-family { ipv4 unicast | ipv4 mul ticast | ipv4 labeled-unicast | ipv4 tunnel | ipv 4 mdt | ipv6 unicast | ip v6 multicast | ipv6 labeled-unicast | vpn v4 unicast | vpn v6 unicast } 7. route[...]
-
Page 93
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-79 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring BGP Route Filtering by Route Policy Perform this task to conf igure BGP routing f iltering by route polic y . Prerequisites See the Implementing Routing P olicy on Cisco IOS XR Softwa r e mod[...]
-
Page 94
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-80 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 route-policy name Example: RP/0/RP0/CPU0:[...]
-
Page 95
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-81 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring BGP Next-hop Trigger Delay Perform this task to conf igure BGP ne xt-hop tr igger delay . The Routing Information Base (RIB) classifies the dampening notif ications based on the se verity of [...]
-
Page 96
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-82 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)[...]
-
Page 97
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-83 Cisco IOS XR Routing Configuration Guide OL-14356-01 Disabling Next-hop Processing on BGP Updates Perform this task to disable ne xt-hop calculation for a neighbor and in sert your o wn address in the next- hop fiel d of BGP updates. Disabling t he calcula[...]
-
Page 98
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-84 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring BGP Community and Extended-Community Advertisements Perform this task to specify that communi ty attrib utes should be sent to an eBGP n eighbor . Perform this task to specify that communi[...]
-
Page 99
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-85 Cisco IOS XR Routing Configuration Guide OL-14356-01 Note BGP community and ext ended-community f iltering cannot be conf igured for iBGP neighbors. Communities and e xtended-communities are al ways sent to iBGP nei ghbors SUMMARY STEPS 1. conf igure 2. ro[...]
-
Page 100
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-86 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring the BGP Cost Community Perform this task to conf igure the BGP cost commu nity . BGP recei ves multipl e paths to the same destination and it uses the best-path al gorithm to deci de which[...]
-
Page 101
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-87 Cisco IOS XR Routing Configuration Guide OL-14356-01 5. router bgp as-number 6. default-inf ormation originate or address-family { ipv4 unicast | ipv4 mu lticast | ipv4 tunnel | ipv4 mdt | ipv6 unicast | ipv6 multicast | vpn v4 unicast | vpn v6 unicast } a[...]
-
Page 102
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-88 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 address-family { ipv4 unicast | ipv4 mu lticast | ipv4 tunnel | ipv4 mdt | ipv6 unicast | ipv6 multicast | vpn v4 unicast | vpn v6 unicast } redistrib ute static [ metric metric-value ] [ ro ute-polic[...]
-
Page 103
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-89 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 5 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 120 Enters BGP configuratio n mode allowing you to conf igu re the BGP routing process. Step 6 default-information originate [...]
-
Page 104
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-90 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 address-family { ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv4 mdt | ipv6 unicast | ipv6 multicast | vpnv4 unicast | vpnv6 unicast } redistribute ospfv3 process-id [ match { external [ 1 | 2 ] | [...]
-
Page 105
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-91 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Software to Store Updates from a Neighbor Pe r fo rm t hi s t a sk to configure the software to store updates recei ved from a neighbor . The soft-reconf iguration inbound command causes a ro[...]
-
Page 106
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-92 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 4. address-family { ipv4 unicast | ipv4 mul ticast | ipv4 labeled-unicast | ipv4 tunnel | ipv 4 mdt | ipv6 unicast | i pv6 multicast | ipv6 labeled-unicast | vpn v4 unicast | vpn v6 unicast } 5. soft-[...]
-
Page 107
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-93 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Distributed BGP Pe r fo r m t hi s t as k t o configure distributed BGP . Configuring distributed BGP includes starting the speaker process and allocating the speak er process to a neighbor .[...]
-
Page 108
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-94 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 5. address-family { ipv4 unicast | ipv4 mu lticast | ipv4 tunnel | ipv4 mdt | ipv6 unicast | ipv6 multicast | vpn v4 unicast | vpn v6 unicast } 6. exit 7. neighbor ip-addr ess 8. remote-as a s-number [...]
-
Page 109
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-95 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 7 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 Places the router in neighbor conf iguration mode for BGP routing and conf igures the neighbor I P address as [...]
-
Page 110
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-96 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring a VPN Routing and Forwarding Instance in BGP The follo wing tasks are used to confi gure a VPN routi ng and forw arding (VRF) inst ance in BGP: • Defin ing the V irtual Routing and Forw [...]
-
Page 111
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-97 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 3 address-family { ipv4 | ipv6 } unicast Example: RP/0/RP0/CPU0:router(config-vrf)# address-family ipv4 unicast Enters address family conf iguration mode for the specified address family . Step 4 ma[...]
-
Page 112
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-98 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring the Route Distinguisher The route disting uisher (RD) makes pref ixes unique across multipl e VPN routing and for warding (VRF) instances. Perform this task to c on fi gur e t he RD . SUMM[...]
-
Page 113
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-99 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)# r[...]
-
Page 114
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-100 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring PE-PE or PE-RR Interior BGP sessions T o enable BGP to carry VPN reachability i nformation between provider edg e (PE) routers you must confi gure the PE-PE interior BGP (IBGP) sessions. [...]
-
Page 115
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-101 Cisco IOS XR Routing Configuration Guide OL-14356-01 3. address-family { vpn v4 unicast | vpn v6 unicast } 4. bgp dampening [ half-li fe [ r euse suppr ess max-suppr ess-time ] | route-poli cy r oute-policy-name ] 5. bgp client-to-client re flection disab[...]
-
Page 116
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-102 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 5 bgp client-to-client reflection disable Example: RP/0/RP0/CPU0:router(config-bgp-af)# bgp client-to-client reflection disable Disables reflection of routes between route refle ction clients us[...]
-
Page 117
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-103 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Route Reflector to Hold Routes That Have a Defined Set of RT Communities A provider edge (PE) need s to hold the routes that match the imp ort route targets (R Ts) of the VPNs configured on [...]
-
Page 118
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-104 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Note Note that this process can be more eff icient if the PE-RR session suppo rts extended communi ty outbound route filt er (ORF). Perform this task to conf igure a reflector to retain routes tagg e[...]
-
Page 119
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-105 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring BGP as a PE-CE Protocol Perform this task to conf igure BGP on the PE and est ablish PE-CE communication usin g BGP . SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. vrf vrf-name 4. b[...]
-
Page 120
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-106 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 13. ebgp-multihop [ ttl-value ] 14. address-family { ipv4 { unicast | labeled-unicast } | ipv6 unicast } 15. site-of-origin [ as-n umber : nn | ip-addr ess : nn ] 16. as-ove rrid e 17. allowas-in [ a[...]
-
Page 121
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-107 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 6 address-family { ipv4 | ipv6 } unicast Example: RP/0/RP0/CPU0:router(config-bgp-vrf)# address-family ipv4 unicast Enters VPN address family configuration mode. Step 7 network { ip-address / prefi[...]
-
Page 122
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-108 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 14 address-family { ipv4 { unicast | labeled-unicast } | ipv6 unicast } Example: RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)# address-family ipv4 unicast Enables an address family for the CE peer .[...]
-
Page 123
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-109 Cisco IOS XR Routing Configuration Guide OL-14356-01 BGP Load Balancing Perform this ta sk to enable BGP mu ltipath load sh aring for external BGP (EBGP), interior BGP (IBGP), and EIBGP and to enable BGP to car ry link bandwidth attrib ute of the DMZ link[...]
-
Page 124
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-110 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 9. 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 bgp as-number Example: RP/0/RP0/C[...]
-
Page 125
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-111 Cisco IOS XR Routing Configuration Guide OL-14356-01 Redistribution of IGPs to BGP Perform this task to conf igure redistrib ution of a protocol into the VRF address family . Even if Int erior Gate way Protocols (IGPs) are used as the PE- CE protocol, the[...]
-
Page 126
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-112 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 redistrib ute ospf pr ocess-id [ match { external [ 1 | 2 ] | internal | nssa-external [ 1 | 2 ]}] [ metric metric-v alue ] [ route-policy r oute-policy-name ] or red is t ri but e os pf v3 pr ocess-[...]
-
Page 127
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-113 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 5 redistribute connected [ metric metric-value ] [ route-policy route-policy-name ] or redistribute eigrp process-id [ match { external | internal }] [ metric metric-value ] [ route-policy route-po[...]
-
Page 128
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-114 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Keychains for BGP K eychains pro vide secure authentication b y supporting dif ferent MA C authentication algorithms and provide g raceful key rollov er . Perform this task to conf igure [...]
-
Page 129
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-115 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring an MDT Address Family Session in BGP Perform this task to conf igure an IPv4 multicast distr ibution t ree (MDT) subaddress family i dentifier (SAFI) session in BGP . Note The MDT address-fa[...]
-
Page 130
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-116 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 5. address-family ipv4 mdt 6. exit 7. neighbor ip-addr ess 8. remote-as a s-number 9. address-family { ipv4 unicast | ipv4 mul ticast | ipv4 labeled-unicast | ipv4 tunnel | ipv 4 mdt | ipv6 unicast |[...]
-
Page 131
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-117 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 6 exit Example: RP/0/RP0/CPU0:router(config-bgp-af)# exit Exits the current con figurat ion mode. Step 7 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 Places[...]
-
Page 132
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-118 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Disabling a BGP Neighbor Perform this task to administ rativ ely shut down a neig hbor session without removin g the conf iguration. SUMMARY STEPS 1. conf igure 2. router bgp as-number 3. neighbor ip[...]
-
Page 133
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-119 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 bgp as-number Example: RP/0/RP0/CPU0:router(config)# [...]
-
Page 134
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-120 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Resetting Neighbors Using BGP Inbound Soft Reset Pe r fo r m t hi s t as k t o trigger an inbound soft reset of the specified address families for the specified group or ne igh b or s. The group is s[...]
-
Page 135
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-121 Cisco IOS XR Routing Configuration Guide OL-14356-01 T o determine whether the neigh bor has adver tised the R OUTE_REFRESH capability , use the show bgp neighbors command. SUMMARY STEPS 1. show bgp neighbors 2. clear bgp { ipv4 { unicast | multicast | la[...]
-
Page 136
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-122 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 DETAILED ST EPS Clearing Caches, Tables, and Databases Perform this task to remo ve all cont ents of a particular cache, table, or database. The clear bgp command resets the sessions of the specif ie[...]
-
Page 137
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-123 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Displaying System and Network Statistics Perform this task to display specif ic statistics, such as the contents of BGP routing tables, caches, and databases. Information pro vided can b[...]
-
Page 138
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-124 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 DETAILED ST EPS Command or Action Purpose Step 1 show bgp cidr-only Example: RP/0/RP0/CPU0:router# show bgp cidr-only Displays routes with non natural network masks (classless interdomain routing [CI[...]
-
Page 139
Implementing BGP on Cisco IOS XR Software How to Implement BGP on Cisco IOS XR Software RC-125 Cisco IOS XR Routing Configuration Guide OL-14356-01 Displaying BGP Process Information Perform this task to display speci fic BGP process informatio n. SUMMARY STEPS 1. show bgp process 2. show bgp ipv4 unicast summary 3. show bgp vpn v4 unicast summary [...]
-
Page 140
Implementing BGP on Ci sco IO S XR Software How to Implement BGP on Cisco IOS XR Software RC-126 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Monitoring BGP Update Groups This task displays information related to the processing of BGP updat e groups. SUMMARY STEPS 1. show bgp [ ipv4 { unicas t | multicast | labeled-unicast | all | tunnel |[...]
-
Page 141
Implementing BGP on Cisco IOS XR Software Configuration Examples for Implem enting BGP on Cisco IOS XR Software RC-127 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Configuration Examples for Implementing BGP on Cisco IOS XR Software This section pro vides the follo wing configuratio n examples: • Enabling BGP: Example, pag[...]
-
Page 142
Implementing BGP on Ci sco IO S XR Software Configuration Examples for Implementing BGP on Cisco IOS XR Software RC-128 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 route-policy set_next_hop_static_v4 if (destination in static) then set next-hop 10.1.0.1 else drop endif end-policy route-policy set_next_hop_agg_v6 set next-hop 2003::121 end[...]
-
Page 143
Implementing BGP on Cisco IOS XR Software Configuration Examples for Implem enting BGP on Cisco IOS XR Software RC-129 Cisco IOS XR Routing Configuration Guide OL-14356-01 route-policy pass-all out address-family ipv4 multicast route-policy pass-all in route-policy pass-all out Displaying BGP Update Groups: Example The follo wing is sample outpu t [...]
-
Page 144
Implementing BGP on Ci sco IO S XR Software Configuration Examples for Implementing BGP on Cisco IOS XR Software RC-130 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 route-policy pass-all in route-policy pass-all out BGP Confederation: Example The follo wing is a sample configu ration that sho ws sev eral peers in a confederation. The confe[...]
-
Page 145
Implementing BGP on Cisco IOS XR Software Configuration Examples for Implem enting BGP on Cisco IOS XR Software RC-131 Cisco IOS XR Routing Configuration Guide OL-14356-01 exit address-family ipv4 unicast route-policy pass-all in route-policy pass-all out In a BGP speak er in autonomous system 600 3, the peers from autonomou s systems 6001 and 6002[...]
-
Page 146
Implementing BGP on Ci sco IO S XR Software Where to Go Ne xt RC-132 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 address-family ipv4 multicast route-reflector-client BGP MDT Address Family Configuration: Example The follo wing e xample sho ws ho w to conf igure an MDT address f amily in BGP: router bgp 10 bgp router-id 10.0.0.2 address-fa[...]
-
Page 147
Implementing BGP on Cisco IOS XR Software Additional References RC-133 Cisco IOS XR Routing Configuration Guide OL-14356-01 Additional References The follo wing sections pro vide references relate d to implementing BGP for Cisco IOS XR softw are. Related Documents Standards Related T opic Document T itle BGP commands: complete command syntax, comma[...]
-
Page 148
Implementing BGP on Ci sco IO S XR Software Additional References RC-134 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 MIBs RFCs Technical Assistance MIBs MIBs Link — T o locat e and download MIBs using Cisc o IOS XR software, use the Cisco MIB Locator found at the follo wing URL and choose a platform under the Cisco Access Products menu:[...]
-
Page 149
RC-135 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing EIGRP on Cisco IOS XR Software The Enhanced Interior G atew ay Routing Protocol (EIGRP) is an en hanced version of IGRP de veloped by Cisco. EIGRP uses distance v e ctor routing t echnol ogy , w hich specifies that a router need not know all the router and link relationships f[...]
-
Page 150
Implementing EIGRP on Cisco IOS XR Software Prerequisites for Implementing EIGRP on Cisco IOS XR Software RC-136 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Information About Implementing EIGRP on Cisco IOS XR Software, page RC-1 36 • Ho w to Implement EIGRP on Cisco IOS XR Sof tware, page RC-148 • Config uration Examples for Impl[...]
-
Page 151
Implementing EI GRP on Cisco IOS XR Software Information A bout Implemen ting EIGRP on Cisc o IOS XR Software RC-137 Cisco IOS XR Routing Configuration Guide OL-14356-01 • Floating Summary Routes fo r an EIGRP Process, page RC-142 • Split Horizon for an EIGRP Process, page RC-144 • Adjustment of Hello Interv al and Hold T ime for an EIGRP Pro[...]
-
Page 152
Implementing EIGRP on Cisco IOS XR Software Information About Im plementin g EIGRP on Cisco IOS XR Software RC-138 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Provider Edge (PE)-Custo mer Edge (CE) protocol support with Site of Ori gin (SoO) and Border Gate way Protocol (BGP) cost commu nity support. • PECE protocol support for MPLS[...]
-
Page 153
Implementing EI GRP on Cisco IOS XR Software Information A bout Implemen ting EIGRP on Cisc o IOS XR Software RC-139 Cisco IOS XR Routing Configuration Guide OL-14356-01 EIGRP Configuration Grouping Cisco IOS XR software gr oups all EIGRP conf iguration under rou ter EIGRP confi guration mode, including interface configurat ion portions associated [...]
-
Page 154
Implementing EIGRP on Cisco IOS XR Software Information About Im plementin g EIGRP on Cisco IOS XR Software RC-140 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 RP/0/RP0/CPU0:router(config)# router eigrp 100 RP/0/RP0/CPU0:router(config-eigrp)# vrf customer1 RP/0/RP0/CPU0:router(config-eigrp-vrf)# address-family ipv6 RP/0/RP0/CPU0:router(con[...]
-
Page 155
Implementing EI GRP on Cisco IOS XR Software Information A bout Implemen ting EIGRP on Cisc o IOS XR Software RC-141 Cisco IOS XR Routing Configuration Guide OL-14356-01 Metric Weights for EIGRP Routing EIGRP uses the minimum b andwidth on the path to a de stination netwo rk and the total delay to compute routing metrics. Y ou can use the metric we[...]
-
Page 156
Implementing EIGRP on Cisco IOS XR Software Information About Im plementin g EIGRP on Cisco IOS XR Software RC-142 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The Goodbye Message The goodbye message is a feature designed to improve EIGRP network con ver gence. The goodbye message is broadcast when an EIGRP routin g process is shut do wn t[...]
-
Page 157
Implementing EI GRP on Cisco IOS XR Software Information A bout Implemen ting EIGRP on Cisc o IOS XR Software RC-143 Cisco IOS XR Routing Configuration Guide OL-14356-01 Figur e 1 Floating Summary Rout e Is Applied to Router -B The config uration of the default summary ro ute on Router -B sends a 0.0.0.0/0 summary route to Router-C an d blocks all [...]
-
Page 158
Implementing EIGRP on Cisco IOS XR Software Information About Im plementin g EIGRP on Cisco IOS XR Software RC-144 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Figur e 2 Floating Summary Rout e Applied for Du al-Homed Remote s Howe ver , if the link between Router -D and Router -E fails, the netw ork may dump traf fic in to a black hole be[...]
-
Page 159
Implementing EI GRP on Cisco IOS XR Software Information A bout Implemen ting EIGRP on Cisc o IOS XR Software RC-145 Cisco IOS XR Routing Configuration Guide OL-14356-01 Adjustment of Hello Interval and Hold Time for an EIGRP Process Y o u can adjust the in terval between hello packets and the h old time. Routing devices pe riodically send hello pa[...]
-
Page 160
Implementing EIGRP on Cisco IOS XR Software Information About Im plementin g EIGRP on Cisco IOS XR Software RC-146 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Figure 3 Simple Hub-and-Spoke Netw or k The stub routing featu re by itsel f does not pre vent routes from being ad vertised to the remot e router . In the example in Figure 3 , the[...]
-
Page 161
Implementing EI GRP on Cisco IOS XR Software Information A bout Implemen ting EIGRP on Cisc o IOS XR Software RC-147 Cisco IOS XR Routing Configuration Guide OL-14356-01 This is the command to set the EIGRP metric in a ro ute polic y: RP/0/RP0/CPU0:router(config-rpl)# set eigrp-metric bandwidth delay reliability loading mtu This is the command to p[...]
-
Page 162
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-148 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 When BGP and EIGRP peers that support the SoO e xtended community recei ve these routes, they also receiv e the associated SoO v alues and pass them to other BG P and EIGRP peers that support the S[...]
-
Page 163
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-149 Cisco IOS XR Routing Configuration Guide OL-14356-01 Enabling EIGRP Routing This task enables EIGRP routing an d establishes an EIGRP routing process. Prerequisites Although you can conf igure EIGRP before you conf igur e an IP addr ess, no EIGRP rou[...]
-
Page 164
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-150 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 4 router-id id Example: RP/0/RP0/CPU0:router(config-eigrp)# router-id 172.20.1.1 (Optional) Co nfigures a r outer -id for an EIGRP process. Note It is good practice to use the ro ut er-i d com[...]
-
Page 165
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-151 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Route Summarization for an EIGRP Process This task conf igures route summarization for an EIGRP process. Y o u can configure a summary aggre gate address for a specified interf ace. If [...]
-
Page 166
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-152 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 2. router eigr p as-number 3. address-family { ipv4 | ipv6 } 4. route-policy name out 5. interfac e type instan ce 6. summary-address ip-add r ess { / length | mask } [ admi n-distance ] 7. end or [...]
-
Page 167
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-153 Cisco IOS XR Routing Configuration Guide OL-14356-01 Redistributing Routes for EIGRP This task ex plains ho w to redistrib ute routes, apply limits on the number of routes, and set timers for nonstop forw arding. SUMMARY STEPS 1. conf igure 2. router[...]
-
Page 168
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-154 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 9. 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 eigrp as-number Example: RP/0/R[...]
-
Page 169
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-155 Cisco IOS XR Routing Configuration Guide OL-14356-01 Creating a Route Policy and Attaching It to an EIGRP Process This task def ines a route policy an d shows ho w to attach it to an EIGRP process. A route polic y definit ion consists of the route-po[...]
-
Page 170
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-156 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 8. address-family { ipv4 | ipv6 } 9. route-policy r oute-policy-nam e { in | out } 10. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# config[...]
-
Page 171
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-157 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 6 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf iguration mode. Step 7 router eigrp as-number Example: RP/0/RP0/CPU0:router(config)# router eigrp 100 Configures an EIGR[...]
-
Page 172
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-158 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Stub Routing for an EIGRP Process This task conf igures the distrib ution and remote routers to use an EIGRP process for stub r outing. Restrictions EIGRP stub routing shoul d be used o[...]
-
Page 173
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-159 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring EIGRP as a PE-CE Protocol Perform this task to conf igure EIGRP on the provider edge (PE) and establis h provider edge-to -customer edge (PE-CE) communi cation using EIGRP . SUMMARY STE[...]
-
Page 174
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-160 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 10. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global co nfiguration mode. Step 2 router eigrp as-number Example: RP/0/[...]
-
Page 175
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-161 Cisco IOS XR Routing Configuration Guide OL-14356-01 Redistributing BGP Routes into EIGRP Perform this task to redistri b ute BGP routes into EIGRP . T ypically , EIGRP routes are redistributed into BGP wit h extended community in formation appended [...]
-
Page 176
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-162 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 3. vrf vrf-name 4. address-family { ipv4 | ipv6 } 5. red is t ri but e {{ bgp | connect ed | isis | ospf | ospfv3 | rip | static } [ as-number | instance-name ]} [ rout e-policy name ] 6. route-pol[...]
-
Page 177
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-163 Cisco IOS XR Routing Configuration Guide OL-14356-01 Monitoring EIGRP Routing The commands in this section are used to log neighb or adjacency changes, moni tor the stability of t he routing system , and help dete ct problems. SUMMARY STEPS 1. conf i[...]
-
Page 178
Implementing EIGRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-164 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 10. show eigrp [ as-number ] [ vrf { vrf | all }] [ ipv4 | ipv6 ] interfaces [ type instance ] [ detail ] 11. show eigr p [ as-number ] [ vrf { vrf | all }] [ ipv4 | ipv6 ] neighbors [ detail ] [ i[...]
-
Page 179
Implementing EI GRP on Cisco IOS XR Software How to Implement EIGRP on Cisco IOS XR Software RC-165 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 6 end or commit Example: RP/0/RP0/CPU0:router(config-eigrp-af)# end or RP/0/RP0/CPU0:router(config-eigrp-af)# commit Sav es configuration changes. • When yo u issue the end command, the syst[...]
-
Page 180
Implementing EIGRP on Cisco IOS XR Software Configuration Examples for Implementing EIGRP on Cisco IOS XR Softwar e RC-166 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuration Examples for Implementing EIGRP on Cisco IOS XR Software This section pro vides the follo wing configuratio n examples: • Config uring a Basic EIGRP Conf igu[...]
-
Page 181
Implementing EI GRP on Cisco IOS XR Software Configuration Examples for Imp lementing EIGRP on Cisco IOS XR Software RC-167 Cisco IOS XR Routing Configuration Guide OL-14356-01 interface POS0/2/0/0 passive-interface ! interface GigabitEthernet0/6/0/0 hello-interval 8 hold-time 30 summary-address 10.0.0.0 255.255.0.0 ! ! ! Configuring an EIGRP St ub[...]
-
Page 182
Implementing EIGRP on Cisco IOS XR Software Additional References RC-168 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Additional References The follo wing sections pro vide references related to implementing EIGRP on Cisco IOS XR soft ware. Related Documents Standards MIBs RFCs Related T opic Document T itle EIGRP commands: complete comman[...]
-
Page 183
Implementing EI GRP on Cisco IOS XR Software Additional References RC-169 Cisco IOS XR Routing Configuration Guide OL-14356-01 Technical Assistance Description Link The Cisco T echnical Support website contain s thousands of pa ges of sear chable technical content, including lin ks to products, technologies, so lutions, technical tips, and tools. R[...]
-
Page 184
Implementing EIGRP on Cisco IOS XR Software Additional References RC-170 Cisco IOS XR Routing Configuratio n Guide OL-14356-01[...]
-
Page 185
RC-171 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing OSPF on Cisco IOS XR Software Open Shortest Path First (OSPF) is an Interior Gatew ay Protocol (IGP) de ve loped b y the OSPF working group of the Internet Engineering T ask Force (I ETF). Designed e xpressly for IP networks, OSPF supports IP subnetting and tagging of external[...]
-
Page 186
Implementing OSPF on Cisc o IOS XR Softwa re Contents RC-172 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Contents • Prerequisites for Implementing OSPF on Cisco I OS XR Software, page RC-172 • Information Ab out Implementing OSPF on Cisco IO S XR Software, page RC-173 • How to Implement OSPF on Cisco IOS XR Softw are, page RC-194 ?[...]
-
Page 187
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 OL-14356-01 Information About Implementing OSPF on Cisco IOS XR Software T o implement OSPF you need to un derstand the fo llo wing concepts: • OSPF Functional Ov ervie w , page RC-173 • K ey F[...]
-
Page 188
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-174 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 neighboring netw orking de vices. The interf ace information includes the IP addr ess of the interface, network mask , type of network to w hich it is connected, router s connected [...]
-
Page 189
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 OL-14356-01 minimum, OSPF-based ro uters or access serv ers can be configured with all def ault parameter values, no authentication, and interfaces assigne d to areas. If you intend to cust omize y[...]
-
Page 190
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-176 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 OSPF Hierarchical CLI and CLI Inheritance Cisco IOS XR software introduces ne w OSPF conf iguration fundamentals consisting of hierarchi cal CLI and CLI inheritance. Hierarchical CL[...]
-
Page 191
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 OL-14356-01 Figur e 1 OSPF Routing Components Autonomous Systems The autonomous system is a collection of networks, under the same administrativ e control, that share routing info rmation with ea c[...]
-
Page 192
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-178 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The backbone itself has all properties of an area. It co nsists of ABRs, routers, and netw orks only on the backbone. As sho wn in Figure 1 , Area 0 is an OSPF backbone ar ea. Any O[...]
-
Page 193
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 OL-14356-01 ASBRs can import e xternal routing informatio n from other proto cols like BGP and redistri bute them as AS-exter nal (ASE) T ype 5 LSAs to the OSPF network. If the Cisco IOS XR router [...]
-
Page 194
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-180 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Point-to-multip oint Y ou can configure your Ci sco IOS XR network as either a broadcast or an NBMA netw ork. Using this feature, you can configure broadcast networks as NBMA ne[...]
-
Page 195
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 OL-14356-01 which de vices start using the new ke y , and the software stops sending duplicate packets after it detects that all of its neig hbors are using th e new k ey . The soft ware then disca[...]
-
Page 196
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-182 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Network LSA (T ype 2)—Descr ibes th e link state and cost informati on for all routers attached to a multiaccess network segment. This LSA lists all th e r outers that h av e [...]
-
Page 197
Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-183 Cisco IOS XR Routing Configuration Guide OL-14356-01 • Interarea-prefix LSA f or ABRs (T ype 3)—Advertises internal network s to routers in other areas (interarea routes). T ype 3 LSAs may repre sent a sing le network or set of networ[...]
-
Page 198
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-184 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 In the case in which an area cannot be connected to Area 0, you must confi gure a virtual link b etween that area and Area 0. The tw o endpoints of a virtual link are ABRs, and the [...]
-
Page 199
Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-185 Cisco IOS XR Routing Configuration Guide OL-14356-01 Figure 3 Backdoor P aths Betw een OSPF Client Sites For e xample, Figure 3 show s three client sites, each with ba ckdoor links. Because each site runs OSPF within Area 1 conf iguration[...]
-
Page 200
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-186 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Figure 4 Sham Link Bet ween PE Routers t o Connected OSPF Cl ient Sites Figure 4 sho ws an MPL S VPN topolo gy wh ere a sham link configuration is necessary . A V PN client has thre[...]
-
Page 201
Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-187 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 ch osen interv al is within the bo undary [...]
-
Page 202
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-188 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 through in telligent line cards whi le the standby Ro ute Processor (RP) assumes control from the failed RP . The abili ty of line cards to remain up through a fa ilov er and to be [...]
-
Page 203
Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-189 Cisco IOS XR Routing Configuration Guide OL-14356-01 The following are ge neral de tails about restart mo de . More detailed informatio n on beh avior an d certain restrictions and requirements appears in the Graceful R estart Requirement[...]
-
Page 204
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-190 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • T o ensure consistent databases after a restart, the OSPFv3 confi guration mu st be identical to the config uration before the restart. (This requir ement applies to self-origin[...]
-
Page 205
Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-191 Cisco IOS XR Routing Configuration Guide OL-14356-01 Y ou can enable multicast-intact in the IGP when multicast rou ting protocols (PIM) are confi gured and IGP shortcuts are conf igured on the router . IGP shortc uts are MPLS tunnels tha[...]
-
Page 206
Implementing OSPF on Cisc o IOS XR Softwa re Information About Im plementing OSPF on Cisco IO S XR Software RC-192 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Establishes a neighbor relationsh ip with the corre spondi ng multi-area interface on the neighboring router . A mixture of multi-area and primary in terfaces is not supported. [...]
-
Page 207
Implementing OSPF on Cisco IO S XR Software Information About Implementing OSPF on Cisco IOS XR Software RC-193 Cisco IOS XR Routing Configuration Guide OL-14356-01 OSPF Authentication Message Digest Management All OSPF routing protocol e xchanges are authenticate d and the method used can va ry depending on how authentication is conf igured. When [...]
-
Page 208
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-194 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 For detailed in formation for the P ath Computation Element feature see the “Implementing MPLS T raf fic Engineering on Cisco IOS XR software” modu le of the Cisco IOS XR MPLS Configur ation Gu[...]
-
Page 209
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 OL-14356-01 Prerequisites Although you can configure OSPF befor e you configure an IP addre ss, no OSPF routing occur s until at least one IP address is configured. SUMMARY STEPS 1. conf igure 2. router ospf pr [...]
-
Page 210
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-196 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 4 area area-id Example: RP/0/RP0/CPU0:router(config-ospf)# area 0 Enters area configuration mode and conf igures an area for the OSPF process. • Backbone areas have an area ID of 0. • Nonb[...]
-
Page 211
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 OL-14356-01 Configuring Stub and Not-So-Stubby Area Types This task explains ho w to c onf igure the stub area and the NSSA for OSPF . SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name or router ospfv3 pr[...]
-
Page 212
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-198 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 4 area area-id Example: RP/0/RP0/CPU0:router(config-ospf)# area 1 Enters area conf iguration mode and conf igures a nonbackbone area for the OSPF process. • The ar ea -id argument can be ent[...]
-
Page 213
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 OL-14356-01 Configuring Neighbors for Nonbroadcast Networks This task ex plains ho w to conf igure neighbors for a n onbroadcast network . This task is optional. Prerequisites Config uring NBMA networks as eith [...]
-
Page 214
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-200 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 9. neighbor ip-addr ess [ priority number ] [ poll-interval seconds ] [ cost number ] or neighbor ipv6-link-loca l-addr ess [ priority numbe r ] [ poll-inter val seconds ] [ cost number ] [ databas[...]
-
Page 215
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 OL-14356-01 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 netwo[...]
-
Page 216
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-202 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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-f[...]
-
Page 217
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 OL-14356-01 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 ][ [...]
-
Page 218
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-204 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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[...]
-
Page 219
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 OL-14356-01 5. message-digest-key key-id md5 { key | clear key | encrypted ke y } 6. area ar e a-id 7. interface type instance 8. Repeat Step 7 for each interface that must communicate, using the same authentica[...]
-
Page 220
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-206 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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: R[...]
-
Page 221
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 OL-14356-01 Controlling the Frequency That the Same LSA Is Originated or Accepted for OSPF This task ex plains ho w to tune the con vergence time of OSPF routes in the routing table when many LSAs need to be flo[...]
-
Page 222
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-208 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 osp[...]
-
Page 223
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 OL-14356-01 Creating a Virtual Link with MD5 Authentication to Area 0 for OSPF This task e xplains ho w to create a virtual link to you r backbone (area 0) and appl y MD5 authentication. Y ou must perform the st[...]
-
Page 224
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-210 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • 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 change, wh ich could happen if the y are assigned by def[...]
-
Page 225
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 OL-14356-01 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) Di[...]
-
Page 226
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-212 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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[...]
-
Page 227
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 OL-14356-01 Examples In the follo wing example, th e show ospfv3 virtual links EXEC command v erif ies that the OSPF_VL0 virtual link to the OSPFv3 neighbor is up, the ID of the virtual link interface is 2, and [...]
-
Page 228
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-214 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 osp[...]
-
Page 229
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 OL-14356-01 Redistributing Routes from One IGP into OSPF This task redistrib utes routes f rom an IGP (c ould be a diff erent OSPF process) into OSPF . Prerequisites For information about conf igur ing routing p[...]
-
Page 230
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-216 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 5. summary-pref ix addr ess mask [ not-adverti se ] [ tag tag ] or summary-pref ix ipv6-pr efix / p r efix-lengt h [ not-advertise ] [ tag tag ] 6. end or commit DETAILED ST EPS Command or Action P[...]
-
Page 231
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 OL-14356-01 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 }] [ t[...]
-
Page 232
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-218 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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-pref[...]
-
Page 233
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 OL-14356-01 Configuring OSPF Shortest Path First Throttling This task explains ho w to configure SPF schedulin g in mill isecond intervals and potential ly delay SPF calculations during times of network instabil[...]
-
Page 234
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-220 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 3 router-id { router-id } 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 stable IPv4 address as the[...]
-
Page 235
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 OL-14356-01 Step 3 router-id { router-id } Example: RP/0/RP0/CPU0:router(config-ospf)# router-id 192.168.4.3 Configures a r outer ID for the OSPF process. Note W e recommend using a stable IPv4 address as the ro[...]
-
Page 236
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-222 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 3 router-id { router-id } 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 stable IPv4 address as the[...]
-
Page 237
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 OL-14356-01 Examples In the follo wing example, the show ospf EXEC command is used to verify that the initial SPF schedule delay time, minimum hold time, and maximum w ait time are conf igured correctly . Additi[...]
-
Page 238
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-224 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Non-Stop Forwarding enabled Note For a description of each o utput display f ield, see the show ospf command in the OSPF Commands o n Cisco IOS XR Softwar e module in the Cisco IOS XR Routing Comma[...]
-
Page 239
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 OL-14356-01 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(co[...]
-
Page 240
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-226 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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[...]
-
Page 241
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 OL-14356-01 SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name 3. rou t er-i d { r outer-id } 4. mpls traffic-eng ro uter -id { ip-addr ess | interface-type interface-instan ce } 5. area ar e a-id 6. mpls [...]
-
Page 242
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-228 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 5 area area-id Example: RP/0/RP0/CPU0:router(config-ospf)# 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[...]
-
Page 243
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 OL-14356-01 Examples This section pro vides the follo wing output examples: • Sample Output for the sho w ospf Command Before Configuri ng MPLS TE, page RC-229 • Sample Outpu t for the show ospf mpls traff i[...]
-
Page 244
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-230 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 In the following e xample, the show ospf mpls traffic-eng EXEC command v erifies that the MPLS TE links on area instance 3 are configured correctly: RP/0/RP0/CPU0:router# show ospf mpls traffic-eng[...]
-
Page 245
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 OL-14356-01 7. end or commit 8. show ospfv3 [ pr ocess-name [ area-id ]] database grace DETAILED ST EP Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router# configure Enters global conf igura[...]
-
Page 246
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-232 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 enabled and w hen the last[...]
-
Page 247
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 OL-14356-01 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Graceful Restart enabled, last GR 11:12:26 ago (took 6 secs) Area BACKBONE(0) Number of interfaces in this area is 1 SPF algorithm executed[...]
-
Page 248
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-234 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Summary Steps 1. conf igure 2. interface type instance 3. vrf vrf-name 4. ipv4 addr ess ipv4-addr ess mask 5. end 6. router ospf instance-id 7. vrf vrf-name 8. rou t er-i d { r outer-id} 9. red is [...]
-
Page 249
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 OL-14356-01 Step 5 end Example: RP/0/RP0/CPU0:router(config-if)# end Sav es configuration changes. When you issue the end com mand, the system prompt s you to commit chan ges: Uncommitted changes found, commit t[...]
-
Page 250
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-236 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Enabling Nonstop Routing for OSPFv2 This optional task describes ho w to enable nons top routing (NSR) for O SPFv2 processes. NSR is disabled by default. When NSR is enabled, OSPF processes on acti[...]
-
Page 251
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-237 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Enabling Multicast-intact for OSPFv2 This optional task describes ho w to enable multicast-intact for OSPFv2 routes that use IPv4 addresses. Summary Steps 1. conf igure 2. router ospf[...]
-
Page 252
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-238 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 4. end or commit DETAILED ST EPS Associating Interfaces to a VRF This task explains ho w to a ssociate an interface with a VPN Routing and Forwarding (VRF) instance. SUMMARY STEPS 1. conf igure Com[...]
-
Page 253
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-239 Cisco IOS XR Routing Configuration Guide OL-14356-01 2. router ospf pr ocess-name 3. vrf vrf-name 4. interface type instance 5. ipv4 addr ess ip-addr ess mask 6. ipv6 addr ess ipv6-pr efix /pr efix-length [ eui-64 ] 7. ipv4 mtu mtu 8. end or commit DET[...]
-
Page 254
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-240 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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-i d { ro u t e r - i d } 5. red is t ri bu[...]
-
Page 255
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-241 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 Example: RP/0/[...]
-
Page 256
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-242 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 7 interface type instance Example: RP/0/RP0/CPU0:router(config-ospf-vrf)# interface POS 0/0/0/0 Enters interface configuration mode and associates one or more interfaces to th e VRF . Step 8 e[...]
-
Page 257
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-243 Cisco IOS XR Routing Configuration Guide OL-14356-01 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. SUMM[...]
-
Page 258
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-244 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Multi-area Adjacency This task ex plains how to cr eate multi ple areas on an OSPF primary interface. Step 5 exit Example: RP/0/RP0/CPU0:router(config-ospf-ar)# exit Enters OSPF conf ig[...]
-
Page 259
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-245 Cisco IOS XR Routing Configuration Guide OL-14356-01 Restrictions Multiple areas are created only on nativ e point-to -point interf aces, such as Packet-o ver -SONET (PoS) or serial. SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name 3. area ar e[...]
-
Page 260
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-246 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Label Distribution Protocol IGP Auto-configuration for OSPF This task explains ho w to configure LD P auto-conf iguration for an OSPF instance. Optionally , you can configure this feat [...]
-
Page 261
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-247 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Configuring Authentication Message Digest Management for OSPF This task explains ho w to manage a uthenti cation of a ke ychain on the OSPF interface. Prerequisites A vali d key chain[...]
-
Page 262
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-248 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 SUMMARY STEPS 1. conf igure 2. router ospf pr ocess-name 3. rou t er-i d { ro u t e r - i d } 4. area ar e a-id 5. interfac e type instan ce 6. authentication message-digest keychain ke ych ai n 7.[...]
-
Page 263
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-249 Cisco IOS XR Routing Configuration Guide OL-14356-01 Examples The follo wing ex ample shows ho w to configur e the keychain ospf _intf_1 that contai ns fi ve key ID s. Each ke y ID is conf igured with dif ferent send-lifetime v alues; ho we ver , all k[...]
-
Page 264
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-250 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The follo wing e xample sho ws that ke ychain authenticatio n is enabled on the Gigabit Ethernet 0/4/0/1 interface: RP/0/RP0/CPU0:router# show ospf 1 interface GigabitEthernet0/4/0/1 GigabitEtherne[...]
-
Page 265
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-251 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Generalized TTL S ecurity Mechanism (GTSM) for OSPF This task ex plains ho w to set the security ti me-to-li ve mechanism on an interface for GTSM. SUMMARY STEPS 1. conf igure 2. router o[...]
-
Page 266
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-252 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 5 nsf { cisco [ enforce global ] | ietf [ helper disable ]} Example: RP/0/RP0/CPU0:router(config-ospf)# nsf ietf (Optional) Configur es NSF OSPF protocol. The example enables graceful restart.[...]
-
Page 267
Implementing OSPF on Cisco IO S XR Software How to Implement OSPF on Cisco IOS XR Software RC-253 Cisco IOS XR Routing Configuration Guide OL-14356-01 Examples The follo wing is sample output th at displays the GTSM security TTL v alue configured on an OSPF interface: RP/0/RP0/CPU0:router# show ospf 1 interface GigabitEthernet0/5/0/0 GigabitEtherne[...]
-
Page 268
Implementing OSPF on Cisc o IOS XR Softwa re How to Implement OSPF on Cisco IOS XR Software RC-254 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Verifying OSPF Configuration and Operation This task ex plains ho w to ver ify the config uration and operation of OSPF . SUMMARY STEPS 1. show { ospf | ospfv3 } [ pr ocess-name ] 2. show { ospf | [...]
-
Page 269
Implementing OSPF on Cisco IO S XR Software Configuration Examples fo r Implementing OSPF on Cisco IOS XR Software RC-255 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuration Examples for Implementing OSPF on Cisco IOS XR Software This section pro vides the follo wing configuratio n examples: • Cisco IOS XR for OSPF V ersion 2 Conf [...]
-
Page 270
Implementing OSPF on Cisc o IOS XR Softwa re Configuration Examples for Implementing OSPF on Cisco IOS XR Softwa re RC-256 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Cisco IOS XR Software Configuration interface POS 0/3/0/0 ip address 10.1.2.1 255.255.255.255 negotiation auto ! router ospf 1 router-id 10.2.3.4 area 0 interface POS 0/3/0/[...]
-
Page 271
Implementing OSPF on Cisco IO S XR Software Configuration Examples fo r Implementing OSPF on Cisco IOS XR Software RC-257 Cisco IOS XR Routing Configuration Guide OL-14356-01 CLI Inheritance and Precedence for OSPF Version 2: Example The follo wing exampl e configures t he cost parameter at different hi erarchical le vels of t he OSPF topology , an[...]
-
Page 272
Implementing OSPF on Cisc o IOS XR Softwa re Configuration Examples for Implementing OSPF on Cisco IOS XR Softwa re RC-258 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 MPLS TE for OSPF Version 2: Example The follow ing example sho ws how to conf igure the O SPF portion of MPLS TE. Ho we ver , you still need to build an MPLS TE topology and[...]
-
Page 273
Implementing OSPF on Cisco IO S XR Software Configuration Examples fo r Implementing OSPF on Cisco IOS XR Software RC-259 Cisco IOS XR Routing Configuration Guide OL-14356-01 interface POS 0/2/0/1 area 1 stub no-summary interface POS 0/2/0/0 Route Redistribution for OSPFv3: Example The follo wing e xample uses pref ix lists to limit the routes redi[...]
-
Page 274
Implementing OSPF on Cisc o IOS XR Softwa re Configuration Examples for Implementing OSPF on Cisco IOS XR Softwa re RC-260 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Virtual Link Configured with MD5 Authen tication for OSPF Version 2: Example The follo wing e xamples sho w ho w to conf igure a virtual li nk to your backbone an d apply MD[...]
-
Page 275
Implementing OSPF on Cisco IO S XR Software Configuration Examples fo r Implementing OSPF on Cisco IOS XR Software RC-261 Cisco IOS XR Routing Configuration Guide OL-14356-01 ! interface GigabitEthernet0/2/0/2 vrf vrf_1 ipv4 address 100.10.10.2 255.255.255.0 ! interface GigabitEthernet0/2/0/3 ipv4 address 100.20.10.2 255.255.255.0 ! ! route-policy [...]
-
Page 276
Implementing OSPF on Cisc o IOS XR Softwa re Where to Go Ne xt RC-262 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 mpls ldp router-id 2.2.2.1 interface GigabitEthernet0/2/0/3 ! ! end Where to Go Next T o configure route maps through the RPL for OSPF V ersion 2, see the Implementing Routing P olicy on Cisco IOS XR Softwar e document. T o bu[...]
-
Page 277
Implementing OSPF on Cisco IO S XR Software Additional References RC-263 Cisco IOS XR Routing Configuration Guide OL-14356-01 MIBs RFCs MIBs MIBs Link — T o locate an d do wnload MIB s using Cisco IOS XR software, use the Cisco MIB Locator found at the follo wing URL and choose a platform under the Cisco Access Prod ucts menu: http://cisco .com/p[...]
-
Page 278
Implementing OSPF on Cisc o IOS XR Softwa re Additional References RC-264 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Technical Assistance Description Link The Cisco T echnical Support website contain s thousands of pa ges of sear chable technical content, including lin ks to products, technologies, so lutions, technical tips, and tools. [...]
-
Page 279
RC-265 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing IS-IS on Cisco IOS XR Software Integrated Int ermediate System-to-Intermediate System (IS-IS), Internet Protocol V ersion 4 (IPv4), is a standards-based Interior G ate way Protocol (IGP). Cisco IOS XR implements the IP rou ting capabiliti es described in International Or ganiz[...]
-
Page 280
Implementing IS-IS on Cisco IOS XR So ftware Contents RC-266 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Contents • Prerequisites for Implementing IS-IS on Cisco IOS XR Soft ware, page RC-266 • Restrictions for Implementing IS-IS on Cisco IOS XR Softwa re, page RC-266 • Information About Implementing IS-I S on Cisco IOS XR Softw are[...]
-
Page 281
Implementing IS-IS on Cisco IOS XR Software Information About Implementing IS-IS on Cisco IOS XR Software RC-267 Cisco IOS XR Routing Configuration Guide OL-14356-01 • Maximum LSP Lifetime and Refr esh Interv al, page RC-270 • Overload Bit Con figur ation During Multito pology Operat ion, page RC-270 • Single-T opology IP v6 Support, page RC-[...]
-
Page 282
Implementing IS-IS on Cisco IOS XR So ftware Information About Im plementin g IS-IS on Cisco IOS XR Software RC-268 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Single topo logy IPv6 • Multitopolog y • Nonstop forwardi ng (NSF), both Cisco propriet ary and IETF • Three-way handsh ake • Mesh groups • Multiple IS-IS instances ?[...]
-
Page 283
Implementing IS-IS on Cisco IOS XR Software Information About Implementing IS-IS on Cisco IOS XR Software RC-269 Cisco IOS XR Routing Configuration Guide OL-14356-01 Interface Address Family Config uration Mode The follo wing e xample sho ws ho w to enter interface addr ess family conf iguration mode: RP/0/RP0/CPU0:router(config)# router isis isp R[...]
-
Page 284
Implementing IS-IS on Cisco IOS XR So ftware Information About Im plementin g IS-IS on Cisco IOS XR Software RC-270 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Both techniques operate b y restricting the flood ing of LSPs in some f ashion. A direct conseq uence is that although scalability of the network is impro ved, th e reliability of [...]
-
Page 285
Implementing IS-IS on Cisco IOS XR Software Information About Implementing IS-IS on Cisco IOS XR Software RC-271 Cisco IOS XR Routing Configuration Guide OL-14356-01 Single-Topology IPv6 Support Single-topolog y IPv6 support on Cisco IOS XR softw are allow s IS-IS for IPv6 to be conf igured on interfaces along with an IPv4 network protocol. All in [...]
-
Page 286
Implementing IS-IS on Cisco IOS XR So ftware Information About Im plementin g IS-IS on Cisco IOS XR Software RC-272 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Nonstop Forwarding On Cisco IOS XR softwa re, NSF minimizes the amount of time a netw ork is unav ailable to its users follo wing a route p rocessor (RP) failo ver . The main objec[...]
-
Page 287
Implementing IS-IS on Cisco IOS XR Software Information About Implementing IS-IS on Cisco IOS XR Software RC-273 Cisco IOS XR Routing Configuration Guide OL-14356-01 Because the Routing Information Base (R IB) treats each of the IS-IS instances as equal routing clients, you must be careful when redistrib uting routes between IS-IS instances. The RI[...]
-
Page 288
Implementing IS-IS on Cisco IOS XR So ftware Information About Im plementin g IS-IS on Cisco IOS XR Software RC-274 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 the backbone. The attached bit is u sually set automa tically as the router discovers other areas whil e computing its Le vel 2 SPF rout e. The bit is automati cally cl eared when [...]
-
Page 289
Implementing IS-IS on Cisco IOS XR Software Information About Implementing IS-IS on Cisco IOS XR Software RC-275 Cisco IOS XR Routing Configuration Guide OL-14356-01 Multicast Topology Support Using IS-IS Multicast topolog y support allo ws for the configuration of IS-IS multicast topologies for I Pv4 or IPv6 routing. IS-IS maintains a separate top[...]
-
Page 290
Implementing IS-IS on Cisco IOS XR So ftware Information About Im plementin g IS-IS on Cisco IOS XR Software RC-276 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Label Distribution Protocol IGP Auto-configuration Label Distrib ution Protocol (LDP) Inte rior Gate way Protocol (IGP) auto-configuration simpli f ies the procedure to enable LDP [...]
-
Page 291
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-277 Cisco IOS XR Routing Configuration Guide OL-14356-01 Note IPFRR is supported on the Cisco CRS-1 router . IPFRR LF A is dif ferent from Multiproto col Label Switc hing (MPLS) as i t is applicable to networks using con ventional IP routing and forw ardi[...]
-
Page 292
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-278 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 SUMMARY STEPS 1. conf igure 2. router isis instance-id 3. net network-entity-title 4. is-typ e { lev el-1 | level-1-2 | level-2-only } 5. end or commit 6. show isis [ instance instance-id ] protoc[...]
-
Page 293
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-279 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 4 is-type { level-1 | level-1-2 | level-2-only } Example: RP/0/RP0/CPU0:router(config-isis)# is-type level-2-only (Optional) Conf igures the system type (area or backbone router). • By defaul[...]
-
Page 294
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-280 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Single Topology for IS-IS After an IS-IS instance is en abled, it must be conf igured to compute routes for a specif ic network topology . This task ex plains ho w to conf igure the op[...]
-
Page 295
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-281 Cisco IOS XR Routing Configuration Guide OL-14356-01 13. end or commit 14. show isis [ instance instance-id ] interface [ type instance ] [ detail ] [ level { 1 | 2 }] 15. show isis [ instance instance-id ] topology [ systemid system-id ] [ le vel { 1[...]
-
Page 296
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-282 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 3 ipv4 address address mask or ipv6 address ipv6-prefix / prefix-length [ eui-64 ] or ipv6 address ipv6-address { / prefix-length | link-local } or ipv6 enable Example: RP/0/RP0/CPU0:router(c[...]
-
Page 297
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-283 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 6 net network-entity-title Example: RP/0/RP0/CPU0:router(config-isis)# net 47.0004.004d.0001.0001.0c11.1110.00 Configures NETs for the routing instance. • Specify a NET for each rout ing inst[...]
-
Page 298
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-284 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring Multitopology for IS-IS Multitopolog y is configured i n the same way as the si ngle topology for IPv4 and IPv6 address fami lies. Howe ver , the single- topology co mmand is omitted, [...]
-
Page 299
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-285 Cisco IOS XR Routing Configuration Guide OL-14356-01 Controlling LSP Flooding for IS-IS Flooding of LSPs can limit network scalabil ity . Y ou can control LSP flooding b y tuning your LSP database parameters on the router globally or on the inte rface[...]
-
Page 300
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-286 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 isis instance-id Example: RP/0/RP0/CPU0:router([...]
-
Page 301
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-287 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 8 ignore-lsp-errors disable Example: RP/0/RP0/CPU0:router(config-isis)# ignore-lsp-errors disable (Optional) Sets the ro uter to purge LSPs recei ved with checksum errors. Step 9 interface type[...]
-
Page 302
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-288 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 15 end or commit Example: RP/0/RP0/CPU0:router(config-isis-if)# end or RP/0/RP0/CPU0:router(config-isis-if)# commit Sav es configuration changes. • When yo u issue the end command, the syst[...]
-
Page 303
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-289 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Nonstop Forwarding for IS-IS This task ex plains ho w to conf igure your router with NSF t hat allows t he Cisco IOS XR software to resynchronize the IS-IS l ink-state database with its [...]
-
Page 304
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-290 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 4 nsf interface-expires number Example: RP/0/RP0/CPU0:router(config-isis)# nsf interface-expires 1 Conf igures the number of resends of an ackn owledg ed NSF-restart ackno wledgment. • If t[...]
-
Page 305
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-291 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Authentication for IS-IS This task ex plains ho w to conf igure authenticati on for IS-IS. This task is optional. SUMMARY STEPS 1. conf igure 2. router isis instance-id 3. lsp-password {[...]
-
Page 306
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-292 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 3 lsp-password { hmac-md5 | text } { clear | encrypted } password [ level { 1 | 2 }] [ send-only ] [ snp send-only ] Example: RP/0/RP0/CPU0:router(config-isis)# lsp-password hmac-md5 clear pa[...]
-
Page 307
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-293 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Keychains for IS-IS This task ex plains ho w to conf igure ke ychains for IS-IS. This task is optional . K eychains can be conf igured at the router lev el ( lsp-password command) and at[...]
-
Page 308
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-294 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 6. 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 isis instance-id Example: RP/0[...]
-
Page 309
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-295 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring MPLS Traffic Engineering for IS-IS This task ex plains ho w to conf igure IS-IS for MPLS TE. This task is optional. For a descript ion of the MPLS TE tasks and commands that allo w you t[...]
-
Page 310
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-296 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 SUMMARY STEPS 1. conf igure 2. router isis instance-id 3. address-family { ipv4 | ipv6 } [ unicast | multicast ] 4. mpls traffi c-eng lev el { 1 | 2 } 5. mpls traffic-eng router-id { ip-addr ess |[...]
-
Page 311
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-297 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 6 metric-style wide [ level { 1 | 2 }] Example: RP/0/RP0/CPU0:router(config-isis-af)# metric-style wide level 1 Conf igures a router to generate and accept only wide link metrics in the Le vel [...]
-
Page 312
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-298 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Tuning Adjacencies for IS-IS This task e xplains ho w to enable logging of adjacenc y state changes, alter the timers for IS-IS adjacency packets, and display v arious aspects of a djacency st ate[...]
-
Page 313
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-299 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 isis instance-id Example: RP/0/RP0/CPU0:router(co[...]
-
Page 314
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-300 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 8 hello-password { hmac-md5 | text } { clear | encrypted } password [ level { 1 | 2 }] [ send-only ] Example: RP/0/RP0/CPU1:router(config-isis-if)# hello-password text clear mypassword Specif[...]
-
Page 315
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-301 Cisco IOS XR Routing Configuration Guide OL-14356-01 Setting SPF Interval for a Single-Topology IPv4 and IPv6 Configuration This task explains ho w to make ad justments to the SPF calcula tion to tune r outer performance. This task is optio nal. Becau[...]
-
Page 316
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-302 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 isis instance-id Example: RP/0/RP0/CPU0:router([...]
-
Page 317
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-303 Cisco IOS XR Routing Configuration Guide OL-14356-01 Customizing Routes for IS-IS This task ex plains ho w to perform route functions th at in clude injecting defa ult routes into your IS-IS routing domain and redistri buting r outes learned in anothe[...]
-
Page 318
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-304 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 8. maximum-paths ro u t e - n u m b e r 9. distance weight [ addr ess/pref ix-length [ r oute-list-na me ]] 10. set-attached-bit 11. end or commit DETAILED ST EPS Command or Action Purpose Step 1 [...]
-
Page 319
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-305 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 7 summary-prefix address / prefix-length [ level { 1 | 2 }] or summary-prefix ipv6-prefix / prefix-length [ level { 1 | 2 }] Example: RP/0/RP0/CPU0:router(config-isis-af)# summary-prefix 10.1.0[...]
-
Page 320
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-306 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuring MPLS LDP IS-IS Synchronization This task ex plains ho w to enable Multiproto col Label Switching (MPLS) Lab el Distrib ution Protocol (LDP) IS-IS synchronizati on. MPLS LDP synchroniza[...]
-
Page 321
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-307 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 isis instance-id Example: RP/0/RP0/CPU0:router(co[...]
-
Page 322
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-308 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Enabling Multicast-Intact This optional task describes how to enable multicast-intact for IS-IS rou tes that use IPv4 and IPv6 addresses. SUMMARY STEPS 1. conf igure 2. router isis instance-id 3. [...]
-
Page 323
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-309 Cisco IOS XR Routing Configuration Guide OL-14356-01 Tagging IS-IS Interface Routes This optional task describes how to associat e a ta g with a connected r oute of an IS-IS interf ace. SUMMARY STEPS 1. conf igure 2. router isis instance-id 3. address[...]
-
Page 324
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-310 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 isis instance-id Example: RP/0/RP0/CPU0:router([...]
-
Page 325
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-311 Cisco IOS XR Routing Configuration Guide OL-14356-01 Setting the Priority for Adding Prefixes to the RIB This option al task descri bes how to set the pr iority (order) for which sp ecified pref ixes are added to the RIB. The prefix es can be chosen u[...]
-
Page 326
Implementing IS-IS on Cisco IOS XR So ftware How to Implement IS-IS on Cisco IOS XR Software RC-312 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 isis instance-id Example: RP/0/RP0/CPU0:router([...]
-
Page 327
Implementing IS-IS on Cisco IOS XR Software How to Implement IS-IS on Cisco IOS XR Software RC-313 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring IP Fast Reroute Loop-free Alternate This optional task descri bes how to enable the IP f ast reroute (IPFRR) loop -free alternate (LF A) computation to con verge tra ff ic flows around l[...]
-
Page 328
Implementing IS-IS on Cisco IOS XR So ftware Configuration Examples for Implemen ting IS-IS on Cisco IOS XR Software RC-314 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuration Examples for Implementing IS-IS on Cisco IOS XR Software This section pro vides the follo wing configuratio n examples: • Config uring Single-T opology IS-I[...]
-
Page 329
Implementing IS-IS on Cisco IOS XR Software Configuration Examples for Implemen ting IS-IS on Cisco IOS XR Software RC-315 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Single-Topology IS-IS for IPv6: Example The follo wing e xample sho ws single-top ology mode be ing enabled. An IS-IS instance is created, the NET is def ined, IP[...]
-
Page 330
Implementing IS-IS on Cisco IOS XR So ftware Where to Go Ne xt RC-316 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 ! router isis 2 is-type level-1 net 49.0002.0001.0001.0002.00 address-family ipv4 unicast set-attached-bit ! interface POS0/1/0/0 address-family ipv4 unicast Tagging Routes: Example The follo wing e xample sho w how to tag rou[...]
-
Page 331
Implementing IS-IS on Cisco IOS XR Software Additional References RC-317 Cisco IOS XR Routing Configuration Guide OL-14356-01 Additional References The follo wing sections pro vide references related to implementing IS-IS on Cisco IOS XR software. Related Documents Standards Related T opic Document T itle IS-IS commands: complete comman d syntax, c[...]
-
Page 332
Implementing IS-IS on Cisco IOS XR So ftware Additional References RC-318 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 MIBs RFCs Technical Assistance MIBs MIBs Link — T o locat e and download MIBs using Cisc o IOS XR software, use the Cisco MIB Locator found at the follo wing URL and choose a platform under the Cisco Access Products menu[...]
-
Page 333
RC-319 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing and Monitoring RIB on Cisco IOS XR Software Routing Information Base ( RIB) is a distribu ted collection of informati on about routing connecti vity among all nodes of a netw ork. Each router maintains a RIB containing the routi ng information for that r outer . RIB stores the[...]
-
Page 334
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware Contents RC-320 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Contents • Prerequisites for Implementing RIB on Cisco IOS XR Software, page RC-320 • Information Ab out RIB Conf iguration, page RC-320 • Ho w to Deploy and Monitor RIB, page RC-324 • Config uration Examples fo[...]
-
Page 335
Implementing an d Monitoring RIB on Cisco IOS XR Soft ware Information About RIB Configuration RC-321 Cisco IOS XR Routing Configuration Guide OL-14356-01 W ithin a prot ocol, routes ar e selected based on the metrics in use b y that protocol . A protocol do wnloads its best routes (lo west or tied metric) to RIB. RIB selects the best o verall rout[...]
-
Page 336
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware Information About RIB Configuration RC-322 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Note Changing the administrati ve distance of a protocol on some bu t not all routers can lead to routing loops and other undesirable beh avior . Doing so is not recommended. RIB Support for I[...]
-
Page 337
Implementing an d Monitoring RIB on Cisco IOS XR Soft ware Information About RIB Configuration RC-323 Cisco IOS XR Routing Configuration Guide OL-14356-01 RIB supports 6PE and 6VPE b y pro viding 6VPE nex t hops. The next-hop information is stored in an opaque database in RIB, which is populated by protocol clients with d ata to be sent to the Forw[...]
-
Page 338
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware How to Deploy an d Monitor RIB RC-324 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 How to Deploy and Monitor RIB T o deploy and moni tor RIB, you must understand the follo wing concepts: • V erifying RIB Configuration Using the Routing T able, page RC-324 ( required) • V erif[...]
-
Page 339
Implementing an d Monitoring RIB on Cisco IOS XR Soft ware How to Deploy and Mo nitor RIB RC-325 Cisco IOS XR Routing Configuration Guide OL-14356-01 2. show route [ vrf { vrf-name | all }] [ afi-all | ipv4 | ipv6 ] [ unicast | multicast | safi-all ] backup [ ip-addr ess ] [ standby ] 3. show route [ vrf { vrf-name | all }] [ ipv4 | ipv6 ] [ unicas[...]
-
Page 340
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware How to Deploy an d Monitor RIB RC-326 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Disabling RIB Next-hop Dampening Perform this task to disable RI B next-hop dampening. SUMMARY STEPS 1. router rib 2. address-family { ipv4 | ipv6 } next-hop dampening disable 3. end or commit Step[...]
-
Page 341
Implementing an d Monitoring RIB on Cisco IOS XR Soft ware Configuration Examples for RIB Monitoring RC-327 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Configuration Examples for RIB Monitoring RIB is not conf igured separately for the Cisco IOS XR system. RIB computes connectivity of the router with other nodes in the n et[...]
-
Page 342
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware Configuration Examples for RIB Monitoring RC-328 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Output of sho w route longer-p refix es Command: Example, page RC-329 • Output of show route next-hop Command: Examp le, page RC-329 Output of show route Command: Example The follo[...]
-
Page 343
Implementing an d Monitoring RIB on Cisco IOS XR Soft ware Configuration Examples for RIB Monitoring RC-329 Cisco IOS XR Routing Configuration Guide OL-14356-01 Output of show route connected Command: Example The follo wing is sample outpu t from the show r oute connected command: RP/0/RP0/CPU0:router# show route connected C 10.2.210.0/24 is direct[...]
-
Page 344
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware Where to Go Ne xt RC-330 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 172.29.52.1, via MgmtEth0/RP1/CPU0/0 Route metric is 0 Where to Go Next For additi onal information on the pro tocols that interact with RIB, you may want to see the follo wing publications: • Implementing MP[...]
-
Page 345
Implementing an d Monitoring RIB on Cisco IOS XR Soft ware Additional References RC-331 Cisco IOS XR Routing Configuration Guide OL-14356-01 Related Documents Standards Related T opic Document T itle Routing Information Base command s: complete command syntax, command modes, command history , defaults, usage guidelines, and e xamples RIB Commands o[...]
-
Page 346
Implem enting and Moni toring RIB o n Cisco IOS XR Sof tware Additional References RC-332 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 MIBs RFCs Technical Assistance MIBs MIBs Link — T o locat e and download MIBs using Cisc o IOS XR software, use the Cisco MIB Locator found at the follo wing URL and choose a platform under the Cisco Acce[...]
-
Page 347
RC-333 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing RIP on Cisco IOS XR Software The Routing Information Prot ocol (RIP) is a classi c distance vector Interior Gateway Protocol (IGP) designed to exchange i nformation within an autonomou s system (AS) of a small ne twork. This module describes the concepts an d tasks you need to[...]
-
Page 348
Implementing RIP on Cisco IOS XR Software Information About Implementin g RIP on Cisco IOS XR Software RC-334 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Information About Implementing RIP on Cisco IOS XR Software • Prerequisites for Implementing RIP on Cisco IOS XR Software, page RC-334 • RIP Functional O vervie w , page RC-334 • S[...]
-
Page 349
Implementing RIP on Cisco IOS XR Software Information About Im plementing RIP on Cisco IOS XR Software RC-335 Cisco IOS XR Routing Configuration Guide OL-14356-01 Here are some good reasons to use RIP: • Compatible with di verse netw ork de vices • Best for small networks, because there is very little o verhead, in terms of bandwidth used, conf[...]
-
Page 350
Implementing RIP on Cisco IOS XR Software Information About Implementin g RIP on Cisco IOS XR Software RC-336 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Route Redistribution for RIP Redistribution is a feature that al lows dif ferent routing domains, to exchang e routing information. Networking dev ices that route between d iff erent rou[...]
-
Page 351
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-337 Cisco IOS XR Routing Configuration Guide OL-14356-01 An administrati ve distance is an int eger from 0 to 2 55. In general, the higher the v alue, the lo wer the trust rating. An ad ministrati ve distance of 2 55 mean s the routing in formation source can[...]
-
Page 352
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-338 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Enabling RIP This task enables RIP routing and est ablishes a RIP routing process. Prerequisites Although you can config ure RIP before you conf igure an IP address, no RIP routing occurs until at leas[...]
-
Page 353
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-339 Cisco IOS XR Routing Configuration Guide OL-14356-01 Customize RIP This task describes how to cust omize RIP for ne twork timing and the acceptance of route entries. SUMMARY STEPS 1. conf igure 2. router rip 3. auto-summary 4. timers basic update in valid[...]
-
Page 354
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-340 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 5. output-delay delay 6. nsf 7. interfac e type instan ce 8. metric-zero- accept 9. split-horizon disable 10. poison-r everse 11. end or commit DETAILED ST EPS Command or Action Purpose Step 1 configur[...]
-
Page 355
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-341 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 7 interface type instance Example: RP/0/RP0/CPU0:router(config-rip)# interface pos 0/1/0/0 (Optional) Def ines the interfaces on which the RIP routing protocol runs. Step 8 metric-zero-accept Examp[...]
-
Page 356
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-342 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Control Routing Information This task describes ho w to control or pre vent routing update e x change and propaga tion. Some reasons to con trol or pre vent rout ing updates are: • T o slow or stop t[...]
-
Page 357
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-343 Cisco IOS XR Routing Configuration Guide OL-14356-01 Step 3 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-rip)# neighbor 172.160.1.2 (Optional) Def ines a neighbor ing router with which to exch ange RIP protocol informati on. Step 4 interface t[...]
-
Page 358
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-344 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Creating a Route Policy for RIP This task def ines a route polic y and sho ws ho w to attach it to an instance of a RIP process. Rout e policies can be used to: • Control routes sent and recei ved ?[...]
-
Page 359
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-345 Cisco IOS XR Routing Configuration Guide OL-14356-01 5. end or commit 6. conf igure 7. router rip 8. route-policy r oute-policy-nam e { in | out } 9. end or commit ] DETAILED ST EPS Command or Action Purpose Step 1 configure Example: RP/0/RP0/CPU0:router#[...]
-
Page 360
Implementing RIP on Cisco IOS XR Software How to Implement RIP on Cisco IOS XR Software RC-346 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Step 5 end or commit Example: RP/0/RP0/CPU0:router(config-rpl)# end or RP/0/RP0/CPU0:router(config-rpl)# commit Sav es configuration changes. • When yo u issue the end command, the system prompts you[...]
-
Page 361
Implementing RIP on Cisco IOS XR Software Configuration Examples for Implemen ting RIP on Cisco IOS XR Software RC-347 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuration Examples for Implementing RIP on Cisco IOS XR Software This section pro vides the follo wing configuratio n examples: • Config uring a Basic RIP Conf iguration: E[...]
-
Page 362
Implementing RIP on Cisco IOS XR Software Configuration Examples for Implem enting RIP on Cisco IOS XR Software RC-348 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 interface GigabitEthernet0/6/0/2 ipv4 address 172.16.2.12 255.255.255.0 ! router rip interface GigabitEthernet0/6/0/0 ! interface GigabitEthernet0/6/0/2 ! ! Configuring RIP on t[...]
-
Page 363
Implementing RIP on Cisco IOS XR Software Configuration Examples for Implemen ting RIP on Cisco IOS XR Software RC-349 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Redistribution for RIP: Example The follo wing e xample sho ws how to redistri bute Bor der Gate way Proto col (BGP) and st atic routes into RIP . The RIP metric used[...]
-
Page 364
Implementing RIP on Cisco IOS XR Software Additional References RC-350 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 route-policy infil if destination in pf2 then add rip-metric 2 pass endif end-policy ! router rip interface GigabitEthernet0/6/0/0 route-policy policy_in in ! interface GigabitEthernet0/6/0/2 ! route-policy infil in route-pol[...]
-
Page 365
Implementing RIP on Cisco IOS XR Software Additional References RC-351 Cisco IOS XR Routing Configuration Guide OL-14356-01 Related Documents Standards MIBs RFCs Related T opic Document T itle RIP commands: compl ete command syntax, command modes, command history , defaults, us age guidelines, and examples Cisco IOS XR Routing Command Ref er e nce [...]
-
Page 366
Implementing RIP on Cisco IOS XR Software Additional References RC-352 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Technical Assistance Description Link The Cisco T echnical Support website contain s thousands of pa ges of sear chable technical content, including lin ks to products, technologies, so lutions, technical tips, and tools. Reg[...]
-
Page 367
RC-353 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing Routing Policy on Cisco IOS XR Software A routing polic y instructs the router to insp ect routes, f ilter them, an d potentially modify t heir attrib utes as they are accepted from a peer , advertised to a peer , or redistribu ted from one routing protocol to another . Routin[...]
-
Page 368
Implementin g Routing Policy o n Cisco IOS XR Software Contents RC-354 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Contents • Prerequisites for Implementing Rou ting Policy on Cisco IOS XR Softwa re, page RC-354 • Information Ab out Implementing Routing Policy on Cisco IOS XR Sof tware, page RC-354 • Ho w to Implement Routing Po lic[...]
-
Page 369
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-355 Cisco IOS XR Routing Configuration Guide OL-14356-01 • Routing Polic y Language Components, page RC-3 60 • Routing Policy Language Usage, page R C-361 Routing Policy Language Overview RPL was de veloped t o suppo[...]
-
Page 370
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-356 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Sets In this conte xt, the term set is used in its mathemat ical sense to mean an un ordered coll ection of uni que elements. The policy language provides sets as[...]
-
Page 371
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-357 Cisco IOS XR Routing Configuration Guide OL-14356-01 as-path-set An AS path set comprises operat ions for matching an AS path attribu te. The only matching operation is a regular e xpression match. Named Set Form The[...]
-
Page 372
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-358 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 RPL also provides a facility for using wildcar ds in community specif ications. A wildcard is specif ied by inserting an asterisk (*) in place of one of the 16-b [...]
-
Page 373
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-359 Cisco IOS XR Routing Configuration Guide OL-14356-01 prefix-set A prefix-set holds IPv4 or IPv6 prefix match specificat ions, eac h of which has four parts: an address, a mask length, a minimum matching le ngth, and [...]
-
Page 374
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-360 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Neither the minimum l ength nor maximum length is v alid without a mask len gth. For IPv4, th e minimum length must be less than 32, the maximum length of an IPv4[...]
-
Page 375
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-361 Cisco IOS XR Routing Configuration Guide OL-14356-01 The fourth component is the policy cl ients (the rout ing protocol s). This component calls th e ex ecution engine at the appropriate ti mes to hav e a give n poli[...]
-
Page 376
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-362 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Set community based on MED The follo wing e xample sho ws ho w the policy t ests the MED of a route and modifies the community attrib ute of the rout e based on t[...]
-
Page 377
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-363 Cisco IOS XR Routing Configuration Guide OL-14356-01 endif end-policy Routing Policy Configuration Basics Route policies comprise series of statements and expressions that are bracketed with the r oute-policy and end[...]
-
Page 378
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-364 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Y ou may hav e as many lev els of h ierarchy as desired . Ho wev er, many le vels may be dif ficult to maintain and understand. Parameterization In addition to su[...]
-
Page 379
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-365 Cisco IOS XR Routing Configuration Guide OL-14356-01 In the example belo w , we define a parameterized polic y "param-e xample". In this example, t he policy takes two parameters "$mymed" and “$[...]
-
Page 380
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-366 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • When Attrib utes Are Modifi ed, page RC-367 • Default Dr op Disposition, pa ge RC-367 • Control Flo w , page RC-368 • Policy V erif ication, page RC-368[...]
-
Page 381
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-367 Cisco IOS XR Routing Configuration Guide OL-14356-01 set community (10:24) additive set community (10:25) additive end-policy This polic y sets the community stri ng on the route t o contain all three commun ity v al[...]
-
Page 382
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-368 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Control Flow Policy statements are pr ocessed sequentially in the or der in which the y appear in the conf iguration. Policies that hierarch ically referen ce oth[...]
-
Page 383
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-369 Cisco IOS XR Routing Configuration Guide OL-14356-01 reference while def ining a policy n eed not exist in the conf iguration. Thus, a user can define a policy sample that references the policy bar using an appl y st[...]
-
Page 384
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-370 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Policy Statements Four typ es of polic y statements exist : remark, disposition (drop and p ass), action (set), and if (comparator). Remark A remark is te xt atta[...]
-
Page 385
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-371 Cisco IOS XR Routing Configuration Guide OL-14356-01 By default, a route i s dropp ed at the end of poli cy processing unless either the policy modifies a route attribute or it passes the rout e by means of an e xpli[...]
-
Page 386
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-372 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Because the effect of an explicit dr op statement is immediate, routes in 10.0.0.0/16 le 32 are dropped without an y further polic y processing. Other ro utes are[...]
-
Page 387
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-373 Cisco IOS XR Routing Configuration Guide OL-14356-01 The statements within an if statement ma y themselv es be if statements, as sho wn in the following exa mpl e: if community matches-any (12:34,56:78) then if med e[...]
-
Page 388
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-374 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 W ith a set of parentheses to express the precedence, the result is th e follo wing: med eq 10 or ((not destination in (10.1.3.0/24)) and community matches-any ([[...]
-
Page 389
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-375 Cisco IOS XR Routing Configuration Guide OL-14356-01 Note The protocol conf iguration rejects at tempts to attach policies that perfor m unsupported operations. The follo wing sections describe the protocol atta ch p[...]
-
Page 390
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-376 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 e val uated by the named polic y pass the policy . More specif ics of the aggreg ate are filtered usi ng the suppress- route ke yword. An y actions taken to set a[...]
-
Page 391
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-377 Cisco IOS XR Routing Configuration Guide OL-14356-01 The follo wing polic y sets dampening v alues for BGP IPv4 unicast routes. Those rout es that are more specific th an a /25 take long er to recov er after they ha [...]
-
Page 392
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-378 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 endif end-policy router bgp 2 neighbor 10.0.0.5 remote-as 3 address-family ipv4 unicast route-policy sample-export out . . . Neighbor Import The neighbor import a[...]
-
Page 393
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-379 Cisco IOS XR Routing Configuration Guide OL-14356-01 router bgp 2 address-family ipv4 unicast network 172.16.0.5/27 route-policy NetworkControl Redistribute The redistrib ute attach point allo ws routes from ot her s[...]
-
Page 394
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-380 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 endif end-policy ! RP/0/RP0/CPU0:router# show bgp BGP router identifier 10.0.0.1, local AS number 2 BGP main routing table version 11 BGP scan interval 60 secs St[...]
-
Page 395
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-381 Cisco IOS XR Routing Configuration Guide OL-14356-01 endif end-policy router bgp 2 address-family ipv4 unicast table-policy sample-table . . . Import The import attach point pro vides control o ver the import of rout[...]
-
Page 396
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-382 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 preference is set t o 212 and the route tar get extended com munity is set to 10:101 . If the route does not match those specif ied criteria, then the route tar g[...]
-
Page 397
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-383 Cisco IOS XR Routing Configuration Guide OL-14356-01 Allocate-Label The allocate-label at tach point provides i ncreased control based on v a rious at tribute mat ch operations. This attach point is typ ically used i[...]
-
Page 398
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-384 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Next-hop The next- hop attach point prov id es increased control based on pr otocol and prefix-based match operations. The attach point is typi cally used to deci[...]
-
Page 399
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-385 Cisco IOS XR Routing Configuration Guide OL-14356-01 pass else drop endif end-policy debug bgp update policy_b BGP Attributes and Operators Ta b l e 1 summarizes the B GP attrib utes and oper ators. T able 1 BGP Attr[...]
-
Page 400
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-386 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 allocate-l abel as-path in is-local length neighbor -is originates- from passes-through unique-lengt h n/a as-path-length is, ge, le, eq n/a as-path-unique-len gt[...]
-
Page 401
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-387 Cisco IOS XR Routing Configuration Guide OL-14356-01 dampening as-path in is-local length neighbor-is originates- from passes-through unique-lengt h n/a as-path-length is, ge, le, eq n/a as-path-unique-len gth is, ge[...]
-
Page 402
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-388 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 export (VRF) as-path in is-local length neighbor -is originates- from passes-through unique-lengt h n/a as-path-length is, ge, le, eq n/a as-path-unique-len gth i[...]
-
Page 403
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-389 Cisco IOS XR Routing Configuration Guide OL-14356-01 import (VRF) as-path in is-local length neighbor-is originates- from passes-through unique-lengt h n/a as-path-length is, ge, le, eq n/a as-path-unique-len gth is,[...]
-
Page 404
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-390 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 extcommunity rt is-empty matches-an y matches-e very set additi ve delete-in delete-not-in delete-all extcommunity soo is-empty matches-an y matches-e very n/a lo[...]
-
Page 405
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-391 Cisco IOS XR Routing Configuration Guide OL-14356-01 med is, eg, ge, le set set + set - set max-unreachable 1 set igp-c ost next-h op in set set self origin is set path-type is n/a rd in n/a source in n/a unsuppress-[...]
-
Page 406
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-392 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 redistribute as-path n/a prepend community n/a set set add itiv e delete in delete not in delete all destination in n/a extcommun ity cost n/a set set add itiv e [...]
-
Page 407
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-393 Cisco IOS XR Routing Configuration Guide OL-14356-01 sho w as-path in is-local length neighbor-is originates- from passes-through unique-lengt h n/a as-path-length is, ge, le, eq n/a as-path-unique-len gth is, ge, le[...]
-
Page 408
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-394 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Some BGP route attributes are in accessible from some BGP attach points for various reasons. For exam ple, the set med igp-cost only comman d makes sense when the[...]
-
Page 409
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-395 Cisco IOS XR Routing Configuration Guide OL-14356-01 OSPF Policy Attach Points This section describes each of the OSPF polic y attach points and provides a summary of the OSPF attrib utes and operators. • Default-I[...]
-
Page 410
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-396 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Area-in The area-in attach point wit hin OSPF allows you to f ilter inbound OSPF type -3 summary link-state adve rtisements (LSAs). The attach point pro vides pr [...]
-
Page 411
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-397 Cisco IOS XR Routing Configuration Guide OL-14356-01 OSPFv3 Policy Attach Points This section describes each of th e OSPFv3 policy attach points and pro vides a summary of the OSPFv3 attrib utes and operators. • De[...]
-
Page 412
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-398 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 The follo wing e xample sho ws ho w to redistrib ute routes from BGP instance 15 into OSPF i nstance 1 using the polic y OSPFv3-redist. The p olicy sets t he metr[...]
-
Page 413
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-399 Cisco IOS XR Routing Configuration Guide OL-14356-01 Redistribute The redistrib ute attach point within IS-IS all ows rout es from other proto cols to be readverti sed by IS-IS. The policy i s a set of control struct[...]
-
Page 414
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-400 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 route-policy isis-propagate if destination in (10.0.0.0/8 ge 8 le 25) then pass endif end-policy router isis instance_10 address-family ipv4 unicast propagate lev[...]
-
Page 415
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-401 Cisco IOS XR Routing Configuration Guide OL-14356-01 Default-Accept-In The default-accept -in attach point allo ws you to set and reset the co nditional defaul t flag for EIGRP routes by e valuating the attached poli[...]
-
Page 416
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-402 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Policy-Out The policy-o ut attach point al lo ws you to fi lter and modify outbound EIGRP rou tes. This policy i s applied to all interfaces fo r which there is n[...]
-
Page 417
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-403 Cisco IOS XR Routing Configuration Guide OL-14356-01 EIGRP Attributes and Operators Ta b l e 6 summarizes the EIGRP attrib utes and operat ors. RIP Policy Attach Points This section describes each of the RIP policy a[...]
-
Page 418
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-404 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 • Global-Inbou nd, page RC-404 • Global-Outbo und, page RC-404 • Interface-Inbou nd, page RC-405 • Interface-Outboun d, page RC-405 Default-Information Or[...]
-
Page 419
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-405 Cisco IOS XR Routing Configuration Guide OL-14356-01 Interface-Inbound The interface-inbound attach point allo ws you to f ilter or update inbound RI P routes that match a route policy for a specific interface. The f[...]
-
Page 420
Implementin g Routing Policy o n Cisco IOS XR Software Information About Impl ementing Routing Policy on Cisco IOS XR Software RC-406 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Attached Policy Modification Policies that are i n use do, on occasion, need to be modif ied. In the traditional con figuration model, a policy mo dification w ou[...]
-
Page 421
Implementing Routing Polic y on Cisco IOS XR Software Information About Implem enting Routing Policy on Cisco IOS XR Softw are RC-407 Cisco IOS XR Routing Configuration Guide OL-14356-01 Editing Routing Policy Configuration Elements RPL is based on statements rather than on lines. That i s, within the be gin-end pair that brackets p olicy statement[...]
-
Page 422
Implementin g Routing Policy o n Cisco IOS XR Software How to Implement Routing Po licy on Cisco IOS XR Software RC-408 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 If there are parse errors, you are as ked whether editi ng should conti nue: RP/0/RP0/CPU0:router#edit route-policy policy_B == MicroEMACS 3.8b () == rpl_edit.141738 route-poli[...]
-
Page 423
Implementing Routing Polic y on Cisco IOS XR Software How to Implement Routing Policy on Cisco IOS XR Softw are RC-409 Cisco IOS XR Routing Configuration Guide OL-14356-01 Defining a Route Policy This task ex plains ho w to define a rou te policy . Note If you want to mod ify an exi sting routing polic y using the comman d-line interface (CLI), y o[...]
-
Page 424
Implementin g Routing Policy o n Cisco IOS XR Software How to Implement Routing Po licy on Cisco IOS XR Software RC-410 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Attaching a Routing Policy to a BGP Neighbor This task explains ho w to attach a routing policy to a BGP neighbor . Prerequisites A routing polic y must be preconfigured and we[...]
-
Page 425
Implementing Routing Polic y on Cisco IOS XR Software How to Implement Routing Policy on Cisco IOS XR Softw are RC-411 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 bgp as-number Example: RP/0/R[...]
-
Page 426
Implementin g Routing Policy o n Cisco IOS XR Software How to Implement Routing Po licy on Cisco IOS XR Software RC-412 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Modifying a Routing Policy Using a Text Editor This task e xplains ho w to modify an ex isting routing polic y using a text edit or . See the “Editing Routing Polic y Configu[...]
-
Page 427
Implementing Routing Polic y on Cisco IOS XR Software Configuration Examples for Implementing Routing Policy on Cisco IOS XR Software RC-413 Cisco IOS XR Routing Configuration Guide OL-14356-01 DETAILED ST EPS Configuration Examples for Implementing Routing Policy on Cisco IOS XR Software This section pro vides the follo wing configuratio n example[...]
-
Page 428
Implementin g Routing Policy o n Cisco IOS XR Software Configuration Examples for Implementin g Routing Policy on Cisco IOS XR Software RC-414 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Routing Policy Definition: Example In the follo wing exampl e, a BGP route policy named samp le1 is defined usin g the route-policy na me command. The po[...]
-
Page 429
Implementing Routing Polic y on Cisco IOS XR Software Configuration Examples for Implementing Routing Policy on Cisco IOS XR Software RC-415 Cisco IOS XR Routing Configuration Guide OL-14356-01 endif set med 1000 set local-preference 90 set community (2:1001) additive if community matches-any ([101..106]:202) then prepend as-path 2.30 2 set communi[...]
-
Page 430
Implementin g Routing Policy o n Cisco IOS XR Software Additional References RC-416 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 apply set-lpref-prepend(100,101,2) set community (2:1234) additive else set local-preference 125 endif end-policy ! route-policy filter-bogons if destination in bogon then drop else pass endif end-policy ! route-[...]
-
Page 431
Implementing Routing Polic y on Cisco IOS XR Software Additional References RC-417 Cisco IOS XR Routing Configuration Guide OL-14356-01 Standards MIBs RFCs Technical Assistance Standards T itle No new or modified standa rds are supported by this feature, and support for e xisting standards has not been modified b y this feature. — MIBs MIBs Link [...]
-
Page 432
Implementin g Routing Policy o n Cisco IOS XR Software Additional References RC-418 Cisco IOS XR Routing Configuratio n Guide OL-14356-01[...]
-
Page 433
RC-419 Cisco IOS XR Routing Configuration Guide OL-14356-01 Implementing Static Routes on Cisco IOS XR Software Static r outes are user-defined routes that cause packets mo ving between a source and a destin ation to take a specified path. Static routes can be importa nt if the Cisco IOS X R software cannot build a route to a particular destin atio[...]
-
Page 434
Implementing Static Routes on Cisco IOS XR Softwa re Contents RC-420 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Contents • Prerequisites for Implem enting Static Route s on Cisco IOS XR Software , page RC-420 • Information Ab out Implementing Static Routes on Cisco IOS XR Softw are, page RC-420 • How to Implement Static Routes on C[...]
-
Page 435
Implementing Static Routes on Cisco IOS XR Software Information About Implementing Stat ic Routes on Cisco IOS XR Software RC-421 Cisco IOS XR Routing Configuration Guide OL-14356-01 Networking de vices forward packets usi ng route information that is eit her manually confi gured or dynamically learned using a routing protocol. St atic routes are m[...]
-
Page 436
Implementing Static Routes on Cisco IOS XR Softwa re Information About Implem enting Static Routes on Cisco IOS XR Software RC-422 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Recursive Static Routes In a recursi ve static route, only the ne xt hop is specifi ed. The output interf ace is deriv ed from the next hop. The follo wing example s[...]
-
Page 437
Implementing Static Routes on Cisco IOS XR Software Information About Implementing Stat ic Routes on Cisco IOS XR Software RC-423 Cisco IOS XR Routing Configuration Guide OL-14356-01 Floating Static Routes Floating static routes are stati c routes that are used to back up dynamic rou tes learned through conf igured routing protocols. A fl oating st[...]
-
Page 438
Implementing Static Routes on Cisco IOS XR Softwa re How to Implement Static Routes on Cisco IOS XR Software RC-424 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 How to Implement Static Routes on Cisco IOS XR Software This section contains the following procedures: • Config uring a Static Route, pag e RC-424 (required) • Config uring a [...]
-
Page 439
Implementing Static Routes on Cisco IOS XR Software How to Implement Static Routes o n Cisco IOS XR Software RC-425 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring a Floating Static Route This task ex plains ho w to conf igure a floating static ro ute. SUMMARY STEPS 1. conf igure 2. router static 3. vrf vrf-name 4. address-family {[...]
-
Page 440
Implementing Static Routes on Cisco IOS XR Softwa re How to Implement Static Routes on Cisco IOS XR Software RC-426 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 6. 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 static Example[...]
-
Page 441
Implementing Static Routes on Cisco IOS XR Software How to Implement Static Routes o n Cisco IOS XR Software RC-427 Cisco IOS XR Routing Configuration Guide OL-14356-01 Configuring Static Routes Between PE-CE Routers This task ex plains ho w to conf igure static routing between PE-CE routers. Note VRF fallback is no t supported with IPv6 VPN P rovi[...]
-
Page 442
Implementing Static Routes on Cisco IOS XR Softwa re How to Implement Static Routes on Cisco IOS XR Software RC-428 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 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 static Example: RP/0/RP0/CPU0:r[...]
-
Page 443
Implementing Static Routes on Cisco IOS XR Software How to Implement Static Routes o n Cisco IOS XR Software RC-429 Cisco IOS XR Routing Configuration Guide OL-14356-01 Changing the Maximum Number of Allowable Static Routes This task ex plains ho w to change the maximum number of allo wable st atic routes. Restrictions The number of static routes t[...]
-
Page 444
Implementing Static Routes on Cisco IOS XR Softwa re How to Implement Static Routes on Cisco IOS XR Software RC-430 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Associating a VRF with a Static Route This task e xplains ho w to associate a V RF with a static rou te. SUMMARY STEPS 1. conf igure 2. router static 3. vrf vrf-name 4. address-fam[...]
-
Page 445
Implementing Static Routes on Cisco IOS XR Software How to Implement Static Routes o n Cisco IOS XR Software RC-431 Cisco IOS XR Routing Configuration Guide OL-14356-01 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 static Example: RP/0/RP0/CPU0:ro[...]
-
Page 446
Implementing Static Routes on Cisco IOS XR Softwa re Configuration Examples RC-432 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 Configuration Examples This section pro vides the follo wing configuratio n examples: • Config uring T raff ic Discard: Example • Config uring a Fixed Def ault Route: Example • Config uring a Floating Stat i[...]
-
Page 447
Implementing Static Routes on Cisco IOS XR Software Where to Go Next RC-433 Cisco IOS XR Routing Configuration Guide OL-14356-01 0.0.0.0/0 2.6.0.2 120 end Where to Go Next For additi onal information about static ro utes, routing protocols, an d RIB, consult the follo w ing publications: • Implementing and Mo nitoring RIB on Cisco IOS XR Softwar [...]
-
Page 448
Implementing Static Routes on Cisco IOS XR Softwa re Additional References RC-434 Cisco IOS XR Routing Configuratio n Guide OL-14356-01 MIBs RFCs Technical Assistance MIBs MIBs Link — T o locat e and download MIBs using Cisc o IOS XR software, use the Cisco MIB Locator found at the follo wing URL and choose a platform under the Cisco Access Produ[...]
-
Page 449
RC-435 Cisco IOS XR Routing Configuration Guide OL-14356-01 INDEX A address family command RC-8, RC-268 address-family co mmand (IS-IS) RC-283 address-family ipv 4 command RC-149 address-family ipv 4 mdt command RC-116 adjacencies, tuning RC-298 administrative distance RC-321 administrative distance, static routes RC-421 aggregate-address command R[...]
-
Page 450
Index RC-436 Cisco IOS XR Routing Configuration Guide OL-14356-01 redistribute RC-379 retain route target RC-382 show bgp RC-379 table policy RC-380 policy attach po ints, aggregation RC-375 router iden tifier RC-3 routing policy enforcing RC-20 update groups description RC-2 2 example RC-129 VPNv4 and VPNv6 over the IP core using L2TPv3 tunnels RC[...]
-
Page 451
Index RC-437 Cisco IOS XR Routing Configuration Guide OL-14356-01 bgp VPNv6 address famil y submode RC-9 BGP vrf address family submode export route-policy command RC- 97 import route-poli cy command RC-97 import route-target command RC-97 maximum prefix command RC-97 bgp vrf address family submod e RC-8 aggregate-address command RC-107 maximum-pat[...]
-
Page 452
Index RC-438 Cisco IOS XR Routing Configuration Guide OL-14356-01 E ebgp-multihop command RC-107 edit command RC-413 EIGRP () policy attach po ints default-accept-in RC-401 EIGRP (Enhanced Interior Gateway R outing Protoc ol) features RC-137 hello inte rval and ho ld time RC-145 overview RC-137 policy attach po ints default-accept-out RC-401 if-pol[...]
-
Page 453
Index RC-439 Cisco IOS XR Routing Configuration Guide OL-14356-01 G Generalized TTL Security Mechanism (GTSM) configuring virt ual links RC-193 Generalized TTL Secu rity Mechanism (GTSM), RFC 3682 TTL value RC-193 global parameters RC-365 graceful restart RC-230 graceful-restart helper command RC-189 graceful-restart interval command RC-189 gracefu[...]
-
Page 454
Index RC-440 Cisco IOS XR Routing Configuration Guide OL-14356-01 description RC-273 multi-instance IS -IS RC-272 multitopology , configuring RC-284 nonstop forward ing RC-272 configuring RC-289 overload bit configuring RC-270 on router RC-273 policy attach po ints default originate RC-399 inter-area-propagate RC-399 redistribute RC-399 priority fo[...]
-
Page 455
Index RC-441 Cisco IOS XR Routing Configuration Guide OL-14356-01 mpls traffic-engineering multicast-intact command RC-309 mpls traffic-eng router -id command RC-227, RC-296 MPLS VPN carrier supporting carr ier RC-38 multi-area adjacency configuring RC-244 interface attribut es and limitations RC-191 overview RC-191 multi-area-interface co mmand RC[...]
-
Page 456
Index RC-442 Cisco IOS XR Routing Configuration Guide OL-14356-01 MD5 authentication RC-180 MPLS TE, configuring RC-226 neighbors, adjacency RC-181 neighbors, nonbroadcast networ ks, configuring RC-199 nonstop forward ing configuring RC-224 description RC-187 policy attach po ints area-in RC-396 area-out RC-396 default originate RC-395 redistribute[...]
-
Page 457
Index RC-443 Cisco IOS XR Routing Configuration Guide OL-14356-01 neighbor comman d RC-202 output-delay command RC-340 overload bit configuration RC-270 on router RC-273 P passive-in terface command RC-343 password comm and RC-102, RC-107 PCE extensions to OSPFv2 RC-193 PIM RC-274 point-to-point net works RC-179 poison-reverse command RC-341 policy[...]
-
Page 458
Index RC-444 Cisco IOS XR Routing Configuration Guide OL-14356-01 RFC 4813, OSPF RC-263 RIB (Routing Information Base) administrative distance RC-321 data structures in BGP and other prot ocols RC-321 deploying RC-324 description RC-319 examples RC-327 functional overview RC-320 IPv4 and IPv6 support RC-322 monitoring RC-324 prereq uisites RC-320 R[...]
-
Page 459
Index RC-445 Cisco IOS XR Routing Configuration Guide OL-14356-01 router-id com mand RC-195 router iden tifier RC-3 router isis address famil y submode default-information orig inate command RC-304 distance command RC-305 ispf command RC-302 maximum-paths command RC-305 metric-style wide command RC-297, RC-310, RC-312 mpls ldp sync command RC-307 m[...]
-
Page 460
Index RC-446 Cisco IOS XR Routing Configuration Guide OL-14356-01 timers lsa min-interval command RC-208 timers throttle spf command RC-220, RC-221, RC-222, RC-252 router rib com mand RC-327 router rib config uration submode address-family co mmand RC-327 router rip com mand RC-338 router rip config uration submode auto-summary command RC-340 broad[...]
-
Page 461
Index RC-447 Cisco IOS XR Routing Configuration Guide OL-14356-01 community-set, inline set form RC-357 community-set, named set form RC-357 extended community set, inline for m RC-358 extended community set, named form RC-358 names RC-355 prefix-set RC-359 sets RC-356 S security ttl comman d RC-252 send-community-ebgp command RC-86 send version co[...]
-
Page 462
Index RC-448 Cisco IOS XR Routing Configuration Guide OL-14356-01 defined RC-420 floating RC-423, RC-425, RC-427 maximum number of routes RC-429 MPLS layer 3 VPN RC-421 recursive RC-422 specified RC-422 stub area RC-178 stub area types, configuring (OSPFv3) RC-197 stub command RC-158, RC-198 summary-address command RC-153 summary-pr efix command RC[...]