<?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/"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>

<channel>
	<title>The Lodge &#187; switches</title>
	<atom:link href="http://lodge.glasgownet.com/tag/switches/feed/" rel="self" type="application/rss+xml" />
	<link>http://lodge.glasgownet.com</link>
	<description>The life and times of a saggy cloth cat</description>
	<lastBuildDate>Thu, 02 Sep 2010 19:06:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>4500G Clustering</title>
		<link>http://lodge.glasgownet.com/2009/12/09/4500g-clustering/</link>
		<comments>http://lodge.glasgownet.com/2009/12/09/4500g-clustering/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:31:56 +0000</pubDate>
		<dc:creator>Kyle Gordon</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[switches]]></category>

		<guid isPermaLink="false">http://lodge.glasgownet.com/?p=501</guid>
		<description><![CDATA[Recently we&#8217;ve obtained a bunch of 3Com 4500G 48 port switches, and we&#8217;d like to be able to manage them slightly more effectively instead of leaving them as dumb switches. However, rather than giving each switch an IP address, 3Com allows you to use HGMPv2 to cluster them all under one IP address. Now, this [...]]]></description>
			<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:3c1abe6afcf76052249632d3d79522480cd23832'><p><iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=thelod-21&#038;o=2&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=0M5A6TN3AXP2JHJBWT02&#038;asins=B000KIAHLE" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" align="right"></iframe>Recently we&#8217;ve obtained a bunch of 3Com 4500G 48 port switches, and we&#8217;d like to be able to manage them slightly more effectively instead of leaving them as dumb switches. However, rather than giving each switch an IP address, 3Com allows you to use HGMPv2 to cluster them all under one IP address.</p>
<p>Now, this may seem fairly trivial to those with separate management networks, but sadly we&#8217;re not in that position (yet) to have a separate management network. Even if we were to set up a new VLAN for management purposes, it wouldn&#8217;t be accessible to the rest of the network staff external to our office. So, as it stands, the cluster management switch still has to use VLAN 1 for the admin and management stuff. It can still use (and has to use) a different RFC1918 address for the internal clustering network, but that&#8217;s all transparent to us.</p>
<p>Below is a short detail of what needs done in order to build a cluster of 4500G switches&#8230;</p>
<p><strong>Enabling the electrical (Cat5) Dual combo port</strong></p>
<p>As the dual combo SFP port is shared with ports 23, 24, 47 and 48 (49, 50, 51, and 52 respectively), the relevant port must be brought up (or &#8216;undo shutdown&#8217; on its counterpart), in order to enable it.</p>
<p>[WMSWC1_0.WMSW001]system-view<br />
System View: return to User View with Ctrl+Z.<br />
[WMSWC1_0.WMSW001]interface GigabitEthernet 1/0/51<br />
[WMSWC1_0.WMSW001-GigabitEthernet1/0/51]undo shutdown<br />
[WMSWC1_0.WMSW001-GigabitEthernet1/0/51]interface GigabitEthernet 1/0/52<br />
[WMSWC1_0.WMSW001-GigabitEthernet1/0/52]undo shutdown<br />
[WMSWC1_0.WMSW001-GigabitEthernet1/0/52]quit<br />
[WMSWC1_0.WMSW001]</p>
<p>This will enable combo ports 51 and 52, and leave 47 and 48 shut down.</p>
<p><strong>Initial setup</strong></p>
<p>This is done on the switch that you want to be the management switch.</p>
<p>Globally enable Neighbour Discovery Protocol. This allows the switches to discover information about connected neighbours, such as firmware versions, mac addresses, link states, etc.<br />
<em>ndp enable</em><br />
Globall enable Neighbour Topology Discovery Protocol. This allows the switches to collect information regarding the topology of the network, connected devices, etc<br />
<em>ntdp enable</em><br />
All NDP packets have a holdtime variable set. This is how long the recieving device will store the information for. The next setting defines how long that should be.<br />
<em>ndp timer aging 200</em><br />
Next, set how often the ndp packets should be transmitted.<br />
<em>ndp timer hello 70</em><br />
The number of hops in which to collect topology information. I&#8217;ve set this to 10, as we had 9 switches that were daisy chained for a while. Far from optimal, and now in a more star like topology anyway.<br />
<em>ntdp hop 10</em><br />
Set the delays for each device, and port, respectively<br />
<em>ntdp timer hop-delay 150<br />
ntdp timer port-delay 15</em><br />
Define the period, in minutes, between topology information collections.<br />
<em>ntdp timer 3</em><br />
Enable cluster mode.<br />
<em>cluster enable</em><br />
&#8230;and switch into cluster view<br />
<em>cluster</em><br />
The cluster requires an independant RFC1918 address range to work with. This is for internal management purposes and never seen by the outside world. Apparently.<br />
<em>ip-pool 172.16.0.1 255.255.255.0</em><br />
Tell the system to build the cluster<br />
<em>build WMSWC1</em><br />
Configure the length of time to hold member information for, before deciding that the member is gone, and define how long between handshake packets<br />
<em>holdtime 100<br />
timer 10</em></p>
<p><strong>Adding a cluster member</strong></p>
<p>Just enable the following options on member devices</p>
<p><em>ndp enable<br />
ntdp enable<br />
cluster enable</em></p>
<p><strong>On management device</strong><br />
Switch into cluster view again, and add the remote device.<br />
<em>cluster<br />
add-member 3 mac-address 0022-5726-d080</em></p>
<p>Repeat the above <em>add-member</em> command for each member number (the first parameter) with the MAC address of each switch. After you&#8217;re done, all the switches except for the cluster commander should display &#8216;S&#8217; for &#8216;Slave&#8217; on their LCD display. The Cluster Commander displays a &#8216;C&#8217; instead.</p>
<p>Once everything is up and running, you can then use <em>topology accept all</em> and <em>topology save-to local-flash</em> to accept and save the current topology layout.</p>
<p>It should also be noted that there is a cluster autobuild feature, but it&#8217;s always best to at least have a rough idea of how it works <img src='http://lodge.glasgownet.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
			<wfw:commentRss>http://lodge.glasgownet.com/2009/12/09/4500g-clustering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
