<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TrainSignal Training &#187; VLAN</title>
	<atom:link href="http://www.trainsignal.com/blog/tag/vlan/feed" rel="self" type="application/rss+xml" />
	<link>http://www.trainsignal.com/blog</link>
	<description>Guide to Certifications and Technology News for IT Professionals</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>How to Configure a Cisco IOS Virtual LAN (VLAN): The Basics</title>
		<link>http://www.trainsignal.com/blog/virtual-lan-vlan-basics</link>
		<comments>http://www.trainsignal.com/blog/virtual-lan-vlan-basics#comments</comments>
		<pubDate>Wed, 16 Feb 2011 14:00:37 +0000</pubDate>
		<dc:creator>Sean Wilkins</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VLAN]]></category>

		<guid isPermaLink="false">http://www.trainsignal.com/blog/?p=20358</guid>
		<description><![CDATA[A VLAN is a group of devices that are grouped together to create a logical LAN. In this article we'll take a look at a VLAN example and go over VLAN trunks and the steps for a basic configuration of a Cisco IOS Virtual LAN.]]></description>
			<content:encoded><![CDATA[<p>A VLAN is a group of devices that are grouped together to create a logical LAN. What this means is that a group of individual devices on the same physical LAN can be segmented as if they were on an independent second physical LAN network. This allows for a number of different flexible configurations including securing different computers into their own VLAN or separating data and voice traffic onto different VLANs for priority.</p>
<h2>VLAN Example</h2>
<p>A VLAN example is illustrated in Figure 1 below. Figure 1 shows a building network example that includes devices for the staff and students of a university. For security purposes, the traffic from individuals working on administrative devices (staff) could be separated from the traffic generated by the academic devices (students).</p>
<p>A method of separating these different devices could be to have them on separate physical networks; however this type of solution can be expensive and inflexible. A better solution would be to create separate VLANs for administrative and academic traffic.</p>
<p><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/01/VLAN-example.jpg"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/01/VLAN-example.jpg" alt="VLAN Example" title="VLAN Example" width="600" class="alignnone size-full wp-image-21187" /></a></p>
<p>Figure 1 shows four different common areas that exist in a university setting, two of each belong to either the administrative or academic side of the network. The areas that are in the administrative part of the network are separated into VLAN 10; the areas that are in the academic part of the network are separated into VLAN 20. In order for the devices in VLAN 10 to communicate with the devices in VLAN 20, a Layer 3 device (like a router) is required. The Layer 3 device can then be configured to filter the traffic allowed to pass between the two VLAN’s (if any).</p>
<h2>VLAN Trunks</h2>
<p>Another part of the understanding of VLANs is how they are used between different devices. Without further configuration, the VLAN configuration of a switch is specific to each individual switch. In many smaller deployments, this works out fine as one single switch is deployed for connectivity. However, on larger deployments where there are multiple switches used over a building or campus then the VLAN configuration needs to span multiple switches, this is done with trunks. </p>
<p>Under normal conditions, a switchport is limited to be in a single VLAN; a trunk allows the switchport to support the transport of traffic on multiple VLAN’s. This is accomplished through the use of IEEE 802.1q trunking. When using 802.1q trunking, a tag is inserted into the frame header to identify the VLAN membership; once the frame reaches the destination switch the tag is removed and sent out on all matching VLAN switchports.</p>
<h2>Basic VLAN Configuration</h2>
<p>The normal range of VLAN numbers used goes from 1 through 1001; the numbers from 1002 through 1005 are reserved for Token Rink and FDDI VLAN’s.  On most switches, including Cisco, the default is VLAN 1 on all switchports. The VLAN range from 1006 through 4094 is also available if extended range VLAN’s are configured.</p>
<p>In order to configure a VLAN on a Cisco switch use the following steps:</p>
<p>Enter global configuration mode</p>
<p>Step 1.              switch#configure terminal</p>
<p>Create or modify an existing VLAN</p>
<p>Step 2.              switch(config)#<strong>vlan</strong> <em>vlan-id</em></p>
<p>Configure a VLAN name (optional)</p>
<p>Step 3.              switch(config-vlan)#<strong>name </strong><em>name</em></p>
<p>Another method of creating a VLAN is to configure a switchport into a nonexistent VLAN.  When this is done, the VLAN is automatically created.</p>
<p>In order to configure a switchport into a specific VLAN on a Cisco switch use the following steps:</p>
<p>Enter global configuration mode</p>
<p>Step 1.              switch#configure terminal</p>
<p>Enter interface configuration mode</p>
<p>Step 2.              switch(config)#interface <em>type number</em></p>
<p>Configure a switchport VLAN</p>
<p>Step 3.              switch(config-if)#<strong>switchport access vlan</strong> <em>vlan-id</em></p>
<h2>Summary</h2>
<p>The configuration of VLAN’s on modern network is common at the access layers of the network; it provides a method of security which is easy to implement and configure. Hopefully this article gives a basic understanding of the concept and how it can be used.</p>
<h2>Learn More About VLANs</h2>
<p>If you&#8217;re interested in learning more about VLANs, check out our article on <a href="/blog/cisco-ccna-vlan">How to Configure, Verify and Troubleshoot a VLAN</a> and our free video from our <a href="http://www.trainsignal.com/Cisco-CCNA-Training.aspx">Cisco CCNA training</a> covering <a href="/blog/videos/free-cisco-ccna-training-virtual-lans-vlans">Virtual LANs</a> and <a href="/blog/videos/free-cisco-ccna-training-vlan-trunking-protocol-vtp">VTP: VLAN Trunking Protocol</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/virtual-lan-vlan-basics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Cisco CCNA Training: Virtual LANs (VLANs)</title>
		<link>http://www.trainsignal.com/blog/videos/free-cisco-ccna-training-virtual-lans-vlans</link>
		<comments>http://www.trainsignal.com/blog/videos/free-cisco-ccna-training-virtual-lans-vlans#comments</comments>
		<pubDate>Wed, 14 May 2008 20:22:39 +0000</pubDate>
		<dc:creator>Chris Bryant</dc:creator>
				<category><![CDATA[Free CCNA Training Videos]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Free IT Training]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VLAN]]></category>

		<guid isPermaLink="false">http://content3.trainsignal.com/?post_type=free_video&#038;p=19665</guid>
		<description><![CDATA[Ready to get Cisco certified? Learn how to install, operate and troubleshoot a small to medium enterprise branch network with our Cisco CCNA Training course.]]></description>
			<content:encoded><![CDATA[<p>Ready to get Cisco certified? Learn how to install, operate and troubleshoot a small to medium enterprise branch network with our <a href="/Cisco-CCNA-Training.aspx"title="Cisco CCNA Training">Cisco CCNA Training course</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/videos/free-cisco-ccna-training-virtual-lans-vlans/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Configure, Verify and Troubleshoot a VLAN</title>
		<link>http://www.trainsignal.com/blog/cisco-ccna-vlan</link>
		<comments>http://www.trainsignal.com/blog/cisco-ccna-vlan#comments</comments>
		<pubDate>Thu, 14 Feb 2008 17:00:54 +0000</pubDate>
		<dc:creator>Stelios Antoniou</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[VLAN]]></category>

		<guid isPermaLink="false">/cisco-ccna-vlan/2008-02-14/</guid>
		<description><![CDATA[Virtual LANs within a switched local area network provide segmentation and effective network management as well as security. Network Engineers have the flexibility of segmenting their network into separate VLANs according to work groups, department differentiation or even application usage without worrying about the physical location of the hosts. What&#8217;s more, due to the fact [...]]]></description>
			<content:encoded><![CDATA[<p>Virtual LANs within a switched local area network provide segmentation and effective network management as well as security. Network Engineers have the flexibility of segmenting their network into separate VLANs according to work groups, department differentiation or even application usage without worrying about the physical location of the hosts. What&#8217;s more, due to the fact that each host is applied to a single VLAN on the switch, added security is achieved.</p>
<p>Each VLAN consists of a separated broadcast domain. Which means that only ports belonging to a specific VLAN share broadcasts eliminating unnecessary traffic from flooding the entire network; hence improving the overall performance of the network.</p>
<p>By now, you&#8217;re probably thinking that your VLANs can spread through a couple of building infrastructures. Well get this &#8230; VLANs can also extend their existence across Wide Area Networks (WANs) using a layer 2 tunnel. This is why VLANs can be designed without regard of the physical location of the hosts. This is also why VLANs are virtually the coolest LANs out there.</p>
<p>In this article, I&#8217;ll explain some basic concepts behind VLAN operation on Cisco catalyst switches. I&#8217;ll also give you the steps to configuring, verifying and troubleshooting a VLAN.</p>
<h2>VLAN Modes and VLAN Trunking</h2>
<p>Cisco catalyst switches support Dynamic VLANs by using a VLAN Management Policy Server in order to assign specific VLAN IDs to corresponding MAC addresses. Usually, Static assignment of VLANs to switch ports is configured. To be able to do so, first, all different VLAN subnets need to be defined. Afterwards, VLAN IDs can be assigned to switch ports and a host that attaches on a given port automatically assumes the VLAN membership of that port.</p>
<p>Once a VLAN membership is granted, a host can communicate to other hosts within the same VLAN. If routing between different VLANs is required then a router needs to be incorporated in the network. A host link can have access to only one VLAN. A link that is able to carry more than one VLAN tagged frame is called a trunk and the method of identifying several different VLANS on a trunk is called tagging.</p>
<p>Cisco used to support its own proprietary trunking protocol for VLAN tagging &#8211; <strong>ISL, or InterSwitch Link Protocol</strong>.  However, ISL is not supported anymore and Cisco suggests using IEEE 802.1Q protocol instead.</p>
<p>The IEEE 802.1Q header contains a 4-byte tag header containing a 2-byte protocol identifier (TPID) and 2-byte control information (TCI). The TPID has a fixed value of 0&#215;8100 that indicates that the frame carries the 802.1Q/802.1p tag information.</p>
<p>The TCI contains the following elements:</p>
<ul>
<li>Three-bit user priority</li>
<li>One-bit canonical format indicator (CFI)</li>
<li>Twelve-bit VLAN identifier (VID) which uniquely identifies the VLAN to which the frame belongs</li>
</ul>
<p>A schematic diagram of the 802.1Q frame is shown below:</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/1.jpg" alt="VLAN - 802.1Q frame" title="VLAN - 802.1Q frame" align="middle" width="597" height="322" border="0" /></p>
<h2>Configuring a VLAN</h2>
<p>Configuring VLANs is actually very easy. The difficulty is to decide which users should belong to which VLAN. Once you&#8217;ve decided this and visualized the VLAN enabled network, then you are ready to create your VLANs on the Cisco catalyst switch. Take a look at this example:</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/2.jpg" alt="VLAN - Configuration" title="VLAN - Configuration" align="middle" width="411" height="193" border="0" /></p>
<p><h>How to Assign Switch Ports to a VLAN</h2>
<p>The following commands indicate how you can assign interface fastethernet 2 to vlan2 and fastethernet 3 to vlan 3:</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/3.jpg" alt="VLAN - Switch Ports" title="VLAN - Switch Ports" align="middle" width="435" height="193" border="0" /></p>
<h2>Configuring 802.1Q Trunking</h2>
<p>To set a Fast Ethernet port or even a Gigabit Ethernet port to trunk mode use the <strong>switchport mode</strong> interface configuration command:</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/4.jpg" alt="VLAN - Trunking" title="VLAN - Trunking" align="middle" width="519" height="193" border="0" /></p>
<p>The <strong>switchport mode</strong> command can be configured using 4 different options:</p>
<ul>
<li><strong>Trunk:</strong> The interface is configured into permanent trunking mode and negotiates with the partner site interface to set up the into trunk mode.</li>
<li><strong>Access:</strong> Disables port trunk mode; no trunking negotiation takes place.</li>
<li><strong>Dynamic desirable:</strong> Enables interfaces continuous attempt to convert the link to a trunking link. The interface becomes a trunk interface if the neighboring interface is set to trunk, desirable, or auto mode. This is the default mode for all Ethernet interfaces.</li>
<li><strong>Dynamic auto:</strong> Makes the interface to become a trunk only if the connected port is set to trunk or desirable.</li>
</ul>
<h2>How to Verify a VLAN Configuration</h2>
<p>Use the <strong>show vlan</strong> command to verify your VLAN configuration. This command displays all switchports and their associated VLAN as well as the VLAN status and some extra parameters that relate to Token Ring and FDDI trunks.</p>
<p>You can use the show <strong>vlan id [vlan#]</strong> command to see information about a particular VLAN. Below you can see a sample output of the <strong>show vlan</strong> command.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/5.jpg" alt="VLAN - Configuration 1" title="VLAN - Configuration 1" align="middle" width="593" height="318" border="0" /></p>
<p>You can also use the <strong>show interface [interface name-number] switchport</strong> command to display the VLAN<br />
information on the particular interface as well as the interfaces administrative and operational mode (access or trunk mode).</p>
<p>A sample output of this command is presented below:</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/6.jpg" alt="VLAN - Verifying Configuration 2" title="VLAN - Verifying Configuration 2" align="middle" width="596" height="409" border="0" /></p>
<p>Use the <strong>show ip interface vlan [vlan#] </strong>command to display ip related information on a particular VLAN as well as status and MAC address. Here is a sample output of this command:</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/02/7.jpg" alt="VLAN - Verifying Configuration 3" title="VLAN - Verifying Configuration 3" align="middle" width="387" height="339" border="0" /></p>
<h2>How to Troubleshoot a VLAN Configuration</h2>
<p>Three main steps need to be followed when troubleshooting VLAN problems:</p>
<ul>
<li> The first thing you need to do is to make sure that your cable and switch port are good. Always start your troubleshooting procedure by investigating your physical connectivity. Test your cable and make sure it&#8217;s working. Check the swith ports link LED to make sure that layer 1 is working properly.</li>
<li>Next, check your switche&#8217;s interface configuration. Use the <strong>command show interface [interface name-number]</strong> to check whether there are CRC errors or late collisions perceived on the interface.
<p>These errors are usually the result of physical problems such as bad cable or NIC but can also indicate duplex mismatch with the attached device. If you notice that collisions are increasing continuously, then look for a duplex mismatch problem or even for congestion on the link.</li>
<li>If two hosts cannot communicate then check whether they are in the same VLAN. If they are positioned into different VLANS then you definitely need a router to be able to enable communication between the two hosts. If a host is not able to connect to the switch, make sure the host belongs to the same subnet as the switchs VLAN.</li>
</ul>
<h2>Organize and Secure Your Network with a VLAN</h2>
<p>It&#8217;s always a good habit to differentiate hosts in a network either based on departmental differentiation, expertise classification or anything else you think would work. What you end up with are groups that need isolation for better network performance and stronger security.</p>
<p>VLANS are able to accomodate both: better network performace and improved security. VLANs will help you administer your network in a more efficient way, at the same time conserving network resources by preventing flooding of unnecessary traffic within the network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/cisco-ccna-vlan/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
