Routing Summary
Routing Summary
BW (min. 1800 series) >T, = 1054 Hbps 3.1P Reve ove no good understanding for BGP Policies . When BGP is appropriate © 1. Hultiple pats belween A8s . 2.1P your AS isa transit AS - Servier ‘Provider Ble 3.IP dynamic palicies are requires S&A heSession 13 Part 2 BGP Table 1.BGP Neighbor table : It is Pormed manually (Conky) x router bgp AS (Config-router).A¥ neighbor jpoP neighbor yemate-as Neighbor ASH asi Ase A(conPig) 2 Youfer bgp 1 «——~ ebgp A(ConPig-router)3¥ neighbor 1011.2 remdte-as 2 B(ConPg) H# router bgp 2 <——— ebgp BConPig-rouler) ¥¢ neighbor 10.1.1 Yemdte-a8 4 AFShow ip bgp sunmory [1PoPreghoor | Asx | state | B Config) % Youler bgp 2 «——~ ibsp B (Config-router) 4¥ neighbor G_ remote-a3* 2 G(Conkig)2# touler bgp 2 <— ibgp Q(Config-router) 2 neighbor B_ aa 2 + @bgp + neighbors sluoud be adtvectly Connected by clefault. + ibgp + neighbors ray not be directly Connected . S&A2. BGP Table (BGP dala base , BGP topology ‘able ) : All learnt routes 2¥ Show ip bgp Attribules 3.Rouling Table. Best Toules , best altribules oiling fable CEF_, FIB (Rrwardling inf Base = FIB fable) Session 13 Rut 3 BGP Fackels |. Open msg: (Startup @hello) . (Config) 3 roller bop ASAE (Conkiq-router) 4 neighbor ‘SRe ip unicast A remole-as AS DST ip unicast B RID BOP. ® ian RID 2 » Hanually, iamwAS = + Highes loopback ip . + Highest Active physical infertace ip 2. Update msg. Tt Confains “neltuorkt. /mask., aftribules 3. Keep alive mag (periodic hello) : Every 603e0 ‘periodic hello Dead time = invalid time = 180 ¢e0.. 4. NotiPi Calon mag: notification Poblem ‘memory , CPU —> notPicaTion Lack of jam ok —> resource GRA) ae“BGP characteristic : |. Th egp pai vedor (= advanced Dv) wit defails (all altribbutes) 2. Neighborship is manually Configured & all BaP msg are sent unicast to neighbors . 3. @change send batched updates every 20 sea. 2, ono Dsec JF IS | By updatis darn —» Iifemet around taco Change / min 4. Use rich metric. Called alfributes . 5.Classless prlocals (FLSH, VLSH, Summarizalion, CIDR) . 6. Optional Authentication. _ E Symbol in roiling table "B". 8. Admin. distance = 20 ebgp , 200 ibgp 3. This Considered 08 application using port I#9 /TCP ...Session 14 Fart £ BGP Operation. @ shart up: Ocreale rouler id : -Honual . ~ Highest Loopback ip . = Highest Active physical intérFace ip . 0 Neighbor Discovery : WAL SAL (®)}+@)-+@)-_O 8) MM Tole Stale: no exchange yet A is still searching Por a roufe fo veach neighbor. 1a? yi Sass BAP A (config) Se rouilér bgp ASX A Config -reiler) 3 neighbor: 5A. Open msg Sto; P TOP _SYN (Reno. 174) \_ vemote-ag neighbor AS fick 1S¥nr Ack 1.2 Connect stole» BEP 3way handshake is done... 1.3 Open Serf stoke. Aclive. Ger open mag “my ASH, my RID" Stole sent msy 14 Open Confirm stole Gusting reply a OPen_msg 1.5 Established Stole: rouler received open cs. appear empty in neighbor Table. [sess Tor [AB oP neighbor PrcPixes Received no. oP nefivorks. Meighbor Table 2% Show ip bgp Summary () S&AO54 fo Di co €. xe ange OF Up’ toda network {mask , Altoids = dat. _ Raum BGP Table ... All lara voules AF Show ip bgp =pto build youling fable, choose best pate wLoA oMNE Session 14 Part 9 Neighbor ‘Discovery Condition 1. ConFgure for neighbor Command . (Config) 2X rouker bop ASX (conf roar) Af neighbor ____ yemole-as. __ 2 Neighbor Should be Yeachalble in rating Table . 3.Update sowce Loopback : A conker bgp AS <— bgp A (Confiy-roider) ¥ neighbor ZEEE remate-as ASK ry (con. -touler) riphbur ZEEE updaite-Source. leopbacko_ iP you have more than one pak to neighbor, make neighbor Ship beliveen Loopback ... All Youting protocals mags are witk TTL =\ “non witable” exept ibgp TTL = 225... ebgp neighbor Should be divectly Connected by defult, TTL = 4... iegp neighbor may not be directly connect, TTL = 255 ... S&A eS- BeConfig) sx router bop 4 BConkig-rwiler) 2% neighbor £666 _ yemote-as ASH BConkig-rouler) Ay neighbor 6.66.6 updafe-source Lcopbacko Session 14 Part 3 4.eBGP Nultihop : = 0 ASL £0 (p Cy 40 AS2 CE.E8 GO e) TFET A (Config) 3% rouler bgp 4 A (ConPig-vouler) ae neighbor LEFF remcte-03 2_ A (Config-vouler ae neighbor ZEEF update-source Lepback 0 oc only acceptable. dynamic willing pritocal befueen AS is BGP... A(ConFi arip voule, ZEZF 259.955.255.955 Si Alcona) 35 1 voule FEET 255.255.255.955 32 A ConPig-vouite) 2 neighbor ZF% _ ebgp-multihop [ 2] recommended to more securily S&A eeoslay! Session 14 Part BGP operation OCreake. ‘Rouler 1D : - Harual . - Highest Loopback. ip . -Highest Active physical IdeFace ip . (9 Neighbor Discovery : Neighbor Commancl . Tle Stake, Cian a (Conbig-router) neighbor ______. remole-as, —feighbor ip Should exist in Youling Table using any pritecall . Active State Nr Cus Coa _.Stop here iP Authentication not matthed .. Update source Loopback. (Conkig-vexiker) fener ——__— Updai-source Edlabligheot State XShow ip bgp Summary -eBGP TTL Consideration (Stack in idle) : (ConPg router) H¢ neighbor —____ebgp-multihop [2-255 255 bad (ap CidicSag - OptionaL ee A(Config) 2° Youler bgp AS2E A (Config-router) 2 neighboor iP of B_ passworol i800 B (Conky) 4¢ router bap ASAE B (con arn y POP A passuorol CSO _ S&A feRoutes Discouesy: Considerations :- -Adlvertise Networks : AlgT (10.0.0/24 ee Redislribule IGP into BGP: (Config) 2% souler bgp 4 (Config -roiter) 2 redistribute eigyp 4 yoile-map tag not YeCommanded x Use Network, Commanel : (Config) 3k rouler bap 4 (Conkig-router)ae network 11.0.0.0 mask, 255.955.955.0 Cuxse Anes Sunchronizalion Feule + Rlaorke Should exis! exactly (network. mask.) in vouling ‘table... pd ray Wd ly toile PCL) Cu) 00 Conmat CLD (ll Bui jy, —Aduerlige Summarized Network : ye % SL 640.008 - 65000/8 eure (Conk) ae rouler bgp L (Contig-roiden) AP netioork 64.0.0.0 mask 255.0 0.0 +inject bogus slalic mule. (Config) A¥ ip voule 64.0.0.0 2520.00 rullo + aggregale aoldress (Conkig-rouler) 7 aggregale-address 64.00.0 252.000 Qo S&A ae(Zi) Inside Stub AS ; we need network. Command or aggregate acklress Command to adverlise yoiles irle BGP world. (2. Inside Tansit AS (Service Povider) + ~Run iBAP insicle all transit AS outers (76 avoid black holes). -BGP split horizon rule: (1 aveid ivternat loops) Route learnt Rom ibgp Should never be advertised back. to anotler ibgp ... AS2 (Transit AS) > 83 . ASL ST Oe Nadel B 10.0.0/24 OE, 11.0.0.0/24 Conclusion: in Transit AS ‘un iBGP _, Fall mesh neighbor n(n-1) 12. —>Roite RePlector (disobeg spithorizon vale) . —> MP-BGP (HPISVPN) = TunnelsSession 15 Part £ BGP Operolion - Neighbor Discovery Consideralion : 1 (Config) 2 router gp AS neighbor (Config-router) ak neighbor peP neishber fo remdle-os ASA glonel ® (Config) 2x touler OSpP Ae old des oy) (Config-roulér) 2% neighloor ‘PoP ay inleface o.0.M grea A BlConkig) a router logp AB loopback (oii (ConPig-rouler) a neighloor ‘PoP neshleor fo Update Source 74 Mepback name befueen dePFeront ASs B Conkig-router) a neighbor ‘PePneighbar £0 ebgo-matthops TTL Aahow ip bgp ‘summary Routes Discovery: "exchange oP updates + network mask. ,atibulés” (0) Aolvertise Redes Stub AS (Conka) 2 roulér bgp ASX (Config- router) A network. [mosk ——____] 9 Synchronization “Rule : Paulos advertised by BGP shoud be leant by IGP. ste Connectect (Config) x¢ roufer gp ASX OSPF AIP, ... (ConPy-roulér’) 2% no SyachroniZallion & For Tansit AS : Fun iBGP on all Transit AS vouler x Pall mesh neighbor ship n(n-l)/2 ¢ Wule-rePlector (n-1) ..RR disobey BGP splithorizon rule... | HP-BGP (ulti Protocal-BGP) ...(HPIS VPNs) . S&A te U(ConP.a) ax rouler bgp 2 — (ConPig-rouler) Ae neighbor G remole-as 2 Q(RR): (Conk) 4% router bap 2 (Conkig-roulér) Ay neighbor BC/D,E temole-as 2 (ConPig-router) ap neighbor B,C/D,E roufe-rePlector-client @ Next hop selP Por Updates : (Conhig-roider) a¥ neightoor ip oP neighbor pext-hop-sd? ArShow ip bgp = BGP Table. Session 15 Part 2 ChooSing best Path “WLOA OXNI” B Highest qeight. defoutt o ... Cisco dllribule. Bdighest Local preference . default 100 BoOrignate roule prPerect over weceived wile. ud. se! H call asd Si) nad Colo, OU ys JOT @ Shortest AS palk fist (less ASs ishest). Least Origin (nékvork Commanal or vedislribullion S&A@Otest Hed. fit here of least BGP peighbor is preerecl over iBGP neighbor. @ Least RID. BGP by default Choose only pall? far foacl shaving used ConPigralion... (Config-rouler}4¢ maximum-patks Session 15.Part 3 BGP Attribules \.AS RAR List . : @ell Known mandato; Force incoming TraPRic Know by iBGP, eBGP Sy inevery update. or Confedleralion “divide AS ito sub ASS” ASE =e oleh aon N0.0.0]24 AS Pak bist 1109 0/24,(4,8,2,1) noo.0l24 : Oistaar(F) AS no. is prepended in eBGP Sessions... 144t4 Frader ‘BGP Table AlcerBs)4rroule-map A permit AConkig-route-map) ay match ip address 11 néuscrk-Imask | AS] a(amfig-ride-map) 4pset as-pal® prepend 11 4 I>11.0.0.0 /24 { A(Config) a vouler bgp 4 11.0.0.0]24 4,3,2,4 | A(Config-rouler) ay neighbor F vemole-as 5 A(Config-rouler) ar neighbor F route-map A {S&A (oss2. Local PrePerence.: Porce -0 outgoing tiaPBe dell Known — disCrélionary a4) 33 ojo Gel Krown — discrehonor In_iBGP session_only not in each rouler — 452 update 300.0.0/24 B (Conky) 2 roule-map_B permit —B (Config-roule-map) A¢malch_ip_address... 30 B (Conbig-roilermap) a Set tocal_prePerance $2 __Higrest is bestSession 16 Fart 1 BGP Attribules (Conk.g) 2% youle-map tag permit (Config=voule-map) 3 malch_ip.address_ = (ConPig-roule-map) a¥-Set coeight _deFault_o ‘ force Highest 18. best outgoing Ci8Co_alltribufe (never adlvertised). locally SigniPicart ytraPFic (ConPig-route-map) ae Set focal prePerence. leFault400, Highest is_best- landarel attribules (advertised inside. AB only) CHiBGP fardin .. cnlul voulets JO dy 5ySle iy, ule aaa (Config-roule-mmap) ay Set metric default 0 \ Porce Least is. best incoming aduerlised to all ASs (eBGP, :BGP) ye trafhic HED (Hulti_Exit Discriminator) (ConPigzroule-map) Ar set as-paik prepend ~~ —-—-— ... dePault_no_extas Least is best ———— No ASD. Groeten \ 2220/24(A) BGP Table (A) BGP Table [ retiwork /mask | ac | w 32.29.0/24 |B [> 2.2.2.0 12H clo —L ae Set. weight SO (on, A) Customer BaP Table . > on EorC: Set_meiric 50 Session 5. Origin Altribule = It is well Known mandalory.. update. |.1.0/24, Hedl= 50, | network /mask. [wi Jo | L-P s2.2.2.0/24 Blo ee 2.2.2.0 /24. | C. [0] loo (on. B). Set Local. ae eee 200 update 1...0/24,Hed=0, 83 pa cate AS pai dst 4. oader Sertice ) 111.0 /24 144.0 Jo4 16 Fart 2 ineach update 2 Ee 11.0.0.0/24 Ha) 110.0.0/24 AS RER] Origir me [orsn O_, nedworle, Commanol (is prefered) . _»tedislribule. le BAPa Ee Se ee jee sey. "BGP Table: bi.000 /24 Do Wooo/4 E 4 Et Next Hop Attribute: This well Known mranoblory ineach upda. - in BGP next hop is not rouler by rodler; itis AS by AS. Lis change only in eBGP sessions . La NX UE ® A a 5 ( © ( Sere, Jee I i : Sake cs rt eho ley ]No.0.0/04 SS next Lori) Igrp pd in BEP_NH_is_rouler in next as. least ACH mis Least foopback. BlconPig) ae miler bgp2 'B (conPig-routér) 3 neighbor —ifernall 1B next-hop- selP A_piplodes nr itso jap ileal 9) Ls Uy CryhS gid BCommunity Atiritoute: VRE (virtual Rouling & Forcoarcling) x «(Aer Changing any BGP Attribute you Shoula clear BAP So_altribufe“con take effect... Ae Clear ip_bop § asbncishbor | q All neighbors ) a Session |6 Rat 3 EIGRP(Enhanceol IGRP) 4, Advanceal Distance Vector: (Ci8co_prdoca! (Soon will be stanclardl) ‘mast (classless. Pataca)... IEIE multicast (use_224.0.9.lo) authentication (optional). 2. Itis as Simple Prdlacoh. Contiguacition ~ Operation 3. Conk igurallion.. (Config) ae vouiler— eigrp Bs, 78 cess (Conkig-rodler) 2% netivork. iPoP interface [w.c.ni] Class Cu 9nJe-cbfault bod CpisSags 09) ya bi Jhy mask ciuS oJ, ‘< 4. Seamless operalion amany ciPRerent Topology - 5. DUAL algorithrn : Choose best pal (Successor) and backup pole (Peasible successor)“O° DEX" 6 Symbol in Rouling Table. infernal extemal F. Admin. distance =. 90,170, 5 ae tot \_/R, (lo*/@w) 8. Melia. =256 [kod S S) (Sees +(t0. delay) 4 -astiaa)| Default x, ry ef K-volues Xk =ky =k, =0 Default. Metric = 256 1 ets delay) | Tos = Periorily (Config router) 2% melric. eit Oi} of ” prePered ot. TFTA etn K,—Ky kK 20:955 Ky Ky —KSession 1% Part 4 EIGRP Components a EIGRP is alayer 3 protocal no..88 that needs some offer Sluls fo_operole. properly. r _ DUAL (DiPPusion Updote_ALgorittim) : Choose Successor (best Pak) & feasible Successor (backup Poi)... 7 PDH (Rotocal Dependent Hodlule) : Itis Slw_aolaptible, makes eigrp work eit any rouledl protocal ...IPx Appletalk, IPvy., 1Pve “RTP (Reliansmission Tonsport Protoca2). bke TOP fu €igyp on 43... ©. @ Update, y¢ fees (Retransmission Time Out) {Upto I6 Times session tosdt_= reset neighbor Ship SRTT(Bmodlk __Hrello - Round Tigstime) \_, el RTO =n x SRTT neighloor Frilure Y 1G@RTO_or ghello intger-nunber_basecon phi Ie! inlerFace Tipe. — — aeEIGRP Tables 1. EIGRP neighbor table : Directly connectedt_neighbor 2 Show ip_eiqrp neighbor 1PoP neighbor | InteFace | satt| Rto 2. EIGRP Topology Table « All dearnt_routes. (me§ my neighbors_youliag table) we 2 Show ip 2igr;> Topology 3.F3. AFShow ip eigrp Topology all-binks, 3.FS., Non. 3. Reouling Table ; A best pais C68 search boy. tha 2X Show ip toule . WeWy Beech Ae Show. \p ule eigrp. EIGRP Packets ~ Hello Update ~ ACK... eee j @change ~ ReplgEIQRP Operalion _@Stortup . — ey 9 ISK _ — (Config) a rouler elgi E as oe —entayin) aerctooke. BePice [vem] 1, Neighbor Discovery: Tot Og C—O hello, _ - _— Neighbor Ship Condiilions = Sei Sk Loa) 1h Same subnet . oT. hn hana net Bh pO _.9. Same AS 4 “Global Process®... z 3. Same_\-values . “ATU. is tiebreaker” 4. Same. Adhenticalion (erode, Key) . + biiitalloge gfe! Jul Hashed (MDS). —(Conkig) ae interface SO : —(ConPigaiP) dip authentication moole_ eigyp 222 full] Hashed f a (Conig-iP) 3 ip authentication. Key-chain ede (Config) ay Key Chain 2M, toh brane’ eonptot Iyaot (ConPig-Key-chain) Ae Key 4 Har! vee (ConPig-Key-Chain) Ae fates LisCo 4 — (Conbig-kej-chain) aie accept Oe ime 0:00:00 14-08 255458 sr-208 (ConP’9-Key chain) Ae Key 2 “ eds —(ConPig-Key-Chain) Ae Key-sttring Ci8Co2 (Config Key-chain) accept -Hfelime 90:00 1280 23.64.51 282-208. _ Session IF ReA_3. 2. Roules Discovery: Pate néiwork mask , metric EIGRP reserve S0% of Bw max. for upolates (iPexist) ... Update [50% data T50uif (Config) a interface 30 (ConPg-iP) AP ip bandwialtk-percentage eigra 292 % “default 50” =p Bulicling Topology Table : Choose Guctessor 4. Feasible successor Best aaa Backup’ Pai feast melric achieve Poasibil ity. Conditions FD(s)_S AD(FS)_ FD: feasible distance (Pal! distance) metric. From my nailer Till St néliwork. AD: adlveitised distance (Yeporied distance) mélric. bélveen my_neighoar § oot eat Topology Table\ p 200:0.0|94A (Config) 3% access-list 64 permit, 90.0.0.0 A Config) ay touler eign 992. A Config -rouder) aie oad list 64 Sy 4. CobPset aclder 200.0.0/24 FD _ Vion BS, 30 FS a Via CS, 24 _{[s a MAD Ss, 45 FS Unequal, Loadsharing . : poe Ee —_(ConPig) ae rouder Migep 222: conmur alan on (Con? ig -rouler-) OF Variance —jtler “sePault. 4" Jn routing able =p metric Least. =p _ metric. # variance apis Variance! CAaiaial rs oo — Peasible. CondiTianochieved AF Show ip Protocals —Session 18 Part 4 E1GRP oPeralions @stutup 4. Neighbor Discovery. - ‘ie: o- 2240-000 Hello (8) fe network /mask , metric. 2.Roules Discovery . ~SummariZalion + ss EIGRP_by default Support mi -Summasy ais fo.12.0]24 Pre. (confi) roller a lo.13.0f24 Auto-Summary (Cankig-router) ¢-n0 ufo Summary Hina Sura : (Config) 2¥-interPace 80. (Config.8).4 ip. summargpaddrees eigyp 4, Sumary mask [oistance ] _ bydlebeult 5 -RIPye . (Config-i®) 2 ip Summary-address vip Network mask —OSPE : ost (Conkig-rouler’) 2& Summary-address pelwork mask, manual Summary for netinorks Krown hy Type 5 LSA we (ConPig-roider) 3¢ avea.__ yayge. network _mosk manuak summary For netvorks Known by Type 313A— BGP: (Config rouler). 2 aggregale- -address _ndoork a2 | sumneg-ofg) default BGP will advertise details + Summary? 2.exlva_optional_attributes a aggregator IDO Atomic. a.ggregale. ol Stoo ASS gaonols Ging 9 Fag, Z Session 18 Part 2 @Convergence. _+ 0 periodic update. - Periodic hello . every 5 Seco every 60 Sec. Ethernet | MPLS -FRIATH | X.25 PPP ADE iP speed < T, -FRIJATH] X25. iP speeds T, SIP v2 Periodic update every s0 sec. ft faut —OSPFE : Periodic LSA_every 30min(For Lspe | rePresh ned) : Commanal to Cancel it. _-BGP.+_NO_periodlic upalate. @ change: : - IP oiler disabled eigrp : — Goodbye (Conkig)¥ no rouler-eigyp 922. (1 7 Talla