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
The default DTP mode depends on the Cisco IOS software version you're using
2
and the platform of switch.
3
In this example, I’ve got 2 switches that I've just booted up
4
in other words, they have no configuration
5
here switch 1 and let's change the name to S1, here’s switch 2.
6
So let’s see what DTP mode the switches are using.
7
You can view DTP setting by using the command sh dtp interface
8
and specifying an interface, so I'll specify gigabit 0/0
9
which is this link over here.
10
What we can see in the output is that DTP is enabled
11
the mode at the moment is access port.
12
So the switch has negotiated with switch 2
13
to use an access port rather than a trunk port
14
and the reason why it’s because it's configured for dynamic auto
15
not dynamic desirable
16
as an example sh int g0/0 switchport
17
shows us I'll just make this bigger
18
that this port gigabit 0/0 is configured for dynamic auto as the administrative mode
19
and the operational mode or mode that it's using at the moment is static access.
20
DTP negotiation is on but because it’s configured for dynamic auto
21
it ends up being an access port.
22
Under this side show dtp interface g0/0
23
you can see that it’s negotiated as an access port
24
because dynamic auto is configured on the switch.
25
sh int g0/0 switchport
26
once again gigabits 0/0 is enabled as a switchport, it's configured for dynamic auto
27
it’s operating as an access port even though DTP is enabled.
28
So, let’s change that by going on to gigabit 0/0
29
and typing switch port and we have a few options
30
so let’s say mode dynamic
31
which is setting the trunking mode to dynamically negotiate access
32
or trunk mode and we can either use auto or desirable
33
so I’m gonna configure this is desirable
34
so previously on switch 1 when we type sh int g0/0 switchport
35
it was operating as a static access port.
36
What is it doing now?
37
so sh int gigabit 0/0 switchport
38
this side is using dynamic auto but the mode negotiated is a trunk port
39
using the ISL encapsulation, it’s not using 802.1Q its using ISL.
40
On this side sh int g0/0 switchport
41
notice this side is dynamic desirable switch 1 is dynamic auto
42
but we've configured switch 2 to use desirable
43
so switch 2 initiated trunking with switch 1
44
and it negotiated to use ISL and hence it becomes a trunk
45
so when both sides are configured for auto it doesn’t become a trunk
46
when 1 side is configured for auto
47
and the other side is using desirable a trunk will be formed.
48
So once again to prove that
49
let's go back into the interface
50
and I'll change the mode to auto
51
I'll shut it down and then no shut it
52
so that they can negotiate once again
53
on this side notice static access it is no longer a trunk
54
and on this side once again notice it's using a static access port
55
because neither side are initiating trunking
56
the port remains an access port and doesn’t become a trunk.
57
If either side or both sides are configured
58
to use desirable the port will become a trunk port.
59
So let’s configure on both sides as dynamic desirable
60
I'll shut it down and then no shut it
61
sh int g0/0 switchport
62
both side are configured for dynamic desirable
63
so the link has become a trunk port
64
you can also use the command sh int trunk
65
and as we can see here gigabit 0/0 is a trunk port
66
mode is desirable and the encapsulation is ISL native VLAN is 1
67
all VLANs are allowed across the port
68
we'll see something similar on switch 1
69
so sh interface trunk
70
notice desirable ISL is being used
71
I'll set this side back to auto
72
shut it down, no shut it, do sh int trunk
73
sh int trunk we haven't got a trunk configured at the moment.
74
Let’s see this side show interface trunk
75
took a while but it's now negotiated to use a trunk with switch 2
76
the mode on the left is auto
77
the mode on the right is desirable.
78
So these 2 switches on gigabit 0/0
79
have negotiated to use trunking
80
because 1 side in this case switch 2 is initiating the trunking.
81
However, we change that again to auto.
82
sh int trunk
83
we don’t see any trunking.
84
On this side, we don’t see any trunking.
85
If we look at the interface you can see it’s an access port
86
so no trunking is taking place.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.