<?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>AOIP - Anything Over IP &#187; BCMSN</title>
	<atom:link href="http://www.anythingoverip.co.za/category/tutorials/course-content/bcmsn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anythingoverip.co.za</link>
	<description>Anything Over IP</description>
	<lastBuildDate>Wed, 27 Jul 2011 05:24:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Creating Layer 2 and Layer 3 Ether Channels</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/creating-layer-2-and-layer-3-ether-channels/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/creating-layer-2-and-layer-3-ether-channels/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 15:00:11 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=590</guid>
		<description><![CDATA[In order to bundle multiple interfaces between switches in an effort in increase throughput, a Ether Channel can be created.   Ether Channels can be created as Layer 2 or Layer3. The obvious difference between the 2 is that a Layer 3 link will have a IP address associated and hence traffic can be routed between [...]]]></description>
			<content:encoded><![CDATA[<p>In order to bundle multiple interfaces between switches in an effort in increase throughput, a Ether Channel can be created.</p>
<p> </p>
<p>Ether Channels can be created as Layer 2 or Layer3. The obvious difference between the 2 is that a Layer 3 link will have a <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">IP address </a>associated and hence traffic can be routed between the 2 switches. A layer 2 ether channel will not have IP addresses attached and all traffic will be switched between the 2 devices.</p>
<p> </p>
<p>There is a misconception about how the ‘load balancing’ works over a ether channel, so firstly lets clear that up.</p>
<p>An ether channel allows us to group multiple interfaces together so they act as one. This means that if I have 5 x 1 Gigabit Ethernet interfaces that I bind together I will in theory have a 5 Gigabit Ethernet interface. This is partly true but let’s dig deeper into how the switch will send traffic over the new link.</p>
<p>By Default, most Cisco switches are configured with a load balancing option of ‘source to destination IP’, what this means is that when the first session is created between machine A and machine B their traffic will use the same physical interface from the ether channel bundle. The packets will not be load balanced between all the ports. However when machine C sends traffic to machine D they would use a different physical interface compared to machine A and B. What we can derive from this, is that the load-balancing is session orientated and each session will be limited to 1 physical interface. So although the total throughput of data between the 2 switches is 5 Gigabit, the maximum throughput between 2 machines is the total of 1 physical interface of the ether channel.</p>
<p> </p>
<p>The load-balancing technique can be changed from its default using the <strong>port-channel load-balance</strong> command, as seen below.</p>
<p><strong>port-channel load-balance {src-mac | dst-mac | src-dst-mac | src-ip | dst-ip | src-dst-ip | src-port | dst-port | src-dst-port}</strong><strong></strong></p>
<p><strong>NOTE:</strong> not all switches support all options of load-balancing!</p>
<p>So now that we have seen the concept of Ether Channels and how their load-balancing works, here is the configuration for configuring a Layer 2 Ether Channel.</p>
<p> </p>
<p> </p>
<p><strong>AOIP.ORG-Switch(config)# interface range f0/4 – 5</strong></p>
<p>The interface range command allow me to configure multiple interfaces at the same time, in this case FastEthernet 0/4 and 0/5</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# channel-group 1 mode desirable</strong></p>
<p>This associates the interfaces to a new logical interface and tells the interface to actively negotiate a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">trunk.</a></p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no shut</strong></p>
<p><strong>AOIP.ORG-Switch(config-if-range)# exit</strong></p>
<p><strong>AOIP.ORG-Switch(config)# exit</strong></p>
<p> </p>
<p> </p>
<p>In order to configure a Layer 2 Ether Channel, the following configuration can be used.</p>
<p> </p>
<p><strong>AOIP.ORG-Switch(config)# interface port-channel 10</strong></p>
<p>This enters the logical interface used for the Ether Channel, I have given it a ‘name’ of 10</p>
<p><strong>AOIP.ORG-Switch(config-if)# no switchport</strong></p>
<p>Forces the port to act as a routed port and not a switchport</p>
<p><strong>AOIP.ORG-Switch(config-if)# ip address 10.0.100.1 255.255.255.0</strong></p>
<p>Assigns the IP address to the interface</p>
<p><strong>AOIP.ORG-Switch(config-if)# no shut</strong></p>
<p><strong>AOIP.ORG-Switch(config-if)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG-Switch(config)# interface range f0/4 -5</strong></p>
<p>Same as above, I’m configuring 2 interfaces to belong to the Ether Channel</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no switchport</strong></p>
<p>Forcing the physical ports in Routed ports</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no ip address</strong></p>
<p>Removing any IP addresses that may be configured on the physical interfaces. They may not have an IP address as it will be associated to the logical interface (port-channel 10)</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# channel-group 10 mode desirable</strong></p>
<p>Binds the physical interfaces to the logical interface</p>
<p><strong>AOIP.ORG-Switch(config-if-range)# no shut</strong></p>
<p><strong>AOIP.ORG-Switch(config-if-range)# exit</strong></p>
<p><strong>AOIP.ORG-Switch(config)# exit</strong></p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/iscw/isdn-and-multilink-with-load-threshold/' rel='bookmark' title='Permanent Link: ISDN and Multilink with load-threshold'>ISDN and Multilink with load-threshold</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/' rel='bookmark' title='Permanent Link: Inter-VLAN Routing (Router on a Stick)'>Inter-VLAN Routing (Router on a Stick)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/creating-layer-2-and-layer-3-ether-channels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inter-VLAN Routing (Router on a Stick)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:50:32 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>
		<category><![CDATA[VLANS]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=367</guid>
		<description><![CDATA[In order for 2 VLANS to be able to communicate, the traffic must be routed. This can be done either by a multi-layer switch which will have routing capabilities, or the packets can be routed by a router.   As an example, I have 2 VLANS, VLAN 10 and VLAN 20 which have subnets 10.0.10.0/24 [...]]]></description>
			<content:encoded><![CDATA[<p>In order for 2 <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLANS</a> to be able to communicate, the traffic must be routed. This can be done either by a multi-layer switch which will have routing capabilities, or the packets can be routed by a router.</p>
<p> </p>
<p>As an example, I have 2 VLANS, VLAN 10 and VLAN 20 which have <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/classless-ip-addresses/">subnets</a> 10.0.10.0/24 and 10.0.20.0/24 respectively. In order to have traffic from one subnet communicate with the other routing would have to take place. Furthermore the switch I have used in the example below is a layer 2 switch so there is no routing functionality available so I am forced to use a router.</p>
<p> </p>
<p>This leaves me with 2 options.</p>
<p>1/ Plug my router into my switch with 2 cables. Configure 1 port on the router to be in subnet 10.0.10.0/24 and in VLAN 10, and configure a second port to be in subnet 10.0.20.0/24 and associate that port to VLAN 20.</p>
<p>This is not a major issue, and this is something that could easily be configured, however it will require a router with 2 interfaces free for me to use. What if I had more than 2 VLAN’s? What if I had 200 VLAN’s (Not an uncommon scenario)? Not only would this mean I need a router with 200 interfaces, but it would also mean that my switch would need 200 interfaces. So far this is not looking like a very scalable solution.</p>
<p> </p>
<p>2/ I can plug my router in my switch with a single cable. Configure Sub-interfaces on the router and associate each sub-interface to each VLAN. This is FAR more scalable and would allow me to configure more than 2 VLAN’s on a single interface</p>
<p> </p>
<p><strong>NOTE:</strong> A sub-interface is a logical separation of the physical interface. Each sub-interface can be configured as if it were a physical port on the device.</p>
<p> </p>
<p>As you can see from the above, option 2 is the only logical solution for scalability and ease. There is however one small problem with using this option. In order to have multiple VLAN’s been sent over a single cable/port the port needs to be configured as a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">Trunk port</a>. In my example I have already configured the switch and made FastEthernet 0/23 a trunk port using dot1q as my encapsulation protocol. (Port f0/23 on the switch is plugged into the router’s port f0/1)</p>
<p> </p>
<p>Here is the breakdown of the configuration needed to configure a Router on a stick.</p>
<p> </p>
<p><strong>AOIP.ORG# ping 10.0.10.2</strong></p>
<p>Confirming that ping does not work to the interface VLAN 10 on my switch which has IP address 10.0.10.2</p>
<p><strong>AOIP.ORG# ping 10.0.20.2</strong></p>
<p>Confirming that ping does not work to the interface VLAN 20 on my switch which has IP address 10.0.20.2</p>
<p><strong>AOIP.ORG(config)# interface fastethernet 0/1.10</strong></p>
<p>This enters the interface FastEthernet 0/1 and creates a sub-interface named ‘10’. <strong>NOTE:</strong> It is a wise idea to name your sub-interface the same as the VLAN number you are going to allocate it to for help with troubleshooting.</p>
<p><strong>AOIP.ORG(config-subif)# encapsulation dot1q 10</strong></p>
<p>Configures the sub-interface to be encapsulated with dot1q, and allocates this sub-interface to VLAN 10</p>
<p><strong>AOIP.ORG(config-subif)# ip address 10.0.10.1 255.255.255.0</strong></p>
<p>Associate an IP address to the sub-interface</p>
<p> </p>
<p><strong>AOIP.ORG(config-subif)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG(config)# interface fastethernet 0/1.20</strong></p>
<p>This enters the interface FastEthernet 0/1 and creates a sub-interface named ‘20’. <strong>NOTE:</strong> It is a wise idea to name your sub-interface the same as the VLAN number you are going to allocate it to for help with troubleshooting.</p>
<p><strong>AOIP.ORG(config-subif)# encapsulation dot1q 20</strong></p>
<p>Configures the sub-interface to be encapsulated with dot1q, and allocates this sub-interface to VLAN 20</p>
<p><strong>AOIP.ORG(config-subif)# ip address 10.0.20.1 255.255.255.0</strong></p>
<p>Associate an IP address to the sub-interface</p>
<p><strong>AOIP.ORG(config-subif)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG(config)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG# ping 10.0.10.2</strong></p>
<p>Confirm that ping now works, you will notice the first ping failed, but this is purely a ARP delay that caused this</p>
<p><strong>AOIP.ORG# ping 10.0.20.2</strong></p>
<p>Confirm that ping now works, you will notice the first ping failed, but this is purely a ARP delay that caused this</p>
<p> </p>
<p>In order to complete the design and installation of the above, all computers that are in VLAN 10 would need to have their Default-gateway configured as 10.0.10.1 and machines in VLAN 20 would need their Default-gateway configured as 10.0.20.1.</p>
<p> </p>
<p>When a machine from VLAN 10 tries to communicate with a machine in VLAN 20 the following will take place</p>
<p>1/ Packet enters the switch</p>
<p>2/ The Switch will send the packet via the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">TRUNK port </a>on VLAN 10 to the router.</p>
<p>3/  The router will receive the packet on sub-interface f0/1.10 tagged as VLAN 10</p>
<p>4/ The router will remove the TAG on the packet and do a lookup in the routing table</p>
<p>5/ The router will encapsulate the packet with a TAG for VLAN 20</p>
<p>6/ The router will send the packet via the TRUNK to the switch on VLAN 20 through sub-interface f0/1.20</p>
<p>7/ The switch will receive the packet on the trunk port on VLAN 20</p>
<p>8/ The switch will send the packet to the destination computer.</p>
<p> </p>
<p>Below is the live demo.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/ROS.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/ROS.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/' rel='bookmark' title='Permanent Link: VTP (VLAN Trunking Protocol)'>VTP (VLAN Trunking Protocol)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VTP (VLAN Trunking Protocol)</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:13:34 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=362</guid>
		<description><![CDATA[VTP (VLAN Trunking protocol) is a protocol used to replicate the VLAN information across switches, however there are a few things that must be made clear&#8230;   1/ VLAN information will only be sent on trunk ports 2/ Only the VLAN identity is replicated, NOT which ports are configured to use that VLAN! 3/ Maintains [...]]]></description>
			<content:encoded><![CDATA[<p>VTP (VLAN Trunking protocol) is a protocol used to replicate the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> information across switches, however there are a few things that must be made clear&#8230;</p>
<p> </p>
<p>1/ VLAN information will only be sent on <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">trunk ports</a></p>
<p>2/ Only the VLAN identity is replicated, NOT which ports are configured to use that VLAN!</p>
<p>3/ Maintains database consistency through a common administrative domain. Switches that are not in the same VTP domain WILL NOT replicate!</p>
<p>4/ VTP advertisement are sent as multicast frames</p>
<p>5/ VTP advertisements are sent every 5 minutes or when there is a change.</p>
<p> </p>
<p>So based on the above, when I create a new <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> on a switch, that VLAN will be replicated to all other switches that are in the same VTP domain as the switch I made the change. This allows me to create a VLAN once and have the rest of the network learn about the creation via replication. Once the VLAN information has been replicated, then the switches will be able to allocate ports to the VLAN. At no time will a switch inform other switches about which ports are in which VLANS. VTP purely replicates the existence of the VLAN.</p>
<p> </p>
<p>Further to the above, a switch can be configured to be in one of 3 modes of VTP (Server, Client, Transparent)</p>
<p> </p>
<p><strong>Server Mode</strong></p>
<p>-          Creates <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a></p>
<p>-          Modifies <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a><br />
-          Deletes <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a></p>
<p>-          Sends and forwards the advertisements about the VLAN’s</p>
<p>-          Synchronizes changes with other switches</p>
<p>-          Saves the information to NVRAM (non volatile RAM)</p>
<p> </p>
<p><strong>Client Mode</strong></p>
<p>-          Cannot create, change or delete <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a></p>
<p>-          Forwards advertisements that it has received</p>
<p>-          Synchronizes changes with other switches</p>
<p>-          Does NOT save information to NVRAM, so when it’s rebooted it has to relearn the information</p>
<p> </p>
<p><strong>Transparent Mode</strong></p>
<p>-          Creates LOCAL <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> only (This information will not be sent or advertised to any other devices)</p>
<p>-          Modifies LOCAL <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> only</p>
<p>-          Deletes LOCAL <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> only</p>
<p>-          Sends and forwards advertisements that it has received from other devices</p>
<p>-          Does NOT synchronize</p>
<p>-          Saves its OWN configuration to NVRAM</p>
<p> </p>
<p> </p>
<p>Further to the above it’s important to understand that Transparent mode VTP is usually used in DMZ’s where the information should not be replicated or shared to any other devices on the network. Anything configured on a switch in Transparent mode, remains local to the device. It will not replicate the information with any other devices, and it will not learn any information from other devices.</p>
<p> </p>
<p>In most cases, you would have a Server were changes to the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN’s</a> would be done, and those changes would be replicated to all other switches in your network which would be running in client mode.</p>
<p> </p>
<p><strong>IMPORTANT NOTE:</strong> NEVER plug a new switch into a network unless you have configured it as CLIENT MODE!!!. If the new device was configured as a server and it happened to have a higher revision number (Synchronisation number) than the REAL server, the entire database will be overwritten and all <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> configuration will be lost! This could cause the ENTIRE network to crash. This happens frequently when you have a test network, and you decide to use one of the test switches in the live network.</p>
<p> </p>
<p>VTP pruning increases the available bandwidth by reducing unnecessary flooding traffic. This takes form in the following way&#8230;</p>
<p>If I have 6 switches in my network, and only 4 of them have any ports configured for VLAN 10, then only 4 switches would need to receive traffic destined for VLAN 10. The other 2 switches would learn about VLAN 10 through VTP and identify that they do not have any ports configured for that VLAN. They will then send a message (prune message) to all other switches asking them not to forward traffic destined for VLAN 10 to them as it will not be useful. If at any point these 2 switches DID have a port configured for VLAN 10, they would un prune themselves. Based on this, traffic destined for VLAN 10 would only be sent to switches that had ports configured to belong to VLAN 10. Please note, VTP does NOT send the port information to other switches, if a switch receives a prune message it would know not to forward traffic to that device for that particular VLAN, it does NOT know what the <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/">port configuration</a> is of the neighbour switch.</p>
<p> </p>
<p>In order to increase the security of the VTP information, as password can be set. Only devices that share the same password will be able to exchange information with each other. The password checking between devices is done through the use of <a href="http://www.anythingoverip.co.za/networking-101/hashing-what-is-it-and-how-does-it-work/">MD5 hashing</a>, so the password is never sent over the wire.</p>
<p> </p>
<p>Additionally, there are currently 2 versions of VTP, VTP version 2 supports the same functions and features as version 1, but also includes the following</p>
<p>-          Token Ring Support</p>
<p>-          Unrecognized Type-Length-Values (TLV)</p>
<p>-          Version-Dependent Transparent mode</p>
<p>-          Consistency Checks</p>
<p> </p>
<p>Below is the configuration breakdown used in the live demo.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# vtp mode server</strong></p>
<p>Set the mode to Server</p>
<p><strong>AOIP.ORG_Switch(config)# vtp domain AOIP</strong></p>
<p>Defines the Domain name (it is CaSeSeNsItIvE)</p>
<p><strong>AOIP.ORG_Switch(config)# vtp password aoip</strong></p>
<p>Sets the password</p>
<p><strong>AOIP.ORG_Switch(config)# vtp pruning</strong></p>
<p>Turns on VTP pruning</p>
<p><strong>AOIP.ORG_Switch(config)# vtp version 2</strong></p>
<p>Changes to version to version 2 support</p>
<p><strong>AOIP.ORG_Switch(config)#exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch# show vtp status</strong></p>
<p>Shows the current configuration of VTP as well as the replication revision number as seen in the below diagram.</p>
<p> </p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-363" title="vtp" src="http://www.anythingoverip.co.za/wp-content/uploads/2009/08/vtp.jpg" alt="vtp" width="547" height="211" /></p>
<p> </p>
<p>Below is the Live Demo.</p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/vtp.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/vtp.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/' rel='bookmark' title='Permanent Link: Inter-VLAN Routing (Router on a Stick)'>Inter-VLAN Routing (Router on a Stick)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed and Duplex configuration</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/speed-and-duplex-configuration/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/speed-and-duplex-configuration/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 17:52:07 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCENT (ICND1)]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=359</guid>
		<description><![CDATA[Although the configuration of both of these functions is incredible easy, the concept behind them is somewhat important.   Duplex defines how traffic will be sent and can be related to a 2-way radio vs. A telephone. With a 2-way radio, more so when there are more than 2 people on the same radio frequency, [...]]]></description>
			<content:encoded><![CDATA[<p>Although the configuration of both of these functions is incredible easy, the concept behind them is somewhat important.</p>
<p> </p>
<p>Duplex defines how traffic will be sent and can be related to a 2-way radio vs. A telephone.</p>
<p>With a 2-way radio, more so when there are more than 2 people on the same radio frequency, only 1 person may speak at the same time. If 2 people were to push the PTT (push to talk) button at the same time, they would hear a squelch. Both people would hear the squelch, release the PTT button and try again at a random time interval. Hopefully only 1 person would press the button this time and would be able to speak on the radio frequency, of course if both people pressed the button at the same time again, they would have to repeat the procedure until they managed to be the only person communicating.</p>
<p> </p>
<p>In terms of Duplex, a 2-way radio would be the same as ‘Half-Duplex’ were only 1 person may communicate at the same time, if computers tried to talk at the same time, they would have a ‘collision’. Like the people, the 2 computers notice the collision and wait a random time frame before transmitting the packet again.</p>
<p> </p>
<p>Full duplex on the other hand is like a telephone. Both parties in a telephone call can talk at the same time. Granted most humans cannot hear and talk at the same time on the phone, but the telephone is able to transmit both flows of traffic from both sides of the telephone line at the same time. If 2 computers wished to send data to each other, and full duplex was available, they would be able to transmit and receive at the same time.</p>
<p> </p>
<p><strong>NOTE:</strong> A hub can ONLY run at half-duplex. It is not possible for a hub to run at full duplex. A Switch however can be configured for either.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# show interface f0/7</strong></p>
<p>In the live demo below you will notice I have highlighted the current status of the interface (Auto-duplex, Auto-speed)</p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# interface fastethernet 0/7</strong></p>
<p>Enter the interface you wish to configure</p>
<p><strong>AOIP.ORG_Switch(config-if)# duplex full</strong></p>
<p>Set the Duplex to Full, Half or Auto. Auto doesn’t always end up with the best result, so forcing the duplex to the correct value to recommended</p>
<p><strong>AOIP.ORG_Switch(config-if)# speed 100</strong></p>
<p><strong>Set the speed of the interface. Depending on the interface will depend on the possible options. Ethernet can only be set at 10Mbps, FastEthernet can be set at either 10Mbps or 100Mbps, and GigabitEthernet can be set to 10/100/1000 mbps</strong></p>
<p><strong>AOIP.ORG_Switch(config-if)# no shut</strong></p>
<p>Activate the interface</p>
<p><strong>AOIP.ORG_Switch(config-if)# do show interface f0/7</strong></p>
<p>Confirm the new setting have taken effect.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/duplex-speed.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/duplex-speed.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an IP address and Default-Gateway on a Cisco Switch'>Configuring an IP address and Default-Gateway on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Port Security on a Cisco Switch'>Port Security on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/speed-and-duplex-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Concept and Configuring VLAN&#8217;S</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 13:09:15 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=355</guid>
		<description><![CDATA[A VLAN is a Virtual LAN which allows us to logically separate computers on our network.   In previous years, an office would have a physical switch or hub in each office, and offices were structured around the job function. In other words, all sales people would be in the same office and would all [...]]]></description>
			<content:encoded><![CDATA[<p>A VLAN is a Virtual LAN which allows us to logically separate computers on our network.</p>
<p> </p>
<p>In previous years, an office would have a physical switch or hub in each office, and offices were structured around the job function. In other words, all sales people would be in the same office and would all be connected to the same switch or hub. This allowed for physical association of devices in our networks. In today’s networks people are often spread across multiple offices but we still want to have them separated from a logical point of view.</p>
<p> </p>
<p>One reason we want to separate machines logically is to implement access controls. If I don’t want to allow sales people to share and copy files with the marketing people then I would need to implement an ACL (<a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">Access Control List</a>) that would deny the traffic. This is easy to achieve if the sales and marketing people are in separate <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">subnets</a> and logically separated from each other. VLAN’s give us this exact option. If you computer has been plugged into a port that is configured in VLAN 10, you are only able to communicate with people in VLAN 10. In order for you to communicate with a different VLAN you traffic MUST go through a router (multi-layer switches have built in routers) and hence the router would be able to run <a href="http://www.anythingoverip.co.za/networking-101/introduction-to-acls-access-control-list/">Access lists </a>to allow or deny the traffic.</p>
<p> </p>
<p>Another reason for separating the traffic is to isolate broadcasts. Routers do not forward broadcast messages, so any broadcasts that take place on VLAN 10 would remain in VLAN 10.</p>
<p> </p>
<p>Another important thing to remember about VLAN’S is:</p>
<p>A VLAN is equal to a <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">Subnet</a>. This means that if I have 2 VLANS, I have at least 2 subnets. I can have more than 1 subnet in a single VLAN, but I cannot have 1 subnet in multiple VLANS.</p>
<p> </p>
<p>Below is the configuration to configure a VLAN. To see how to configure a port to belong to a VLAN see the article <a href="http://www.anythingoverip.co.za/cisco-course-concepts/ccna/configuring-an-access-port-on-a-cisco-switch/">Configuring an Access port on a Cisco switch</a></p>
<p> </p>
<p><strong>AOIP.ORG# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config)# vlan 2</strong></p>
<p>This creates VLAN 2</p>
<p><strong>AOIP.ORG(config-vlan)# name sales</strong></p>
<p>In order to make your life easier to troubleshoot, naming the VLAN is a good idea. In this case ‘sales’ is the name of our vlan</p>
<p><strong>AOIP.ORG(config-vlan)#exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config-vlan)# vlan 3</strong></p>
<p>This creates VLAN 2</p>
<p><strong>AOIP.ORG(config-vlan)# name marketing</strong></p>
<p>Naming VLAN 3 &#8211; marketing</p>
<p><strong>AOIP.ORG(config-vlan)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG(config)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG# show vlan</strong></p>
<p>You will now be able to see which VLAN’s have been created on your device and which ports have been allocated to them.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/creating-vlans.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/creating-vlans.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/' rel='bookmark' title='Permanent Link: Inter-VLAN Routing (Router on a Stick)'>Inter-VLAN Routing (Router on a Stick)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/vtp-vlan-trunking-protocol/' rel='bookmark' title='Permanent Link: VTP (VLAN Trunking Protocol)'>VTP (VLAN Trunking Protocol)</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Port Security on a Cisco Switch</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 06:00:24 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCENT (ICND1)]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[IINS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SND]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=352</guid>
		<description><![CDATA[In order to control what machines are plugged into your network, Cisco introduced the “switchport port-security” command.   In this tutorial I’m going to explain how to use this command, and different options available using it.   Below is the breakdown of the commands I used in the live demo, and an explanation of each. [...]]]></description>
			<content:encoded><![CDATA[<p>In order to control what machines are plugged into your network, Cisco introduced the “<strong>switchport port-security</strong>” command.</p>
<p> </p>
<p>In this tutorial I’m going to explain how to use this command, and different options available using it.</p>
<p> </p>
<p>Below is the breakdown of the commands I used in the live demo, and an explanation of each.</p>
<p> </p>
<p> </p>
<p><strong>AOIP.ORG_Switch# terminal monitor</strong></p>
<p>Since I was connected to my switch via telnet, and I knew there were going to be messages from the switch, I needed to configure Terminal Monitor so I would have these messages sent to my telnet session. By default when connected to a Cisco device via telnet or ssh, no messages will be displayed to your terminal.</p>
<p><strong>AOIP.ORG_Switch(config)# interface fa0/6</strong></p>
<p>Enter the interface that I wish to configure the port security on</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport mode access</strong></p>
<p>In order for port security to be used, the port MUST be an <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/">access port</a>, this command defines that</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport port-security</strong></p>
<p>This enables the port security feature, and allows me to define the commands below.</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport port-security maximum 1</strong></p>
<p>I have chosen to only allow 1 mac-address to be learned on this port. At any point if more than 1 mac address was to be discovered, the violation action I define will come into effect.</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport port-security mac-address aaaa.bbbb.cccc</strong></p>
<p>I have further secured the switch port by defining what mac address is allowed to be learned on this port. If a machine is plugged into this port that does NOT have this mac-address, the violation action will take effect.</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport port-security violation shutdown</strong></p>
<p>I have 3 choices when defining the violation action</p>
<p>                1/ protect – The switch will drop packets until the violation has been removed</p>
<p>                2/ restrict – This is the same as protect, however it also causes the Security/Violation counter to increment</p>
<p>                3/ shutdown – This will put the interface into a error-disabled state and send an SNMP trap notification</p>
<p>I have chosen the more harsh of the options, and the port will be shut if any of my conditions (more than 1 mac address is learned on the port, and if that one mac address is not aaaa.bbbb.cccc)</p>
<p><strong>AOIP.ORG_Switch(config-if)# exit</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG_Switch# show port-security interface f 0/6</strong></p>
<p>The first time I ran this command in the live demo, you will notice the configuration on the port that I had just made, however there are no violations recorded. Shortly afterwards, I plugged a device into port f0/6 that DID NOT have the mac address aaaa.bbbb.cccc which caused a violation. You will notice I received error messages on screen (thanks to term mon), and when I run the show port-security command again, you will notice the violation count has incremented.</p>
<p> </p>
<p>Additional commands I could have used are.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport port-security aging time 5</strong></p>
<p>If you have configured the switch to allow 5 mac addresses to be learned dynamically, those addresses will be kept in the database until the aging time has expired. This command will set the aging time to 5 minutes, which overrides my switches default value of 20 minutes.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch(config-if)# no switchport port-security aging</strong></p>
<p>This will DISABLE the aging time.</p>
<p> </p>
<p> </p>
<p>In order to activate a port that has been put into ‘error-disabled’ state. Shut the port, and no shut it afterwards. If the violation has not been removed, the port will revert back to error-disabled.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/port-security.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/port-security.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an IP address and Default-Gateway on a Cisco Switch'>Configuring an IP address and Default-Gateway on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring a Trunk port on a Cisco Switch</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 12:20:29 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=349</guid>
		<description><![CDATA[Once VLANS have been defined on a switch and you have placed ports into their corresponding VLANS, traffic is limited to remain inside it’s Virtual LAN. The only way for traffic to leave the switch, is to have it sent on a port that is in the same VLAN as its source, or sent over [...]]]></description>
			<content:encoded><![CDATA[<p>Once <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLANS</a> have been defined on a switch and you have placed ports into their corresponding VLANS, traffic is limited to remain inside it’s Virtual LAN. The only way for traffic to leave the switch, is to have it sent on a port that is in the same VLAN as its source, or sent over a Trunk port.</p>
<p> </p>
<p>A Trunk port is a port that has been configured to send and receive traffic from ANY and ALL VLANS.</p>
<p> </p>
<p>In order to send traffic over a trunk port, the original information about the VLAN needs to be maintained. Since multiple VLANS will be sent over a single cable / port, the next switch or router would not be able to identify which VLAN it needs to belong to without some type of identification process.</p>
<p> </p>
<p>There are currently 2 supported methods on Cisco switches and routers for maintaining the VLAN information over a trunk.</p>
<p>1/ 802.1Q – Otherwise known as ‘dot1q’</p>
<p>2/ ISL – Inter-Switch Link (Cisco proprietary protocol)</p>
<p> </p>
<p>Below is the minimum configuration required for configuring a trunk port. Please note, the same would need to be done on the switch on the other end of the cable as well.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# interface g 0/1</strong></p>
<p>Enter the interface mode</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport trunk encapsulation dot1q</strong></p>
<p>Define the trunking protocol as dot1q or isl</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport mode trunk</strong></p>
<p>Force the mode of the port to be a trunk port</p>
<p><strong>AOIP.ORG_Switch(config-if)# no shut</strong></p>
<p>Activate the interface</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/dot1q_trunk.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/dot1q_trunk.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Port Security on a Cisco Switch'>Port Security on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/inter-vlan-routing-router-on-a-stick/' rel='bookmark' title='Permanent Link: Inter-VLAN Routing (Router on a Stick)'>Inter-VLAN Routing (Router on a Stick)</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring an Access port on a Cisco switch</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 09:40:13 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[VLANS]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=346</guid>
		<description><![CDATA[Almost 100% of Cisco switches will have a 50 second delay on a port before it goes live. What this means, is that when you plug a new device into a switch such as a PC, there will be a 50 second delay before the port will become active and the PC will be able [...]]]></description>
			<content:encoded><![CDATA[<p>Almost 100% of Cisco switches will have a 50 second delay on a port before it goes live. What this means, is that when you plug a new device into a switch such as a PC, there will be a 50 second delay before the port will become active and the PC will be able to send and receive data. This is due to the fact the switch is running through the spanning tree process and trying to confirm that you have not just caused a loop on the network by plugging in the new device.</p>
<p> </p>
<p>If you are certain that you will not be causing loops on your network by plugging certain types of devices into your switch, you can force the switch to go live immediately, rather than waiting the 50 second default value.</p>
<p> </p>
<p>Firstly, the command we will use to allow this is “<strong>spanning-tree portfast</strong>”, which can only be configured on a port that is NOT acting as a <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/">trunk</a>. So before configuring portfast we need to insure our port is configured as an access port.</p>
<p> </p>
<p>When configuring a port as an access port you also want to define which <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> (Virtual LAN) the port belongs to.</p>
<p> </p>
<p>Here is the breakdown of the configuration required.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# interface fastethernet 0/10</strong></p>
<p>Enter the interface you wish to configure</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport mode access</strong></p>
<p>Configure the port as an access port</p>
<p><strong>AOIP.ORG_Switch(config-if)# switchport access vlan 10</strong></p>
<p>Define the access port to belong to vlan 10</p>
<p><strong>AOIP.ORG_Switch(config-if)# spanning-tree portfast</strong></p>
<p>This configures portfast and will allow the port to go live immediately when something is plugged in.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/vlan_portfast.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/vlan_portfast.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an IP address and Default-Gateway on a Cisco Switch'>Configuring an IP address and Default-Gateway on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Port Security on a Cisco Switch'>Port Security on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring an IP address and Default-Gateway on a Cisco Switch</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 06:00:55 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[CCENT (ICND1)]]></category>
		<category><![CDATA[CCNA (ICND2)]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[IP Addresses]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=343</guid>
		<description><![CDATA[The configuration of an IP address on a switch is slightly different from a router. On a router we configure the IP address on the physical interface, however on a switch the physical interfaces are running at Layer 2 and hence don’t have IP addresses configured on them.   Even though a switch does not [...]]]></description>
			<content:encoded><![CDATA[<p>The configuration of an <a href="http://www.anythingoverip.co.za/networking-101/what-is-an-ip-address/">IP address </a>on a switch is slightly different from a router.</p>
<p>On a router we configure the IP address on the physical interface, however on a switch the physical interfaces are running at Layer 2 and hence don’t have IP addresses configured on them.</p>
<p> </p>
<p>Even though a switch does not need an IP address to be able to switch packets, in order for you to connect to the switch via <a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-vty-access/">telnet</a> or <a href="http://www.anythingoverip.co.za/tutorials/course-content/snd/configuring-ssh-secure-shell-on-a-cisco-device/">SSH</a> you need to have a management IP address configured. Similarly, if you are connecting to the switch from a different subnet, the switch will require a default-gateway in order to have the packets routed back to you.</p>
<p> </p>
<p>Since the IP address is not bound to any physical interface on the switch, we need to bind it to a logical interface. On a switch the logical interface is known as a ‘vlan interface’ (<a href="http://www.anythingoverip.co.za/tutorials/course-content/ccna/concept-and-configuring-vlans/">VLAN</a> – Virtual LAN). This is similar to a loopback interface found on a Cisco router.</p>
<p> </p>
<p>Here is the breakdown of the commands used in the live demo below.</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p> </p>
<p><strong>AOIP.ORG_Switch(config)# interface vlan 1</strong></p>
<p>This enters the logical interface ‘vlan 1’. Vlan 1 is the native vlan and used for management purposes.</p>
<p><strong>AOIP.ORG_Switch(config-if)# ip address 192.168.1.11 255.255.255.0</strong></p>
<p>Assigns the ip address 192.168.1.11 to the interface</p>
<p><strong>AOIP.ORG_Switch(config-if)# no shut</strong></p>
<p>Activates the interface</p>
<p><strong>AOIP.ORG_Switch(config-if)# exit</strong></p>
<p> </p>
<p><strong>AOIP.ORG_Switch(config)# ip default-gateway 192.168.1.1</strong></p>
<p>Defines a default-gateway for this switch.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/ip_and_default_gateway_switch.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/ip_and_default_gateway_switch.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Port Security on a Cisco Switch'>Port Security on a Cisco Switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-ip-address-and-default-gateway-on-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring SPAN on a Cisco Switch</title>
		<link>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/configuring-span-on-a-cisco-switch/</link>
		<comments>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/configuring-span-on-a-cisco-switch/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 11:33:00 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[BCMSN]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Live Demos]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.anythingoverip.co.za/?p=339</guid>
		<description><![CDATA[SPAN (Switched Port Analyser) is a requirement whenever you have a system that wishes to log and monitor traffic that is passing through a switch. Since a switch only sends traffic to the machine requiring the packets, adding a sniffer to the switch would result in you only seeing traffic to your sniffer, from your [...]]]></description>
			<content:encoded><![CDATA[<p>SPAN (Switched Port Analyser) is a requirement whenever you have a system that wishes to log and monitor traffic that is passing through a switch. Since a switch only sends traffic to the machine requiring the packets, adding a sniffer to the switch would result in you only seeing traffic to your sniffer, from your sniffer, broadcast and multicast traffic.</p>
<p> </p>
<p>In order for us to have any type of sniffing function (IPS, IDS, Wireshark etc), we must configure the switch to send traffic to the port you have plugged your sniffer into.</p>
<p> </p>
<p>In the live demo below I have configured my switch to send any and all traffic going to, or coming from FastEthernet ports 0/1 – 0/ 10 to my sniffer which is plugged in on FastEthernet 0/15.</p>
<p> </p>
<p>Here is the breakdown of the commands</p>
<p> </p>
<p><strong>AOIP.ORG_Switch# conf t</strong></p>
<p><strong> </strong></p>
<p><strong>AOIP.ORG_Switch(config)# monitor session 1 source interface fastethernet 0/1 – 10 both</strong></p>
<p>This defines the source ports, and the direction of traffic I want to monitor. The session number ‘1’ must be referenced in my next statement</p>
<p><strong>AOIP.ORG_Switch(config)# monitor session 1 destination interface fastethernet 0/15</strong></p>
<p>This defines the destination port I wish to have a copy of the traffic sent to, and links this to the session number used to define the source ports.</p>
<p> </p>
<p><object type="application/x-shockwave-flash" style="width:630px;height:250px" data="http://www.anythingoverip.co.za/Live_Demos/span.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://www.anythingoverip.co.za/Live_Demos/span.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		</p>


<p>Related posts:<ol><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-a-trunk-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring a Trunk port on a Cisco Switch'>Configuring a Trunk port on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/port-security-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Port Security on a Cisco Switch'>Port Security on a Cisco Switch</a></li><li><a href='http://www.anythingoverip.co.za/tutorials/course-content/ccna/configuring-an-access-port-on-a-cisco-switch/' rel='bookmark' title='Permanent Link: Configuring an Access port on a Cisco switch'>Configuring an Access port on a Cisco switch</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.anythingoverip.co.za/tutorials/course-content/bcmsn/configuring-span-on-a-cisco-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

