DTP VTP
DTP VTP
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
Topology
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
DTP
Dynamic Trunking Protocol (DTP)
Trunking Administrative Mode Options
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
DTP
Dynamic Trunking Protocol (DTP)
Expected Trunking Operational Mode Based on the
Configured Administrative Modes
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
DTP
Dynamic Trunking Protocol (DTP)
Configuration
Switch(config-if)# switchport mode dynamic {desirable|auto}
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
Config DTP
S2
S2(config)# int range fa0/1 - 2
S2(config-if)# switchport mode dynamic desirable
S3
S3(config)# int fa0/1
S3(config-if)# switchport mode trunk
Verifikasi
S1#show interface trunk
S2#show interface trunk
S3#show interface trunk
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
VTP (VLAN Trunking Protocol)
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Server
VTP Client
VTP Transparent
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Server
VLAN Management
(Add , Rename & delete)
Makes VTP advertisements and forward
them on all active Trunk ports
(every 5 minutes and whenever a change
occurs)
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Server
VTP advertisements
VTP Domain
VLAN Number
VLAN Name
VTP Version
VTP Revision number
VTP Password
.....
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Server
Note
VTP Servers are VTP Clients too (Redundancy).
Switch ignores advertisements that have a different VTP
Domain name or an earlier configuration revision number.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Server
Configuration Revision Number
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Client
No access to modify VLANs.
They receive , process and forward (on trunk interfaces) VTP
advertisements.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
VTP (VLAN Trunking Protocol)
VTP Modes
VTP Transparent
Independent switches that can modify local VLANs.
They just forward (on trunk interfaces) VTP advertisements
with no process.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
VTP (VLAN Trunking Protocol)
VTP Modes
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
VTP (VLAN Trunking Protocol)
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
VTP (VLAN Trunking Protocol)
VTP consideration
At least one VTP server must exist.
Links between switches must be Trunk.
Trunk links should have a same encapsulation.
VTP Domain should be the same on all the switches.
VTP Password (if exists) should be the same on all the
switches.
VTP Version is not important to be the same.
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
VTP (VLAN Trunking Protocol)
Where VTP Clients and Servers Store VLAN
Related Configuration
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
VTP (VLAN Trunking Protocol)
VTP Configuration
Switch(config)# vtp mode [Server|Client|Transparent]
Switch(config)# vtp domain <name> (mandatory)
Switch(config)# vtp password <password> (optional)
Switch(config)# vtp version <version> (optional ,default
version is 2)
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
VTP (VLAN Trunking Protocol)
VTP Pruning
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
VTP (VLAN Trunking Protocol)
VTP Pruning
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
VTP (VLAN Trunking Protocol)
VTP Pruning Configuration
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
Topology VTP
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
Config VTP
S3
S3(config)#int f0/3
S3(config-if)#switchport mode trunk
S3(config)# vtp mode transparent
S3(config)# vtp domain NIXTRAIN
VLAN
S3(config)# vtp password CCNA
S2
S1,S4
S2(config)# vlan 10
S2(config)# vtp mode client
S2(config-vlan)# name Student
S2(config)# vtp domain NIXTRAIN
S2(config-vlan)# vlan 20
S2(config)# vtp password CCNA
S2(config-vlan)# name Faculty
S2
S1,S3,S4 VLAN
S3(config)# vtp mode server
show vtp status S3
S3(config)# vtp domain NIXTRAIN
show vlan brief S3(config)# vlan 30
S3(config)# vtp password CCNA
show int trunk S3(config-vlan)# name Admin
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24