1 00:00:00,000 --> 00:00:03,776 [AUDIO LOGO] 2 00:00:03,776 --> 00:00:08,039 3 00:00:08,039 --> 00:00:11,250 So now that we've discussed some of those details of Ethernet 4 00:00:11,250 --> 00:00:15,480 over MPLS, it's of course time to jump into the command line 5 00:00:15,480 --> 00:00:17,470 and get this up and running. 6 00:00:17,470 --> 00:00:21,140 So as usual, we'll bring up our topology first. 7 00:00:21,140 --> 00:00:23,640 We'll talk about which devices we're going to be configuring 8 00:00:23,640 --> 00:00:25,140 and what we're going to be building, 9 00:00:25,140 --> 00:00:28,110 and then we'll jump into the command line and get this up 10 00:00:28,110 --> 00:00:32,590 and running for customer B. 11 00:00:32,590 --> 00:00:36,970 So for this demonstration, we're still on MPLS topology 2. 12 00:00:36,970 --> 00:00:40,690 But this time, we're going to be dealing with customer B. 13 00:00:40,690 --> 00:00:42,790 So what we're going to do is we're going 14 00:00:42,790 --> 00:00:46,450 to extend this time VLAN 10-- 15 00:00:46,450 --> 00:00:51,070 we're going to extend this between router 7 and router 10, 16 00:00:51,070 --> 00:00:55,690 customer B's headquarters and customer B's remote site. 17 00:00:55,690 --> 00:00:57,970 Now of course, that means our configuration 18 00:00:57,970 --> 00:01:02,920 is mostly going to be on router 2 and, once again, on router 5, 19 00:01:02,920 --> 00:01:05,830 but this time, interface gigabit 4. 20 00:01:05,830 --> 00:01:09,160 So just like we did with VPLS, we 21 00:01:09,160 --> 00:01:12,350 are going to have the default some configurations and such, 22 00:01:12,350 --> 00:01:16,420 but let's just go ahead and jump in and get started on router 2, 23 00:01:16,420 --> 00:01:21,847 configuring our ethernet over MPLS interfaces. 24 00:01:21,847 --> 00:01:23,680 So the first thing we're going to want to do 25 00:01:23,680 --> 00:01:26,120 is default that interface. 26 00:01:26,120 --> 00:01:30,940 So this is going to be interface gig 0000. 27 00:01:30,940 --> 00:01:33,040 We'll commit that change just to make sure all 28 00:01:33,040 --> 00:01:37,210 of the configuration is off the gig 0000 interface. 29 00:01:37,210 --> 00:01:41,620 Then we'll start creating our VLAN 10 interface 30 00:01:41,620 --> 00:01:45,110 that we're going to use for our l2 transport. 31 00:01:45,110 --> 00:01:49,270 So we're going to say interface 0000, 32 00:01:49,270 --> 00:01:51,130 and we're going to make a subinterface. 33 00:01:51,130 --> 00:01:53,320 So we're going to make this 10. 34 00:01:53,320 --> 00:01:56,710 Of course, the subinterface doesn't have to match the VLAN, 35 00:01:56,710 --> 00:02:00,800 but once again it makes sense for it to do so. 36 00:02:00,800 --> 00:02:03,340 And we're going to specify that this 37 00:02:03,340 --> 00:02:06,290 is for a layer 2 transport. 38 00:02:06,290 --> 00:02:10,960 We're going to set this for encapsulation dot1q 39 00:02:10,960 --> 00:02:12,910 for VLAN 10. 40 00:02:12,910 --> 00:02:15,070 Once again, of course, this does have 41 00:02:15,070 --> 00:02:17,290 to match the VLAN we want to extend. 42 00:02:17,290 --> 00:02:21,970 And we're also going to go ahead and set the MTU to 1514 43 00:02:21,970 --> 00:02:25,090 to handle the extra trunking encapsulation. 44 00:02:25,090 --> 00:02:28,630 We'll commit that change just so the interface is ready. 45 00:02:28,630 --> 00:02:32,390 And then we're going to configure our l2vpn. 46 00:02:32,390 --> 00:02:35,770 So here, we go into l2vpn configuration, 47 00:02:35,770 --> 00:02:38,860 and we configure this using xconnect. 48 00:02:38,860 --> 00:02:41,020 So we create an xconnect group. 49 00:02:41,020 --> 00:02:43,040 We can call this whatever we want. 50 00:02:43,040 --> 00:02:46,390 Let's call it customer B VPN. 51 00:02:46,390 --> 00:02:51,610 Then, we're going to set the P2P tag to 10 without the space, 52 00:02:51,610 --> 00:02:53,930 and then we'll assign our interfaces. 53 00:02:53,930 --> 00:02:58,490 So we assign our subinterface of gig 0, 0, 0, 0, dot 10. 54 00:02:58,490 --> 00:03:00,740 And then we configure our remote neighbor. 55 00:03:00,740 --> 00:03:05,810 So this is going to be neighbor IPv4, router 5's loopback. 56 00:03:05,810 --> 00:03:08,680 And then we set up a pseudowire ID. 57 00:03:08,680 --> 00:03:12,980 Once again, we'll just use 10 since it's carrying VLAN 10. 58 00:03:12,980 --> 00:03:15,400 We'll commit those changes, and then we 59 00:03:15,400 --> 00:03:18,700 should be able to exit configuration here on router 2. 60 00:03:18,700 --> 00:03:22,800 So now, let's go over and configure router 5. 61 00:03:22,800 --> 00:03:25,050 So router 5, of course, on IOS XE 62 00:03:25,050 --> 00:03:26,860 is going to be a bit different. 63 00:03:26,860 --> 00:03:29,200 We still, however, want to default our interface, 64 00:03:29,200 --> 00:03:31,650 so this is going to be gigabit 4. 65 00:03:31,650 --> 00:03:34,650 Then we'll go into interface gigabit 4. 66 00:03:34,650 --> 00:03:38,730 This is mostly going to be the same way as we did VPLS. 67 00:03:38,730 --> 00:03:41,550 So we're going to set up our service instance. 68 00:03:41,550 --> 00:03:44,610 This time, we'll do service instance 10, 69 00:03:44,610 --> 00:03:48,270 keeping in step with everything using the VLAN number. 70 00:03:48,270 --> 00:03:50,040 Again, it doesn't have to. 71 00:03:50,040 --> 00:03:53,130 What does have to is, when we set up 72 00:03:53,130 --> 00:03:57,060 our encapsulation for dot1q, this of course 73 00:03:57,060 --> 00:04:00,010 does have to be VLAN 10. 74 00:04:00,010 --> 00:04:01,800 Let's go ahead and exit out of this, 75 00:04:01,800 --> 00:04:05,460 and we'll set up our l2vpn connection now. 76 00:04:05,460 --> 00:04:08,640 So on IOS XE, we do l2vpn. 77 00:04:08,640 --> 00:04:12,910 And then, of course, there's no sub configuration mode, 78 00:04:12,910 --> 00:04:17,160 so we go right to xconnect and we set our context. 79 00:04:17,160 --> 00:04:19,720 Once again, this is essentially just a name, 80 00:04:19,720 --> 00:04:24,510 so we'll call it tag 10 just like we did on IOS XR. 81 00:04:24,510 --> 00:04:26,850 Now, we get our sub configuration mode 82 00:04:26,850 --> 00:04:28,500 for xconnect. 83 00:04:28,500 --> 00:04:30,760 Now, we set up our members. 84 00:04:30,760 --> 00:04:32,370 So we're going to set up a member-- 85 00:04:32,370 --> 00:04:34,740 is going to be a pseudowire. 86 00:04:34,740 --> 00:04:36,810 The pseudowire, we just have to give it a number. 87 00:04:36,810 --> 00:04:38,850 Once again, we'll stick with everything sort 88 00:04:38,850 --> 00:04:40,290 of being 10 here. 89 00:04:40,290 --> 00:04:42,100 We'll give it our neighbor's address, 90 00:04:42,100 --> 00:04:44,730 which is going to be router 2's loopback. 91 00:04:44,730 --> 00:04:48,900 We give it the identifier, and then we set the encapsulation 92 00:04:48,900 --> 00:04:51,240 to run over MPLS. 93 00:04:51,240 --> 00:04:52,630 The other member here, of course, 94 00:04:52,630 --> 00:04:54,610 is going to be the gigabit interface. 95 00:04:54,610 --> 00:04:58,860 So it's going to be gigabit 4, service instance 10. 96 00:04:58,860 --> 00:05:01,200 We'll exit configuration. 97 00:05:01,200 --> 00:05:03,630 We see our targeted LDP neighborship 98 00:05:03,630 --> 00:05:05,640 to router 2 come up. 99 00:05:05,640 --> 00:05:07,840 Let's go ahead and do some verification. 100 00:05:07,840 --> 00:05:13,020 So we can do show l2vpn xconnect. 101 00:05:13,020 --> 00:05:15,540 Actually, that's the IOS XR command. 102 00:05:15,540 --> 00:05:18,780 Let's try the IOS XE command instead. 103 00:05:18,780 --> 00:05:25,390 It's show l2vpn atom vc, for virtual circuit. 104 00:05:25,390 --> 00:05:29,610 So here, we can see that we have our pseudo wires up, connected 105 00:05:29,610 --> 00:05:32,460 between peer 1 and peer 2. 106 00:05:32,460 --> 00:05:33,960 We're, of course, focusing right now 107 00:05:33,960 --> 00:05:37,710 on pseudowire 10 going to router 2. 108 00:05:37,710 --> 00:05:41,580 Pseudowire 100002 is from VPLS. 109 00:05:41,580 --> 00:05:45,390 So focusing on the pw10, it is currently up. 110 00:05:45,390 --> 00:05:47,950 It is a point-to-point link. 111 00:05:47,950 --> 00:05:50,250 And we could get some more details on that 112 00:05:50,250 --> 00:05:56,490 by adding VCID 10 and detail to the end of this. 113 00:05:56,490 --> 00:05:59,490 So again, looking over this, lots of information, 114 00:05:59,490 --> 00:06:02,610 but we see that it's pseudowire 10, it's up. 115 00:06:02,610 --> 00:06:04,950 The vc status is up. 116 00:06:04,950 --> 00:06:07,710 Pseudowire type is ethernet. 117 00:06:07,710 --> 00:06:12,120 We see the destination address is router 2's loopback. 118 00:06:12,120 --> 00:06:17,170 Our local egress interface is gigabit 1.4. 119 00:06:17,170 --> 00:06:19,260 And it also shows us the label that it's 120 00:06:19,260 --> 00:06:20,910 going to be using for this-- 121 00:06:20,910 --> 00:06:24,720 24002 and 24009. 122 00:06:24,720 --> 00:06:28,650 We can also see down here under the signaling protocol 123 00:06:28,650 --> 00:06:32,160 that, of course, the peer 10.2.2.2 is up, 124 00:06:32,160 --> 00:06:34,950 but that it's a targeted hello going 125 00:06:34,950 --> 00:06:39,432 from 10.5.5.5 to 10.2.2.2. 126 00:06:39,432 --> 00:06:42,630 As we can see, there's a lot of information in here 127 00:06:42,630 --> 00:06:44,730 that you can look over, including 128 00:06:44,730 --> 00:06:47,710 again local and remote labels that are going to be used 129 00:06:47,710 --> 00:06:49,240 and so on. 130 00:06:49,240 --> 00:06:53,190 So let's go do our verification on router 2 now. 131 00:06:53,190 --> 00:06:56,390 So now would probably be a good time to do the show 132 00:06:56,390 --> 00:07:01,100 l2vpn xconnect, and it'll work much better here 133 00:07:01,100 --> 00:07:03,260 than it did on IOS XE. 134 00:07:03,260 --> 00:07:05,600 So as you can see, this is sort of the same as looking 135 00:07:05,600 --> 00:07:08,960 at the atom virtual circuit that we looked at on IOS XE. 136 00:07:08,960 --> 00:07:12,560 But again, we see that this is part of the xconnect group 137 00:07:12,560 --> 00:07:14,600 customer B VPN. 138 00:07:14,600 --> 00:07:16,550 Its name is tag 10. 139 00:07:16,550 --> 00:07:20,900 Its current status is up, and segment one 140 00:07:20,900 --> 00:07:25,910 is going out our local gigabit 0, 0, 0, 0, dot 10 interface, 141 00:07:25,910 --> 00:07:28,940 and segment two going to the remote side 142 00:07:28,940 --> 00:07:33,390 is going to 10.5.5.5. 143 00:07:33,390 --> 00:07:38,865 We can also add to this and say interface gig 0, 0, 0, 144 00:07:38,865 --> 00:07:43,110 0, dot 10, detail, and this will tell us 145 00:07:43,110 --> 00:07:46,620 that this is a member of the group customer B VPN. 146 00:07:46,620 --> 00:07:48,930 We see the xconnect tag. 147 00:07:48,930 --> 00:07:50,760 The state is currently up. 148 00:07:50,760 --> 00:07:52,380 And of course, we see the attachment 149 00:07:52,380 --> 00:07:57,900 circuit is in fact the gigabyte 0, 0, 0, 0 dot 10, and it's up. 150 00:07:57,900 --> 00:07:59,460 We see that it's a VLAN. 151 00:07:59,460 --> 00:08:03,420 It's not rewriting tags, so the VLAN range here 152 00:08:03,420 --> 00:08:08,730 is going to be-- well, 10 to 10, so essentially just 10. 153 00:08:08,730 --> 00:08:10,590 We also see that for the pseudowire, 154 00:08:10,590 --> 00:08:13,131 the neighbor is 10.5.5.5. 155 00:08:13,131 --> 00:08:16,650 The pseudowire ID is 10. 156 00:08:16,650 --> 00:08:18,780 And of course, the encapsulation is 157 00:08:18,780 --> 00:08:21,930 MPLS using LDP as the protocol. 158 00:08:21,930 --> 00:08:25,680 Once again, a lot more information here, but we 159 00:08:25,680 --> 00:08:28,990 can get a lot of good stuff out of these commands. 160 00:08:28,990 --> 00:08:31,140 So now that it looks like everything's working, 161 00:08:31,140 --> 00:08:34,169 let's go ahead and verify our clients. 162 00:08:34,169 --> 00:08:37,860 Let's jump over to router 7. 163 00:08:37,860 --> 00:08:41,590 On router 7, we're simply going to create a VLAN 10 interface. 164 00:08:41,590 --> 00:08:44,460 So this will be gigabit 1.10. 165 00:08:44,460 --> 00:08:47,920 Encapsulation is going to follow VLAN 10. 166 00:08:47,920 --> 00:08:52,980 And we'll give it an IP address of 192.168.10.7, 167 00:08:52,980 --> 00:08:57,810 again representing VLAN 10 and host ID 7. 168 00:08:57,810 --> 00:09:00,270 And we'll make that a slash 24. 169 00:09:00,270 --> 00:09:04,060 While we're here, let's just go ahead and set up OSPF as well. 170 00:09:04,060 --> 00:09:06,510 We'll go ahead and set the router ID, 171 00:09:06,510 --> 00:09:11,340 and we'll just bring in all the interfaces into area 0. 172 00:09:11,340 --> 00:09:13,980 Now, let's go configure router 10. 173 00:09:13,980 --> 00:09:16,200 We've done a few of these now, so we'll just 174 00:09:16,200 --> 00:09:18,930 paste the configuration in here on router 10. 175 00:09:18,930 --> 00:09:22,260 Once again, we're simply creating a subinterface, 176 00:09:22,260 --> 00:09:24,930 giving it the IP address, and setting up 177 00:09:24,930 --> 00:09:27,250 OSPF on the interface. 178 00:09:27,250 --> 00:09:30,660 So we see here that OSPF does come up 179 00:09:30,660 --> 00:09:34,110 with router 7, which means we should have a couple of things 180 00:09:34,110 --> 00:09:34,890 we can look at. 181 00:09:34,890 --> 00:09:37,800 First, we should, of course, be able to ping the other side-- 182 00:09:37,800 --> 00:09:41,040 192.168.10.7. 183 00:09:41,040 --> 00:09:43,440 We can see that that's successful. 184 00:09:43,440 --> 00:09:46,680 If we do a show IP route OSPF, we 185 00:09:46,680 --> 00:09:48,210 do see that we have a network that's 186 00:09:48,210 --> 00:09:49,750 reachable on the other side. 187 00:09:49,750 --> 00:09:52,000 Let's go ahead and trace to that this time. 188 00:09:52,000 --> 00:09:55,470 So let's go to 10.100.1.7. 189 00:09:55,470 --> 00:09:58,500 And we can see that just like our VPLS, 190 00:09:58,500 --> 00:10:00,540 this appears to be going directly, 191 00:10:00,540 --> 00:10:03,000 and we don't see any of the devices in the middle 192 00:10:03,000 --> 00:10:05,220 because they're all being encapsulated 193 00:10:05,220 --> 00:10:09,650 in our ethernet over MPLS tunnel. 194 00:10:09,650 --> 00:10:12,530 In this video, we took a look at how 195 00:10:12,530 --> 00:10:16,160 to set up a point-to-point connection using Ethernet 196 00:10:16,160 --> 00:10:20,060 over MPLS for our customer B client 197 00:10:20,060 --> 00:10:23,180 going between routers 7 and 10. 198 00:10:23,180 --> 00:10:28,310 We also saw how, just like VPLS, once this is done, 199 00:10:28,310 --> 00:10:31,850 we don't see any of the devices in the middle when we're 200 00:10:31,850 --> 00:10:34,040 doing things like tracing. 201 00:10:34,040 --> 00:10:37,280 It's because it's a direct layer 2 connection. 202 00:10:37,280 --> 00:10:39,920 So that pretty much covers everything 203 00:10:39,920 --> 00:10:42,500 that we need to discuss in this skill. 204 00:10:42,500 --> 00:10:46,910 That leaves us with just a review in the form of a quiz, 205 00:10:46,910 --> 00:10:49,770 and that's exactly what we're going to do next. 206 00:10:49,770 --> 00:10:53,120 Until then, I hope this has been informative for you, 207 00:10:53,120 --> 00:10:56,230 and I'd like to thank you for viewing. 208 00:10:56,230 --> 00:11:00,000