1 00:00:00,000 --> 00:00:03,472 [AUDIO LOGO] 2 00:00:03,472 --> 00:00:07,950 3 00:00:07,950 --> 00:00:12,180 So, so far, we have enabled MPLS traffic engineering 4 00:00:12,180 --> 00:00:14,070 on our core interfaces. 5 00:00:14,070 --> 00:00:18,300 We've enabled RSVP on those same interfaces 6 00:00:18,300 --> 00:00:21,840 and configured what we want to reserve for bandwidth, 7 00:00:21,840 --> 00:00:24,640 both total and per flow. 8 00:00:24,640 --> 00:00:27,450 So our next step is going to be to configure 9 00:00:27,450 --> 00:00:33,390 the IGP to actually support MPLS TE extensions. 10 00:00:33,390 --> 00:00:35,860 So let's go ahead and jump in. 11 00:00:35,860 --> 00:00:39,330 We'll take a look real quickly, of course, at our topology just 12 00:00:39,330 --> 00:00:41,680 to remember which routers we're working with here. 13 00:00:41,680 --> 00:00:43,920 And then we'll jump into the command line 14 00:00:43,920 --> 00:00:47,100 and get this operational. 15 00:00:47,100 --> 00:00:51,660 So once again, we are still on MPLS topology 1. 16 00:00:51,660 --> 00:00:54,030 Now for this video, we're going to have 17 00:00:54,030 --> 00:00:56,040 to focus on something a little bit different 18 00:00:56,040 --> 00:00:58,830 since we're talking about the IGP. 19 00:00:58,830 --> 00:01:03,780 So in this environment, we are actually running OSPF. 20 00:01:03,780 --> 00:01:08,280 And specifically since we usually configure this by area, 21 00:01:08,280 --> 00:01:13,650 we're going to have to be aware that our underlying IGP is OSPF 22 00:01:13,650 --> 00:01:16,500 and everything is in area 0. 23 00:01:16,500 --> 00:01:19,510 So again, we'll be configuring all of our routers. 24 00:01:19,510 --> 00:01:25,410 So we have to configure router 1, router 2, router 3, router 25 00:01:25,410 --> 00:01:31,560 4, and router 5 for OSPF to support traffic engineering 26 00:01:31,560 --> 00:01:33,340 extensions. 27 00:01:33,340 --> 00:01:37,630 Now we actually don't have any IS-IS in this environment 28 00:01:37,630 --> 00:01:38,690 right now. 29 00:01:38,690 --> 00:01:43,480 But at the end, we will bring up a slide with the configuration 30 00:01:43,480 --> 00:01:45,850 that we would use for IS-IS. 31 00:01:45,850 --> 00:01:48,260 So we'll see that configuration as well. 32 00:01:48,260 --> 00:01:50,950 But we'll actually be configuring OSPF. 33 00:01:50,950 --> 00:01:54,580 So that said, let's go ahead and jump over to the command line, 34 00:01:54,580 --> 00:01:58,830 and we'll just go ahead and start on router 1. 35 00:01:58,830 --> 00:02:02,370 So let's start simply by going into configuration mode, 36 00:02:02,370 --> 00:02:06,150 into our router OSPF process, and then we 37 00:02:06,150 --> 00:02:10,650 simply say mpls traffic engineering 38 00:02:10,650 --> 00:02:14,280 and configure our router ID to loopback 0. 39 00:02:14,280 --> 00:02:17,820 This can technically be different from the normal OSPF 40 00:02:17,820 --> 00:02:18,810 router ID. 41 00:02:18,810 --> 00:02:21,665 But generally, you would want to make it the same. 42 00:02:21,665 --> 00:02:23,040 Then as we mentioned, we're going 43 00:02:23,040 --> 00:02:24,910 to configure this per area. 44 00:02:24,910 --> 00:02:27,450 So we'll go into area 0 and simply 45 00:02:27,450 --> 00:02:31,680 turn on mpls traffic-engineering. 46 00:02:31,680 --> 00:02:35,850 We'll commit the changes, exit configuration mode. 47 00:02:35,850 --> 00:02:40,530 And we can verify this with a show ospf 48 00:02:40,530 --> 00:02:44,610 mpls traffic-engineering link. 49 00:02:44,610 --> 00:02:46,390 And what do we see here? 50 00:02:46,390 --> 00:02:51,040 We see that area 0 has two MPLS TE links. 51 00:02:51,040 --> 00:02:53,070 Those are, of course, the two interfaces 52 00:02:53,070 --> 00:02:55,230 that we have enabled in the area, 53 00:02:55,230 --> 00:02:59,470 as well as being traffic engineering enabled. 54 00:02:59,470 --> 00:03:02,610 We can see that it gives us the interface address. 55 00:03:02,610 --> 00:03:06,420 We see the admin metric for TE is set to 1. 56 00:03:06,420 --> 00:03:08,430 And, of course, various other information 57 00:03:08,430 --> 00:03:13,650 here, such as the affinity bit is currently set to zero. 58 00:03:13,650 --> 00:03:17,950 So lots of information that we can get out of this command. 59 00:03:17,950 --> 00:03:20,160 Let's go ahead and configure router 2. 60 00:03:20,160 --> 00:03:22,920 This is going to be essentially the same configuration. 61 00:03:22,920 --> 00:03:34,890 62 00:03:34,890 --> 00:03:37,860 So go ahead and put in all that configuration. 63 00:03:37,860 --> 00:03:39,800 And again, we'll verify it. 64 00:03:39,800 --> 00:03:45,950 Once again, we see that we have two MPLS TE links in area 0. 65 00:03:45,950 --> 00:03:49,140 So that brought in both of our interfaces here. 66 00:03:49,140 --> 00:03:50,590 Next, let's do router 3. 67 00:03:50,590 --> 00:04:09,730 68 00:04:09,730 --> 00:04:13,250 Now we see here on router 3 that this of course, 69 00:04:13,250 --> 00:04:17,140 includes four links because it has four interfaces. 70 00:04:17,140 --> 00:04:22,000 And let's wrap up our IOS XR with router 4. 71 00:04:22,000 --> 00:04:24,290 Again this configuration is almost identical. 72 00:04:24,290 --> 00:04:27,130 So we'll just go ahead and paste this configuration. 73 00:04:27,130 --> 00:04:29,110 And then we'll verify it. 74 00:04:29,110 --> 00:04:32,410 And again, just like router 3, router 4 75 00:04:32,410 --> 00:04:35,350 has four MPLS TE links. 76 00:04:35,350 --> 00:04:37,210 So, so far, this is looking good. 77 00:04:37,210 --> 00:04:41,590 Now let's configure IOS XE on router 5. 78 00:04:41,590 --> 00:04:43,360 So once again, of course, configuration 79 00:04:43,360 --> 00:04:47,080 mode, router ospf 1. 80 00:04:47,080 --> 00:04:51,280 Here it's going to be mpls traffic-eng. 81 00:04:51,280 --> 00:04:54,040 And again, we'll set it to loopback 0. 82 00:04:54,040 --> 00:04:56,470 We essentially repeat the same command, 83 00:04:56,470 --> 00:04:59,600 but enable it for the area as well. 84 00:04:59,600 --> 00:05:02,650 So again, slightly different configuration here 85 00:05:02,650 --> 00:05:06,460 on IOS XE, but the same basic process. 86 00:05:06,460 --> 00:05:09,730 We're setting the router ID and enabling traffic engineering 87 00:05:09,730 --> 00:05:11,510 for the area. 88 00:05:11,510 --> 00:05:13,270 Let's go ahead and exit out of this 89 00:05:13,270 --> 00:05:16,160 and verify the links here as well. 90 00:05:16,160 --> 00:05:22,820 So we'll say show ip ospf mpls traffic engineering link. 91 00:05:22,820 --> 00:05:26,470 And here, of course, we see that we have those two links enabled 92 00:05:26,470 --> 00:05:28,900 for MPLS TE. 93 00:05:28,900 --> 00:05:31,060 Now that we have this configured, 94 00:05:31,060 --> 00:05:33,340 why don't we take a look at Wireshark 95 00:05:33,340 --> 00:05:37,630 and look at a packet capture of these OSPF packets 96 00:05:37,630 --> 00:05:41,890 exchanging the traffic engineering information? 97 00:05:41,890 --> 00:05:44,160 So what we've captured here on Wireshark 98 00:05:44,160 --> 00:05:48,150 is the actual OSPF neighborship coming up 99 00:05:48,150 --> 00:05:51,546 between router 1 and router 3. 100 00:05:51,546 --> 00:05:54,042 We're filtering this by OSPF. 101 00:05:54,042 --> 00:05:55,500 And what we're going to do is we're 102 00:05:55,500 --> 00:06:00,630 going to focus on packet 71 here going from router 1 103 00:06:00,630 --> 00:06:03,600 to the OSPF multicast address. 104 00:06:03,600 --> 00:06:05,950 If we look at our decoding window, 105 00:06:05,950 --> 00:06:09,450 we can see that under open shortest Path first, 106 00:06:09,450 --> 00:06:12,150 this is an LSA update packet. 107 00:06:12,150 --> 00:06:17,760 And we see that it's LSA type 10, it's an opaque LSA. 108 00:06:17,760 --> 00:06:20,770 Let's open that and see more detail. 109 00:06:20,770 --> 00:06:23,310 So what we're looking for here specifically 110 00:06:23,310 --> 00:06:29,700 is it's a link state ID opaque type traffic engineering LSA. 111 00:06:29,700 --> 00:06:31,950 We can also see down here at the bottom 112 00:06:31,950 --> 00:06:35,070 that the MPLS traffic engineering LSA 113 00:06:35,070 --> 00:06:37,450 has more of a breakdown to it. 114 00:06:37,450 --> 00:06:39,370 We can open that up. 115 00:06:39,370 --> 00:06:43,680 And what we see here is all of this information related 116 00:06:43,680 --> 00:06:46,650 to traffic engineering, including things 117 00:06:46,650 --> 00:06:48,810 like the interface IP address. 118 00:06:48,810 --> 00:06:51,720 Once again, we see that traffic engineering metric. 119 00:06:51,720 --> 00:06:54,750 We see the maximum bandwidth available, 120 00:06:54,750 --> 00:06:58,570 the maximum reservable bandwidth available. 121 00:06:58,570 --> 00:07:00,360 So, of course, the maximum bandwidth 122 00:07:00,360 --> 00:07:02,200 is the interface itself. 123 00:07:02,200 --> 00:07:06,390 And then, of course, the maximum reservable bandwidth we can see 124 00:07:06,390 --> 00:07:10,600 is that two megs that we configured on our devices. 125 00:07:10,600 --> 00:07:13,530 So we can see all of this information being 126 00:07:13,530 --> 00:07:21,010 exchanged in OSPF LSAs between our MPLS TE enabled neighbors. 127 00:07:21,010 --> 00:07:25,730 So let's go ahead and jump back over to the command line. 128 00:07:25,730 --> 00:07:30,910 So that's really all there is to configuring MPLS TE support 129 00:07:30,910 --> 00:07:34,360 under OSPF as our IGP. 130 00:07:34,360 --> 00:07:37,690 Now as I mentioned earlier, since we 131 00:07:37,690 --> 00:07:41,630 don't have IS-IS running in this particular environment, 132 00:07:41,630 --> 00:07:44,380 let's go ahead and at least look at the commands that 133 00:07:44,380 --> 00:07:50,270 would be needed to enable IS-IS if that were our core protocol. 134 00:07:50,270 --> 00:07:55,140 So first, let's take a look at our IOS XR configuration. 135 00:07:55,140 --> 00:07:57,410 So, of course, just like before the first thing we do 136 00:07:57,410 --> 00:08:00,620 is go into our IS-IS process. 137 00:08:00,620 --> 00:08:04,640 We configure our net number if this is not already configured 138 00:08:04,640 --> 00:08:06,000 on our device. 139 00:08:06,000 --> 00:08:09,660 This is required in order to do traffic engineering. 140 00:08:09,660 --> 00:08:11,690 So if it's not configured, we are 141 00:08:11,690 --> 00:08:13,640 going to have to configure it. 142 00:08:13,640 --> 00:08:16,130 Then, of course, we go into our address family, 143 00:08:16,130 --> 00:08:19,280 either IPv4 four or IPv6, we're just 144 00:08:19,280 --> 00:08:21,950 showing the IPv4 example here. 145 00:08:21,950 --> 00:08:24,840 And three things we really need to do. 146 00:08:24,840 --> 00:08:28,580 First, we need to turn on metrics style wide. 147 00:08:28,580 --> 00:08:31,910 This is needed in order to support traffic engineering. 148 00:08:31,910 --> 00:08:34,250 It's needed to support IPv6. 149 00:08:34,250 --> 00:08:36,510 It's actually needed for a lot of things. 150 00:08:36,510 --> 00:08:41,990 So really you want metrics style wide on with IS-IS in, well, 151 00:08:41,990 --> 00:08:44,030 every scenario that I can think of. 152 00:08:44,030 --> 00:08:47,000 But generally speaking, you just want to enable it. 153 00:08:47,000 --> 00:08:48,770 The other two things we have to do 154 00:08:48,770 --> 00:08:54,110 is turn on traffic engineering for whatever level database 155 00:08:54,110 --> 00:08:57,020 it is that we want to support traffic engineering in. 156 00:08:57,020 --> 00:09:01,070 This can, of course, be either level 1, level 2, 157 00:09:01,070 --> 00:09:05,360 or as we're doing here, level 1, 2 to cover both. 158 00:09:05,360 --> 00:09:08,960 And just like before in OSPF, we really 159 00:09:08,960 --> 00:09:11,160 want to set the router ID as well. 160 00:09:11,160 --> 00:09:14,150 Of course, in this example, I'm just using loopback 0. 161 00:09:14,150 --> 00:09:18,240 But of course, you could use whatever interface you prefer. 162 00:09:18,240 --> 00:09:21,260 Now if we look at our IOS XE configuration, 163 00:09:21,260 --> 00:09:24,480 we'll see that this is almost identical. 164 00:09:24,480 --> 00:09:27,890 So the first thing is we go into the router IS-IS process, 165 00:09:27,890 --> 00:09:32,750 and then we can simply just turn on MPLS traffic engineering. 166 00:09:32,750 --> 00:09:36,350 And again turn it on for whatever level database 167 00:09:36,350 --> 00:09:38,690 it is we want to support. 168 00:09:38,690 --> 00:09:42,410 We, of course, once again set our router ID. 169 00:09:42,410 --> 00:09:45,620 In this example, I'm again setting it to loopback 0 170 00:09:45,620 --> 00:09:47,960 just like we did on IOS XR. 171 00:09:47,960 --> 00:09:53,750 And just like IOS XR, we need the metric style wide on IOS XE 172 00:09:53,750 --> 00:09:56,720 as well because that's not about the operating system, 173 00:09:56,720 --> 00:09:58,670 it's about the protocol. 174 00:09:58,670 --> 00:10:00,680 So as you can see, this is actually 175 00:10:00,680 --> 00:10:04,760 fairly similar to what we had to do in OSPF. 176 00:10:04,760 --> 00:10:07,670 The only difference here is instead of specifying an area, 177 00:10:07,670 --> 00:10:10,910 we specified the level of the database 178 00:10:10,910 --> 00:10:14,660 that we want to enable traffic engineering for. 179 00:10:14,660 --> 00:10:17,380 So in this video, we took what we 180 00:10:17,380 --> 00:10:22,360 could consider the final step in actually preparing our core 181 00:10:22,360 --> 00:10:25,240 to run MPLS traffic engineering. 182 00:10:25,240 --> 00:10:28,570 And that is we simply enabled the traffic engineering 183 00:10:28,570 --> 00:10:32,350 extensions for our underlying IGP. 184 00:10:32,350 --> 00:10:36,550 We actually configured it on the command line for OSPF. 185 00:10:36,550 --> 00:10:38,440 And then, of course, we saw over here 186 00:10:38,440 --> 00:10:41,680 how to configure it for IS-IS. 187 00:10:41,680 --> 00:10:44,470 Now all of this brings us up to the point 188 00:10:44,470 --> 00:10:49,120 that we're actually finally ready to build some MPLS TE 189 00:10:49,120 --> 00:10:49,870 tunnels. 190 00:10:49,870 --> 00:10:52,880 And that's exactly what we get to do next. 191 00:10:52,880 --> 00:10:56,260 Until then, I hope this has been informative for you. 192 00:10:56,260 --> 00:10:59,340 And I'd like to thank you for viewing. 193 00:10:59,340 --> 00:11:03,000