90 likes | 216 Views
Interfacing Interior and Exterior Gateway Protocols. Two classes of routing protocols. Exterior Gateway Protocol (e.g., BGP) Used to exchange routes between different domains (autonomous systems) Interior Gateway Protocol (e.g., IS-IS, OSPF, RIP, IGRP)
E N D
Two classes of routing protocols • Exterior Gateway Protocol (e.g., BGP) • Used to exchange routes between different domains (autonomous systems) • Interior Gateway Protocol (e.g., IS-IS, OSPF, RIP, IGRP) • Used to establish routing tables within a domain
Redistribution of OSPF routes into BGP http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml
Redistribution of OSPF routes into BGP Codes: C – connected O – OSPF E1 – OSPF external type 1 E2 – OSPF external type 2 IA – Inter-area http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml
Redistribution of OSPF routes into BGP • Key: • * - valid • > - best route RTB# show ip bgp BGP table version is 30, local router ID is 192.168.1.7 Network Next Hop Metric LocPrf Weight Path *> 2.2.2.0/24 0.0.0.0 0 32768 ? *> 131.108.1.0/24 2.2.2.2 84 32768 ? *> 131.108.2.0/24 2.2.2.2 74 32768 ? *> 200.1.1.0 2.2.2.2 20 32768 ? *> 200.2.2.0 2.2.2.2 104 32768 ? http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml
Redistribution of OSPF routes into BGP http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml
Redistribution of BGP routes into OSPF (iBGP) https://supportforums.cisco.com/docs/DOC-18319
Redistribution of BGP routes into OSPF • R1#sh ip bgp sum • BGP router identifier 1.1.1.1, local AS number 100 • BGP table version is 3, main routing table version 3 • 2 network entries using 240 bytes of memory • 2 path entries using 104 bytes of memory • 1/1 BGP path/bestpath attribute entries using 124 bytes of memory • 0 BGP route-map cache entries using 0 bytes of memory • 0 BGP filter-list cache entries using 0 bytes of memory • BGP using 468 total bytes of memory • BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs • Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd • 192.12.12.2 4 100 117 119 3 0 0 01:43:47 0 https://supportforums.cisco.com/docs/DOC-18319
Redistribution of BGP routes into OSPF R3#sh ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, + - replicated route Gateway of last resort is not set O E1 172.16.0.0/16 [110/101] via 192.23.23.2, 00:57:55, FastEthernet1/0 192.23.23.0/24 is variably subnetted, 2 subnets, 2 masks C 192.23.23.0/24 is directly connected, FastEthernet1/0 L 192.23.23.3/32 is directly connected, FastEthernet1/0 https://supportforums.cisco.com/docs/DOC-18319