1 00:00:00,000 --> 00:00:02,928 [MUSIC PLAYING] 2 00:00:02,928 --> 00:00:07,820 3 00:00:07,820 --> 00:00:10,430 So now that we have multi-protocol BGP 4 00:00:10,430 --> 00:00:12,750 up and running in the core of our network, 5 00:00:12,750 --> 00:00:17,330 it's now time to run a CE-PE protocol to actually get 6 00:00:17,330 --> 00:00:21,210 the routes from the customers to the PE routers 7 00:00:21,210 --> 00:00:23,870 so that multi-protocol BGP can then carry 8 00:00:23,870 --> 00:00:25,890 those routes through the core. 9 00:00:25,890 --> 00:00:29,280 Now, in this particular demonstration, 10 00:00:29,280 --> 00:00:32,689 we're just going to be doing a very simple OSPF 11 00:00:32,689 --> 00:00:35,450 setup as our CE-PE. 12 00:00:35,450 --> 00:00:38,540 We have other skills coming up that will 13 00:00:38,540 --> 00:00:45,840 cover using OSPF and other CE-PE protocols in much more detail. 14 00:00:45,840 --> 00:00:48,230 So for this demonstration, we're just 15 00:00:48,230 --> 00:00:51,080 going to be setting up a quick, easy example 16 00:00:51,080 --> 00:00:55,500 so that we can get our MPLS Layer 3 VPNs functional. 17 00:00:55,500 --> 00:00:57,450 So let's go ahead and get started. 18 00:00:57,450 --> 00:01:00,152 As usual, we'll take a look at that topology first, 19 00:01:00,152 --> 00:01:02,360 so we know what we're going to be running, and where. 20 00:01:02,360 --> 00:01:05,150 And then we'll jump into the command line, and get this up 21 00:01:05,150 --> 00:01:07,828 and working. 22 00:01:07,828 --> 00:01:09,370 So what we're going to be configuring 23 00:01:09,370 --> 00:01:11,530 in this demonstration, we're going 24 00:01:11,530 --> 00:01:16,030 to configure Customer A to run OSPF. 25 00:01:16,030 --> 00:01:21,160 And in particular, we're going to put everything into area 0. 26 00:01:21,160 --> 00:01:25,010 So what we're going to do is, for the customer routers-- 27 00:01:25,010 --> 00:01:30,850 so that will be Router 6, Router 8 over here, and Router 9-- 28 00:01:30,850 --> 00:01:33,370 we're simply going to configure OSPF area 29 00:01:33,370 --> 00:01:37,630 0 on all of the interfaces on those devices. 30 00:01:37,630 --> 00:01:40,030 Then of course, on the PEs-- 31 00:01:40,030 --> 00:01:42,370 Router 1 and Router 5-- 32 00:01:42,370 --> 00:01:45,940 we're going to be configuring the VRFs for Customer A 33 00:01:45,940 --> 00:01:47,650 to be running OSPF. 34 00:01:47,650 --> 00:01:52,810 And then we're going to set up redistribution between OSPF 35 00:01:52,810 --> 00:01:58,010 and BGP on both of the PE's mutual redistribution 36 00:01:58,010 --> 00:02:02,660 so that our OSPF routes end up in BGP and vise versa. 37 00:02:02,660 --> 00:02:05,300 So that said, let's go ahead and get started. 38 00:02:05,300 --> 00:02:08,729 We'll just jump in on Router 1. 39 00:02:08,729 --> 00:02:11,190 So the first thing we need to do is configure 40 00:02:11,190 --> 00:02:13,920 a process for OSPF. 41 00:02:13,920 --> 00:02:16,770 Here, we'll use process 100. 42 00:02:16,770 --> 00:02:19,750 And then we assign this to the VRF. 43 00:02:19,750 --> 00:02:23,640 So we'll say VRF Customer A. We'll go into our address 44 00:02:23,640 --> 00:02:30,030 family for IPv4 unicast, into the configuration for area 0, 45 00:02:30,030 --> 00:02:33,840 and we'll assign interface gig 0/0/0/0, 46 00:02:33,840 --> 00:02:38,100 which is the interface facing our customer, Router 6. 47 00:02:38,100 --> 00:02:40,170 And while we're in here, let's also 48 00:02:40,170 --> 00:02:44,310 configure the network to be a point-to-point OSPF network 49 00:02:44,310 --> 00:02:45,420 type. 50 00:02:45,420 --> 00:02:47,820 We'll go ahead and commit those changes. 51 00:02:47,820 --> 00:02:50,680 And we'll exit configuration for now. 52 00:02:50,680 --> 00:02:52,800 Now let's go out and configure Router 6, 53 00:02:52,800 --> 00:02:55,710 which is the customer side of this connection. 54 00:02:55,710 --> 00:02:59,370 On the customer routers, we're going to do a very generic OSPF 55 00:02:59,370 --> 00:03:01,000 configuration. 56 00:03:01,000 --> 00:03:04,020 We'll just say Router OSPF 1. 57 00:03:04,020 --> 00:03:06,390 We will set the router ID. 58 00:03:06,390 --> 00:03:08,550 And then we'll simply use a network statement 59 00:03:08,550 --> 00:03:13,800 to bring all of the interfaces on this device into area 0. 60 00:03:13,800 --> 00:03:16,650 Now, we will have to go into our interface gigabyte 1 61 00:03:16,650 --> 00:03:20,760 and set it to IP OSPF network type point-to-point, 62 00:03:20,760 --> 00:03:23,700 since that's what we did on Router 1. 63 00:03:23,700 --> 00:03:27,240 And what we see here after a slight delay of OSPF 64 00:03:27,240 --> 00:03:30,580 resetting that connection when we change it to point-to-point, 65 00:03:30,580 --> 00:03:33,870 we see that neighbor 10.1.1.1 on gigabit 1 66 00:03:33,870 --> 00:03:38,190 went from loading to full, which means it should be operational. 67 00:03:38,190 --> 00:03:41,100 Let's go see if Router 1 is actually getting the routes 68 00:03:41,100 --> 00:03:43,080 from Router 6 now. 69 00:03:43,080 --> 00:03:48,000 We'll just do a show IP route for VRF Customer A. 70 00:03:48,000 --> 00:03:52,770 And We see that we are, in fact, getting Router 6's loopback 0 71 00:03:52,770 --> 00:03:58,980 and loopback 100 interface, which is the 10.100.1.6. 72 00:03:58,980 --> 00:04:01,650 So now that we have this side of our connection configured, 73 00:04:01,650 --> 00:04:06,300 let's go over and configure the PE Router 5 for the other side 74 00:04:06,300 --> 00:04:07,660 of the connection. 75 00:04:07,660 --> 00:04:10,800 So here on Router 5, we'll create an OSPF process 76 00:04:10,800 --> 00:04:13,530 for each customers' VRF. 77 00:04:13,530 --> 00:04:15,390 So we'll say, router OSPF. 78 00:04:15,390 --> 00:04:21,750 And we'll just use 101 as the process ID for VRF Customer A1. 79 00:04:21,750 --> 00:04:23,670 Because remember, we have two VRFs 80 00:04:23,670 --> 00:04:26,670 on this router for Customer A. 81 00:04:26,670 --> 00:04:31,110 And then we'll do the same thing, but for A2. 82 00:04:31,110 --> 00:04:33,870 We'll make this 102. 83 00:04:33,870 --> 00:04:35,890 Then we'll configure our interfaces. 84 00:04:35,890 --> 00:04:38,790 So we'll start with interface gigabit 2. 85 00:04:38,790 --> 00:04:43,200 We'll put this in IP OSPF process 101. 86 00:04:43,200 --> 00:04:45,510 Of course, in area 0. 87 00:04:45,510 --> 00:04:47,730 And we'll change the IP OSPF network 88 00:04:47,730 --> 00:04:50,940 type to be point-to-point. 89 00:04:50,940 --> 00:04:55,920 We'll do essentially the same thing for interface gigabit 3. 90 00:04:55,920 --> 00:05:00,240 But of course, this will be an OSPF process 102, still 91 00:05:00,240 --> 00:05:01,710 in area 0. 92 00:05:01,710 --> 00:05:04,080 And of course, we still want to change the network type 93 00:05:04,080 --> 00:05:05,860 to point-to-point. 94 00:05:05,860 --> 00:05:08,200 So that should take care of our configuration 95 00:05:08,200 --> 00:05:09,930 so far on Router 5. 96 00:05:09,930 --> 00:05:13,080 Let's go ahead and go over to Router 8 next. 97 00:05:13,080 --> 00:05:17,010 Router 8 is going to be the same configuration as Router 6, 98 00:05:17,010 --> 00:05:19,805 with the exception of the router ID. 99 00:05:19,805 --> 00:05:21,180 So that said, we'll just go ahead 100 00:05:21,180 --> 00:05:23,562 and paste this configuration. 101 00:05:23,562 --> 00:05:25,020 We can see that it's already formed 102 00:05:25,020 --> 00:05:27,750 a neighborship with Router 5. 103 00:05:27,750 --> 00:05:30,810 And let's do the same thing for Router 9. 104 00:05:30,810 --> 00:05:33,900 So again, we'll simply paste the configuration in. 105 00:05:33,900 --> 00:05:37,300 We see our neighborship with Router 5 has come up. 106 00:05:37,300 --> 00:05:40,140 So as we did before, let's go back to the PE, and make sure 107 00:05:40,140 --> 00:05:42,400 it's learning the routes properly. 108 00:05:42,400 --> 00:05:44,010 So back here on Router 5, we'll simply 109 00:05:44,010 --> 00:05:48,120 do a show IP route for the VRF Customer A1. 110 00:05:48,120 --> 00:05:51,460 And we see it's getting OSPF routes from the customer. 111 00:05:51,460 --> 00:05:56,550 And if we look at A2, we'll see it is also getting OSPF routes 112 00:05:56,550 --> 00:05:57,760 from the customer. 113 00:05:57,760 --> 00:06:03,330 So OSPF is working properly between the CEs and the PEs. 114 00:06:03,330 --> 00:06:05,580 So our final step is simply going 115 00:06:05,580 --> 00:06:09,180 to be to redistribute between OSPF and BGP 116 00:06:09,180 --> 00:06:11,880 bidirectionally on the PEs. 117 00:06:11,880 --> 00:06:15,750 So that said, let's just go ahead and start on Router 1. 118 00:06:15,750 --> 00:06:17,460 Let's just start under BGP. 119 00:06:17,460 --> 00:06:23,220 So we're going to router BGP 100 for the VRF Customer A 120 00:06:23,220 --> 00:06:26,670 into our address family IPv4 unicast. 121 00:06:26,670 --> 00:06:31,860 And we'll simply say to redistribute OSPF 100. 122 00:06:31,860 --> 00:06:36,870 And we'll go ahead and say to match internal, external, 123 00:06:36,870 --> 00:06:40,170 and NSSA external, just so we make 124 00:06:40,170 --> 00:06:42,480 sure we're including any possible routes 125 00:06:42,480 --> 00:06:44,670 the customer can send to us. 126 00:06:44,670 --> 00:06:48,000 Then we'll go into our router OSPF process. 127 00:06:48,000 --> 00:06:51,075 Again, into the VRF for Customer A. 128 00:06:51,075 --> 00:06:54,390 And we'll say to redistribute BGP 100. 129 00:06:54,390 --> 00:06:58,860 We'll commit our changes and exit out of configuration. 130 00:06:58,860 --> 00:07:01,530 Let's go do the same thing on Router 5. 131 00:07:01,530 --> 00:07:04,360 Of course, the syntax here is going to be different. 132 00:07:04,360 --> 00:07:06,790 So we'll go into configuration mode. 133 00:07:06,790 --> 00:07:10,280 We'll start with router OSPF 101. 134 00:07:10,280 --> 00:07:13,280 We'll say to redistribute BGP 100. 135 00:07:13,280 --> 00:07:15,800 Then we'll go into router OSPF 102, 136 00:07:15,800 --> 00:07:18,000 and we'll say the same thing. 137 00:07:18,000 --> 00:07:20,660 So that takes care of redistributing the BGP 138 00:07:20,660 --> 00:07:22,640 into OSPF. 139 00:07:22,640 --> 00:07:25,640 Now let's go into router BGP 100. 140 00:07:25,640 --> 00:07:28,640 Then we'll go into the address family for IPv4 141 00:07:28,640 --> 00:07:31,520 for the VRF Customer A1. 142 00:07:31,520 --> 00:07:35,990 And we say to redistribute OSPF 101. 143 00:07:35,990 --> 00:07:39,260 And once again, we'll put on the match 144 00:07:39,260 --> 00:07:44,480 external, internal, and NSSA external. 145 00:07:44,480 --> 00:07:46,400 Next, we'll go to the address family 146 00:07:46,400 --> 00:07:49,730 for IPv4 for Customer A2. 147 00:07:49,730 --> 00:07:51,710 And we'll use the same redistribution line. 148 00:07:51,710 --> 00:07:55,370 We just, of course, have to change the OSPF process to be 149 00:07:55,370 --> 00:07:59,490 VRF Customer A2's OSPF process. 150 00:07:59,490 --> 00:08:01,370 We'll go ahead and exit configuration. 151 00:08:01,370 --> 00:08:03,800 And then let's go out to the customer routers 152 00:08:03,800 --> 00:08:06,780 and verify that this is working. 153 00:08:06,780 --> 00:08:09,837 So on Router 6, let's just do a show IP route. 154 00:08:09,837 --> 00:08:11,420 And we see that we're actually getting 155 00:08:11,420 --> 00:08:14,390 a whole lot of OSPF routes, which 156 00:08:14,390 --> 00:08:17,700 look like the routes coming from the other side. 157 00:08:17,700 --> 00:08:19,830 Let's verify Router 8. 158 00:08:19,830 --> 00:08:22,420 We'll do a show IP route here as well. 159 00:08:22,420 --> 00:08:27,540 Once again, we see some OSPF routes coming from Router 6. 160 00:08:27,540 --> 00:08:30,600 And we should see the same thing on Router 9. 161 00:08:30,600 --> 00:08:34,380 And again, we see some Router 6 routes showing up here 162 00:08:34,380 --> 00:08:35,549 on Router 9. 163 00:08:35,549 --> 00:08:37,690 So this certainly looks like it's working. 164 00:08:37,690 --> 00:08:39,570 Let's see if we're actually getting traffic 165 00:08:39,570 --> 00:08:41,140 through our environment. 166 00:08:41,140 --> 00:08:43,470 Let's go back over to Router 6. 167 00:08:43,470 --> 00:08:45,870 And let's just try to ping the loopback 100 168 00:08:45,870 --> 00:08:47,970 interface on Router 8. 169 00:08:47,970 --> 00:08:50,760 So that would be 10.100.10.8. 170 00:08:50,760 --> 00:08:54,640 And we'll source that from our loopback 100 interface. 171 00:08:54,640 --> 00:08:57,130 And we can see this is successful. 172 00:08:57,130 --> 00:08:59,620 Let's see if we can ping Router 9 as well. 173 00:08:59,620 --> 00:09:03,010 That is on a different subnet and a different IP address. 174 00:09:03,010 --> 00:09:05,570 But we can see that that is also successful. 175 00:09:05,570 --> 00:09:08,680 So we have connectivity between our customers 176 00:09:08,680 --> 00:09:12,310 through our Layer 3 VPN. 177 00:09:12,310 --> 00:09:14,790 So in this video, we finished what's 178 00:09:14,790 --> 00:09:18,900 pretty much our last step to get our Layer 3 VPN up 179 00:09:18,900 --> 00:09:24,030 and running, which is to put in some form of a CE-PE protocol. 180 00:09:24,030 --> 00:09:26,080 Now, of course, in this demonstration, 181 00:09:26,080 --> 00:09:30,540 we just did Customer A, and we just did a very simple OSPF 182 00:09:30,540 --> 00:09:31,860 implementation. 183 00:09:31,860 --> 00:09:34,020 Again, we'll be digging into this more 184 00:09:34,020 --> 00:09:35,850 in some future skills. 185 00:09:35,850 --> 00:09:40,020 But to wrap up this skill, let's take a closer look 186 00:09:40,020 --> 00:09:44,070 at the traffic that's actually going between the customer 187 00:09:44,070 --> 00:09:44,950 routers. 188 00:09:44,950 --> 00:09:47,950 We're going to do that in the next video. 189 00:09:47,950 --> 00:09:51,330 Until then, I hope this has been informative for you, 190 00:09:51,330 --> 00:09:54,320 and I'd like to thank you for viewing. 191 00:09:54,320 --> 00:09:58,000