Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
Now on links to devices that don’t support DTP
2
the port will remain an access port
3
so on this link between switch 2 and router 2
4
the default mode is being used which is dynamic auto.
5
so DTP is enabled but it's using dynamic auto.
6
I’ll configure it to use desirable.
7
sh int g0/2 switchport
8
notice the administrative mode is dynamic desirable
9
but the operational mode is static access.
10
So it’s not trunking it's remained as an access port in the default VLAN of 1.
11
and that’s because router 2 isn’t configured to use DTP
12
this interfaces are routed interface
13
so the switch port interface
14
at the moment that interfaces is down, so let’s enable it
15
and see if it makes any difference.
16
But notice if we type the command sh switchport it’s not gonna work
17
sh int f0/0 this is a routed port not a switchport interface.
18
So it’s acting as a PC or traditional router on switch 2
19
sh int g0/2 switchport
20
notice the mode has remained a static access
21
even though it’s configured as desirable
22
that will be true for both dynamic auto and dynamic desirable.
23
Unless both sides can negotiate to use DTP
24
it will just remain an access port in the default VLAN which is VLAN 1.
25
Now let’s look at some negotiation
26
so let’s do some Wireshark captures
27
so I start capturing traffic on the hub, in this case on port 2
28
the switches are using gigabit 0/3, so sh int g0/3 switchport
29
at the moment its configured to use dynamic auto
30
in other words DTP but auto mode.
31
The same is true on switch 2, notice dynamic auto.
32
In the Wireshark captures we see Spanning Tree BPDUs
33
we see some CDP messages and notice here we see dynamic trunk protocol.
34
We can see a message from switch with MAC address ending in cc:03
35
configured for auto access mode
36
sh int g0/3
37
notice this is the Mac address of switch 2 ending in cc:03
38
so in the output, we can see the trunk status
39
values configured for auto access
40
it’s using ISL and the sender ID is switch 2.
41
We can also see a message from switch 1
42
notice MAC address ff0/3 sh int g0/3
43
so there’s the command, notice the MAC address ends in ff0/3.
44
This switch is also using DTP auto access mode scrolling down
45
we can see it wants to negotiate to use ISL
46
and there’s the MAC address of the switch.
47
So at the moment, neither side is initiating trunking.
48
So if we type sh int trunk
49
you’ll notice gigabit 0/3 is not in the list of trunk ports.
50
on either side sh int g0/3 switchport
51
at the moment it’s operating as an access port.
52
We can see that on both sides but if we change 1 side so int g0/3
53
switchport mode dynamic desirable sh int trunk
54
Notice that gigabit 0/3 is configured to use trunking
55
with ISL encapsulation because this side is configured as desirable
56
sh int trunk this side is configured as auto
57
so they’ve negotiated to set up a trunk.
58
In the Wireshark capture, I scroll down.
59
Here we have a message from switch 2
60
notice the mode is trunk desirable.
61
So the switch is initiating the trunking using ISL with switch 1.
62
Switch 1 is still using trunk auto
63
but switch 2 is using dynamic desirable trunking
64
so it’s initiating the trunking.
65
What happens if we change the encapsulation?
66
so int g0/3
67
switchport trunk encapsulation dot1q
68
sh int trunk on the left-hand side
69
notice the trunking is changed to dot1q
70
previously it did negotiate to use ISL.
71
in the Wireshark capture, scrolling up, we should see some messages.
72
Here’s switch 2 trunk desirable.
73
Wanting to use 802.1q rather than ISL.
74
so notice the trunk operating type is 802.1q
75
switch 2 is negotiating switch 1
76
which is still using dynamic auto to set up a trunk
77
and that’s whats happened.
78
Switch 1 is using auto mode
79
but is currently using trunking using 802.1q with switch 2
80
because switch 2 is configured with desirable mode
81
and is initiating the trunk.
82
So there some examples of using dynamic trunking protocol
83
to dynamically configure a trunk between 2 switches.
84
The recommendation once again is don’t use DTP
85
so turn off DTP and manually configure your trunk
86
and your encapsulation between both switches.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.