<?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>jklogic.net &#187; IOS</title>
	<atom:link href="http://jklogic.net/tag/ios/feed/" rel="self" type="application/rss+xml" />
	<link>http://jklogic.net</link>
	<description>logical reality</description>
	<lastBuildDate>Tue, 07 Oct 2008 19:43:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco IOS to CatOS Etherchannel Configuration</title>
		<link>http://jklogic.net/cisco-ios-to-catos-etherchannel-configuration/</link>
		<comments>http://jklogic.net/cisco-ios-to-catos-etherchannel-configuration/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 19:02:43 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[CatOS]]></category>
		<category><![CDATA[Etherchannel]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://jklogic.net/cisco-ios-to-catos-etherchannel-configuration/</guid>
		<description><![CDATA[Here are the relevant parts of the configuration to setup an etherchannel between an IOS device and a CatOS device.  First lets start with the CatOS device, in this case a 6509.  We will be using ports 3/9 and 3/10.
We first need to set the ports we want to use to be a [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the relevant parts of the configuration to setup an etherchannel between an IOS device and a CatOS device.  First lets start with the CatOS device, in this case a 6509.  We will be using ports 3/9 and 3/10.</p>
<p>We first need to set the ports we want to use to be a trunk.  Here we are forcing dot1q.</p>
<div class="code">6509#set trunk 3/1-2 nonegotiate dot1q</div>
<p>Now we need to setup the port channels.  These channels will be used as 1 and aggregate bandwidth between them.</p>
<div class="code">6509#set port channel 3/9-10</div>
<p>Note: There is an option at the end of this command to specify the admin group.  This is how the CatOS groups the ports.  If you do not specify the admin group, the CatOS will automatically assign one.  This is something to watch out for if you set each port separately.</p>
<p><span id="more-17"></span></p>
<p>Now, turn the port channel on.</p>
<div class="code">6509#set port channel 3/9-10 mode on</div>
<p>That is it for the CatOS.  The config for the IOS is quite a bit different.  First, create a port channel interface and make it a trunk.</p>
<div class="code">3750(config)#interface port-channel 1<br />
3750(config-if)#switchport trunk encapsulation dot1q<br />
3750(config-if)#switchport mode trunk</div>
<p>Assign ports to the port channel group.</p>
<div class="code">3750(config)#interface GigabitEthernet1/0/1<br />
3750(config-if)#channel-group 1 mode on<br />
3750(config-if)#interface GigabitEthernet1/0/2<br />
3750(config-if)#channel-group 1 mode on </div>
<p>Just connect the ports and everything should come up.  To check on the CatOS.</p>
<div class="code">6509#show port channel<br />
Port  Status     Channel              Admin Ch  Mode                 Group Id<br />
&#8212;&#8211; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8211; &#8212;&#8211;<br />
3/9  connected  on                     746  1734<br />
3/10 connected  on                     746  1734</p>
<p>Port  Device-ID                       Port-ID                   Platform<br />
&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
3/9  3750                                GigabitEthernet1/0/1      cisco WS-C3750-48P<br />
3/10 3750                                GigabitEthernet1/0/2      cisco WS-C3750-48P</p>
</div>
<p>Here, both ports 3/9 and 3/10 show as connected and on the same admin channel.</p>
<p>And for the IOS.</p>
<div class="code">3750#show etherchannel summary<br />
Flags:  D &#8211; down        P &#8211; in port-channel<br />
I &#8211; stand-alone s &#8211; suspended<br />
H &#8211; Hot-standby (LACP only)<br />
R &#8211; Layer3      S &#8211; Layer2<br />
U &#8211; in use      f &#8211; failed to allocate aggregator<br />
u &#8211; unsuitable for bundling<br />
w &#8211; waiting to be aggregated<br />
d &#8211; default port</p>
<p>Number of channel-groups in use: 1<br />
Number of aggregators:           1</p>
<p>Group  Port-channel  Protocol    Ports<br />
&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1      Po1(SU)          &#8211;        Gi1/0/1(P)  Gi2/0/1(P)
</p></div>
<p>The last line is the important one.  Notice that is shows both ports are in port channel 1.</p>
<p>To configure and IOS to IOS etherchannel, just repeat the exact steps for the IOS on the second switch.<br />
That&#8217;s all there is to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jklogic.net/cisco-ios-to-catos-etherchannel-configuration/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Adding a Cisco switch to a VTP domain</title>
		<link>http://jklogic.net/adding-a-cisco-switch-to-a-vtp-domain/</link>
		<comments>http://jklogic.net/adding-a-cisco-switch-to-a-vtp-domain/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 05:09:27 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://jklogic.net/adding-a-cisco-switch-to-a-vtp-domain/</guid>
		<description><![CDATA[Adding a switch to a VTP domain is fairly easy to do, but done incorrectly, can bring down a whole network.  Fortunatly I have not had this happen to me, but I have heard horror stories.  There are a few simple steps to take to make sure everything stays running smoothly.
The very first [...]]]></description>
			<content:encoded><![CDATA[<p>Adding a switch to a VTP domain is fairly easy to do, but done incorrectly, can bring down a whole network.  Fortunatly I have not had this happen to me, but I have heard horror stories.  There are a few simple steps to take to make sure everything stays running smoothly.</p>
<p>The very first step to complete as soon as you are ready to put a new switch on a network and join it to the domain, is to make sure that the vtp mode is set to transparent.  Setting the mode to transparent ensures that the &#8220;Configuration Revision&#8221; is set to 0.  If the switch has been used in a lab and has vlans configured and a configuration revision that is higher than the domain server, even if the switch being added is in client mode, it will overwrite the server and propagate all of it&#8217;s vlans across the network.</p>
<p><span id="more-13"></span><br />
This is directly taken from Cisco&#8217;s website:</p>
<blockquote><p>A recently added switch can cause problems in the network. It can be a 	 switch that was previously used in the lab, and a good VTP domain name was entered. The switch was configured as a VTP client and was connected to the rest of the network. Then, you brought the trunk link up to the rest of the network. In just a few seconds, the whole network can go down.</p>
<p>If the configuration revision number of the switch that you inserted is higher than the configuration revision number of the VTP domain, it propagates its VLAN database through the VTP domain.</p>
<p>This occurs whether the switch is a VTP client or a VTP server. A VTP client can erase VLAN information on a VTP server. You can tell this has 	 occurred when many of the ports in your network go into the Inactive state but continue to assign to a nonexistent VLAN.</p></blockquote>
<p>To make sure this does not happen, before you connect the switch to the network, make sure to set the vtp mode to transparent.</p>
<div class="code">C3750-Client(config)#vtp mode transparent<br />
C3750-Client(config)#exit<br />
C3750-Client#show vtp status<br />
C3750-Client#sh vtp status<br />
VTP Version                               : 2<br />
Configuration Revision                  : 0<br />
Maximum VLANs supported locally  : 1005<br />
Number of existing VLANs             : 7<br />
VTP Operating Mode                    : Transparent<br />
VTP Domain Name                       :<br />
VTP Pruning Mode                       : Disabled<br />
VTP V2 Mode                             : Disabled<br />
VTP Traps Generation                  : Disabled<br />
MD5 digest                                : 0&#215;18 0&#215;17 0xE9 0&#215;22 0&#215;49 0&#215;96 0&#215;0C 0&#215;7E<br />
Configuration last modified by 10.10.10.20 at 3-1-93 00:03:25</div>
<p>Now that this switch won&#8217;t overwrite the server, configure the vtp domain and password, and then change the mode to client.</p>
<div class="code">C3750-Client(config)#vtp domain Test<br />
Changing VTP domain name from NULL to Test<br />
C3750-Client(config)#vtp password Testpassword<br />
C3750-Client(config)#vtp mode client<br />
Setting device to VTP CLIENT mode</div>
<p>Show the vtp status to confirm.</p>
<div class="code">C3750-Client#show vtp status<br />
VTP Version                               : 2<br />
Configuration Revision                  : 62<br />
Maximum VLANs supported locally   : 1005<br />
Number of existing VLANs             : 38<br />
VTP Operating Mode                    : Client<br />
VTP Domain Name                       : Test<br />
VTP Pruning Mode                       : Enabled<br />
VTP V2 Mode                             : Enabled<br />
VTP Traps Generation                  : Disabled<br />
MD5 digest                                : 0xCD 0&#215;9D 0xFF 0xC3 0&#215;6F 0&#215;63 0&#215;5F 0xF5<br />
Configuration last modified by 10.10.10.2 at 10-16-07 22:16:43</div>
<p>And then a show vlan and check the output to make sure all the vlans have propagated.</p>
<div class="code">C3750-Client#show vlan</div>
<p>The only rule you really need when adding switches is to make sure the switch is in <strong>TRANSPARENT</strong> mode first.</p>
]]></content:encoded>
			<wfw:commentRss>http://jklogic.net/adding-a-cisco-switch-to-a-vtp-domain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring a VTP domain on Cisco switches</title>
		<link>http://jklogic.net/configuring-a-vtp-domain-on-cisco-switches/</link>
		<comments>http://jklogic.net/configuring-a-vtp-domain-on-cisco-switches/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 04:45:00 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://jklogic.net/12/</guid>
		<description><![CDATA[VTP domains allow you to manage all of your vlans from a central switch.  This can be a great tool if you are dealing with a large number of vlans spread out over multiple switches.  There are a couple of issues that you must be careful of when you implement a vtp domain, [...]]]></description>
			<content:encoded><![CDATA[<p>VTP domains allow you to manage all of your vlans from a central switch.<span>  </span>This can be a great tool if you are dealing with a large number of vlans spread out over multiple switches.<span>  </span>There are a couple of issues that you must be careful of when you implement a vtp domain, which I will go over shortly.</p>
<p class="MsoNormal">The first requirement is to make sure that your trunks between switches are up and working.</p>
<p class="MsoNormal"><span id="more-12"></span></p>
<div class="code">C3750-Payment#show interface trunk</div>
<p class="MsoNormal">And the output should look something like:</p>
<div class="code">C3750-Payment#sh int trunk<br />
Port        Mode         Encapsulation  Status        Native vlan<br />
Fa2/0/48    on           802.1q         trunking      1</p>
<p>Port        Vlans allowed on trunk<br />
Fa2/0/48    1-4094</p>
<p>Port        Vlans allowed and active in management domain<br />
Fa2/0/48    1-2,4,6,8,10,12,16-37,102-103,256-258</p>
<p>Port        Vlans in spanning tree forwarding state and not pruned<br />
Fa2/0/48    1-2,4,6,8,10,12,16-37,102-103,256-258</p></div>
<p class="MsoNormal">If there are not any ports listed as a trunk, that needs to be fixed before proceeding.  Now that we know the switches are communicating, we can proceed to look at the current vtp configuration.</p>
<div class="code">C3750-Payment#show vtp status</div>
<p class="MsoNormal">And you should get:</p>
<div class="code">C3750-Payment#sh vtp status<br />
VTP Version                               : 2<br />
Configuration Revision                  : 0<br />
Maximum VLANs supported locally  : 1005<br />
Number of existing VLANs             : 7<br />
VTP Operating Mode                    : Transparent<br />
VTP Domain Name                       :<br />
VTP Pruning Mode                       : Disabled<br />
VTP V2 Mode                             : Disabled<br />
VTP Traps Generation                  : Disabled<br />
MD5 digest                                : 0&#215;18 0&#215;17 0xE9 0&#215;22 0&#215;49 0&#215;96 0&#215;0C 0&#215;7E<br />
Configuration last modified by 10.10.10.20 at 3-1-93 00:03:25</div>
<p class="MsoNormal">If the VTP Operating Mode is not &#8220;Transparent&#8221; on all of the switches, it needs to be set to transparent to prevent problems later.</p>
<div class="code">C3750-Payment(config)#vpt mode transparent</div>
<p class="MsoNormal">This will reset the Configuration Revision to 0.  It is very important that all switches have the configuration revision reset!</p>
<p class="MsoNormal">Now, on the switch that you want to be the vtp server; set the domain, password, and then change it to server mode.</p>
<div class="code">C3750-Payment(config)#vtp domain Test<br />
VTP domain Test modified<br />
C3750-Payment(config)#vtp password Testpassword<br />
C3750-Payment(config)#vtp mode server<br />
Setting the device to VTP SERVER mode</div>
<p class="MsoNormal">Make sure all of the vlans that you need are on this switch.  Once they are, setup the other switches as clients.</p>
<div class="code">C3750-Client(config)#vtp domain Test<br />
Changing VTP domain name from NULL to Test<br />
C3750-Client(config)#vtp password Testpassword<br />
C3750-Client(config)#vtp mode client<br />
Setting device to VTP CLIENT mode</div>
<p class="MsoNormal">Check the VTP status on the client to confirm the vtp status has changed and the vlans have been configured.</p>
<div class="code">C3750-Client#show vtp status<br />
VTP Version                               : 2<br />
Configuration Revision                  : 62<br />
Maximum VLANs supported locally   : 1005<br />
Number of existing VLANs             : 38<br />
VTP Operating Mode                    : Client<br />
VTP Domain Name                       : Test<br />
VTP Pruning Mode                       : Enabled<br />
VTP V2 Mode                             : Enabled<br />
VTP Traps Generation                  : Disabled<br />
MD5 digest                                : 0xCD 0&#215;9D 0xFF 0xC3 0&#215;6F 0&#215;63 0&#215;5F 0xF5<br />
Configuration last modified by 10.10.10.2 at 10-16-07 22:16:43</div>
<div class="code">C3750-Client#show vlan</div>
<p class="MsoNormal">Everything is now configured.  Vlan additions can now be made on the switch that is in server mode and they will be propagated down to all of the clients.</p>
<p class="MsoNormal">Adding a switch to an already established vtp domain is basically the same, just make sure to set the switch to transparent mode first.  For more details, check <a href="http://jklogic.net/adding-a-cisco-switch-to-a-vtp-domain/" title="Adding a Cisco switch to a vtp domain">Adding a Cisco switch to a vtp domain</a>.</p>
<p class="MsoNormal">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jklogic.net/configuring-a-vtp-domain-on-cisco-switches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOS DST Changes Workaround</title>
		<link>http://jklogic.net/ios-dst-changes-workaround/</link>
		<comments>http://jklogic.net/ios-dst-changes-workaround/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 14:43:18 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://jklogic.net/ios-dst-changes-workaround/</guid>
		<description><![CDATA[As we all know, 2007 brings a change to the daylight savings time rules.  DST  will now start on the second Sunday in March and continue until the first Sunday  in November.  Unfortunatley, using NTP does not resolve this issue because NTP  does not carry time zone or summertime information. [...]]]></description>
			<content:encoded><![CDATA[<p id="NewsPostDetailContent">As we all know, 2007 brings a change to the daylight savings time rules.  DST  will now start on the second Sunday in March and continue until the first Sunday  in November.  Unfortunatley, using NTP does not resolve this issue because NTP  does not carry time zone or summertime information. So to facilitate this  change, and to make sure times on network devices remain correct, changes have  to be made.  On a Cisco device with IOS, there are 2 ways to do this.  The first  one is to download the patch from Cisco and upgrade the OS. This can be a pain,  but there is a simpler way to accomplish this, the clock summer-time  command.</p>
<p>&nbsp;</p>
<p>Log into the IOS device and enable.
<p>&nbsp;</p>
<p><span id="more-6"></span></p>
<div class="code">IOSDevice# config t<br />
IOSDevice(config)# clock summer-time CDT recurring 2  Sunday March 02:00 1 Sunday November 02:00 60<br />
IOSDevice(config)#  exit
</div>
<p>Check the results.</p>
<div class="code"> IOSDevice# sh clock detail
</div>
<p>Output:</p>
<div class="code">IOSDevice# sh clock detail<br />
12:57:35.142 CST Thu Feb 22  2007<br />
Time source is NTP<br />
Summer time starts 02:00:00 CST Sun Mar 11  2007<br />
Summer time ends 02:00:00 CDT Sun Nov 4 2007
</div>
<p>Now everything is ready for the DST change!
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jklogic.net/ios-dst-changes-workaround/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
