1 00:00:00,000 --> 00:00:00,500 2 00:00:00,500 --> 00:00:04,000 [AUDIO LOGO] 3 00:00:04,000 --> 00:00:08,000 4 00:00:08,000 --> 00:00:10,370 Now that we have our tunnel up and running 5 00:00:10,370 --> 00:00:12,680 and we've talked about the different protocols 6 00:00:12,680 --> 00:00:15,470 and signaling that have to happen for that to work, 7 00:00:15,470 --> 00:00:19,820 now it's time to actually get traffic to go down the tunnel. 8 00:00:19,820 --> 00:00:24,080 We call this traffic steering because we're steering traffic 9 00:00:24,080 --> 00:00:25,500 into the tunnel. 10 00:00:25,500 --> 00:00:27,420 Now, there's a few ways we can do that. 11 00:00:27,420 --> 00:00:30,360 And that's what we want to talk about in this video. 12 00:00:30,360 --> 00:00:32,640 So there's three major ways to do it. 13 00:00:32,640 --> 00:00:34,790 Let's just go ahead and jump in and take a look 14 00:00:34,790 --> 00:00:37,890 at each of those three methods. 15 00:00:37,890 --> 00:00:40,310 So the term traffic steering simply 16 00:00:40,310 --> 00:00:46,340 refers to routing or forwarding the traffic into the TE tunnel 17 00:00:46,340 --> 00:00:48,800 that we've previously established. 18 00:00:48,800 --> 00:00:52,940 Just establishing the tunnel does not cause the traffic 19 00:00:52,940 --> 00:00:54,560 to go down that tunnel. 20 00:00:54,560 --> 00:00:58,040 We have to actually force the traffic or route the traffic 21 00:00:58,040 --> 00:01:00,420 into said tunnel. 22 00:01:00,420 --> 00:01:03,290 Now, there are a few ways to do this. 23 00:01:03,290 --> 00:01:05,450 We're going to be looking at three specifically. 24 00:01:05,450 --> 00:01:08,210 The first is static routes. 25 00:01:08,210 --> 00:01:11,000 Second is policy-based routing. 26 00:01:11,000 --> 00:01:14,670 And the third is the autoroute feature. 27 00:01:14,670 --> 00:01:16,910 So let's look at these one by one 28 00:01:16,910 --> 00:01:21,300 and talk about some advantages and disadvantages of each. 29 00:01:21,300 --> 00:01:25,160 So for the static routing option, the first one up there, 30 00:01:25,160 --> 00:01:28,160 we're going to list the destination network 31 00:01:28,160 --> 00:01:29,840 that we're trying to get to. 32 00:01:29,840 --> 00:01:32,690 And the way this gets configured is 33 00:01:32,690 --> 00:01:36,830 the next hop is going to be the far end of the tunnel. 34 00:01:36,830 --> 00:01:39,800 That's how we configure the static route. 35 00:01:39,800 --> 00:01:43,640 The egress interface from the router's perspective 36 00:01:43,640 --> 00:01:46,910 will be the tunnel interface itself. 37 00:01:46,910 --> 00:01:49,430 Remember, the tunnel is an interface. 38 00:01:49,430 --> 00:01:52,190 It's not an interface to the IGP. 39 00:01:52,190 --> 00:01:54,360 But it is still an interface. 40 00:01:54,360 --> 00:01:56,300 So when we set up our static route, 41 00:01:56,300 --> 00:01:59,580 the egress interface will be that tunnel. 42 00:01:59,580 --> 00:02:02,840 Now, for much the same reason we don't use static routing 43 00:02:02,840 --> 00:02:05,930 in most of our networking, the big downside 44 00:02:05,930 --> 00:02:10,470 here is this, of course, does not scale well at all. 45 00:02:10,470 --> 00:02:12,290 And as we've already established, 46 00:02:12,290 --> 00:02:16,010 scalability is rather important in a service provider 47 00:02:16,010 --> 00:02:17,490 environment. 48 00:02:17,490 --> 00:02:19,970 Now, I didn't put an actual section in here 49 00:02:19,970 --> 00:02:22,760 for the policy-based routing option, 50 00:02:22,760 --> 00:02:26,000 because at the end of the day, for this discussion, 51 00:02:26,000 --> 00:02:29,480 policy-based routing is pretty much the same 52 00:02:29,480 --> 00:02:31,452 as static routing. 53 00:02:31,452 --> 00:02:33,410 In other words, we're going to set the next hop 54 00:02:33,410 --> 00:02:35,010 to the far end of the tunnel. 55 00:02:35,010 --> 00:02:37,310 The egress interface would be the tunnel. 56 00:02:37,310 --> 00:02:40,650 And again, this also does not scale well. 57 00:02:40,650 --> 00:02:42,740 So for the sake of this discussion, 58 00:02:42,740 --> 00:02:45,470 static routes and policy-based routing 59 00:02:45,470 --> 00:02:47,510 can pretty much be grouped together 60 00:02:47,510 --> 00:02:49,580 into the same category. 61 00:02:49,580 --> 00:02:53,450 The better option is the autoroute feature, 62 00:02:53,450 --> 00:02:55,790 again unless you have a particular reason 63 00:02:55,790 --> 00:02:58,290 to use one of the other choices. 64 00:02:58,290 --> 00:03:00,720 So how does this feature actually work? 65 00:03:00,720 --> 00:03:04,220 Well, first off, the head-end router and only the 66 00:03:04,220 --> 00:03:06,920 head-end router, which is what we're saying down here. 67 00:03:06,920 --> 00:03:09,900 Again, it only affects the head-end router. 68 00:03:09,900 --> 00:03:15,360 But it sees the TE tunnel as a directly connected interface. 69 00:03:15,360 --> 00:03:22,070 So as we've said, this is an interface, just not in the IGP. 70 00:03:22,070 --> 00:03:27,320 So again, this tunnel will be used for the normal IGP route 71 00:03:27,320 --> 00:03:31,460 calculation but not for our constraint-based routing. 72 00:03:31,460 --> 00:03:35,300 Again, it doesn't get considered in the actual calculation 73 00:03:35,300 --> 00:03:37,400 for creating the tunnel. 74 00:03:37,400 --> 00:03:41,550 But since it is considered in our normal IGP calculation, 75 00:03:41,550 --> 00:03:44,390 any prefixes at the far end of that tunnel 76 00:03:44,390 --> 00:03:50,005 or behind that tunnel will then be routed down the tunnel. 77 00:03:50,005 --> 00:03:51,380 Now, this is, of course, assuming 78 00:03:51,380 --> 00:03:53,280 that the metrics are correct. 79 00:03:53,280 --> 00:03:56,870 So now we have to talk about autoroute metrics. 80 00:03:56,870 --> 00:04:00,630 Remember that the idea here is we want the tunnel to be used. 81 00:04:00,630 --> 00:04:02,390 That's why we're building it. 82 00:04:02,390 --> 00:04:05,630 So by default, that tunnel is going 83 00:04:05,630 --> 00:04:11,030 to be given the best IGP metric to the tunnel endpoint. 84 00:04:11,030 --> 00:04:15,540 This allows it to be compared to the underlying metric. 85 00:04:15,540 --> 00:04:18,320 And if there are equal tunnels, they 86 00:04:18,320 --> 00:04:20,480 can actually be load balanced. 87 00:04:20,480 --> 00:04:23,630 Now, remember we said before that the tunnel will not 88 00:04:23,630 --> 00:04:24,650 load balance. 89 00:04:24,650 --> 00:04:27,120 But that's not what we're talking about here. 90 00:04:27,120 --> 00:04:30,590 Here we're talking about having two separate tunnels 91 00:04:30,590 --> 00:04:34,430 with the same destinations behind those tunnels. 92 00:04:34,430 --> 00:04:37,940 Therefore, it will load balance between the tunnels. 93 00:04:37,940 --> 00:04:41,090 That's just, again, doing standard IGP 94 00:04:41,090 --> 00:04:43,070 equal-cost multipathing. 95 00:04:43,070 --> 00:04:44,870 It's just that the tunnels happen 96 00:04:44,870 --> 00:04:47,100 to be the egress interfaces. 97 00:04:47,100 --> 00:04:50,390 Now, just be aware that this default behavior can 98 00:04:50,390 --> 00:04:53,390 cause issues if the tunnels are following 99 00:04:53,390 --> 00:04:56,210 the same physical path. 100 00:04:56,210 --> 00:04:58,130 The reason for this, of course, is 101 00:04:58,130 --> 00:05:01,610 because the IGP thinks it's doing equal-cost multipathing. 102 00:05:01,610 --> 00:05:05,240 But it's actually going down the same physical path. 103 00:05:05,240 --> 00:05:07,910 The way we get around this is by ensuring 104 00:05:07,910 --> 00:05:10,940 that the tunnels follow different physical paths 105 00:05:10,940 --> 00:05:15,380 by adjusting the metrics to make sure that they're not 106 00:05:15,380 --> 00:05:17,510 following that path. 107 00:05:17,510 --> 00:05:20,100 And we have two choices when doing this. 108 00:05:20,100 --> 00:05:22,400 They can either be relative metrics to each other. 109 00:05:22,400 --> 00:05:24,980 Or just configure absolute metrics. 110 00:05:24,980 --> 00:05:27,500 And that's really up to a design choice 111 00:05:27,500 --> 00:05:30,150 by the network administrator. 112 00:05:30,150 --> 00:05:33,650 So in this video, we saw different ways 113 00:05:33,650 --> 00:05:36,260 of getting traffic to go into the tunnel. 114 00:05:36,260 --> 00:05:37,520 We looked at static. 115 00:05:37,520 --> 00:05:39,680 We talked about PBR, or Policy-Based 116 00:05:39,680 --> 00:05:43,190 Routing, and of course, the autoroute feature. 117 00:05:43,190 --> 00:05:46,010 As you can probably guess, the autoroute feature 118 00:05:46,010 --> 00:05:49,610 is generally preferred because we're using our IGP 119 00:05:49,610 --> 00:05:50,750 to route the traffic. 120 00:05:50,750 --> 00:05:54,530 And we all know why we like to use IGPs as opposed 121 00:05:54,530 --> 00:05:57,230 to static or policy-based routing. 122 00:05:57,230 --> 00:05:59,390 But we do have the option to do those 123 00:05:59,390 --> 00:06:01,890 if you need that level of control. 124 00:06:01,890 --> 00:06:05,780 So that concludes everything we need to discuss in this skill. 125 00:06:05,780 --> 00:06:07,700 In our next skill, we'll actually 126 00:06:07,700 --> 00:06:10,550 be jumping onto the command line and putting all of this 127 00:06:10,550 --> 00:06:11,660 to work. 128 00:06:11,660 --> 00:06:13,790 Until then, we're going to wrap up 129 00:06:13,790 --> 00:06:16,610 with a review in the form of a quiz. 130 00:06:16,610 --> 00:06:19,200 And that's exactly what we're going to do next. 131 00:06:19,200 --> 00:06:22,520 Until then, I hope this has been informative for you, 132 00:06:22,520 --> 00:06:25,540 and I'd like to thank you for viewing. 133 00:06:25,540 --> 00:06:29,000