Professional Documents
Culture Documents
Switching, VTP and DTP: M Clements
Switching, VTP and DTP: M Clements
M Clements
Introduction
2 ASNT
Switch ports
Layer 2-only interfaces associated with a physical
port on the switch
Belong to one or more VLANs.
Can be access ports or a trunk ports
Dynamic Trunking Protocol (DTP) can negotiate with
the port on the other end of the link
Used for managing the physical interface and
associated Layer 2 protocols
Configure switch ports by using the switchport
interface configuration commands.
3 ASNT
Access Ports
4 ASNT
Trunk Ports
5 ASNT
Static and dynamic access ports
Static access ports are manually assigned to a VLAN (or
through a RADIUS server for use with IEEE 802.1x.)
VLAN membership of dynamic access ports is learned through
incoming packets (Not available in Packet Tracer)
By default, a dynamic access port is not a member of any
VLAN
Forwarding to and from the port enabled only when VLAN
membership of the port is discovered
Dynamic access ports assigned to a VLAN by a VLAN
Membership Policy Server (VMPS)
The VMPS can be a Catalyst 6500 series switch; the Catalyst
2960 switch cannot be a VMPS server
6 ASNT
IOS switch options
Open Packet Tracer, configure terminal
Access the interfaces of the switch
Switch(config-if)#?
cdp Global CDP configuration subcommands
description Interface specific description
duplex Configure duplex operation
mac-address Manually set interface MAC address
shutdown Shutdown the selected interface
speed Configure speed operation
switchport Set switching mode characteristics
7 ASNT
What are the options for switchport ?
9 ASNT
VTP
10 ASNT
11 ASNT
VTP setup
12 ASNT
Practical Work Caveat
13 ASNT
For you to try
Set up 2 x 2960 switches using Packet Tracer
Type show interface switchport
Scroll to the gigabit interfaces and examine the
output for Gigabit Ethernet 1/1 – copy the output
Connect the Gigabit Ethernet 1/1 interfaces between
both switches
What type of cable should be used?
Enter configuration mode
Type vtp ?
What options are there?
14 ASNT
Setting VTP details
On both switches
Switch(config)#vtp domain engineering
Rename 1 switch ‘server’, the other as ‘client’
On server: #vtp mode server
What message is displayed?
On client: #vtp mode client
Save this work
15 ASNT
Set switch ports as trunks
16 ASNT
Check the changes
17 ASNT
Add VLANs to ‘server’ switch
18 ASNT
Examine the output
Switch#sh vlan brief
19 ASNT
Let’s build on this work
20 ASNT
Hardware setup
21 ASNT
Practical debrief
22 ASNT
Dynamic Trunking Protocol
23 ASNT
auto or desirable?
24 ASNT
auto
25 ASNT
For you to try
26 ASNT
For you to answer
27 ASNT
VLAN Pruning
28 ASNT
Continuing the practical
30 ASNT
Conclusion
31 ASNT
References
http://www.cisco.com/en/US/products/ps6406/products_configuration_guide_ch
apter09186a00808752ee.html
http://krypton.fhda.edu/~mmurphy/cnet-54c/references/DTP-CCNA3.pdf
http://en.wikipedia.org/wiki/VTP
http://en.wikipedia.org/wiki/Image:VTP.gif
32 ASNT