1 00:00:00,000 --> 00:00:03,311 [AUDIO LOGO] 2 00:00:03,311 --> 00:00:07,100 3 00:00:07,100 --> 00:00:12,140 So next up, let's take a look at summarizing external routes. 4 00:00:12,140 --> 00:00:16,219 Now, truth be told, this is very similar in process 5 00:00:16,219 --> 00:00:18,830 to summarizing the internal routes. 6 00:00:18,830 --> 00:00:22,490 But, of course, it has to happen on the ASBR, which 7 00:00:22,490 --> 00:00:26,510 is the one bringing the routes into OSPF, to begin with. 8 00:00:26,510 --> 00:00:30,050 And the command is a little bit different. 9 00:00:30,050 --> 00:00:34,490 Not only that, it's a little bit different between iOS XE 10 00:00:34,490 --> 00:00:37,080 and iOS XR as well. 11 00:00:37,080 --> 00:00:39,210 So we will look at both of those. 12 00:00:39,210 --> 00:00:41,690 We'll start with iOS XR. 13 00:00:41,690 --> 00:00:44,000 So let's take a look at our topology, 14 00:00:44,000 --> 00:00:45,710 see where these routes are coming from, 15 00:00:45,710 --> 00:00:47,210 where we're going to summarize them, 16 00:00:47,210 --> 00:00:49,190 and then we'll jump into the command line 17 00:00:49,190 --> 00:00:53,010 and see external summarization in action. 18 00:00:53,010 --> 00:00:57,160 So let's start by taking a look at that topology. 19 00:00:57,160 --> 00:00:59,100 So in this demonstration, we will 20 00:00:59,100 --> 00:01:03,120 be focusing on those four external routes coming 21 00:01:03,120 --> 00:01:04,620 from router 9. 22 00:01:04,620 --> 00:01:06,360 These are the routes that begin with 23 00:01:06,360 --> 00:01:13,530 200.200.something.something, but it's really the third octet 24 00:01:13,530 --> 00:01:14,800 where they're different. 25 00:01:14,800 --> 00:01:17,130 So remember that these four routes are being sent 26 00:01:17,130 --> 00:01:20,520 through EIGRP up to router 2. 27 00:01:20,520 --> 00:01:24,372 Router 2, in this case, is the ASBR. 28 00:01:24,372 --> 00:01:25,830 So that, of course, means that this 29 00:01:25,830 --> 00:01:29,250 is the router redistributing these routes into OSPF. 30 00:01:29,250 --> 00:01:31,830 That means that this is where we will have to do 31 00:01:31,830 --> 00:01:33,880 our external summarization. 32 00:01:33,880 --> 00:01:37,380 Now keep in mind that router 2 is running iOS XR, 33 00:01:37,380 --> 00:01:39,660 so that's how we'll be configuring it. 34 00:01:39,660 --> 00:01:42,030 We'll also take a look at the command 35 00:01:42,030 --> 00:01:45,490 just on one of our iOS XE devices. 36 00:01:45,490 --> 00:01:48,180 So, as usual, let's jump in and start 37 00:01:48,180 --> 00:01:51,000 by taking a look at these routes on router 7. 38 00:01:51,000 --> 00:01:54,060 Looking at this sort of as our looking-glass router. 39 00:01:54,060 --> 00:01:56,500 We'll see what these routes look like, to begin with. 40 00:01:56,500 --> 00:01:58,900 And then we'll implement our summarization. 41 00:01:58,900 --> 00:02:02,730 So let's jump over to that command line on R7. 42 00:02:02,730 --> 00:02:06,600 So, once again, we'll do our show IP route OSPF here 43 00:02:06,600 --> 00:02:08,100 on router 7. 44 00:02:08,100 --> 00:02:11,880 But this time, we will filter for external type 45 00:02:11,880 --> 00:02:16,020 2's because that's what these 200.200 routes are coming 46 00:02:16,020 --> 00:02:16,920 in as. 47 00:02:16,920 --> 00:02:21,390 So, as we can see as we begin, we have four subnets coming 48 00:02:21,390 --> 00:02:26,640 from router 2, which are in the 200.200 range. 49 00:02:26,640 --> 00:02:30,030 And, similarly, to what we did with our internal routes, 50 00:02:30,030 --> 00:02:35,340 these are simply subnets 200, 210, 220, and 230. 51 00:02:35,340 --> 00:02:37,920 So now let's jump over to router 2 52 00:02:37,920 --> 00:02:39,780 and take a look at how to summarize 53 00:02:39,780 --> 00:02:41,800 these external prefixes. 54 00:02:41,800 --> 00:02:45,890 So as usual, of course, we go to Configuration mode 55 00:02:45,890 --> 00:02:47,750 for router OSPF 1. 56 00:02:47,750 --> 00:02:52,640 And the command here on iOS XR is summary prefix. 57 00:02:52,640 --> 00:02:56,420 And the way we enter this on iOS XR 58 00:02:56,420 --> 00:03:01,290 is in the form of the address/the mask. 59 00:03:01,290 --> 00:03:07,190 So, in this case, it would be 200.200.0.0/16. 60 00:03:07,190 --> 00:03:10,430 We're going to summarize to a /16 just like we did with 61 00:03:10,430 --> 00:03:11,510 the internals. 62 00:03:11,510 --> 00:03:15,090 If we take a look, we again have some options on this. 63 00:03:15,090 --> 00:03:17,930 We can set a route tag if we want to. 64 00:03:17,930 --> 00:03:20,960 And we're not going to demonstrate it again 65 00:03:20,960 --> 00:03:25,640 because it works the same way as it did with the internals, 66 00:03:25,640 --> 00:03:30,680 but notice we also have that option to not advertise. 67 00:03:30,680 --> 00:03:34,430 So we can, again, use this as a form of filtering. 68 00:03:34,430 --> 00:03:36,620 In our case, we're just going to hit Enter. 69 00:03:36,620 --> 00:03:38,420 Of course, we'll commit our changes. 70 00:03:38,420 --> 00:03:41,870 And let's go back and verify this on router 7. 71 00:03:41,870 --> 00:03:44,610 So we'll just hit our up arrow, repeat the last command. 72 00:03:44,610 --> 00:03:48,200 And we see that, of course, now we have that /16. 73 00:03:48,200 --> 00:03:51,050 Just for completeness, let's take a look 74 00:03:51,050 --> 00:03:53,120 at what happens when one of these routes 75 00:03:53,120 --> 00:03:56,060 flaps just like we did with the internals. 76 00:03:56,060 --> 00:04:02,270 So, once again, we'll do a debug IP OSPF SPF here on router 7. 77 00:04:02,270 --> 00:04:04,400 Then we'll go over to router 9, which 78 00:04:04,400 --> 00:04:07,760 is where these prefixes are actually originating from. 79 00:04:07,760 --> 00:04:10,490 And we'll take down one of our interfaces. 80 00:04:10,490 --> 00:04:12,930 Similarly to what we did with the internal routes, 81 00:04:12,930 --> 00:04:15,050 let's take down the 210 network. 82 00:04:15,050 --> 00:04:17,390 Once again, we'll just shut the interface. 83 00:04:17,390 --> 00:04:20,269 Just to verify that it's gone, let's hop over 84 00:04:20,269 --> 00:04:22,920 to router 2 real quick. 85 00:04:22,920 --> 00:04:25,530 Let's do a show IP route EIGRP. 86 00:04:25,530 --> 00:04:31,260 And we can see that 210 is, in fact, gone now on the ASBR. 87 00:04:31,260 --> 00:04:34,320 We, of course, do still have the other three prefixes. 88 00:04:34,320 --> 00:04:38,280 We can also see that we're generating the OSPF route. 89 00:04:38,280 --> 00:04:42,870 Then we do a show IP OSPF database external 90 00:04:42,870 --> 00:04:45,630 for the 200.200.0.0. 91 00:04:45,630 --> 00:04:49,260 So we can see that we are, in fact, generating this summary 92 00:04:49,260 --> 00:04:50,130 route. 93 00:04:50,130 --> 00:04:52,950 So that means that if we go over to router 7, 94 00:04:52,950 --> 00:04:55,800 we can see that absolutely nothing has happened 95 00:04:55,800 --> 00:04:58,650 on our debug because, again, it's 96 00:04:58,650 --> 00:05:02,700 hiding the flapping of that network behind the summary. 97 00:05:02,700 --> 00:05:05,340 And, of course, that means if we look at the route again, 98 00:05:05,340 --> 00:05:09,090 it's going to look exactly the same because, again, 99 00:05:09,090 --> 00:05:12,840 that failure is being hidden. 100 00:05:12,840 --> 00:05:17,180 So as we can see here, the summarization of the externals 101 00:05:17,180 --> 00:05:21,800 is almost identical to the summarization of the internals 102 00:05:21,800 --> 00:05:24,930 except it's, of course, a different command. 103 00:05:24,930 --> 00:05:27,470 Now we saw it on iOS XR. 104 00:05:27,470 --> 00:05:31,250 Let's take a look at that same command here on iOS XE. 105 00:05:31,250 --> 00:05:35,030 We don't really have any place to summarize routes on iOS XE 106 00:05:35,030 --> 00:05:35,780 right now. 107 00:05:35,780 --> 00:05:40,260 But we can just look at the command right here on router 7. 108 00:05:40,260 --> 00:05:43,590 So if we just go into Configuration mode for router 109 00:05:43,590 --> 00:05:48,960 OSPF 1, it's actually summary address on iOS XE 110 00:05:48,960 --> 00:05:51,600 rather than summary prefix. 111 00:05:51,600 --> 00:05:54,570 We can also see that the way it wants us to put in the address 112 00:05:54,570 --> 00:05:56,500 is just by the IP address. 113 00:05:56,500 --> 00:05:58,090 So we'll just pick on something here. 114 00:05:58,090 --> 00:06:00,720 We'll say something like 10.1.1.0, 115 00:06:00,720 --> 00:06:03,030 even though we're not actually summarizing that. 116 00:06:03,030 --> 00:06:07,060 And then it wants the summary mask in decimal format. 117 00:06:07,060 --> 00:06:10,890 So we could say something like 255.255.255.0. 118 00:06:10,890 --> 00:06:13,660 And then if we hit the question mark at the end of this, 119 00:06:13,660 --> 00:06:16,560 we can see that we have those similar options 120 00:06:16,560 --> 00:06:21,420 of setting a tag on the route or not advertising the route. 121 00:06:21,420 --> 00:06:24,900 On iOS XE here, it has an additional feature 122 00:06:24,900 --> 00:06:29,280 that we can limit this summary to just go into NSSA 123 00:06:29,280 --> 00:06:33,550 or not-so-stubby areas. 124 00:06:33,550 --> 00:06:36,120 So in this video, we looked at how 125 00:06:36,120 --> 00:06:40,230 to summarize external routes in OSPF. 126 00:06:40,230 --> 00:06:42,990 Some of the key takeaways here, remember, 127 00:06:42,990 --> 00:06:45,420 we can only do this on an ASBR. 128 00:06:45,420 --> 00:06:47,220 It has to be on the router that's 129 00:06:47,220 --> 00:06:50,010 bringing the routes into OSPF. 130 00:06:50,010 --> 00:06:53,370 Like internal summarization, it can also 131 00:06:53,370 --> 00:06:57,630 be used as a filter using that not advertised option. 132 00:06:57,630 --> 00:07:01,830 And, keep in mind, that it still functions in the same way. 133 00:07:01,830 --> 00:07:05,910 That it hides flapping of prefixes and failures 134 00:07:05,910 --> 00:07:07,920 on those remote networks that are 135 00:07:07,920 --> 00:07:10,830 being hidden by the summary. 136 00:07:10,830 --> 00:07:12,960 I hope this has been informative for you. 137 00:07:12,960 --> 00:07:16,070 And I'd like to thank you for viewing. 138 00:07:16,070 --> 00:07:19,000