www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / TSHOOT / Module 3 / VLAN,VTP and Trunking Overview

VLAN,VTP and Trunking Overview

A VLAN is a logical grouping of hosts that appear to be on the same LAN regardless of their physical location. VLANs increase the number of Broadcast domains in a switched network, while reducing their overall size. A VLAN can span a single switch or even multiple switches, depending on the implementation. Troubleshooting intra-VLAN and inter-VLAN connectivity issues is therefore an all-encompassing task that should take several elements into consideration. These elements are described later in the ‘Troubleshooting VLANs’ section. Catalyst switches support two types of switch VLAN ports, which are access ports and trunk ports. These port types are described in the following section.

Access ports are switch ports that are assigned to a single VLAN. These ports can only belong to a single VLAN. Switch access ports are typically used to connect network hosts, such as printers, computers, IP phones, and wireless access points to the LAN switch. However, access ports can also be used to provide connectivity between users connected across multiple switches. Such a topology or implementation is illustrated in the diagram shown in Figure 3-1:

img1

Fig. 3-1. Implementing LANs using Access Ports and a Single VLAN

While such an implementation will work, assuming all the users are on the same subnet, you should keep in mind that the entire switched LAN becomes a single broadcast domain. The same situation would be applicable even if multiple VLANs were used, as illustrated in the network diagram shown in Figure 3-2:

img2

Fig. 3-2. Implementing LANs using Access Ports and Multiple VLANs

While this configuration and implementation is valid, keep in mind that such a solution is not scalable, especially in larger networks with multiple subnets and devices. In addition to this, such implementations make troubleshooting end-to-end VLAN connectivity issues very difficult to isolate and identify. Large networks should use multiple VLANs, reducing the size of the broadcast domains in the switched network and limiting the range of the VLANs.

VLAN trunks are used to carry data from multiple VLANs. In order to differentiate frames from one VLAN with those from another, all frames sent across a trunk link are specially tagged so that the destination switch knows which VLAN the frame belongs to. This allows for end-to-end VLAN connectivity across multiple switches, but requires either a router or other inter-VLAN solution to facilitate communication between the VLANs. There are two methods that can be used to ensure that VLANs that traverse switch trunk link can be uniquely identified. These two methods are Inter-Switch Link (ISL) and IEEE 802.1Q.

Inter-Switch Link (ISL) is a Cisco proprietary protocol that is used to preserve the source VLAN identification information for frames that traverse trunk links. Although ISL is a Cisco proprietary protocol, it is not supported on all Cisco platforms. For example, Catalyst 2940 and 2950 series switches only support 802.1Q trunking, and do not support ISL trunking.

802.1Q is an IEEE standard for VLAN tagging. Unlike ISL, 802.1Q, or dot1q as it is commonly referred to as, inserts a single 4-byte tag into the original frame between the Source Address (SA) field and the Type or Length fields, depending on the Ethernet frame type. For this reason, 802.1Q is also referred to as a one-level, internal tagging or single tagging mechanism. Given that the length of the 802.1Q tag is 4 bytes, the resulting Ethernet frame can be as large as 1522 bytes, while the minimum size of the Ethernet frame with 802.1Q tagging is 68 bytes.

The VLAN Trunking Protocol is a Cisco proprietary Layer 2 messaging protocol that manages the addition, deletion, and renaming of VLANs on a network-wide scale. VTP allows VLAN information to propagate through the switched network, which reduces administration overhead in a switched network, while enabling switches to exchange and maintain consistent VLAN information. In order to do this, switches must reside within the same VTP domain.

A VTP domain consists of adjacent connected switches that are part of the same management domain. A switch can only belong to one VTP domain at any one time and will reject or drop any VTP packets received from switches in any other VTP domains. In order to participate in the VTP domain, switches must be configured for a specific VTP mode, each with its own characteristics. There are three VTP modes for which a switch can be configured. These modes are server, client, and transparent.

VTP server mode is the default VTP mode for all Cisco Catalyst switches. VTP server switches control VLAN creation, modification, and deletion for their respective VTP domain. VTP clients advertise and receive VTP information; however, they do not allow VLAN creation, modification, or deletion. While a switch that is configured for VTP transparent allows for the creation, modification, and deletion of VLANs in the same manner as on a VTP server switch, it is different in that it ignores VTP updates and all VLANs that are created on the switch are locally significant and are not propagated to other switches in the VTP domain.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.