The following section is a summary of the major points you should be aware of in this chapter.
Understanding Virtual LANs (VLANs)
- There are two primary types of switch VLAN port types:
- Access Ports
- Trunk Ports
- Access ports are switch ports that are assigned to a single VLAN
- Access ports can only belong to a single VLAN
- The two methods that can be used to assign access port to VLANs are:
- Static VLAN Assignment
- Dynamic VLAN Assignment
- Trunk ports are ports on switches that are used to carry traffic from multiple VLANs
- Trunk ports are typically used to connect switches to other switches or routers
- Cisco Catalyst switches use VLANs in the range of 0 – 4095
- VLANs 1 – 4094 are user-configurable VLANs
- VLANs 0 and 4096 are reserved system VLANs
- Extended VLANs requires that the switch be enabled to use the extended system-id
- The extended system ID feature is based on the 802.1t standard
- Catalyst 6500 series switches use extended VLANs for internal VLAN assignments
- In Catalyst 6500 switches, the following use extended VLANs for internal use:
- WAN interfaces
- Layer 3 Ethernet ports
- Subinterfaces
- VLAN trunks are used to carry data from multiple VLANs
- The two most common trunk encapsulation methods are:
- Inter-Switch Link
- IEEE 802.1Q
- Inter-Switch Link (ISL) is a Cisco proprietary protocol
- The ISL header is 26 bytes in length, while the FCS is 4 bytes in length
- The following is a summary of ISL capabilities:
- ISL can support up to 1000 VLANs
- ISL is a Cisco-proprietary protocol
- ISL encapsulates the frame, it does not modify the original frame in any way
- ISL operates in a point-to-point environment
- 802.1Q is an IEEE standard for VLAN tagging
- 802.1Qinserts a single 4-byte tag into the original frame
- The following summarizes some 802.1Q features:
- It can support up to 4096 VLANs
- It uses an internal tagging mechanism, modifying the original frame
- It is an open standard protocol developed by the IEEE
- It does not tag frames on the native VLAN, however, all other frames are tagged
- Two methods that can be used to address VLANs are:
- Assigning a single subnet to each individual VLAN
- Assigning multiple subnets per VLAN
- The two methods of implementing VLANs are:
- End-to-end VLANs
- Local VLANs
Configuring and Verifying VLANs
- The following should be taken into consideration when configuring VLANs:
- In Cisco Catalyst switches, Ethernet VLAN 1 uses only default values
- Except for the VLAN name, Ethernet VLANs 1006 through 4094 use only default values
- You can configure the VLAN name for Ethernet VLANs 1006 through 4094
Configuring and Verifying Trunk Links
- DISL simplifies the creation of an ISL trunk from two interconnected Fast Ethernet devices
- DTP is a Cisco proprietary point-to-protocol that negotiates trunking between two switches
- Trunk ports can be configured using one of two methods:
- Manual (Static) Trunk Configuration
- Dynamic Trunking Protocol (DTP)
VLAN Trunking Protocol (VTP)
- VTP is a Cisco proprietary Layer 2 messaging protocol
- VTP manages addition, deletion, and renaming of VLANs on switches in the same domain
- The VTP domain consists of a group of adjacent connected switches
- The three VTP modes are:
- VTP Server
- VTP Client
- VTP Transparent
- VTP server mode is the default VTP mode for all Cisco Catalyst switches
- VTP clients receive VTP information from VTP servers
- VTP transparent mode disables VTP on the switch
- VTP advertisements are sent out periodically by each switch in the VTP domain
- VTP packets are sent to the Multicast address 01-00-0C-CC-CC-CC
- Switches use the configuration revision number to keep track of the most recent information
- There are three types of VTP messages:
- VTP Advertisement Requests
- VTP Summary Advertisements
- VTP Subset Advertisements
- Advertisement requests are requests for configuration information
- Summary advertisement messages are used to provide current VTP information
- VTP summary advertisements are sent out by VTP servers every 5 minutes
- VTP subset advertisements are sent out by VTP servers when VLAN configuration changes
- A VTP subset advertisement contains a list of VLAN information
- VTP passwords are embedded in messages
- VTP passwords are used to authenticate incoming VTP messages
- VTP passwords can only be configured on VTP servers and clients
- The VTP password can be an ASCII string from 1 to 32 characters
- There are three versions of VTP, which are versions 1, 2, and 3
- The default version used by Cisco Catalyst switches is VTP version 1
- VTP version 2 provides additional capabilities over version 1 which include:
- Token Ring support
- Version-dependent transparent mode
- Consistency checks
- Unrecognized Type/Length/Value (TLV) support
- VTP version 3 adds a number of enhancements to VTP which include:
- Support for a structured and secure VLAN environment (Private VLAN, or PVLAN)
- Support for up to 4000 VLANs
- Feature enhancement beyond support for a single database or VTP instance
- Protection from unintended database overrides during insertion of new switches
- Option of clear text or hidden password protection
- Configuration option on a per port base instead of only a global scheme
- Optimized resource handling and more efficient transfer of information
- VTP pruning is a feature that you use in order to eliminate or prune this unnecessary traffic