1 00:00:09,530 --> 00:00:12,520 Okay, so let's see if we can configure this topology. 2 00:00:12,600 --> 00:00:21,560 I'm gonna start off by configuring the call 3650 switch. 3 00:00:21,610 --> 00:00:23,260 So this is a multilayer switch 4 00:00:26,670 --> 00:00:35,100 which means that we need to configure multiple IP addresses on the switch and enable IP routing between 5 00:00:35,160 --> 00:00:44,060 the VLANs. So the first thing I'm gonna do is create the VLANs, VLAN 10, VLAN 20, VLAN 30 6 00:00:44,480 --> 00:00:45,830 and VLAN 100. 7 00:00:46,370 --> 00:00:51,230 So show VLAN should show us the VLANS and there you go 8 00:00:54,030 --> 00:00:55,700 we'll make this a bit bigger. 9 00:00:56,020 --> 00:01:02,400 So again show VLAN and I'll use brief here. 10 00:01:03,590 --> 00:01:05,770 Here's the command. 11 00:01:05,770 --> 00:01:11,980 We can see that all interfaces are currently in the default VLAN. 12 00:01:12,020 --> 00:01:20,530 We've got VLANs 10, 20, 30, and 100 configured but no interfaces are in those VLANs. 13 00:01:20,530 --> 00:01:31,010 So interface gigabit 1/0/20 this is the interface where our server is now a good check to use is do 14 00:01:31,010 --> 00:01:37,070 show IP interface brief and verify that the interface is up. 15 00:01:37,070 --> 00:01:42,860 That helps you check whether you're working on the right interface in your lab. 16 00:01:42,860 --> 00:01:44,170 This interface is up up. 17 00:01:44,210 --> 00:01:46,390 So that's a good sign. 18 00:01:46,400 --> 00:01:58,380 So I'm gonna type switch port access, switch port access VLAN 100, show interface gig 1/0/20 switch 19 00:01:58,380 --> 00:01:59,550 port. 20 00:01:59,700 --> 00:02:05,410 This will allow us to check that our configuration is correct on the interface. 21 00:02:05,610 --> 00:02:15,550 So there's the show command this interface is enabled as a layer 2 port, we're using static access it's 22 00:02:15,550 --> 00:02:17,960 operating as a static access port. 23 00:02:18,070 --> 00:02:21,590 In other words it's an access port and not a trunk port. 24 00:02:21,730 --> 00:02:24,820 The VLAN used is VLAN 100. 25 00:02:25,030 --> 00:02:27,460 So that looks good. 26 00:02:27,460 --> 00:02:35,300 So I now need to configure the other interfaces so before I do that show IP interface brief, we can see 27 00:02:35,300 --> 00:02:46,370 that these interfaces gigabit 101,102 and 103 are currently up, show run shows us that at the 28 00:02:46,370 --> 00:02:55,650 moment no configuration has been applied on the interfaces now these ports gigabit 101 102 and 1 29 00:02:55,650 --> 00:02:56,850 03. 30 00:02:56,850 --> 00:03:06,720 Need to be configured as trunk ports down to the switches so interface gigabit 101 switch port mode, 31 00:03:06,870 --> 00:03:08,280 Trunk. 32 00:03:08,310 --> 00:03:15,300 Notice you may get an error in the real world or on your switch depending what it is. 33 00:03:15,550 --> 00:03:22,780 You may have to specify the encapsulation as dot1q before you specify switch port mode 34 00:03:22,780 --> 00:03:26,630 Trunk that often depends on the switch. 35 00:03:27,070 --> 00:03:33,280 So you may need to set the encapsulation and then you can specify the mode as trunk. 36 00:03:33,280 --> 00:03:41,020 So I'm gonna do that on all three ports encapsulation is dot1q mode is gonna be trunk. 37 00:03:41,020 --> 00:03:44,260 Now show run, shows us what we've done. 38 00:03:44,260 --> 00:03:51,810 Notice each port is configured to use a dot01q and to use trunking. 39 00:03:51,850 --> 00:03:58,360 That's correct because we've been told to configure ports between switches as trunks. 40 00:03:58,480 --> 00:04:05,580 That's also best practice in a layer 2 infrastructure, so to prove that we could type show interface 41 00:04:05,580 --> 00:04:08,570 gigabit 101 switch port. 42 00:04:09,420 --> 00:04:10,570 Notice on gigabit 43 00:04:10,580 --> 00:04:12,650 101 44 00:04:12,650 --> 00:04:15,730 there's the show command, on this port 45 00:04:16,560 --> 00:04:19,589 it's administratively configured as a trunk. 46 00:04:19,589 --> 00:04:29,200 It's operating as a trunk, encapsulation used is a dot1q native VLAN is VLAN 1 which is correct. 47 00:04:29,250 --> 00:04:38,490 So what we've done thus far is configure the three ports to the access switches as trunk ports, we've 48 00:04:38,490 --> 00:04:45,930 configured the port to the server as a access port in VLAN 100. 49 00:04:46,200 --> 00:04:52,730 The next thing we need to do is configure switched virtual interfaces or SVIs to enable inter VLAN 50 00:04:52,740 --> 00:05:02,130 routing. VLAN 1 is the default VLAN it's currently down so I need to enable that and I need to configure 51 00:05:02,130 --> 00:05:13,580 the switch with IP address 10.1.1.254/24 mask per our instructions the other SVIs 52 00:05:13,580 --> 00:05:21,660 or switch virtual interfaces are gonna have these IP addresses so interface VLAN 10, IP address 53 00:05:21,680 --> 00:05:33,990 10.1.10.254/24 mask, no shut interface VLAN 20, IP address 10.1.20 54 00:05:34,050 --> 00:05:44,430 254 no shut, now the interfaces are coming up but from experience, I always no shut the interface 55 00:05:45,560 --> 00:05:52,860 there's gonna be no harm in doing that if it's already up that's great but if it's down we are ensuring 56 00:05:53,400 --> 00:05:55,440 that the interface comes up. 57 00:05:59,200 --> 00:06:01,840 So there's no problem doing that just to be sure, 58 00:06:05,630 --> 00:06:13,160 interface VLAN 100, 10 1 100 254/24 mask, no shut the interface. 59 00:06:14,060 --> 00:06:25,040 Okay so show IP interface brief, notice we have interfaces up, notice my mistake I configured VLAN 40 60 00:06:25,520 --> 00:06:34,160 that's not required and notice the SVI is down because no interface is configured in that VLAN and 61 00:06:34,430 --> 00:06:40,040 that VLAN doesn't exist in the VLAN database, so I'm gonna remove that SVI. 62 00:06:42,770 --> 00:06:44,880 so interface VLAN 40 is removed. 63 00:06:44,880 --> 00:06:53,040 Show VLANs shows us that VLAN 40 is not in the VLAN database. 64 00:06:53,250 --> 00:07:01,860 So again if I created interface VLAN 40, no shut that show IP interface brief would show me that 65 00:07:02,010 --> 00:07:09,720 the interface is down because that VLAN doesn't exist in the VLAN database. You've got to have 66 00:07:10,170 --> 00:07:18,060 the VLAN in the VLAN database for the switched virtual interface to come up. So again I'll remove 67 00:07:18,060 --> 00:07:22,620 that no interface VLAN 40. Okay, 68 00:07:22,650 --> 00:07:30,480 one thing we still need to do on the core switch is enable IP routing, IP routing is not enabled by default. 69 00:07:31,120 --> 00:07:38,640 we've got to enable IP routing to allow the switch to route from one SVI to another. So as soon as you 70 00:07:38,640 --> 00:07:45,240 start creating multiple SVIs and the switch is gonna be your layer 3 switch all the switch that 71 00:07:45,240 --> 00:07:49,920 does the inter VLAN routing you must enable IP routing on that switch. 72 00:07:50,420 --> 00:07:56,490 Okay, so at this point I'm gonna save the configuration of the switch let's configure the access switches 73 00:07:56,550 --> 00:08:01,110 and then we'll be able to test whether the core switch is configured properly.