1 00:00:00,000 --> 00:00:03,896 [AUDIO LOGO] 2 00:00:03,896 --> 00:00:08,280 3 00:00:08,280 --> 00:00:10,740 Normally, in a service provider core, 4 00:00:10,740 --> 00:00:13,650 we're going to be wanting to run LDP 5 00:00:13,650 --> 00:00:16,470 on all of the same interfaces that we're 6 00:00:16,470 --> 00:00:18,840 running our core routing protocol on, 7 00:00:18,840 --> 00:00:22,230 such as OSPF or ISIS. 8 00:00:22,230 --> 00:00:26,490 Now some of our devices may have a large number of interfaces. 9 00:00:26,490 --> 00:00:29,460 Going and configuring LDP on all of those 10 00:00:29,460 --> 00:00:33,030 interfaces individually when in fact, we really 11 00:00:33,030 --> 00:00:36,330 just want the same interfaces running our routing protocol, 12 00:00:36,330 --> 00:00:40,210 and LDP can get a little bit tedious. 13 00:00:40,210 --> 00:00:43,170 So we have this feature, autoconfiguration, 14 00:00:43,170 --> 00:00:47,430 which allows us to turn this on under the routing protocol, 15 00:00:47,430 --> 00:00:50,250 and then whatever interfaces we enable 16 00:00:50,250 --> 00:00:55,110 for that routing protocol will also be enabled for LDP. 17 00:00:55,110 --> 00:00:58,170 Now like most things that happen automatically, 18 00:00:58,170 --> 00:01:00,570 this is generally a good feature, 19 00:01:00,570 --> 00:01:03,600 but we do want to be aware that you are losing 20 00:01:03,600 --> 00:01:05,640 a small amount of control here. 21 00:01:05,640 --> 00:01:07,950 If you did have interfaces, you maybe 22 00:01:07,950 --> 00:01:11,440 didn't want to be running LDP, in which case, 23 00:01:11,440 --> 00:01:14,190 maybe you still want to configure that device manually. 24 00:01:14,190 --> 00:01:15,960 But let's go ahead and jump in here 25 00:01:15,960 --> 00:01:18,750 and see how we configure autoconfiguration 26 00:01:18,750 --> 00:01:21,690 on our devices. 27 00:01:21,690 --> 00:01:24,530 So there are two ways that we can 28 00:01:24,530 --> 00:01:28,830 use to implement LDP on our devices. 29 00:01:28,830 --> 00:01:32,060 The first is sort of the more traditional way, 30 00:01:32,060 --> 00:01:36,440 which is manually configuring all of the interfaces 31 00:01:36,440 --> 00:01:38,240 to run LDP. 32 00:01:38,240 --> 00:01:40,370 Now, depending on our platform, that 33 00:01:40,370 --> 00:01:42,680 might be under the LDP process, or that might 34 00:01:42,680 --> 00:01:44,420 be under the interface itself. 35 00:01:44,420 --> 00:01:47,750 But nonetheless, it's still a manual process. 36 00:01:47,750 --> 00:01:51,560 Now this does have at least one advantage, 37 00:01:51,560 --> 00:01:56,600 and that is that it does give us precise administrative control 38 00:01:56,600 --> 00:02:01,160 over exactly which interfaces are going to be running LDP. 39 00:02:01,160 --> 00:02:04,340 There is the possibility that we don't necessarily 40 00:02:04,340 --> 00:02:07,820 want to run LDP on all of the interfaces 41 00:02:07,820 --> 00:02:10,280 that are running our IGP. 42 00:02:10,280 --> 00:02:13,520 On a core device, I think that would be pretty unusual, 43 00:02:13,520 --> 00:02:15,770 but it's certainly a possibility, 44 00:02:15,770 --> 00:02:18,470 in which case manually configuring this 45 00:02:18,470 --> 00:02:20,360 might be the way to go. 46 00:02:20,360 --> 00:02:24,140 On the other hand, that can get quite tedious 47 00:02:24,140 --> 00:02:29,000 and even error-prone on devices, particularly 48 00:02:29,000 --> 00:02:31,310 with a lot of interfaces. 49 00:02:31,310 --> 00:02:34,260 Again, human error can come into play here. 50 00:02:34,260 --> 00:02:37,950 We miss an interface, something like that. 51 00:02:37,950 --> 00:02:41,420 Now, one thing to add to this a lot of devices 52 00:02:41,420 --> 00:02:44,780 do support interface range commands, 53 00:02:44,780 --> 00:02:48,770 where we can configure multiple interfaces at the same time. 54 00:02:48,770 --> 00:02:50,390 Some devices do. 55 00:02:50,390 --> 00:02:51,920 Some devices don't. 56 00:02:51,920 --> 00:02:53,750 It really depends on what type of devices 57 00:02:53,750 --> 00:02:57,020 you have in your core whether you can use interface range 58 00:02:57,020 --> 00:02:57,770 commands. 59 00:02:57,770 --> 00:03:00,260 But that could be a way that we could configure 60 00:03:00,260 --> 00:03:03,470 multiple interfaces manually, configuring them 61 00:03:03,470 --> 00:03:05,370 all at the same time. 62 00:03:05,370 --> 00:03:08,240 But for most environments, a better choice 63 00:03:08,240 --> 00:03:11,660 would be to do autoconfiguration. 64 00:03:11,660 --> 00:03:14,210 Now once again, like a lot of the features 65 00:03:14,210 --> 00:03:17,180 we've looked at through this entire section, 66 00:03:17,180 --> 00:03:21,980 this is supported only by OSPF and ISIS. 67 00:03:21,980 --> 00:03:26,000 And that's generally fine because those are generally 68 00:03:26,000 --> 00:03:27,950 the only two protocols that we want 69 00:03:27,950 --> 00:03:32,540 to use under MPLS as our underlay protocol 70 00:03:32,540 --> 00:03:35,330 since they're the only ones that support things like traffic 71 00:03:35,330 --> 00:03:36,650 engineering. 72 00:03:36,650 --> 00:03:39,470 Now the advantage of the autoconfiguration 73 00:03:39,470 --> 00:03:42,950 is, of course, it automatically enables 74 00:03:42,950 --> 00:03:48,320 LDP on the interfaces that are running the protocol. 75 00:03:48,320 --> 00:03:50,660 So once we configure routing protocol, 76 00:03:50,660 --> 00:03:53,970 we're configuring LDP right along with it. 77 00:03:53,970 --> 00:03:57,540 And the other cool thing is this is actually really, 78 00:03:57,540 --> 00:03:59,210 really easy to enable. 79 00:03:59,210 --> 00:04:02,960 So we enable it under the routing process, 80 00:04:02,960 --> 00:04:07,070 and all we have to do on both iOS XR and XE, 81 00:04:07,070 --> 00:04:11,630 we simply say, mpls ldp auto-config. 82 00:04:11,630 --> 00:04:16,130 Now in OSPF specifically, if you want, 83 00:04:16,130 --> 00:04:19,519 you can specify an area by simply adding 84 00:04:19,519 --> 00:04:23,790 area_id to the end of this same command here. 85 00:04:23,790 --> 00:04:25,850 So if, for some reason, you only want 86 00:04:25,850 --> 00:04:29,450 to run LDP in a particular area, that's 87 00:04:29,450 --> 00:04:34,280 also an option with autoconfiguration. 88 00:04:34,280 --> 00:04:37,460 In this video, we took a look at a way 89 00:04:37,460 --> 00:04:41,510 to automate enabling LDP on our interfaces 90 00:04:41,510 --> 00:04:43,970 right along with our routing protocol. 91 00:04:43,970 --> 00:04:46,460 This, of course, is called autoconfiguration, 92 00:04:46,460 --> 00:04:47,730 as we just saw. 93 00:04:47,730 --> 00:04:52,280 And it's only supported with OSPF and ISIS, which, again, 94 00:04:52,280 --> 00:04:56,270 is generally fine because those are usually the only routing 95 00:04:56,270 --> 00:04:59,420 protocols that we want in the underlay anyway. 96 00:04:59,420 --> 00:05:01,790 Keep in mind, though, if you do need 97 00:05:01,790 --> 00:05:04,010 more administrative control than this, 98 00:05:04,010 --> 00:05:07,440 you can always just revert to doing it manually. 99 00:05:07,440 --> 00:05:09,740 So that covers everything that we 100 00:05:09,740 --> 00:05:12,020 need to discuss in this skill. 101 00:05:12,020 --> 00:05:16,550 That leaves us only with a review in the form of a quiz. 102 00:05:16,550 --> 00:05:19,350 And that's exactly what we're going to do next. 103 00:05:19,350 --> 00:05:22,850 Until then, I hope this has been informative for you, 104 00:05:22,850 --> 00:05:25,930 and I'd like to thank you for viewing. 105 00:05:25,930 --> 00:05:30,000