1.hierachical Layer Model-VLAN-Trunking-VTP
1.hierachical Layer Model-VLAN-Trunking-VTP
1.hierachical Layer Model-VLAN-Trunking-VTP
• Unbounded failure
domains
• Large broadcast domains
• Large amount of
unknown MAC unicast
traffic
• Unbounded multicast
traffic
• Management and
support challenges
• Possible security
vulnerabilities
VLANs and the Logical Network
What Is an End-to-End VLAN?
Global Mode
Database Mode
VLAN 3 added:
Name: VLAN0003
Switch(vlan)# exit
APPLY completed.
Exiting....
VLAN Access Ports
Configuring VLANs
• vlan 101
• switchport mode access
• switchport access vlan 101
Verifying VLANs
• show interfaces
• show vlan
How to Implement a VLAN
Create a VLAN.
Switch#show vlan
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1
----- ---------- ----- ------ ------ -------- ---- -------- ------
1 enet 100001 1500 - - - - - 0
11 enet 100011 1500 - - - - - 0
. . . . .
. . . .
. . .
Implementing Trunks
Maintaining Specific VLAN Identification
ISL 802.1Q
Proprietary Nonproprietary
Encapsulated Tagged
• Is a Cisco proprietary
protocol
• Supports PVST
• Uses an encapsulation
process
• Does not modify the
original frame
ISL Encapsulation
Trunking with 802.1Q
• An IEEE standard
• Adds a 4-byte tag to
the original frame
• Additional tag
includes a priority
field
• Does not tag frames
that belong to the
native VLAN
• Supports Cisco IP
telephony
The 802.1Q Tagging Process
802.1Q Native VLAN
Native VLAN frames are carried over the trunk link untagged.
VLAN Ranges
Configuring a Trunk
• switchport trunk
• switchport mode
• switchport nonegotiate
Switchport Mode Interactions
Dynamic Dynamic
Trunk Access
Auto Desirable
Dynamic
Access Trunk Trunk Access
Auto
Dynamic
Trunk Trunk Trunk Access
Desirable
Not
Trunk Trunk Trunk Trunk
recommended
Not
Access Access Access Access
recommended
. . .
Verifying a 802.1Q Dynamic Trunk Link
Client
• Cannot create, change, Transparent
or delete VLANs
• Creates, modifies, and deletes local VLANs
• Forwards advertisements
• Forwards advertisements
• Synchronizes VLAN
• Does not synchronize VLAN configurations
configurations
• Saves configuration in NVRAM
• Does not save in
NVRAM
VTP Pruning
Configuring VTP
• vtp domain
• vtp mode
• vtp password
Verifying VTP
• show vtp status
• show vtp counters
Configuring a VTP Management Domain
Switch(config)#vtp mode
• Sets the VTP mode to server, client, or transparent
VTP Version : 2
Configuration Revision : 28
Maximum VLANs supported locally : 1005
Number of existing VLANs : 17
VTP Operating Mode : Client
VTP Domain Name : BCMSN
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x45 0x52 0xB6 0xFD 0x63 0xC8 0x49 0x80
Configuration last modified by 10.1.1.1 at 8-12-05 15:04:49
Switch#
Verifying the VTP Configuration (Cont.)
VTP statistics:
Summary advertisements received : 7
Subset advertisements received : 5
Request advertisements received : 0
Summary advertisements transmitted : 997
Subset advertisements transmitted : 13
Request advertisements transmitted : 3
Number of config revision errors : 0
Number of config digest errors : 0
Number of V1 summary errors : 0
• Native VLAN frames are carried over the trunk link untagged.
• A native VLAN mismatch will merge traffic between VLANs.
802.1Q Native VLAN Considerations
• When using DTP, ensure that both ends of the link are in the
same VTP domain.
• Ensure that the trunk encapsulation type configured on both
ends of the link is valid.
• On links where trunking is not required, DTP should be
turned off.
• Best practice is to configure trunk and nonegotiate where
trunks are required.
Common Problems with VTP Configuration
• Missing VLANs
– Configuration has been
overwritten by another VTP
device.
VTP Version :2
Configuration Revision :2
Maximum VLANs supported locally : 1005
Number of existing VLANs :7
VTP Operating Mode : Client
VTP Domain Name : building1
VTP Version :2
Configuration Revision :1
Maximum VLANs supported locally : 1005
Number of existing VLANs :6
VTP Operating Mode : Server
VTP Domain Name : building1
Example of New Switch Overwriting an
Existing VTP Domain (Cont.)
VTP Version :2
Configuration Revision :2
Maximum VLANs supported locally : 1005
Number of existing VLANs :7
VTP Operating Mode : Client
VTP Domain Name : building1
VTP Version :2
Configuration Revision :2
Maximum VLANs supported locally : 1005
Number of existing VLANs :7
VTP Operating Mode : Server
VTP Domain Name : building1
Implementing VTP