1 00:00:00,000 --> 00:00:03,768 [AUDIO LOGO] 2 00:00:03,768 --> 00:00:08,010 3 00:00:08,010 --> 00:00:09,630 Let's be honest here. 4 00:00:09,630 --> 00:00:13,260 One of the most important things in a service provider corps 5 00:00:13,260 --> 00:00:14,910 is redundancy. 6 00:00:14,910 --> 00:00:17,650 We have redundancy on everything. 7 00:00:17,650 --> 00:00:23,640 However, if we're just doing a link-local session for LDP, 8 00:00:23,640 --> 00:00:26,130 that doesn't have any redundancy. 9 00:00:26,130 --> 00:00:29,080 But LDP does give us another option. 10 00:00:29,080 --> 00:00:32,700 It's called Session Protection, and it's relatively easy 11 00:00:32,700 --> 00:00:34,180 to set up and configure. 12 00:00:34,180 --> 00:00:37,380 So let's go ahead and talk about how to configure it, 13 00:00:37,380 --> 00:00:40,200 the different parameters that we can modify and change, 14 00:00:40,200 --> 00:00:42,780 and just take a look at some of those details 15 00:00:42,780 --> 00:00:45,890 with Session Protection. 16 00:00:45,890 --> 00:00:49,790 So, of course, the main point of Session Protection 17 00:00:49,790 --> 00:00:55,970 is using this to back up a normal LDP neighborship. 18 00:00:55,970 --> 00:00:58,280 Now we do have a couple options when 19 00:00:58,280 --> 00:01:00,260 it comes to configuring this. 20 00:01:00,260 --> 00:01:02,600 First is, we can either configure 21 00:01:02,600 --> 00:01:06,380 this for all of our neighbors, or we 22 00:01:06,380 --> 00:01:10,040 can configure an access control list or an ACL 23 00:01:10,040 --> 00:01:13,820 and choose which neighbors to actually protect 24 00:01:13,820 --> 00:01:16,220 with Session Protection. 25 00:01:16,220 --> 00:01:19,580 The other thing to note is if we don't do anything, 26 00:01:19,580 --> 00:01:22,730 we won't have Session Protection because this 27 00:01:22,730 --> 00:01:25,770 is, in fact, disabled by default. 28 00:01:25,770 --> 00:01:28,430 So we would have to actually enable it. 29 00:01:28,430 --> 00:01:31,130 The way it actually functions is it 30 00:01:31,130 --> 00:01:36,650 sends targeted unicast hellos to the neighbors 31 00:01:36,650 --> 00:01:39,830 that are on that ACL that we also 32 00:01:39,830 --> 00:01:42,960 have primary adjacencies to. 33 00:01:42,960 --> 00:01:45,800 So fundamentally, the way this works is you 34 00:01:45,800 --> 00:01:51,320 already have to have a primary LDP neighborship with a peer, 35 00:01:51,320 --> 00:01:54,320 and then session protection assuming 36 00:01:54,320 --> 00:01:57,290 that peer is on the ACL, will then 37 00:01:57,290 --> 00:02:00,590 start this unicast targeted hello 38 00:02:00,590 --> 00:02:03,020 neighborship to that same peer. 39 00:02:03,020 --> 00:02:05,390 But we do have that initial requirement 40 00:02:05,390 --> 00:02:09,500 that the other router has to already be, we'll say, 41 00:02:09,500 --> 00:02:12,260 a normal LDP neighbor. 42 00:02:12,260 --> 00:02:14,450 And, of course, the whole purpose of this 43 00:02:14,450 --> 00:02:18,470 is that backup-targeted hellos are 44 00:02:18,470 --> 00:02:22,550 going to maintain that LDP adjacency when 45 00:02:22,550 --> 00:02:25,380 the primary link goes down. 46 00:02:25,380 --> 00:02:29,330 This is, after all, why we are calling it session protection. 47 00:02:29,330 --> 00:02:33,000 It's protecting that neighborship. 48 00:02:33,000 --> 00:02:36,870 Something else we can configure is the duration 49 00:02:36,870 --> 00:02:40,350 that backup session is going to stay up, 50 00:02:40,350 --> 00:02:44,830 assuming that the primary session doesn't come back. 51 00:02:44,830 --> 00:02:47,550 So again, the scenario we're talking about here 52 00:02:47,550 --> 00:02:50,920 is your primary neighborship goes down. 53 00:02:50,920 --> 00:02:53,460 We switch over to our session protection 54 00:02:53,460 --> 00:02:55,200 targeted neighborship. 55 00:02:55,200 --> 00:02:59,700 And then the question is if that primary neighborship never 56 00:02:59,700 --> 00:03:03,690 comes back up or doesn't come back up for what duration, 57 00:03:03,690 --> 00:03:06,202 should we then just say, OK, well, I 58 00:03:06,202 --> 00:03:08,160 guess we should just forget that neighbor then, 59 00:03:08,160 --> 00:03:11,140 and we tear down the backup as well. 60 00:03:11,140 --> 00:03:13,920 Now as we can see here, we can certainly 61 00:03:13,920 --> 00:03:18,240 configure this to infinite or never, basically 62 00:03:18,240 --> 00:03:21,720 keep that backup session up and running forever. 63 00:03:21,720 --> 00:03:23,980 May or may not be the best idea. 64 00:03:23,980 --> 00:03:26,190 Normally, of course, backup solutions 65 00:03:26,190 --> 00:03:30,520 are meant to be temporary until we fix the primary problem. 66 00:03:30,520 --> 00:03:32,790 However, maybe, it's going to take us 67 00:03:32,790 --> 00:03:35,550 longer to fix that primary session, 68 00:03:35,550 --> 00:03:38,250 and we need to keep the backup session longer. 69 00:03:38,250 --> 00:03:41,550 The default, if we don't change anything, 70 00:03:41,550 --> 00:03:46,000 is to keep the backup up and running for 24 hours. 71 00:03:46,000 --> 00:03:48,210 So if we don't change anything, that's 72 00:03:48,210 --> 00:03:51,270 what it's going to do by default. Now 73 00:03:51,270 --> 00:03:54,150 the command to enable this is, of course, a little bit 74 00:03:54,150 --> 00:03:56,520 different on each platform. 75 00:03:56,520 --> 00:04:01,620 On IOS XR, the command is simply session protection 76 00:04:01,620 --> 00:04:04,390 under the LDP configuration. 77 00:04:04,390 --> 00:04:11,520 And on IOS XE, the command is mpls ldp session protection 78 00:04:11,520 --> 00:04:13,900 under global configuration. 79 00:04:13,900 --> 00:04:16,600 So although the commands are slightly different, 80 00:04:16,600 --> 00:04:21,390 it does function the same way on both platforms. 81 00:04:21,390 --> 00:04:26,400 In this video, we saw how to back up our primary LDP 82 00:04:26,400 --> 00:04:31,980 neighborship with a backup session using targeted hellos 83 00:04:31,980 --> 00:04:34,350 called Session Protection. 84 00:04:34,350 --> 00:04:36,420 We also took a look at the commands 85 00:04:36,420 --> 00:04:41,730 that we can use to enable this on both IOS XR and IOS XE, 86 00:04:41,730 --> 00:04:44,040 and we talked a bit about how long 87 00:04:44,040 --> 00:04:46,620 that backup circuit will be maintained 88 00:04:46,620 --> 00:04:50,350 if the primary circuit doesn't come back online. 89 00:04:50,350 --> 00:04:52,480 Now the circuit itself, of course, 90 00:04:52,480 --> 00:04:54,750 is not the only thing that can fail that might 91 00:04:54,750 --> 00:04:56,760 cause LDP to go down. 92 00:04:56,760 --> 00:04:58,260 We could have something like a route 93 00:04:58,260 --> 00:05:01,200 processor fail in our devices. 94 00:05:01,200 --> 00:05:03,540 And to handle situations like that, 95 00:05:03,540 --> 00:05:06,390 we have technologies like non-stop forwarding, 96 00:05:06,390 --> 00:05:09,383 non-stop routing, stateful switchover, and so on. 97 00:05:09,383 --> 00:05:10,800 And we're going to talk about some 98 00:05:10,800 --> 00:05:13,180 of those things coming up next. 99 00:05:13,180 --> 00:05:16,500 Until then, I hope this has been informative for you, 100 00:05:16,500 --> 00:05:19,610 and I'd like to thank you for viewing. 101 00:05:19,610 --> 00:05:23,000