1 00:00:00,210 --> 00:00:04,180 Okay so let's see if a trunk is formed between switch 1 and switch 2 2 00:00:04,440 --> 00:00:09,900 and if a trunk is formed between switch 2 and switch 3. This is the capture between switch 1 and 3 00:00:09,900 --> 00:00:10,930 switch 2. 4 00:00:11,010 --> 00:00:18,510 I'm gonna do a search for DTP, so I've named the switches to make it easy to know which switch 5 00:00:18,660 --> 00:00:20,870 is sending DTP messages. 6 00:00:21,180 --> 00:00:25,140 Cisco switch 1, Cisco switch 2. 7 00:00:25,350 --> 00:00:28,170 So again this is the link between these two switches. 8 00:00:28,410 --> 00:00:31,470 If we look at dynamic trunk protocol 9 00:00:31,470 --> 00:00:43,390 notice operating administer of mode is access order, operating administer of ISL negotiated. So it looks 10 00:00:43,390 --> 00:00:51,920 like they may negotiate to use ISL trunk status is access auto and what I'll do is just make this bigger 11 00:00:51,950 --> 00:00:54,860 so we can see the full Wireshark capture. 12 00:00:55,040 --> 00:01:00,210 Notice trunk operating status as access, trunk administrative status is auto. 13 00:01:00,320 --> 00:01:04,129 In other words auto has been used on that switch. 14 00:01:04,129 --> 00:01:13,670 Now this is switch 1 and I could show you that by looking at the console of the switch. So console 15 00:01:13,670 --> 00:01:14,240 of switch 1, 16 00:01:16,830 --> 00:01:22,020 show interface trunk firstly shows us that no trunks are formed 17 00:01:22,020 --> 00:01:28,080 but notice show interface gigabit 00 switch port. 18 00:01:28,080 --> 00:01:37,200 What you'll notice here is this command shows the interface, interface is a switch port administer of 19 00:01:37,200 --> 00:01:46,370 mode is dynamic auto, operational mode is static access, in the Wireshark capture we see operating status 20 00:01:46,370 --> 00:01:55,100 as access, administrative mode is auto, so administer of mode is dynamic auto over there that's what 21 00:01:55,100 --> 00:02:03,540 we see here static access is the operational mode so operating mode is access. 22 00:02:03,740 --> 00:02:14,180 So at this point there's no trunking on that port, the port is acting as an access VLAN in VLAN 1 as 23 00:02:14,180 --> 00:02:15,620 you can see over there. 24 00:02:15,620 --> 00:02:20,210 Negotiation of trunking is on but a trunk is not formed 25 00:02:20,210 --> 00:02:25,070 and as I go through the messages I mean you must be careful looking at the very first messages go and 26 00:02:25,070 --> 00:02:36,610 look at the later messages to see if the state changed, notice store access auto trunk type is ISL 27 00:02:36,610 --> 00:02:45,070 negotiated they would negotiate to use ISL if one of the sides negotiated. Switch 2 is also set to 28 00:02:46,000 --> 00:02:56,460 access auto, so the point is notice over here DTP operating administerr of mode, access auto operating 29 00:02:56,690 --> 00:03:04,470 administer of ISL negotiated both these switches are using DTP. I'm searching for DTP messages and we 30 00:03:04,470 --> 00:03:15,360 can see DTP messages but they're set to mode auto, mode auto or dynamic auto as we can see here means that 31 00:03:15,420 --> 00:03:22,850 that side will not negotiate to form a trunk the other side would have to initiate trunking. Here switch 32 00:03:22,950 --> 00:03:29,420 2 show interface gigabit 00 switch port. 33 00:03:29,450 --> 00:03:40,650 Notice dynamic auto that is the administrative mode operational mode is static access, so they both configured 34 00:03:40,650 --> 00:03:48,990 to use dynamic auto because neither of them initiate a connection to the other side they both passively 35 00:03:48,990 --> 00:03:51,840 waiting basically for the other side to initiate trunking. 36 00:03:51,870 --> 00:03:58,260 Trunking is not formed, so there is no trunk formed between switch 1 and switch 2. I won't use the 37 00:03:58,260 --> 00:04:02,790 show trunk command and switch to yet because we wanna see what happens on the right end side. 38 00:04:02,980 --> 00:04:11,280 But notice here show interface trunk, no trunk is formed on switch 1. Okay, so I kind of hinted at it. 39 00:04:11,370 --> 00:04:17,290 What do you think is gonna happen between switch 2 and switch 3. Here's the Wireshark capture between 40 00:04:17,290 --> 00:04:25,100 switch 2 and switch 3, I'll filter for DTP once again. Here's switch 3 messages. 41 00:04:25,100 --> 00:04:34,160 Notice the difference dynamic trunk protocol, access desirable, operating administrative mode ISL 42 00:04:34,160 --> 00:04:35,810 dot1q. 43 00:04:35,810 --> 00:04:38,750 So that's different to what we saw on the other side. 44 00:04:38,750 --> 00:04:41,340 If we look at switch 2 on this link 45 00:04:41,340 --> 00:04:50,200 notice trunk auto 802.1Q negotiated, so a little bit different, notice 46 00:04:50,200 --> 00:04:51,770 switch 2, switch 3. 47 00:04:51,790 --> 00:04:57,140 One side is using auto the other side is using desirable. 48 00:04:57,160 --> 00:05:06,660 So if I go right down to the end this is switch 2, trunk status is type trunk, trunk 49 00:05:06,700 --> 00:05:12,900 value is trunk, auto trunk operating status is a trunk. 50 00:05:12,910 --> 00:05:19,640 Now if we go back to the other switches, so this is switch 2 talking to switch 1 and we look at the 51 00:05:19,640 --> 00:05:27,800 trunk status, notice trunk status is access and I don't know if that's confusing so let me show you on the 52 00:05:27,800 --> 00:05:28,820 diagram. 53 00:05:28,890 --> 00:05:35,780 So on the left en side switch 2 to switch 1 this is the capture between switch 1, switch 2 notice 54 00:05:36,560 --> 00:05:38,910 operating status is access. 55 00:05:39,290 --> 00:05:43,100 This is an access port, but on this side 56 00:05:43,190 --> 00:05:51,450 notice trunk operating status is trunk, that side's access right end side is a trunk. 57 00:05:51,520 --> 00:05:58,170 It's become a trunk, trunk administrative status is auto the side it's also auto 58 00:05:58,180 --> 00:06:07,420 but because switch 3 initiated the trunk, notice it says desirable here a trunk was formed between 59 00:06:07,420 --> 00:06:16,740 switch 2 and switch 3. So because switch 3 initiated the trunk because it's set to desirable 60 00:06:17,610 --> 00:06:23,340 a trunk is formed we can see that once again by looking at the console of the switches. 61 00:06:24,090 --> 00:06:31,420 So on switch 3 show interface gigabit 00 switch port. 62 00:06:31,440 --> 00:06:44,220 Notice command shows administer mode dynamic desirable, encapsulation used is dot1q, operational mode is 63 00:06:44,240 --> 00:06:53,090 trunk, it's operating as a trunk using dot1q. Show interface trunk we can see that, encapsulation 64 00:06:53,090 --> 00:06:59,300 is dot1q, trunking is enabled and if we have a look on the other side it's a little bit different here. 65 00:06:59,810 --> 00:07:09,360 Show interface trunk, on this side it's negotiated to use dot1q and trunking is enabled, whereas this 66 00:07:09,370 --> 00:07:15,890 side encapsulation is dot1q and the reason for that is I explicitly configured the encapsulation 67 00:07:15,890 --> 00:07:24,920 as dot1q and set it to dynamic desirable. I wanted to show you a trunk that was negotiated with DTP 68 00:07:25,640 --> 00:07:33,170 and using dot1q rather than ISL if I had not put this in the switches would have actually negotiated 69 00:07:33,380 --> 00:07:41,480 to form an ISL trunk. these switches will use ISL first and then dot1q. So I wanted to explicitly 70 00:07:41,480 --> 00:07:47,090 force it to use dot1q. So they will try and use ISL but if they can't then they'll use dot1q. 71 00:07:47,660 --> 00:07:55,000 But again I've overridden that or I forced the switch to use dot1q whereas this side notice it could 72 00:07:54,990 --> 00:08:04,720 have used ISL or dot1q. So again on switch 3 if we got to go up here I noticed trunk desirable 73 00:08:05,110 --> 00:08:15,100 dot1q, dot1q whereas on switch2 trunk auto dot1q negotiated. So notice desirable dot 74 00:08:15,100 --> 00:08:23,830 1q, dot1q trunk auto dot1q negotiated, one side was forced to use dot1q the other side negotiated 75 00:08:23,860 --> 00:08:30,120 to use dot1q. Okay, so, in summary, left end side doesn't become a trunk because both sides are set 76 00:08:30,120 --> 00:08:37,770 to auto right hand side does become a trunk because one side was set to dynamic desirable as we can 77 00:08:37,770 --> 00:08:46,050 see over there and uses dot1q on this side show interface trunk the only trunk that was negotiated 78 00:08:46,560 --> 00:08:50,040 is on gigabit 01. Okay how are you doing? 79 00:08:50,040 --> 00:08:54,630 Are you able to answer these questions do you enjoy this? Please give me a feedback. 80 00:08:54,630 --> 00:08:56,330 Do you enjoy these kind of quiz questions.