1 00:00:08,453 --> 00:00:09,940 - [Narrator] In this video I'd like to talk about 2 00:00:09,940 --> 00:00:11,920 an alternative way of doing switching 3 00:00:11,920 --> 00:00:15,632 in your GNS3 topology by using the EtherSwitch router. 4 00:00:15,632 --> 00:00:17,708 And if you wanna practice IOS commands 5 00:00:17,708 --> 00:00:19,141 that relate to switches, 6 00:00:19,141 --> 00:00:20,883 this is what you're gonna wanna do. 7 00:00:20,883 --> 00:00:22,890 So, before we actually look at how to do this, 8 00:00:22,890 --> 00:00:24,957 let's talk about how do I get this 9 00:00:24,957 --> 00:00:26,607 into my topology in the first place. 10 00:00:26,607 --> 00:00:28,927 This is not a built in node, 11 00:00:28,927 --> 00:00:30,835 this is a special IOS image 12 00:00:30,835 --> 00:00:33,118 support on a certain range of routers 13 00:00:33,118 --> 00:00:35,276 that give the routers this ability. 14 00:00:35,276 --> 00:00:36,968 So, how do we figure that out? 15 00:00:36,968 --> 00:00:38,989 Well, the first thing you're going to want to do 16 00:00:38,989 --> 00:00:40,489 is go to GNS3.com. 17 00:00:42,948 --> 00:00:45,115 And go ahead and log in... 18 00:00:50,146 --> 00:00:51,623 And then from there you're gonna wanna click 19 00:00:51,623 --> 00:00:54,706 on support followed by documentation, 20 00:00:58,575 --> 00:01:00,696 and then from here, click on where it says 21 00:01:00,696 --> 00:01:02,363 "Adding IOS Images". 22 00:01:06,071 --> 00:01:08,797 We already saw this window before a couple of videos back, 23 00:01:08,797 --> 00:01:10,887 when we were talking about what IOS images 24 00:01:10,887 --> 00:01:12,545 were suitable for GNS3, 25 00:01:12,545 --> 00:01:14,516 so I'm gonna go back to that exact same document 26 00:01:14,516 --> 00:01:15,964 that we were looking at next time, 27 00:01:15,964 --> 00:01:18,246 which is viewable right here, 28 00:01:18,246 --> 00:01:20,497 from where it says "In this document". 29 00:01:20,497 --> 00:01:23,400 We're gonna wanna click on those words, 30 00:01:23,400 --> 00:01:26,722 which will bring up another document. 31 00:01:26,722 --> 00:01:29,410 Okay, so, the EtherSwitch module 32 00:01:29,410 --> 00:01:33,427 is an actual module that goes in a network module slot 33 00:01:33,427 --> 00:01:34,684 within a router. 34 00:01:34,684 --> 00:01:37,560 So, any of the routers that you see in this list 35 00:01:37,560 --> 00:01:40,762 that support NMs or network modules 36 00:01:40,762 --> 00:01:43,565 will support the EtherSwitch module. 37 00:01:43,565 --> 00:01:45,662 So for example, look at the 1700 series. 38 00:01:45,662 --> 00:01:49,437 It says it supports two sub-slots for WICs 39 00:01:49,437 --> 00:01:51,674 and no network slots, 40 00:01:51,674 --> 00:01:54,931 so if you get yourself a 1700 series IOS software image, 41 00:01:54,931 --> 00:01:59,142 you will not have access to the EtherSwitch module. 42 00:01:59,142 --> 00:02:01,458 So if we scroll down past all of these, 43 00:02:01,458 --> 00:02:03,263 past the 7200s at the bottom, 44 00:02:03,263 --> 00:02:05,628 it actually has a section right there 45 00:02:05,628 --> 00:02:08,116 on Cisco Catalyst Switches. 46 00:02:08,116 --> 00:02:10,608 And it says that as long as you can get an IOS image 47 00:02:10,608 --> 00:02:14,608 that supports the 2600s, 3600s, or 3700s series, 48 00:02:15,879 --> 00:02:19,425 then you will have access to the EtherSwitch module. 49 00:02:19,425 --> 00:02:21,139 In my particular example in this video, 50 00:02:21,139 --> 00:02:24,616 I'm going to be using a 3725 for the EtherSwitch. 51 00:02:24,616 --> 00:02:26,709 Now one other thing that's important to know about this, 52 00:02:26,709 --> 00:02:29,987 is notice it says that the EtherSwitch module, 53 00:02:29,987 --> 00:02:33,320 because its not a hardware based switch, 54 00:02:34,337 --> 00:02:38,080 like a Catalyst 6500 or a Catalyst 4500 55 00:02:38,080 --> 00:02:39,643 or something like that, 56 00:02:39,643 --> 00:02:41,838 it's not gonna support the full range of features 57 00:02:41,838 --> 00:02:44,745 that you would have in a real physical switch. 58 00:02:44,745 --> 00:02:46,475 And right here in this document 59 00:02:46,475 --> 00:02:49,918 it actually tells you, if I zoom in here a little bit, 60 00:02:49,918 --> 00:02:52,910 these are all the features which are not supported 61 00:02:52,910 --> 00:02:55,380 by the EtherSwitch module, 62 00:02:55,380 --> 00:02:58,502 so there are quite a bit of them, 63 00:02:58,502 --> 00:03:00,553 and that's just a limitation of that particular module, 64 00:03:00,553 --> 00:03:03,156 even if you had a real 3700 router 65 00:03:03,156 --> 00:03:06,360 and you had a real EtherSwitch module plugged into it, 66 00:03:06,360 --> 00:03:09,278 you would still have a serious limitation on these switches 67 00:03:09,278 --> 00:03:11,751 right here, on these various features. 68 00:03:11,751 --> 00:03:13,550 So, there's a lot of stuff in here, 69 00:03:13,550 --> 00:03:15,151 and especially if you're a CCNA candidate, 70 00:03:15,151 --> 00:03:17,179 I wanna point out some of the features 71 00:03:17,179 --> 00:03:19,728 that unfortunately are missing from this device, 72 00:03:19,728 --> 00:03:23,091 that you are gonna wanna have some practice with 73 00:03:23,091 --> 00:03:24,154 if you can. 74 00:03:24,154 --> 00:03:25,298 So number 1. 75 00:03:25,298 --> 00:03:27,437 And I'm sure its somewhere here on this list, 76 00:03:27,437 --> 00:03:29,642 I'm just not looking at it right now, 77 00:03:29,642 --> 00:03:32,390 but when it comes to trunking, 802.1Q trunking, 78 00:03:32,390 --> 00:03:35,237 you're gonna wanna learn how to configure 79 00:03:35,237 --> 00:03:38,570 and monitor dynamic trunks that use DTP, 80 00:03:39,520 --> 00:03:41,155 the Dynamic Trunking Protocol, 81 00:03:41,155 --> 00:03:42,576 so in a real switch, 82 00:03:42,576 --> 00:03:45,638 it would be switch port mode dynamic, 83 00:03:45,638 --> 00:03:48,161 and then you'd select auto or desirable. 84 00:03:48,161 --> 00:03:50,081 Switch port mode auto or desirable. 85 00:03:50,081 --> 00:03:51,640 That's not available here. 86 00:03:51,640 --> 00:03:53,990 In the EtherSwitch module all you can do 87 00:03:53,990 --> 00:03:56,846 is statically configure an interface as a trunk 88 00:03:56,846 --> 00:03:58,315 with Switch port mode trunk, 89 00:03:58,315 --> 00:03:59,944 there is no dynamic option. 90 00:03:59,944 --> 00:04:00,899 Another thing, 91 00:04:00,899 --> 00:04:03,027 when it comes to EtherChannels, 92 00:04:03,027 --> 00:04:05,063 you can create EtherChannels in here 93 00:04:05,063 --> 00:04:07,583 but you cannot create dynamic EtherChannels, 94 00:04:07,583 --> 00:04:10,096 so once again, with EtherChannel in a real switch, 95 00:04:10,096 --> 00:04:12,158 you have a choice if you want to of either 96 00:04:12,158 --> 00:04:16,082 using the port aggregation protocol or LACP. 97 00:04:16,082 --> 00:04:17,702 Once again, that would be like 98 00:04:17,702 --> 00:04:21,772 desirable or auto, or something like that. 99 00:04:21,772 --> 00:04:23,002 Passive active. 100 00:04:23,002 --> 00:04:26,751 Those keywords also, not available in an EtherSwitch module. 101 00:04:26,751 --> 00:04:31,090 When it comes to VTP, the VLAN Trunking Protocol, 102 00:04:31,090 --> 00:04:33,375 what I've noticed is that real switches, 103 00:04:33,375 --> 00:04:34,854 and you'll see this in documentation, 104 00:04:34,854 --> 00:04:37,861 if one switch is configured with a VTP domain name, 105 00:04:37,861 --> 00:04:40,323 and then it trunks with a second switch, 106 00:04:40,323 --> 00:04:42,316 there's a functional trunk here, 107 00:04:42,316 --> 00:04:45,340 and the second switch has no VTP domain name, 108 00:04:45,340 --> 00:04:46,673 it's empty, it's null, 109 00:04:46,673 --> 00:04:49,881 the second switch can learn of the VTP domain name 110 00:04:49,881 --> 00:04:51,597 from the first switch. 111 00:04:51,597 --> 00:04:54,203 That's not gonna happen in this particular case. 112 00:04:54,203 --> 00:04:56,997 I'm not exactly sure in the background why 113 00:04:56,997 --> 00:04:57,900 that's not happening, 114 00:04:57,900 --> 00:05:01,370 because these do support VTP to a limited extent, 115 00:05:01,370 --> 00:05:03,975 they support VTP version 1 and 2, 116 00:05:03,975 --> 00:05:05,380 not VTP version 3, 117 00:05:05,380 --> 00:05:07,500 but still for a CCNA candidate, 118 00:05:07,500 --> 00:05:10,298 pretty much all the VTP stuff you'd want to do 119 00:05:10,298 --> 00:05:12,803 is support on here, but not the dynamic learning 120 00:05:12,803 --> 00:05:14,136 of domain names. 121 00:05:15,271 --> 00:05:17,855 At the CCNA level you have to learn about 122 00:05:17,855 --> 00:05:21,118 Rapid Spanning Tree or Rapid PVST. 123 00:05:21,118 --> 00:05:23,309 Unfortunately, these EtherSwitch modules 124 00:05:23,309 --> 00:05:26,226 only support 802.1D or PVST normal, 125 00:05:27,829 --> 00:05:30,995 PVST plus, with 802.1D they do not support 126 00:05:30,995 --> 00:05:33,275 Rapid Spanning Tree, they do not support 127 00:05:33,275 --> 00:05:35,011 Multiple Spanning Trees, 128 00:05:35,011 --> 00:05:37,385 and MST is something you have to learn to configure 129 00:05:37,385 --> 00:05:41,864 and troubleshoot at the CCNP level and above. 130 00:05:41,864 --> 00:05:44,324 One big feature that's missing from here, 131 00:05:44,324 --> 00:05:45,188 which is unfortunate, 132 00:05:45,188 --> 00:05:47,196 because the CCNA a lot of times 133 00:05:47,196 --> 00:05:48,750 is gonna hit you hard on this feature, 134 00:05:48,750 --> 00:05:50,139 is port security. 135 00:05:50,139 --> 00:05:51,617 When you're learning about switching, 136 00:05:51,617 --> 00:05:53,909 one of the features you're expected to know 137 00:05:53,909 --> 00:05:56,199 is port security, how to configure it, 138 00:05:56,199 --> 00:05:58,959 the various different keywords and Gotchas 139 00:05:58,959 --> 00:06:00,345 that go along with port security. 140 00:06:00,345 --> 00:06:02,499 Unfortunately, this EtherSwitch module 141 00:06:02,499 --> 00:06:04,937 also does not support port security. 142 00:06:04,937 --> 00:06:06,881 Now when you get up to the CCNP level, 143 00:06:06,881 --> 00:06:10,191 this big list here takes on even more relevance, 144 00:06:10,191 --> 00:06:12,595 as there's a lot more features that are not supported here. 145 00:06:12,595 --> 00:06:14,879 So, if you're at the CCNP level 146 00:06:14,879 --> 00:06:17,509 studying for your switch exam or beyond, 147 00:06:17,509 --> 00:06:18,629 like the CCIE level 148 00:06:18,629 --> 00:06:21,137 and you need access to all these missing features, 149 00:06:21,137 --> 00:06:22,868 unfortunately at that point, 150 00:06:22,868 --> 00:06:24,863 you're gonna only have two options: 151 00:06:24,863 --> 00:06:27,748 Either get yourself a real physical switch, 152 00:06:27,748 --> 00:06:29,263 which is the ideal option, 153 00:06:29,263 --> 00:06:31,171 and there are ways you can actually connect 154 00:06:31,171 --> 00:06:34,071 a real physical switch into your GNS3 topology 155 00:06:34,071 --> 00:06:35,150 if you need to do that, 156 00:06:35,150 --> 00:06:37,400 or get your hands on L2IOU. 157 00:06:38,847 --> 00:06:42,450 But even L2IOU doesn't have all the things supported 158 00:06:42,450 --> 00:06:43,948 in a real switch, 159 00:06:43,948 --> 00:06:47,113 there are some features in L2IOU that are not supported, 160 00:06:47,113 --> 00:06:48,988 so if you want the full range of everything 161 00:06:48,988 --> 00:06:51,933 you're gonna have to have a real physical switch. 162 00:06:51,933 --> 00:06:53,902 So, now that we've spent enough time on talking about 163 00:06:53,902 --> 00:06:55,468 what this thing can't do, 164 00:06:55,468 --> 00:06:57,628 let's take a look at what it can do. 165 00:06:57,628 --> 00:07:00,688 So we know now that any router 166 00:07:00,688 --> 00:07:02,128 that supports network modules 167 00:07:02,128 --> 00:07:05,211 will support this EtherSwitch module, 168 00:07:06,130 --> 00:07:09,478 so what I'm gonna do if I haven't already done this, 169 00:07:09,478 --> 00:07:12,613 I'm gonna go to Edit and Preferences, 170 00:07:12,613 --> 00:07:15,041 under Dynamips I'm gonna click on IOS routers, 171 00:07:15,041 --> 00:07:16,847 and I want to add a new router, 172 00:07:16,847 --> 00:07:18,786 because if you had an EtherSwitch router, 173 00:07:18,786 --> 00:07:20,833 it would show up here, you would see it in this list. 174 00:07:20,833 --> 00:07:22,226 But we don't see one, 175 00:07:22,226 --> 00:07:24,205 so I'm gonna click on new, 176 00:07:24,205 --> 00:07:27,705 and I'm gonna use my existing image, 3725. 177 00:07:29,949 --> 00:07:32,516 In this particular case I'm just gonna say, 178 00:07:32,516 --> 00:07:34,933 C3725, let's say EtherSwitch. 179 00:07:37,786 --> 00:07:40,046 But this is the key part, right here, 180 00:07:40,046 --> 00:07:42,565 when adding this you wanna select this option 181 00:07:42,565 --> 00:07:45,055 where it says, "This is an EtherSwitch Router," 182 00:07:45,055 --> 00:07:47,233 and actually by doing that it changes the name for you, 183 00:07:47,233 --> 00:07:48,609 I didn't even need to change the name. 184 00:07:48,609 --> 00:07:51,072 So that is the critical component, right there, 185 00:07:51,072 --> 00:07:55,057 if you don't select that, that EtherSwitch network module 186 00:07:55,057 --> 00:07:58,255 will not be available to you on the next screen, 187 00:07:58,255 --> 00:07:59,844 so we need to select that. 188 00:07:59,844 --> 00:08:01,277 And now when I hit next, 189 00:08:01,277 --> 00:08:03,549 select the appropriate amount of memory, 190 00:08:03,549 --> 00:08:07,245 which I think is 256 for this particular image, 191 00:08:07,245 --> 00:08:10,026 and now you can see by default it populates 192 00:08:10,026 --> 00:08:13,245 one of your network module slots with a 16 port 193 00:08:13,245 --> 00:08:14,826 EtherSwitch module. 194 00:08:14,826 --> 00:08:16,749 Now if you want to, if 16 ports is not enough, 195 00:08:16,749 --> 00:08:18,363 you could populate it with another one, 196 00:08:18,363 --> 00:08:20,831 or certainly if you wanna use this router 197 00:08:20,831 --> 00:08:22,943 for routing as well as switching, 198 00:08:22,943 --> 00:08:26,511 oh, let's put in a four port serial card as well. 199 00:08:26,511 --> 00:08:28,437 And because this is a 3725, 200 00:08:28,437 --> 00:08:30,175 we have some WIC slots available, 201 00:08:30,175 --> 00:08:31,418 I'm just gonna leave these empty 202 00:08:31,418 --> 00:08:32,493 because I don't care about those 203 00:08:32,493 --> 00:08:35,125 for this demonstration. 204 00:08:35,125 --> 00:08:38,959 And we're gonna wanna find an idle PC. 205 00:08:38,959 --> 00:08:41,079 And this is normal, don't worry too much about this, 206 00:08:41,079 --> 00:08:44,256 we just have to wait for about 30 seconds or so, 207 00:08:44,256 --> 00:08:46,403 and then it should find an idle PC value 208 00:08:46,403 --> 00:08:48,820 for this particular platform. 209 00:08:52,787 --> 00:08:54,011 And there we go. 210 00:08:54,011 --> 00:08:55,559 It has found an idle PC value, 211 00:08:55,559 --> 00:08:56,651 which is what we were looking for, 212 00:08:56,651 --> 00:08:58,818 so click okay, and finish. 213 00:09:00,633 --> 00:09:01,466 And now we can see, 214 00:09:01,466 --> 00:09:03,210 up in the available platforms, 215 00:09:03,210 --> 00:09:05,838 now we have, if I expand this a little bit, 216 00:09:05,838 --> 00:09:06,865 it actually won't let me, 217 00:09:06,865 --> 00:09:08,788 we have an EtherSwitch router. 218 00:09:08,788 --> 00:09:10,650 So click okay. 219 00:09:10,650 --> 00:09:12,232 So now on this particular topology 220 00:09:12,232 --> 00:09:14,879 which is the topology we just saw in the last video, 221 00:09:14,879 --> 00:09:16,529 I'm going to accomplish the same thing, 222 00:09:16,529 --> 00:09:19,078 but this time I'm gonna use the EtherSwitch router, 223 00:09:19,078 --> 00:09:20,360 so I can have a little bit more experience 224 00:09:20,360 --> 00:09:23,385 configuring IOS switching commands. 225 00:09:23,385 --> 00:09:26,263 So click once again on your switching tab, 226 00:09:26,263 --> 00:09:27,582 or switching button, 227 00:09:27,582 --> 00:09:29,566 and now we have an EtherSwitch router, 228 00:09:29,566 --> 00:09:34,314 so I'm just gonna drag and drop that into place... 229 00:09:34,314 --> 00:09:35,891 Okay, so let's go ahead 230 00:09:35,891 --> 00:09:37,769 and connect its interfaces. 231 00:09:37,769 --> 00:09:39,397 Now let's talk a little bit about its interfaces 232 00:09:39,397 --> 00:09:40,826 for just a second. 233 00:09:40,826 --> 00:09:42,026 I'll zoom in here. 234 00:09:42,026 --> 00:09:43,943 Because this is a 3725, 235 00:09:44,888 --> 00:09:46,814 the fast Ethernet interfaces 236 00:09:46,814 --> 00:09:49,413 that are on the main chassis, which you see here 237 00:09:49,413 --> 00:09:54,096 are Fast Ethernet 0/0 Fast Ethernet 0/1. 238 00:09:54,096 --> 00:09:56,104 Those are routed interfaces, 239 00:09:56,104 --> 00:09:58,605 those do not belong to the switching module. 240 00:09:58,605 --> 00:10:00,000 So you have to look under, 241 00:10:00,000 --> 00:10:01,082 and you can see here, 242 00:10:01,082 --> 00:10:03,645 which ones are included under the switching module, 243 00:10:03,645 --> 00:10:04,788 and if you see that, 244 00:10:04,788 --> 00:10:05,851 let's bring that up again, 245 00:10:05,851 --> 00:10:08,515 you can see that slot 1 has the network module 246 00:10:08,515 --> 00:10:10,480 with the 16 port EtherSwitch. 247 00:10:10,480 --> 00:10:14,647 So in this particular case, ports 1/0 up to 1/15 248 00:10:16,111 --> 00:10:18,862 will be my switching interfaces, 249 00:10:18,862 --> 00:10:20,185 that's where I will find those. 250 00:10:20,185 --> 00:10:22,704 So don't try to configure your switchport commands 251 00:10:22,704 --> 00:10:24,803 on the first couple of interfaces, 252 00:10:24,803 --> 00:10:26,422 because those Fast Ethernet interfaces 253 00:10:26,422 --> 00:10:30,528 are router interfaces, not switching interfaces. 254 00:10:30,528 --> 00:10:31,361 Now this one, 255 00:10:31,361 --> 00:10:32,652 if I right click, 256 00:10:32,652 --> 00:10:34,578 I don't wanna select configure, 257 00:10:34,578 --> 00:10:37,179 this is not like the built in switch node 258 00:10:37,179 --> 00:10:38,386 that we saw before, 259 00:10:38,386 --> 00:10:40,887 I'm not gonna configure this thing via a GUI, 260 00:10:40,887 --> 00:10:44,569 I'm gonna configure it via the actual command line. 261 00:10:44,569 --> 00:10:46,654 So let's go ahead and start it up first, 262 00:10:46,654 --> 00:10:47,934 'cause I won't even get the command line 263 00:10:47,934 --> 00:10:49,689 if I don't start it. 264 00:10:49,689 --> 00:10:50,594 Here we go. 265 00:10:50,594 --> 00:10:54,761 And let's go ahead and right click and select console. 266 00:10:58,481 --> 00:10:59,814 And here we are. 267 00:11:00,658 --> 00:11:03,658 Wait for it to boot up a little bit. 268 00:11:07,690 --> 00:11:09,322 Okay, now before I configure it, 269 00:11:09,322 --> 00:11:11,892 I can go ahead and add my connections at least, 270 00:11:11,892 --> 00:11:13,188 using the link tool, 271 00:11:13,188 --> 00:11:14,530 so I'll click on that. 272 00:11:14,530 --> 00:11:16,989 So here I'll select the very first switching port, 273 00:11:16,989 --> 00:11:19,040 which is 1/0. 274 00:11:19,040 --> 00:11:21,562 I'll connect that to PC 1. 275 00:11:21,562 --> 00:11:25,145 And I'll keep doing it with the other ones. 276 00:11:33,270 --> 00:11:34,103 And when I'm done here, 277 00:11:34,103 --> 00:11:37,150 I will move the port designators around a little bit 278 00:11:37,150 --> 00:11:40,134 so they are actually clear. 279 00:11:40,134 --> 00:11:42,170 Alright, so that's that. 280 00:11:42,170 --> 00:11:43,479 Let's go ahead and move this guy 281 00:11:43,479 --> 00:11:46,562 so that everything lines up nicely... 282 00:11:52,294 --> 00:11:55,750 Okay, now I can see my interface designations 283 00:11:55,750 --> 00:11:59,083 a little bit more clearly at this point. 284 00:12:01,322 --> 00:12:02,472 Okay, so in the last video, 285 00:12:02,472 --> 00:12:04,602 in order to create our VLANs and create our trunks 286 00:12:04,602 --> 00:12:06,721 and assign it to the ports, 287 00:12:06,721 --> 00:12:08,349 it was all based on the GUI. 288 00:12:08,349 --> 00:12:09,598 Well now I've actually got a router, 289 00:12:09,598 --> 00:12:12,282 so I have to go in there and configure that. 290 00:12:12,282 --> 00:12:13,603 So let's go ahead and start with 291 00:12:13,603 --> 00:12:17,272 Fast Ethernet 1/0 and 1/1. 292 00:12:17,272 --> 00:12:18,440 So because this is a router, 293 00:12:18,440 --> 00:12:21,232 I can actually use the #int range command. 294 00:12:21,232 --> 00:12:25,399 #int range fast 1/0 - 1/1. 295 00:12:28,951 --> 00:12:29,951 #switchport. 296 00:12:30,795 --> 00:12:32,795 #switchport mode access. 297 00:12:34,856 --> 00:12:37,023 #switchport access vlan 1. 298 00:12:38,157 --> 00:12:38,990 #no shut. 299 00:12:41,225 --> 00:12:44,998 Now let's go back to 1/2 and 1/3 300 00:12:44,998 --> 00:12:47,665 and let's put those into VLAN 2. 301 00:12:55,554 --> 00:12:56,554 #switchport. 302 00:12:58,179 --> 00:13:00,796 #switchport mode access. 303 00:13:00,796 --> 00:13:03,496 #switchport mode access vlan 2. 304 00:13:03,496 --> 00:13:05,406 And notice it created VLAN 2 just like you'd see 305 00:13:05,406 --> 00:13:07,037 in a real switch. 306 00:13:07,037 --> 00:13:08,312 #no shut. 307 00:13:08,312 --> 00:13:09,145 #exit. 308 00:13:09,145 --> 00:13:11,033 Now if I wanted to create a VLAN on this thing, 309 00:13:11,033 --> 00:13:13,501 some of the earlier versions of GNS3 310 00:13:13,501 --> 00:13:15,459 and earlier versions of software 311 00:13:15,459 --> 00:13:17,038 said that in order to create a VLAN 312 00:13:17,038 --> 00:13:20,266 you had to go into VLAN database mode. 313 00:13:20,266 --> 00:13:22,245 And then from there type in your VLAN 314 00:13:22,245 --> 00:13:23,878 or whatever it was, 315 00:13:23,878 --> 00:13:26,043 but in reality you don't have to do that anymore. 316 00:13:26,043 --> 00:13:27,661 Here from the global configuration mode 317 00:13:27,661 --> 00:13:29,523 you can still create a VLAN. 318 00:13:29,523 --> 00:13:30,356 It works. 319 00:13:33,388 --> 00:13:34,335 Now the last step, 320 00:13:34,335 --> 00:13:36,859 I want to create my 802.1Q trunk 321 00:13:36,859 --> 00:13:40,442 right here on Fast Ethernet 1/4. 322 00:13:48,115 --> 00:13:50,042 So notice when I do #switchport mode, 323 00:13:50,042 --> 00:13:52,207 if this was a real switch you'd have access 324 00:13:52,207 --> 00:13:54,187 to #switchport mode dynamic, 325 00:13:54,187 --> 00:13:56,145 but that's not in right here, 326 00:13:56,145 --> 00:13:57,579 so I can't select that. 327 00:13:57,579 --> 00:13:59,974 So, #switchport mode trunk. 328 00:13:59,974 --> 00:14:02,511 Also notice that with just a regular #switchport command, 329 00:14:02,511 --> 00:14:06,590 one thing that's missing is #switchport port security. 330 00:14:06,590 --> 00:14:08,662 The port security option is not available here 331 00:14:08,662 --> 00:14:09,912 as I mentioned. 332 00:14:12,716 --> 00:14:13,549 #no shut. 333 00:14:14,612 --> 00:14:15,834 #exit. 334 00:14:15,834 --> 00:14:17,981 And before I leave here, you do have a variety 335 00:14:17,981 --> 00:14:22,253 of spanning tree commands available to you, 336 00:14:22,253 --> 00:14:23,513 for practicing spanning tree, 337 00:14:23,513 --> 00:14:25,467 and moving around your root bridge, 338 00:14:25,467 --> 00:14:28,057 and practicing per VLAN spanning tree plus, 339 00:14:28,057 --> 00:14:30,057 and all that good stuff. 340 00:14:32,105 --> 00:14:34,600 Now one other thing that's sort of different in here, 341 00:14:34,600 --> 00:14:36,594 if you were in a real switch 342 00:14:36,594 --> 00:14:40,594 and you wanted to see what VLANs were available, 343 00:14:41,907 --> 00:14:44,021 you would simply type show VLAN. 344 00:14:44,021 --> 00:14:45,785 Well, that's not the correct command, 345 00:14:45,785 --> 00:14:47,371 and actually it tells you up at the very beginning, 346 00:14:47,371 --> 00:14:49,864 if I can go through there when it first came up, 347 00:14:49,864 --> 00:14:52,756 right here it says "To view existing vlans, 348 00:14:52,756 --> 00:14:56,256 use the command "show vlan-switch brief."" 349 00:14:58,290 --> 00:15:00,207 Show vlan-switch brief. 350 00:15:02,270 --> 00:15:03,924 And that's how I can see my VLANS 351 00:15:03,924 --> 00:15:05,843 and the output is pretty much identical 352 00:15:05,843 --> 00:15:07,259 to the output you would see 353 00:15:07,259 --> 00:15:09,676 on a regular physical switch. 354 00:15:17,187 --> 00:15:18,198 Okay, so nothing's showing up 355 00:15:18,198 --> 00:15:19,670 under #sho interface trunk, 356 00:15:19,670 --> 00:15:21,135 which is a little bit suspicious, 357 00:15:21,135 --> 00:15:22,309 so let's take a look. 358 00:15:22,309 --> 00:15:23,624 According to my topology here, 359 00:15:23,624 --> 00:15:26,507 interface Fast Ethernet 1/4 should be trunking, 360 00:15:26,507 --> 00:15:28,131 it's possible it's not coming up 361 00:15:28,131 --> 00:15:31,538 because the other end of the line is currently down. 362 00:15:31,538 --> 00:15:34,107 Router 1 right now is in a shutdown state, 363 00:15:34,107 --> 00:15:37,239 so that might be why Fast Ethernet 1/4's not coming up. 364 00:15:37,239 --> 00:15:39,231 So let's just bring everything else up, 365 00:15:39,231 --> 00:15:41,192 give it just a couple seconds in the background, 366 00:15:41,192 --> 00:15:43,775 for Router 1 to finish loading. 367 00:15:49,407 --> 00:15:52,157 #sho run int fast 1/4. 368 00:15:54,515 --> 00:15:57,924 Okay, switchport mode trunk, duplex full, speed 100. 369 00:15:57,924 --> 00:15:59,759 That looks good, it is not shut down. 370 00:15:59,759 --> 00:16:02,176 #sho int fast 1/4, 371 00:16:04,330 --> 00:16:06,838 so what about the physical layer properties. 372 00:16:06,838 --> 00:16:08,878 Ah, okay, so here we have a problem. 373 00:16:08,878 --> 00:16:12,276 Fast Etherner 1/4 is up, but the line protocol is down, 374 00:16:12,276 --> 00:16:13,638 most likely because something 375 00:16:13,638 --> 00:16:17,938 is not configured correctly on the router's side. 376 00:16:17,938 --> 00:16:19,734 So let's just go back to the router here 377 00:16:19,734 --> 00:16:21,484 and get that working. 378 00:16:23,818 --> 00:16:25,485 So here's my router. 379 00:16:29,989 --> 00:16:34,156 #sh run | begin interface FastEthernet0/1. 380 00:16:43,655 --> 00:16:47,822 Speed is 100. Full duplex. Looks like that should be okay. 381 00:16:49,974 --> 00:16:52,780 And our sub interfaces are correctly configured, 382 00:16:52,780 --> 00:16:55,244 let's just take a look at the actual status 383 00:16:55,244 --> 00:16:56,744 of that interface. 384 00:16:59,121 --> 00:17:01,628 Okay, it says it's up, line protocol is up, 385 00:17:01,628 --> 00:17:04,156 now these EtherSwitch modules do support 386 00:17:04,156 --> 00:17:05,790 the Cisco discovery protocol, 387 00:17:05,790 --> 00:17:07,290 so #sho cdp neigh. 388 00:17:08,457 --> 00:17:10,738 Okay so we do have some problem here, 389 00:17:10,738 --> 00:17:14,905 because router 1 is not seeing the EtherSwitch module. 390 00:17:17,317 --> 00:17:18,575 Let's just double check everything. 391 00:17:18,575 --> 00:17:21,454 So once again, start with the topology summary window. 392 00:17:21,454 --> 00:17:23,906 Is everything green, do we see any red lights? 393 00:17:23,906 --> 00:17:24,916 Nope, everything's green, 394 00:17:24,916 --> 00:17:26,222 everything says its on. 395 00:17:26,222 --> 00:17:29,122 Okay, so I can get out of there. 396 00:17:29,122 --> 00:17:32,542 Verify that my interfaces are correct, 397 00:17:32,542 --> 00:17:34,457 so if I just hover over the switch, 398 00:17:34,457 --> 00:17:37,079 the EtherSwitch module, 399 00:17:37,079 --> 00:17:39,496 and take a look at the interfaces, 400 00:17:39,496 --> 00:17:40,946 let's see here... 401 00:17:40,946 --> 00:17:42,446 So, it looks like, 402 00:17:44,684 --> 00:17:47,249 if I scroll over that again, okay, 403 00:17:47,249 --> 00:17:50,186 so Fast Ethernet 1/4, 404 00:17:50,186 --> 00:17:52,647 and we can see right down there is connected 405 00:17:52,647 --> 00:17:56,814 to Router 1 on Fast Ethernet 0/1, so that is correct. 406 00:18:00,165 --> 00:18:04,049 Alright, let's save my project before I go any further. 407 00:18:04,049 --> 00:18:07,302 Sometimes, what I've seen is you have to play around 408 00:18:07,302 --> 00:18:10,201 with the speed and the duplex of the interfaces 409 00:18:10,201 --> 00:18:12,735 to get everything lined up correctly, 410 00:18:12,735 --> 00:18:14,066 so even though we saw, 411 00:18:14,066 --> 00:18:16,529 let's go ahead and do this again. 412 00:18:16,529 --> 00:18:18,529 So we saw on Router 1... 413 00:18:25,772 --> 00:18:26,802 Let's do that again. 414 00:18:26,802 --> 00:18:30,969 Router 1, we see that he is full duplex, 100 megabits 415 00:18:32,340 --> 00:18:35,412 per second, which I believe is the exact same thing 416 00:18:35,412 --> 00:18:36,995 as the EtherSwitch. 417 00:18:40,083 --> 00:18:42,970 Ah, Auto-duplex, Auto-speed. 418 00:18:42,970 --> 00:18:44,852 Okay, so we're having a mismatch here, 419 00:18:44,852 --> 00:18:46,431 because on one side it's hardcoded 420 00:18:46,431 --> 00:18:48,531 for full duplex and speed, 421 00:18:48,531 --> 00:18:52,290 on this side it is using auto-negotiation. 422 00:18:52,290 --> 00:18:54,627 So let's just change that. 423 00:18:54,627 --> 00:18:56,627 Shut the interface down. 424 00:18:57,591 --> 00:18:59,591 Change the speed to 100. 425 00:19:01,209 --> 00:19:03,376 Change the duplex to full. 426 00:19:04,228 --> 00:19:05,061 #no shut. 427 00:19:06,135 --> 00:19:09,062 And hopefully that will fix our problem. 428 00:19:09,062 --> 00:19:11,228 Ah there we go, that looks good. 429 00:19:11,228 --> 00:19:12,978 Has become .1Q trunk. 430 00:19:13,822 --> 00:19:15,622 #sho int trunk. 431 00:19:15,622 --> 00:19:17,676 And now confirms it, that our interface 432 00:19:17,676 --> 00:19:20,129 is actually in trunking state. 433 00:19:20,129 --> 00:19:22,251 So that concludes this particular video 434 00:19:22,251 --> 00:19:23,844 on the EtherSwitch module, 435 00:19:23,844 --> 00:19:26,086 as you can see, to recap what we talked about. 436 00:19:26,086 --> 00:19:28,940 Number 1: You have to select an IOS image 437 00:19:28,940 --> 00:19:32,180 for a router that supports network modules, 438 00:19:32,180 --> 00:19:33,857 and I showed you on the GNS3 website 439 00:19:33,857 --> 00:19:35,364 how to get to that page that specifically 440 00:19:35,364 --> 00:19:37,284 talks about the routers that support that. 441 00:19:37,284 --> 00:19:39,874 So get a hold of the correct IOS image. 442 00:19:39,874 --> 00:19:43,332 Number 2: Import that IOS image into GNS3 443 00:19:43,332 --> 00:19:45,529 and when you get to the appropriate screen, 444 00:19:45,529 --> 00:19:47,078 click that little box that says, 445 00:19:47,078 --> 00:19:48,972 "This is an EtherSwitch module." 446 00:19:48,972 --> 00:19:50,557 That was required. 447 00:19:50,557 --> 00:19:53,089 Number 3: Within GNS3 itself, 448 00:19:53,089 --> 00:19:58,048 once that router's there, once that switch is there, 449 00:19:58,048 --> 00:19:59,856 you can now go to the switching section, 450 00:19:59,856 --> 00:20:01,404 and you'll see it available, 451 00:20:01,404 --> 00:20:02,546 as an EtherSwitch router, 452 00:20:02,546 --> 00:20:04,596 just drag and drop that into your topology, 453 00:20:04,596 --> 00:20:05,923 and then number 4: 454 00:20:05,923 --> 00:20:07,670 just go into the console that, 455 00:20:07,670 --> 00:20:08,844 just like you'd go into the console 456 00:20:08,844 --> 00:20:10,458 of any other router in your device, 457 00:20:10,458 --> 00:20:13,137 and start configuring the appropriate interfaces 458 00:20:13,137 --> 00:20:15,982 in the network module as switchports, 459 00:20:15,982 --> 00:20:17,731 and configure your spanning tree 460 00:20:17,731 --> 00:20:19,647 and everything else that you need to do. 461 00:20:19,647 --> 00:20:21,462 So that concludes this particular video 462 00:20:21,462 --> 00:20:24,129 on how to use switching in GNS3.