1 00:00:15,670 --> 00:00:20,840 So let's start with core 1, show interface gigabit 2 00:00:20,860 --> 00:00:23,550 1 0 23 3 00:00:23,710 --> 00:00:24,860 switch port. 4 00:00:25,720 --> 00:00:33,880 So the command here shows us that this interface is enabled as a switch port administer of mode is dynamic 5 00:00:33,910 --> 00:00:34,840 auto. 6 00:00:34,840 --> 00:00:43,110 In other words, it's using DTP but auto rather than desirable operational mode is static access. 7 00:00:43,210 --> 00:00:47,060 In other words it's acting as a access port. 8 00:00:47,080 --> 00:00:50,100 It's currently in VLAN 1. 9 00:00:50,860 --> 00:00:59,560 So interface range and before I do that we can do something similar on other ports such as gigabit 1 10 00:00:59,620 --> 00:01:00,470 0 1. 11 00:01:00,520 --> 00:01:05,080 This port notice it's also an access port. 12 00:01:07,330 --> 00:01:13,190 We can see something similar on gigabit 1 0 2. 13 00:01:13,210 --> 00:01:14,260 It's an access port, 14 00:01:17,220 --> 00:01:28,220 1 0 3 is also an access port so let's do it firstly with the ports down to the access switches so gigabit 15 00:01:28,230 --> 00:01:35,470 1 0 1 2 3 switch port mode trunk. 16 00:01:35,820 --> 00:01:43,620 Notice we told that we need to configure the encapsulation first so we firstly need to use the command 17 00:01:43,640 --> 00:01:56,390 switch port trunk encapsulation dot1q and then we specify the mode as trunk, so do show run we've 18 00:01:56,390 --> 00:02:05,600 essentially typed these two commands on these three ports get into the habit of specifying the encapsulation 19 00:02:05,600 --> 00:02:12,740 first, some switches will require that you specify the encapsulation and that's because some switches 20 00:02:12,740 --> 00:02:24,210 support ISL and 802 dot 1q. Packet Tracer in this example only supports dot1q but you still have 21 00:02:24,210 --> 00:02:36,420 to specify the encapsulation so interface range gigabit 1 0 23 to 24 switch port trunk encapsulation 22 00:02:36,450 --> 00:02:39,570 dot1q switch port mode trunk, 23 00:02:42,940 --> 00:02:53,460 show run they are ports 1 2 and 3 and here are ports 23 and 24 the mode is being configured as trunk on 24 00:02:53,480 --> 00:03:02,460 those ports, we need to do something similar on core 2 notice we're getting spanning tree warnings 25 00:03:02,460 --> 00:03:11,550 about inconsistent ports and that's because core 2 is configured with access ports rather than trunk 26 00:03:11,550 --> 00:03:23,080 ports. So interface range gigabit 1 0 1 2 3 these 3 ports down to the access layer, switch port trunk 27 00:03:23,260 --> 00:03:27,370 encapsulation dot1q switch port mode trunk 28 00:03:30,930 --> 00:03:35,160 show run that configuration looks good. 29 00:03:36,000 --> 00:03:46,960 So interface range gigabit 1 0 23 to 24 switch port trunk encapsulation dot1q switch port mode 30 00:03:47,120 --> 00:03:47,600 trunk. 31 00:03:50,500 --> 00:03:51,880 Show run again, 32 00:03:52,120 --> 00:03:55,230 go down to the end of our config, 33 00:03:55,360 --> 00:04:04,770 these two commands have been configured on interfaces gigabit 1 0 23 and 1 0 24. 34 00:04:04,990 --> 00:04:06,430 That looks great. 35 00:04:06,430 --> 00:04:13,870 We are not gonna configure the link to the server or the router as a trunk port 36 00:04:13,870 --> 00:04:23,710 they will be access ports. Now on access 1 the two uplink ports gigabit 1 0 23 and 1 0 37 00:04:23,710 --> 00:04:24,680 24. 38 00:04:24,730 --> 00:04:33,420 need to be configured as trunk ports. So interface range gigabit 39 00:04:33,410 --> 00:04:37,070 1 0 23 to 24 40 00:04:37,070 --> 00:04:43,220 switch port encapsulation or trunk encapsulation dot 1 q switch port mode 41 00:04:43,220 --> 00:04:49,420 trunk. Show run scroll down 42 00:04:49,430 --> 00:04:59,910 there's our configuration on those two ports so that looks great. 43 00:05:00,020 --> 00:05:06,800 Now we need to do something similar on access switch 2 interface range gigabit 1 0 23 44 00:05:06,800 --> 00:05:18,390 to 24 switch port trunk encapsulation dot1q switch port mode trunk, show run those ports are now 45 00:05:18,390 --> 00:05:29,940 configured as trunk ports, last switch access 3 do something very similar interface range gigabit 1 46 00:05:29,940 --> 00:05:37,170 0 23 to 24 switch port trunk encapsulation dot1q switch port mode trunk, 47 00:05:40,110 --> 00:05:44,860 have a look at the config that looks great. 48 00:05:45,210 --> 00:05:48,590 You'll also notice that I'm constantly saving my configuration. 49 00:05:48,780 --> 00:05:56,880 That's a good habit to get into, save your configuration often in case you have problems. 50 00:05:56,880 --> 00:05:59,280 So we've configured the trunk ports. 51 00:05:59,280 --> 00:06:02,250 Now we need to configure the access ports. 52 00:06:02,260 --> 00:06:04,560 This port needs to be in VLAN 10, 53 00:06:04,710 --> 00:06:12,180 this port in VLAN 20 this port in VLAN 30 this port needs to be in VLAN 100 and this port 54 00:06:12,180 --> 00:06:15,170 will remain in VLAN 1. 55 00:06:15,360 --> 00:06:23,610 So I'll start with access switch 1 show interface gigabit 1 0 1 switch port. 56 00:06:23,610 --> 00:06:32,270 The port is currently in VLAN 1 needs to be in VLAN 10 so interface gigabit 57 00:06:32,280 --> 00:06:46,900 1 1 0 1 switch port mode access that is the default switch port access VLAN 10 show run what do we see 58 00:06:47,800 --> 00:06:59,030 that port is in VLAN 10 so that looks good now to verify show interface gigabit 1 0 1 switch port 59 00:06:59,750 --> 00:07:07,910 this is the best way to verify notice the port gigabit 1 0 1 as we can see with this show command is in 60 00:07:07,940 --> 00:07:13,420 VLAN 10, so that looks good. 61 00:07:13,520 --> 00:07:24,570 Second access switch interface gigabit 1 0 1 switch port mode access switch port access VLAN 20 62 00:07:24,620 --> 00:07:28,850 in this example, show run 63 00:07:29,960 --> 00:07:33,070 port is configured correctly in VLAN 20 64 00:07:33,200 --> 00:07:36,690 the true test however to verify is show interface 65 00:07:36,710 --> 00:07:38,050 gigabit 1 0 1 66 00:07:38,160 --> 00:07:39,370 switch port 67 00:07:39,770 --> 00:07:49,600 and what you'll notice here is an access port in VLAN 20, switch 3 interface gigabit 68 00:07:49,640 --> 00:08:03,750 1 0 1 switch port mode access switch port access VLAN 30 show interface gigabit 1 0 1 switch port this 69 00:08:03,750 --> 00:08:12,260 port as we can see with this show command is in VLAN 30 so that looks great. 70 00:08:12,590 --> 00:08:21,890 Now we need to put the server in the right VLAN interface gigabit 1 0 20 switch port mode access 71 00:08:22,100 --> 00:08:33,320 switch port access VLAN 100 show interface gigabit 1 0 20 switch port, port is now an access 72 00:08:33,320 --> 00:08:45,230 port in VLAN 100 so this port is correctly configured. The last port is on core 2 interface gigabit 73 00:08:45,230 --> 00:08:47,070 1 0 22. 74 00:08:47,210 --> 00:08:55,610 Now before I do anything notice at the moment show run shows us that there's no configuration under 75 00:08:55,610 --> 00:09:07,250 that interface but now switch port mode access switch port access VLAN 1. What is it gonna show 76 00:09:07,250 --> 00:09:07,750 us 77 00:09:07,850 --> 00:09:15,770 once we've done that configuration? Notice it's changed with this option to no negotiate which means 78 00:09:15,770 --> 00:09:24,770 it's disabled DTP, so DTP is being disabled on that access port DTP is still running on this port as 79 00:09:24,770 --> 00:09:32,400 an example, so show interface gigabit 1 0 24 switch port. 80 00:09:32,870 --> 00:09:41,870 Notice negotiation of trunking is on but if we look at port 22 negotiation of trunking is 81 00:09:41,870 --> 00:09:49,880 off so DTP has been disabled on this port because we made it an access port but on the trunk ports DTP 82 00:09:49,880 --> 00:09:57,740 is still enabled. Now in the real world DTP should be turned off you should turn off dynamic trunk protocol 83 00:09:58,280 --> 00:10:07,280 but in this lab, it's okay to use that in the exam make sure that you read the question carefully to 84 00:10:07,280 --> 00:10:14,240 see if you should turn off DTP. Okay, so I've successfully completed this part of the lab how did you 85 00:10:14,240 --> 00:10:14,900 get on? 86 00:10:14,930 --> 00:10:22,970 Were you able to configure hostnames, passwords, VTP, VLANs, trunk ports, and access ports? How did you 87 00:10:22,970 --> 00:10:23,870 get on? 88 00:10:23,990 --> 00:10:29,630 Best way to learn is to practice, try it yourself and then watch me do it if needed. 89 00:10:30,530 --> 00:10:33,070 Okay so let's go to the next lab.