<?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>Train Signal Training - Free Computer Training Videos &#187; trunking</title>
	<atom:link href="http://www.trainsignaltraining.com/tag/trunking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trainsignaltraining.com</link>
	<description>Free Computer Training &#38; News Brought To You By Train Signal</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:47:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why VLANs are Virtually the Coolest LANs</title>
		<link>http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/</link>
		<comments>http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 17:00:54 +0000</pubDate>
		<dc:creator>Stelios Antoniou</dc:creator>
				<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNA Training]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[InterSwitch Link Protocol]]></category>
		<category><![CDATA[ISL]]></category>
		<category><![CDATA[TCI]]></category>
		<category><![CDATA[TPID]]></category>
		<category><![CDATA[trunking]]></category>
		<category><![CDATA[Virtual-LAN]]></category>
		<category><![CDATA[VLAN]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/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. </p>
<p>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. </p>
<p>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. </p>
<p>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 &#8230;</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 <strong>configuring, verifying and troubleshooting a VLAN.</strong><br />
<br/></p>
<h3>VLAN Modes and VLAN Trunking</h3>
<p>Cisco catalyst switches support <strong>Dynamic</strong> VLANs by using a VLAN Management Policy Server in order to assign specific VLAN IDs to corresponding MAC addresses. Usually, <strong>Static</strong> assignment of VLANs to switch ports is configured. </p>
<p>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. </p>
<p>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><span id="more-420"></span><br />
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><strong>Three-bit user priority </strong></li>
<li><strong>One-bit canonical format indicator (CFI) </strong></li>
<li><strong>Twelve-bit VLAN identifier (VID) which uniquely identifies the VLAN to which the frame belongs </strong></li>
</ul>
<p>A schematic diagram of the 802.1Q frame is shown below:</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/02/Stelios_VLANs/1.jpg" alt="VLAN - 802.1Q frame" title="VLAN - 802.1Q frame" align="middle" width="597" height="322" border="0" /></p>
<h3>Configuring VLANs</h3>
<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. </p>
<p>Take a look at this example:</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/02/Stelios_VLANs/2.jpg" alt="VLAN - Configuration" title="VLAN - Configuration" align="middle" width="411" height="193" border="0" /></p>
<h3>Assigning Switch Ports to VLANs</h3>
<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.trainsignaltraining.com/wpnew/wp-content/uploads/2008/02/Stelios_VLANs/3.jpg" alt="VLAN - Switch Ports" title="VLAN - Switch Ports" align="middle" width="435" height="193" border="0" /></p>
<h3>Configuring 802.1Q Trunking</h3>
<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.trainsignaltraining.com//wpnew/wp-content/uploads/2008/02/Stelios_VLANs/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>
<p></p>
<li><strong>Access:</strong> Disables port trunk mode; no trunking negotiation takes place.</li>
<p></p>
<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>
<p></p>
<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>
<h3>Verifying VLAN Configuration</h3>
<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.trainsignaltraining.com/wpnew/wp-content/uploads/2008/02/Stelios_VLANs/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.trainsignaltraining.com/wpnew/wp-content/uploads/2008/02/Stelios_VLANs/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.trainsignaltraining.com/wpnew/wp-content/uploads/2008/02/Stelios_VLANs/7.jpg" alt="VLAN - Verifying Configuration 3" title="VLAN - Verifying Configuration 3" align="middle" width="387" height="339" border="0" /></p>
<h3>Troubleshooting a VLAN Configuration</h3>
<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>
<p></p>
<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.<br />
<br />
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>
<p></p>
<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>
<h3>Organize and Secure your Network </h3>
<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>
<p>&nbsp;<br />
<!--adsense#CCNA--><br />
<br />&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Why+VLANs+are+Virtually+the+Coolest+LANs+-+http://bit.ly/LKnZM+%28via+%40trainsignal%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/&amp;title=Why+VLANs+are+Virtually+the+Coolest+LANs" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/&amp;t=Why+VLANs+are+Virtually+the+Coolest+LANs" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/&amp;title=Why+VLANs+are+Virtually+the+Coolest+LANs" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/&amp;title=Why+VLANs+are+Virtually+the+Coolest+LANs" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/&amp;title=Why+VLANs+are+Virtually+the+Coolest+LANs&amp;summary=Virtual%20LANs%20within%20a%20switched%20local%20area%20network%20provide%20segmentation%20and%20effective%20network%20management%20as%20well%20as%20security.%20%0D%0A%0D%0ANetwork%20Engineers%20have%20the%20flexibility%20of%20segmenting%20their%20network%20into%20separate%20VLANs%20according%20to%20work%20groups%2C%20department%20differentiation%20or%20even%20application%20usage%20witho&amp;source=Train Signal Training - Free Computer Training Videos" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/&amp;title=Why+VLANs+are+Virtually+the+Coolest+LANs" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Why+VLANs+are+Virtually+the+Coolest+LANs&amp;link=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Why%20VLANs%20are%20Virtually%20the%20Coolest%20LANs%22&amp;body=Link: http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Virtual%20LANs%20within%20a%20switched%20local%20area%20network%20provide%20segmentation%20and%20effective%20network%20management%20as%20well%20as%20security.%20%0D%0A%0D%0ANetwork%20Engineers%20have%20the%20flexibility%20of%20segmenting%20their%20network%20into%20separate%20VLANs%20according%20to%20work%20groups%2C%20department%20differentiation%20or%20even%20application%20usage%20witho" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.trainsignaltraining.com/new-free-cisco-videos/2008-05-23/' rel='bookmark' title='Permanent Link: New Free Cisco CCNA Videos &#8212; Now Available!'>New Free Cisco CCNA Videos &#8212; Now Available!</a></li>
<li><a href='http://www.trainsignaltraining.com/studying-for-your-ccent-learn-all-about-switching-and-stp/2007-11-01/' rel='bookmark' title='Permanent Link: Studying For Your CCENT? Learn All About Switching and STP!'>Studying For Your CCENT? Learn All About Switching and STP!</a></li>
<li><a href='http://www.trainsignaltraining.com/how-to-add-host-to-cisco-nexus-1000v/2010-03-15/' rel='bookmark' title='Permanent Link: Video: Adding a Host to a Cisco Nexus 1000V Distributed Switch'>Video: Adding a Host to a Cisco Nexus 1000V Distributed Switch</a></li>
<li><a href='http://www.trainsignaltraining.com/cisco-basic-ios-commands-for-routers-and-switches/2007-12-17/' rel='bookmark' title='Permanent Link: Basic IOS Commands for Routers and Switches'>Basic IOS Commands for Routers and Switches</a></li>
<li><a href='http://www.trainsignaltraining.com/dynamips-dynagen-gns3/2010-03-10/' rel='bookmark' title='Permanent Link: How to Configure Dynagen and GNS3'>How to Configure Dynagen and GNS3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.trainsignaltraining.com/cisco-ccna-vlan/2008-02-14/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
