1 00:00:00,000 --> 00:00:03,416 [AUDIO LOGO] 2 00:00:03,416 --> 00:00:07,820 3 00:00:07,820 --> 00:00:11,060 So now that we have MPLS traffic engineering enabled 4 00:00:11,060 --> 00:00:13,950 on our core, the next step is, of course, 5 00:00:13,950 --> 00:00:16,820 going to be to configure segment routing itself. 6 00:00:16,820 --> 00:00:19,440 We don't have that configured yet so that's 7 00:00:19,440 --> 00:00:22,340 sort of going to be a necessary component for segment routing 8 00:00:22,340 --> 00:00:23,670 traffic engineering. 9 00:00:23,670 --> 00:00:26,510 So let's go ahead and jump in and get segment routing 10 00:00:26,510 --> 00:00:28,190 configured on our devices. 11 00:00:28,190 --> 00:00:30,062 We'll start off with the topology 12 00:00:30,062 --> 00:00:32,479 because I want to show you some stuff that we have already 13 00:00:32,479 --> 00:00:35,310 configured and what we're going to be configuring. 14 00:00:35,310 --> 00:00:37,370 So let's bring up the topology, then 15 00:00:37,370 --> 00:00:39,170 we'll jump into the command line and we'll 16 00:00:39,170 --> 00:00:44,200 get segment routing up and running in our network core. 17 00:00:44,200 --> 00:00:48,030 So again, we are still on MPLS Topology 5. 18 00:00:48,030 --> 00:00:50,160 And what we really want to talk about here 19 00:00:50,160 --> 00:00:52,650 is what's already been configured. 20 00:00:52,650 --> 00:00:55,290 So what I've done is I've already configured 21 00:00:55,290 --> 00:01:03,030 router 7, router 2, router 4, router 6, and router 8. 22 00:01:03,030 --> 00:01:05,040 So what we're going to be working on 23 00:01:05,040 --> 00:01:09,420 is configuring the routers across the top here, router 1. 24 00:01:09,420 --> 00:01:14,820 That way, we get to see an iOS XR device running just IS-IS. 25 00:01:14,820 --> 00:01:17,130 Then we're going to configure router 3 26 00:01:17,130 --> 00:01:21,870 so then we get to see iOS XR with IS-IS and OSPF. 27 00:01:21,870 --> 00:01:24,330 Then we're going to configure router 5. 28 00:01:24,330 --> 00:01:27,390 And of course, this is running iOS XE. 29 00:01:27,390 --> 00:01:28,980 So that should give us a good mix 30 00:01:28,980 --> 00:01:30,540 of being able to see how to configure 31 00:01:30,540 --> 00:01:32,350 these different devices. 32 00:01:32,350 --> 00:01:34,440 So let's go ahead and jump into the command line 33 00:01:34,440 --> 00:01:35,820 and get this configured. 34 00:01:35,820 --> 00:01:39,060 Let's just start on router 1. 35 00:01:39,060 --> 00:01:43,260 So let's start by enabling segment routing for our IGP. 36 00:01:43,260 --> 00:01:46,980 In this case, it's router IS-IS 1. 37 00:01:46,980 --> 00:01:49,510 Of course, we go into the address family 38 00:01:49,510 --> 00:01:53,100 and we say segment routing MPLS. 39 00:01:53,100 --> 00:01:55,120 Commit the changes. 40 00:01:55,120 --> 00:01:56,550 So that takes care of router 1. 41 00:01:56,550 --> 00:01:58,740 Let's go do router 3. 42 00:01:58,740 --> 00:02:02,170 Now remember that router 3 is running two protocols. 43 00:02:02,170 --> 00:02:05,370 So let's start with router IS-IS 1. 44 00:02:05,370 --> 00:02:08,830 Again, we just enable segment routing for MPLS, 45 00:02:08,830 --> 00:02:11,520 then we'll go into router OSPF 1. 46 00:02:11,520 --> 00:02:16,350 Also into our address family, then into area 0. 47 00:02:16,350 --> 00:02:20,250 And then it's the same command segment routing MPLS. 48 00:02:20,250 --> 00:02:22,090 Commit these changes. 49 00:02:22,090 --> 00:02:25,940 We can do some verification as we go here as well. 50 00:02:25,940 --> 00:02:29,200 Let's do a show MPLS label table detail. 51 00:02:29,200 --> 00:02:32,560 We see here that OSPF and IS-IS are both 52 00:02:32,560 --> 00:02:34,930 registered with the SRGB. 53 00:02:34,930 --> 00:02:37,000 And we see down here at the bottom, 54 00:02:37,000 --> 00:02:41,650 entries for both IS-IS labels and OSPF labels 55 00:02:41,650 --> 00:02:43,870 for our adjacency sets. 56 00:02:43,870 --> 00:02:46,250 So so far, this is looking good. 57 00:02:46,250 --> 00:02:49,480 Let's go over to router 5. 58 00:02:49,480 --> 00:02:52,750 This being iOS XE, we have to do segment 59 00:02:52,750 --> 00:02:55,840 routing MPLS globally first. 60 00:02:55,840 --> 00:02:59,770 Then we'll go into router OSPF 1 and enable segment 61 00:02:59,770 --> 00:03:02,490 routing for MPLS here as well. 62 00:03:02,490 --> 00:03:04,410 Exit configuration. 63 00:03:04,410 --> 00:03:07,620 Here let's do a show MPLS forwarding table. 64 00:03:07,620 --> 00:03:09,150 And we can see that we're already 65 00:03:09,150 --> 00:03:11,100 learning adjacency sets. 66 00:03:11,100 --> 00:03:15,690 Notice that we also have prefix SIDs for router 6 67 00:03:15,690 --> 00:03:17,770 and router 8 loopback, which are, 68 00:03:17,770 --> 00:03:20,760 of course, the only routers in the OSPF domain 69 00:03:20,760 --> 00:03:24,840 that are putting a prefix SID into OSPF. 70 00:03:24,840 --> 00:03:26,640 But that means we have to configure 71 00:03:26,640 --> 00:03:28,710 the devices that we just configured 72 00:03:28,710 --> 00:03:30,760 to do prefix SIDs as well. 73 00:03:30,760 --> 00:03:33,360 So let's go ahead and do that here on router 5. 74 00:03:33,360 --> 00:03:36,390 So we go back into segment routing MPLS. 75 00:03:36,390 --> 00:03:40,920 We go into our connected prefix SID map for the address family 76 00:03:40,920 --> 00:03:42,120 IPv4. 77 00:03:42,120 --> 00:03:45,540 And of course, we want to advertise our own loopback. 78 00:03:45,540 --> 00:03:47,040 And we'll just use an index here. 79 00:03:47,040 --> 00:03:50,370 We'll make index 5 since this is router 5. 80 00:03:50,370 --> 00:03:52,470 And we'll exit configuration. 81 00:03:52,470 --> 00:03:55,420 We, of course, need to do this on routers 1 and 3 as well. 82 00:03:55,420 --> 00:03:57,450 So let's go back over to router 1. 83 00:03:57,450 --> 00:04:01,240 So back into router IS-IS 1 for interface 84 00:04:01,240 --> 00:04:06,430 loopback 0 for our address family IPv4 unicast. 85 00:04:06,430 --> 00:04:09,070 And we're going to assign a prefix SID. 86 00:04:09,070 --> 00:04:10,660 And again, we'll just use index. 87 00:04:10,660 --> 00:04:12,430 We'll do index 1. 88 00:04:12,430 --> 00:04:14,110 Commit the changes. 89 00:04:14,110 --> 00:04:16,660 And let's see what we've learned so far from IS-IS. 90 00:04:16,660 --> 00:04:22,900 Let's do a show IS-IS segment routing label table. 91 00:04:22,900 --> 00:04:24,790 What we see here is we're getting 92 00:04:24,790 --> 00:04:30,130 prefix SIDs for ourselves, loopback 0, and routers 93 00:04:30,130 --> 00:04:34,330 2, 4, and 7, which is correct because we haven't configured 94 00:04:34,330 --> 00:04:35,870 router 3 yet. 95 00:04:35,870 --> 00:04:37,130 So let's go ahead and do that. 96 00:04:37,130 --> 00:04:38,830 We'll configure router 3. 97 00:04:38,830 --> 00:04:41,330 Same basic configuration. 98 00:04:41,330 --> 00:04:44,500 We'll just put it into IS-IS on this router. 99 00:04:44,500 --> 00:04:47,600 And this will, of course, be index 3. 100 00:04:47,600 --> 00:04:51,110 We verify our IS-IS segment routing label table. 101 00:04:51,110 --> 00:04:57,070 Now we see that we have prefix SIDs for router 1, 2, 3, 102 00:04:57,070 --> 00:04:59,650 which is, of course, this router, 4, 103 00:04:59,650 --> 00:05:04,430 and 7, which are all the routers in the IS-IS domain. 104 00:05:04,430 --> 00:05:07,330 So again, the domains are still separated, 105 00:05:07,330 --> 00:05:10,120 but within each domain, the prefix SIDs 106 00:05:10,120 --> 00:05:11,560 are being propagated. 107 00:05:11,560 --> 00:05:13,780 Now without the connection between the domains, 108 00:05:13,780 --> 00:05:15,760 we can do a limited amount of testing. 109 00:05:15,760 --> 00:05:18,130 We could go over to router 7. 110 00:05:18,130 --> 00:05:21,080 Here we could do a show MPLS forwarding table. 111 00:05:21,080 --> 00:05:23,900 We see that we are, in fact, learning the labels. 112 00:05:23,900 --> 00:05:28,660 So we could do something, for example, like trace 10.3.3.3, 113 00:05:28,660 --> 00:05:30,800 sourcing it from our loopback. 114 00:05:30,800 --> 00:05:33,010 So we see that's working as expected. 115 00:05:33,010 --> 00:05:35,410 We could also trace router 4. 116 00:05:35,410 --> 00:05:38,720 So we see this is working as desired as well. 117 00:05:38,720 --> 00:05:43,040 So the IS-IS domain appears to be functioning perfectly fine. 118 00:05:43,040 --> 00:05:47,480 Let's jump over to router 8 and take a look at the OSPF domain. 119 00:05:47,480 --> 00:05:50,860 So again, let's do our show MPLS forwarding table. 120 00:05:50,860 --> 00:05:54,250 And notice that we have our adjacency entries 121 00:05:54,250 --> 00:05:59,200 and we have our prefix SIDs to get to routers 5 and 6. 122 00:05:59,200 --> 00:06:04,330 However, notice that all of the outgoing labels are Pop label. 123 00:06:04,330 --> 00:06:07,812 Now this is correct for what we have configured at this point, 124 00:06:07,812 --> 00:06:09,520 but it's not going to do us a lot of good 125 00:06:09,520 --> 00:06:12,580 to trace to router 5 and 6 because we 126 00:06:12,580 --> 00:06:14,620 won't see any labels anyway. 127 00:06:14,620 --> 00:06:17,740 They would just be popped, which means we're not going 128 00:06:17,740 --> 00:06:19,640 to impose one to begin with. 129 00:06:19,640 --> 00:06:21,850 So we won't be able to see labels on this side, 130 00:06:21,850 --> 00:06:25,840 but just based on this output, our label distribution 131 00:06:25,840 --> 00:06:30,720 is working properly in the OSPF domain. 132 00:06:30,720 --> 00:06:34,070 So in this video, we simply enable segment 133 00:06:34,070 --> 00:06:36,080 routing in our network core. 134 00:06:36,080 --> 00:06:37,880 Now a lot of the routers were already 135 00:06:37,880 --> 00:06:42,470 configured but we took a look at routers 1, 3, and 5, 136 00:06:42,470 --> 00:06:46,280 configuring both the routing protocol to support segment 137 00:06:46,280 --> 00:06:50,870 routing as well as configuring our prefix SID for our loopback 138 00:06:50,870 --> 00:06:51,980 interface. 139 00:06:51,980 --> 00:06:54,470 Then, of course, we just did some verification 140 00:06:54,470 --> 00:06:57,170 to make sure that those labels are showing up on all 141 00:06:57,170 --> 00:06:59,120 of the routers appropriately. 142 00:06:59,120 --> 00:07:02,870 But now it's time to join our domains together. 143 00:07:02,870 --> 00:07:07,340 For that, we're going to be using BGP and PCEP. 144 00:07:07,340 --> 00:07:10,560 And that's exactly what we get to configure next. 145 00:07:10,560 --> 00:07:13,910 Until then, I hope this has been informative for you, 146 00:07:13,910 --> 00:07:17,020 and I'd like to thank you for viewing. 147 00:07:17,020 --> 00:07:21,000