1 00:00:00,000 --> 00:00:07,150 2 00:00:07,150 --> 00:00:11,260 So now it's time to talk about bringing the ultimate summary 3 00:00:11,260 --> 00:00:14,800 route into OSPF, the default route. 4 00:00:14,800 --> 00:00:18,560 Because that is a summary of all other routes. 5 00:00:18,560 --> 00:00:20,410 That's what a default is. 6 00:00:20,410 --> 00:00:25,460 Now back in our skill on OSPF special area types, 7 00:00:25,460 --> 00:00:27,970 we've already discussed some ways 8 00:00:27,970 --> 00:00:30,820 that a default comes into OSPF. 9 00:00:30,820 --> 00:00:34,960 A stub area, for example, always generates a default, 10 00:00:34,960 --> 00:00:40,540 as does a total stub and a total NSSA. 11 00:00:40,540 --> 00:00:44,830 Now, an NSSA can also originate a default route, 12 00:00:44,830 --> 00:00:47,330 but we have to do that manually. 13 00:00:47,330 --> 00:00:50,530 Well, the way we do it in a normal area 14 00:00:50,530 --> 00:00:55,930 is also very similar to the way we do it in that normal NSSA. 15 00:00:55,930 --> 00:00:59,150 And that's what we're going to be focusing on in this video. 16 00:00:59,150 --> 00:01:03,520 how do we bring a default route into OSPF other 17 00:01:03,520 --> 00:01:06,320 than our special area types? 18 00:01:06,320 --> 00:01:08,800 So let's jump to our topology real quick, 19 00:01:08,800 --> 00:01:11,420 just to take a look at where we're going to bring it in. 20 00:01:11,420 --> 00:01:13,330 And then we'll jump on to the command line, 21 00:01:13,330 --> 00:01:16,490 and we'll see this in action. 22 00:01:16,490 --> 00:01:19,060 So very simply, in this case, we're just 23 00:01:19,060 --> 00:01:22,810 going to bring in a default route on router 10, 24 00:01:22,810 --> 00:01:27,230 have it inject it into the rest of the OSPF environment. 25 00:01:27,230 --> 00:01:30,370 Now as we jump into this, keep in mind 26 00:01:30,370 --> 00:01:34,720 that currently, router 10 does not have its own default 27 00:01:34,720 --> 00:01:36,500 route going anywhere. 28 00:01:36,500 --> 00:01:39,460 So that's just something we need to keep in mind as we 29 00:01:39,460 --> 00:01:40,880 jump into the command line. 30 00:01:40,880 --> 00:01:43,000 So since we know there's no defaults anywhere 31 00:01:43,000 --> 00:01:44,860 at this point, there's nothing really 32 00:01:44,860 --> 00:01:46,580 to look at before we begin. 33 00:01:46,580 --> 00:01:51,970 So let's just jump right into the command line on router 10. 34 00:01:51,970 --> 00:01:54,810 So what we'll do here on router 10 is, 35 00:01:54,810 --> 00:01:57,450 under the router OSPF process, we 36 00:01:57,450 --> 00:02:01,920 will use the default information originate command. 37 00:02:01,920 --> 00:02:03,060 We'll hit Enter. 38 00:02:03,060 --> 00:02:08,190 And this is supposed to inject a default into OSPF. 39 00:02:08,190 --> 00:02:12,910 Let's just jump right over to router 6 to see if it has. 40 00:02:12,910 --> 00:02:15,600 If we do a show IP route OSPF, we 41 00:02:15,600 --> 00:02:19,860 see that there is no default route. 42 00:02:19,860 --> 00:02:22,860 The reason we're not getting this default route here 43 00:02:22,860 --> 00:02:27,210 on router 6 is because in order for the default information 44 00:02:27,210 --> 00:02:31,110 originate command to actually send in a default, 45 00:02:31,110 --> 00:02:34,800 the router doing the default information originate 46 00:02:34,800 --> 00:02:38,760 has to have its own default route. 47 00:02:38,760 --> 00:02:41,730 And in this case, router 10 does not. 48 00:02:41,730 --> 00:02:44,040 Therefore, default information originate 49 00:02:44,040 --> 00:02:46,170 is not doing anything. 50 00:02:46,170 --> 00:02:51,130 In order to get it to work, we really have two choices. 51 00:02:51,130 --> 00:02:55,830 Choice number one is, we can simply give router 10 a default 52 00:02:55,830 --> 00:02:59,250 route, in which case that'll meet the criteria, 53 00:02:59,250 --> 00:03:03,600 and router 10 will start sending a default route into OSPF. 54 00:03:03,600 --> 00:03:06,030 And we'll do that option first. 55 00:03:06,030 --> 00:03:09,150 But in some situations, you may not 56 00:03:09,150 --> 00:03:11,550 want router 10 to have a default route. 57 00:03:11,550 --> 00:03:16,140 Or maybe for some reason, it can't, in which case 58 00:03:16,140 --> 00:03:19,680 there's an additional option on the default information 59 00:03:19,680 --> 00:03:24,060 originate command that we can use to tell it to originate 60 00:03:24,060 --> 00:03:28,350 that default, even if that router itself does not 61 00:03:28,350 --> 00:03:31,270 have its own default route. 62 00:03:31,270 --> 00:03:34,000 So we'll take a look at that option second. 63 00:03:34,000 --> 00:03:39,680 But let's start by putting a default route onto router 10. 64 00:03:39,680 --> 00:03:42,590 So back up here on router 10, we will simply 65 00:03:42,590 --> 00:03:45,380 make up a default route. 66 00:03:45,380 --> 00:03:50,060 We'll just say that it's going to route the default 67 00:03:50,060 --> 00:03:53,390 to say loopback 0, which of course, is not really 68 00:03:53,390 --> 00:03:56,030 a valid default gateway. 69 00:03:56,030 --> 00:03:59,840 And it's sort of telling us that here as well in the message. 70 00:03:59,840 --> 00:04:01,770 But that's OK. 71 00:04:01,770 --> 00:04:05,980 If we do a show IP route, it did, in fact, still take it. 72 00:04:05,980 --> 00:04:09,210 So even though it's, of course, really not valid, 73 00:04:09,210 --> 00:04:12,810 that's not going to matter a whole lot to OSPF. 74 00:04:12,810 --> 00:04:15,840 Let's go take a look at router 6 again. 75 00:04:15,840 --> 00:04:18,550 On router 6, if we look at our route again, 76 00:04:18,550 --> 00:04:22,650 we see that we are now, in fact, getting that external type 2 77 00:04:22,650 --> 00:04:25,630 default from router 10. 78 00:04:25,630 --> 00:04:27,810 So another important thing to note here 79 00:04:27,810 --> 00:04:32,310 is that default information originate brings that default 80 00:04:32,310 --> 00:04:37,030 route in as an external type 2. 81 00:04:37,030 --> 00:04:39,010 Now this default should be propagating 82 00:04:39,010 --> 00:04:41,480 through our entire OSPF domain. 83 00:04:41,480 --> 00:04:44,920 So let's just pick another router, such as router 4, 84 00:04:44,920 --> 00:04:46,070 to verify. 85 00:04:46,070 --> 00:04:48,400 So on router 4, we'll do a show IP route. 86 00:04:48,400 --> 00:04:51,040 And we see that this router also has 87 00:04:51,040 --> 00:04:55,630 that default equals now that's being originated into OSPF. 88 00:04:55,630 --> 00:04:58,330 So now let's look at the second option. 89 00:04:58,330 --> 00:04:59,860 Let's go back to router 10. 90 00:04:59,860 --> 00:05:02,920 We will take out that default route we just put in. 91 00:05:02,920 --> 00:05:05,650 We'll go back into the router OSPF process. 92 00:05:05,650 --> 00:05:09,280 And on the default information originate command, 93 00:05:09,280 --> 00:05:11,140 we will say always. 94 00:05:11,140 --> 00:05:14,570 Notice, by the way, there are some other options here, 95 00:05:14,570 --> 00:05:16,550 which we're not going to explore. 96 00:05:16,550 --> 00:05:20,110 But we could, if we wanted to, manually set a metric 97 00:05:20,110 --> 00:05:22,340 or change the metric type. 98 00:05:22,340 --> 00:05:25,540 So if we wanted this to be, say, for example, an external type 99 00:05:25,540 --> 00:05:27,880 1, we could change that. 100 00:05:27,880 --> 00:05:30,880 Or we can also run this through a route map 101 00:05:30,880 --> 00:05:33,940 to change various attributes of the route. 102 00:05:33,940 --> 00:05:39,010 In this case, we're just going to go ahead and say always. 103 00:05:39,010 --> 00:05:42,810 So now, if we do a show IP route on router 10, notice, 104 00:05:42,810 --> 00:05:45,870 it no longer has a default route. 105 00:05:45,870 --> 00:05:49,410 However, if we go back to, say router 6 again, 106 00:05:49,410 --> 00:05:51,520 we look at our routing table again, 107 00:05:51,520 --> 00:05:54,330 we still have a default. And again, 108 00:05:54,330 --> 00:05:57,000 It should be propagated through the entire domain. 109 00:05:57,000 --> 00:05:59,610 We could verify again on router 4. 110 00:05:59,610 --> 00:06:02,290 We'll do the show IP route here on router 4 again. 111 00:06:02,290 --> 00:06:04,620 And we can see that we do, in fact, still 112 00:06:04,620 --> 00:06:08,560 have this default route. 113 00:06:08,560 --> 00:06:12,610 In this video, we looked at originating a default route 114 00:06:12,610 --> 00:06:16,690 into OSPF, specifically using the default 115 00:06:16,690 --> 00:06:19,000 information originate command. 116 00:06:19,000 --> 00:06:22,540 Our key takeaways here would be that if you just 117 00:06:22,540 --> 00:06:25,240 say default information originate by itself, 118 00:06:25,240 --> 00:06:28,480 there is a requirement that router already 119 00:06:28,480 --> 00:06:33,140 have its own default route in its routing table. 120 00:06:33,140 --> 00:06:36,910 If you cannot or do not want to supply that router with 121 00:06:36,910 --> 00:06:41,320 a default route, then you can add the keyword always 122 00:06:41,320 --> 00:06:43,510 to the default information originate, 123 00:06:43,510 --> 00:06:47,110 and it will always generate a default route, 124 00:06:47,110 --> 00:06:52,460 even if that router itself does not have a separate default. 125 00:06:52,460 --> 00:06:54,500 I hope this has been informative for you, 126 00:06:54,500 --> 00:06:57,580 and I'd like to thank you for viewing. 127 00:06:57,580 --> 00:07:01,000