<?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>BlueJacket With Silent &#187; OmniSwitch</title>
	<atom:link href="http://phpsrv.nutn.edu.tw/~silent/archives/tag/omniswitch/feed" rel="self" type="application/rss+xml" />
	<link>http://phpsrv.nutn.edu.tw/~silent</link>
	<description>資訊技術手札</description>
	<lastBuildDate>Wed, 21 Sep 2011 09:35:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://phpsrv.nutn.edu.tw/~silent/?pushpress=hub'/>
	<div id='fb-root'></div>
					<script type='text/javascript'>
						window.fbAsyncInit = function()
						{
							FB.init({appId: null, status: true, cookie: true, xfbml: true});
						};
						(function()
						{
							var e = document.createElement('script'); e.async = true;
							e.src = document.location.protocol + '//connect.facebook.net/zh_TW/all.js';
							document.getElementById('fb-root').appendChild(e);
						}());
					</script>	
						<item>
		<title>[Lab] [OS6400] OmniSwitch Loopback Detection</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/271</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/271#comments</comments>
		<pubDate>Wed, 21 Sep 2011 09:33:47 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=271</guid>
		<description><![CDATA[先前提到OS6250-24M的Loopback Detection&#8230; 現在已經可以在OS6400、OS6850&#8230;等型號實現了 &#8230;.. Firmware 為6.4.4.373.R01 設定方式與OS6250-24M相同.. 但有一點需要注意的是&#8230; 他沒有autorecovery-timer可以設定&#8230; 其實在6400以上的設備&#8230;. 有一個指令是violation-recovery 這個功能是設計成共用的方式&#8230; 比方說Netsec(for OS6850以上)、LBD(Loopback Detection)&#8230;. 當功能觸發時， 會把port shutdown &#8230; 但是你會發現&#8230;用admin up的指令會無效 那是因為他把這些異常歸類為violation 所以你如果要手動恢復&#8230;就要下 若是要等自動恢復&#8230; 可以查看恢復的時間]]></description>
			<content:encoded><![CDATA[<p>先前提到OS6250-24M的Loopback Detection&#8230;<br />
現在已經可以在OS6400、OS6850&#8230;等型號實現了 &#8230;..</p>
<p><span id="more-271"></span><br />
Firmware 為6.4.4.373.R01</p>
<p>設定方式與OS6250-24M相同..<br />
但有一點需要注意的是&#8230;<br />
他沒有autorecovery-timer可以設定&#8230;</p>
<p>其實在6400以上的設備&#8230;.<br />
有一個指令是violation-recovery<br />
這個功能是設計成共用的方式&#8230;<br />
比方說Netsec(for OS6850以上)、LBD(Loopback Detection)&#8230;.<br />
當功能觸發時，<br />
會把port shutdown &#8230;</p>
<p>但是你會發現&#8230;用admin up的指令會無效<br />
那是因為他把這些異常歸類為violation</p>
<p>所以你如果要手動恢復&#8230;就要下</p>
<pre class="brush: plain; title: ; notranslate">interface 1/1 clear-violation-all</pre>
<p>若是要等自動恢復&#8230;<br />
可以查看恢復的時間</p>
<pre class="brush: plain; title: ; notranslate">show interfaces violation-recovery</pre>
<p><a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/09/violation.png"><img class="alignnone size-medium wp-image-273" title="violation" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/09/violation-300x75.png" alt="" width="300" height="75" /></a></p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/271' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/271/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Lab] OmniSwitch DHCP Snooping 解決DHCP私設IP問題</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/244</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/244#comments</comments>
		<pubDate>Fri, 17 Jun 2011 11:03:18 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=244</guid>
		<description><![CDATA[我們時常會使用DHCP來讓user取得IP上網， 就可以免除讓user自己設定(多半都看不懂，還要去現場幫他設&#8230;) 除此之外， 有些會需要作限制流量的需求， 通常user流量爆了， 會偷偷改一個IP &#8230; 然後，又可以開心的使用網路&#8230; OmniSwitch的dhcp snooping有分兩種模式 switch-level 跟 vlan-level&#8230; switch-level顧名思義就是整個switch都啟動dhcp snooping vlan-level就是針對vlan來作dhcp snooping 但是在vlan-level時，他不支援option82&#8230; 所以各取所需囉&#8230; 以下我就用vlan-level來作說明 指令如下 首先&#8230; 第一行是針對vlan 10來啟動dhcp snooping 接下來再啟動binding的功能(後續會說明啟動這個會有什麼效果) 然後針對port 1/1 來作過濾是否為私設IP port 1/10就是你的dhcp server所接的位置囉，要設定成trust，不然server沒有辦法配IP給user binding這個功能會去比對dhcp server上的mac address mapping table 這樣可以讓他判斷，user到底是跟dhcp server要IP&#8230;還是他自己偷偷設IP 以上述的設定來說&#8230; port 1/1的user，他是無法用私設IP上網，switch會drop他的封包 其他屬於vlan 10的port則可以私設IP來上網&#8230; 這樣我們就知道ip-source-filter的功用囉 另外 有時候我們必須私設一個IP給設備使用， 但是剛好在啟動dhcp snooping的vlan裡， 這時我們可以設定一個static的binding&#8230;. 這樣這個設備就可以從port 1/1 私設192.168.10.20來上網囉 要拿掉的話就下 另外有一點很重要的是&#8230; 有時候我們常常會遇到私設IP的人&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>我們時常會使用DHCP來讓user取得IP上網，<br />
就可以免除讓user自己設定(多半都看不懂，還要去現場幫他設&#8230;)</p>
<p>除此之外，<br />
有些會需要作限制流量的需求，<br />
通常user流量爆了，<br />
會偷偷改一個IP &#8230;<br />
然後，又可以開心的使用網路&#8230;</p>
<p><span id="more-244"></span></p>
<p>OmniSwitch的dhcp snooping有分兩種模式<br />
switch-level 跟 vlan-level&#8230;<br />
switch-level顧名思義就是整個switch都啟動dhcp snooping<br />
vlan-level就是針對vlan來作dhcp snooping<br />
但是在vlan-level時，他不支援option82&#8230;<br />
所以各取所需囉&#8230;</p>
<p>以下我就用vlan-level來作說明<br />
指令如下</p>
<pre class="brush: plain; title: ; notranslate">
ip helper dhcp-snooping vlan 10
ip helper dhcp-snooping binding enable
ip helper dhcp-snooping port 1/1 ip-source-filter enable
ip helper dhcp-snooping port 1/10 trust
</pre>
<p>首先&#8230;<br />
第一行是針對vlan 10來啟動dhcp snooping<br />
接下來再啟動binding的功能(後續會說明啟動這個會有什麼效果)<br />
然後針對port 1/1 來作過濾是否為私設IP<br />
port 1/10就是你的dhcp server所接的位置囉，要設定成trust，不然server沒有辦法配IP給user</p>
<p>binding這個功能會去比對dhcp server上的mac address mapping table<br />
這樣可以讓他判斷，user到底是跟dhcp server要IP&#8230;還是他自己偷偷設IP</p>
<p>以上述的設定來說&#8230;<br />
port 1/1的user，他是無法用私設IP上網，switch會drop他的封包<br />
其他屬於vlan 10的port則可以私設IP來上網&#8230;<br />
這樣我們就知道ip-source-filter的功用囉</p>
<p>另外<br />
有時候我們必須私設一個IP給設備使用，<br />
但是剛好在啟動dhcp snooping的vlan裡，<br />
這時我們可以設定一個static的binding&#8230;.</p>
<pre class="brush: plain; title: ; notranslate">
ip helper dhcp-snooping binding ff:ff:ff:ff:ff:ff port 1/1 address 192.168.10.20 vlan 10
</pre>
<p>這樣這個設備就可以從port 1/1 私設192.168.10.20來上網囉<br />
要拿掉的話就下</p>
<pre class="brush: plain; title: ; notranslate">
no ip helper dhcp-snooping binding ff:ff:ff:ff:ff:ff port 1/1
</pre>
<p>另外有一點很重要的是&#8230;<br />
有時候我們常常會遇到私設IP的人&#8230;<br />
設定到我們正常使用的IP&#8230;<br />
當他比我們早一步連通網路時&#8230;<br />
windows就會跳出一個視窗寫說網路上有一個位址的IP跟您衝突&#8230;..<br />
一時間要抓是誰，也很困擾&#8230;<br />
若又是緊急需要上網查資料&#8230;結果不能用&#8230;還真的很想砍人&#8230;.</p>
<p>但是當有啟動binding以及ip-source-filter時，<br />
就不用擔心有人盜你的IP&#8230;<br />
就算他比你早開機&#8230;<br />
也不用擔心不能上網，跳出IP衝突的視窗了&#8230;<br />
是不是很棒呢&#8230;</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/244' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/244/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Lab] [OS6250-24M] OmniSwitch Single Port Loopback Detection</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/228</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/228#comments</comments>
		<pubDate>Tue, 31 May 2011 07:54:29 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=228</guid>
		<description><![CDATA[以往在Switch上， 我們可以利用Spanning tree去管制port loop(此處說的是具有網管功能的Switch)， 但前提是&#8230; loop必須產生在Switch的port上 .. 但在實際的環境中， 絕大部分都是Switch底下串Hub， 而loop都是在Hub上產生&#8230; 此時Switch上的Spanning tree就毫無招架之力&#8230; 只能任由Broadcast Storm無情的肆虐著我們的網路&#8230;.&#62;.&#60;&#124;&#124;&#124; 這種情形一般都稱做Single Port Loopback&#8230; 目前知道Extreme 全系列有抑制Single Port Loopback的功能(聽說的&#8230;小弟還沒實際測過) 現在OmniSwitch也有支援這個功能了， 並且將功能放在新的OS6250 Metro Models 目前M Models有出OS6250-8M、24M 而且他的AOS不是採用OS LS 6200系列的firmware&#8230; 所以在指令上面可以統一了&#8230;. 在 Loopback Detection的部份預設是沒有啟動&#8230; 可以透過指令將他啟動 transmission-timer表示偵測幾秒後將port shutdown autorecovery-timer表示幾秒後將port恢復]]></description>
			<content:encoded><![CDATA[<p>以往在Switch上，<br />
我們可以利用Spanning tree去管制port loop(此處說的是具有網管功能的Switch)，<br />
但前提是&#8230;<br />
loop必須產生在Switch的port上 ..</p>
<p>但在實際的環境中，<br />
絕大部分都是Switch底下串Hub，<br />
而loop都是在Hub上產生&#8230;<br />
此時Switch上的Spanning tree就毫無招架之力&#8230;<br />
只能任由Broadcast Storm無情的肆虐著我們的網路&#8230;.&gt;.&lt;|||</p>
<p><span id="more-228"></span></p>
<p>這種情形一般都稱做Single Port Loopback&#8230;<br />
目前知道Extreme 全系列有抑制Single Port Loopback的功能(聽說的&#8230;小弟還沒實際測過)</p>
<p>現在OmniSwitch也有支援這個功能了，<br />
並且將功能放在新的OS6250 Metro Models</p>
<p><a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/05/OS6250-24M.jpg"><img class="alignnone size-medium wp-image-233" title="OS6250-24M" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/05/OS6250-24M-300x225.jpg" alt="" width="300" height="225" /><br />
</a>目前M Models有出OS6250-8M、24M<br />
而且他的AOS不是採用OS LS 6200系列的firmware&#8230;<br />
所以在指令上面可以統一了&#8230;.</p>
<p>在 Loopback Detection的部份預設是沒有啟動&#8230;<br />
可以透過指令將他啟動</p>
<pre class="brush: plain; title: ; notranslate">
loopback-detection enable
loopback-detection transmission-timer 5
loopback-detection autorecovery-timer 60
loopback-detection port 1/1-28 enable
</pre>
<p>transmission-timer表示偵測幾秒後將port shutdown<br />
autorecovery-timer表示幾秒後將port恢復</p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/228' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/228/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Lab] OmniSwitch Routing by RIP</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/208</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/208#comments</comments>
		<pubDate>Mon, 11 Apr 2011 06:20:44 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=208</guid>
		<description><![CDATA[這個Lab的環境是 router : OS6400 RIP v2&#8230;(Omniswitch send預設v2, receive預設both) Local route&#8230; 基本上在官方User Guide裡面有基本的設定， 但是需要注意的是route-map與redist的部份， 如果沒有設定這兩個，route是不會出現任何rip routing 如果你的環境是static route 那就要把ip redist改成static into rip route-map名稱也記得改一下，以免混淆&#8230; 以下為router設定 R1 R2 設定完後， RIP就會自動生效， 下圖為生效後的狀況 &#160;]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/04/rip.jpg"><img class="size-medium wp-image-209 aligncenter" title="rip" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/04/rip-273x300.jpg" alt="" width="273" height="300" /></a></p>
<p>這個Lab的環境是<br />
router : OS6400<br />
RIP v2&#8230;(Omniswitch send預設v2, receive預設both)<br />
Local route&#8230;<br />
<span id="more-208"></span><br />
基本上在官方User Guide裡面有基本的設定，<br />
但是需要注意的是route-map與redist的部份，<br />
如果沒有設定這兩個，route是不會出現任何rip routing</p>
<p>如果你的環境是static route<br />
那就要把ip redist改成static into rip<br />
route-map名稱也記得改一下，以免混淆&#8230;</p>
<p>以下為router設定</p>
<p>R1</p>
<pre class="brush: plain; title: ; notranslate">
vlan 1 enable name &quot;VLAN 1&quot;
vlan 2 enable name &quot;VLAN 2&quot;
vlan 2 port default 1/5

ip interface &quot;VLAN 1&quot; address 192.168.1.254 mask 255.255.255.0 vlan 1 ifindex 1
ip interface &quot;VLAN 2&quot; address 192.168.3.254 mask 255.255.255.0 vlan 2 ifindex 2

ip load rip
ip rip interface &quot;VLAN 1&quot;
ip rip interface &quot;VLAN 1&quot; status enable
ip rip status enable

ip route-map &quot;local-to-rip&quot; sequence-number 10 action permit
ip redist local into rip route-map &quot;local-to-rip&quot; status enable
</pre>
<p>R2</p>
<pre class="brush: plain; title: ; notranslate">
vlan 1 enable name &quot;VLAN 1&quot;
vlan 2 enable name &quot;VLAN 2&quot;
vlan 2 port default 1/5

ip interface &quot;VLAN 1&quot; address 192.168.1.253 mask 255.255.255.0 vlan 1 ifindex 1
ip interface &quot;VLAN 2&quot; address 192.168.2.254 mask 255.255.255.0 vlan 2 ifindex 2

ip load rip
ip rip interface &quot;VLAN 1&quot;
ip rip interface &quot;VLAN 1&quot; status enable
ip rip status enable

ip route-map &quot;local-to-rip&quot; sequence-number 10 action permit
ip redist local into rip route-map &quot;local-to-rip&quot; status enable
</pre>
<p>設定完後，<br />
RIP就會自動生效，<br />
下圖為生效後的狀況</p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/04/rip-result.jpg"><img class="size-medium wp-image-217 aligncenter" title="rip-result" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2011/04/rip-result-300x203.jpg" alt="" width="300" height="203" /></a></p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/208' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/208/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alcatel Omniswitch cacti template</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/149</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/149#comments</comments>
		<pubDate>Tue, 17 Aug 2010 14:42:32 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[MIS]]></category>
		<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=149</guid>
		<description><![CDATA[給Alcatel OmniSwitch用的template 有分多個slot跟一般的switch 以下就是多個slot的圖跟68系列的圖， 基本上&#8230;68系列都是cmm跟slot1， 66系列的是cmm跟slot8&#8230;. 就看自己的需求去調配&#8230; MultiSlot的部份基本上就是直接拉16個slot上去&#8230; 沒有接的就會呈現-nan&#8230; 所以往後有新增slot～他會自己產生數據～不需要再去調整&#8230;]]></description>
			<content:encoded><![CDATA[<p>給Alcatel OmniSwitch用的template</p>
<p>有分多個slot跟一般的switch<span id="more-149"></span></p>
<p>以下就是多個slot的圖跟68系列的圖，</p>
<p>基本上&#8230;68系列都是cmm跟slot1，<br />
66系列的是cmm跟slot8&#8230;.<br />
就看自己的需求去調配&#8230;</p>
<p>MultiSlot的部份基本上就是直接拉16個slot上去&#8230;<br />
沒有接的就會呈現-nan&#8230;<br />
所以往後有新增slot～他會自己產生數據～不需要再去調整&#8230;</p>
<p><a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2010/08/graph_image.php_.png"><img class="alignnone size-medium wp-image-151" title="OS7800" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2010/08/graph_image.php_-300x210.png" alt="" width="300" height="210" /></a></p>
<p><a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2010/08/os68.png"><img class="alignnone size-medium wp-image-157" title="os68" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2010/08/os68-300x106.png" alt="" width="300" height="106" /></a></p>
<a href="http://phpsrv.nutn.edu.tw/~silent/wp-content/plugins/download-monitor/download.php?id=4">cacti alcatel template - 18.56 kB</a> - 下載次數 146
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/149' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/149/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>自動備份Alcatel OmniSwitch設定檔</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/134</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/134#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:53:42 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=134</guid>
		<description><![CDATA[續之前自動備份FortiGate設定檔 把他改成給Alcatel OmniSwitch使用]]></description>
			<content:encoded><![CDATA[<p>續之前自動備份FortiGate設定檔<br />
把他改成給Alcatel OmniSwitch使用<br />
<span id="more-134"></span></p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
user=&quot;帳號&quot;
password=&quot;密碼&quot;
tftp_ip=&quot;tftp的主機&quot;
ac_devices=&quot;Alcatel的ip1 Alcatel的ip2&quot;
date=&quot;$(date +&quot;%Y%m%d&quot;)&quot;

for ac_device in $ac_devices ; do
  expect -c &quot;
  set timeout 10
  spawn ssh $user@$ac_device
  expect \&quot;(yes/no)\&quot; { send \&quot;yes\r\&quot;; exp_continue }
  expect \&quot;*?method:\&quot;
  set send_slow {1 0.05}
  send -s \&quot;$password\r\&quot;
  expect \&quot;*-&gt;\&quot;
  send -s \&quot;tftp $tftp_ip put source-file /flash/working/boot.cfg destination-file $date.cfg ascii\n\&quot;
  expect \&quot;*-&gt;\&quot;
  send -s \&quot;exit\n\&quot;
  interact&quot;

  mv /home/tftproot/$date.cfg /home/alcatelconfig/$ac_device/$date.cfg
done
</pre>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/134' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/134/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OmniSwitch Mobile Vlan特性解說</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/130</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/130#comments</comments>
		<pubDate>Mon, 14 Jun 2010 07:11:13 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=130</guid>
		<description><![CDATA[Mobile Vlan是屬於Alcatel Switch的一個特殊功能, 他可以解決Mutliple Gateway by Vlan 的Broadcast domain過大而造成整個domain不穩定的問題 卻又可發揮相同的功效&#8230;.也就是說不同的網段可以共用一個port上線&#8230; 但是使用上必須要注意一點&#8230;. 這個port底下最好不要有Server &#8230;. 為什麼會說不要有Server呢&#8230; 除非你Server的網段是default vlan&#8230;. 不然就會發生我們俗稱 "睡著" 的問題&#8230;. 如果閒置一段時間&#8230;這台Server會消失在Gateway的arp table表中&#8230; 這&#8230;.應該算是保護機制吧 &#8230; 要如何開啟mobile的功能呢&#8230;. 這就是啟動後的效果 如果要取消&#8230;則是]]></description>
			<content:encoded><![CDATA[<p>Mobile Vlan是屬於Alcatel Switch的一個特殊功能,</p>
<p>他可以解決Mutliple Gateway by Vlan 的Broadcast domain過大而造成整個domain不穩定的問題<br />
卻又可發揮相同的功效&#8230;.也就是說不同的網段可以共用一個port上線&#8230;<br />
<span id="more-130"></span><br />
但是使用上必須要注意一點&#8230;.<br />
這個port底下最好不要有Server &#8230;.</p>
<p>為什麼會說不要有Server呢&#8230;<br />
除非你Server的網段是default vlan&#8230;.<br />
不然就會發生我們俗稱 "睡著" 的問題&#8230;.</p>
<p>如果閒置一段時間&#8230;這台Server會消失在Gateway的arp table表中&#8230;<br />
這&#8230;.應該算是保護機制吧 &#8230;</p>
<p>要如何開啟mobile的功能呢&#8230;.</p>
<pre class="brush: plain; title: ; notranslate">vlan port mobile 1/1</pre>
<p>這就是啟動後的效果<br />
<a href="http://phpsrv.nutn.edu.tw/~silent/archives/130/attachment/5284008727" rel="attachment wp-att-131"><img class="alignnone size-full wp-image-131" title="mobile vlan enable" src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2010/06/5284008727.png" alt="" width="265" height="160" /></a></p>
<p>如果要取消&#8230;則是</p>
<pre class="brush: plain; title: ; notranslate">vlan no port mobile 1/1</pre>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/130' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/130/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OmniSwitch 6624 記憶體飆飆樂&#8230;</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/107</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/107#comments</comments>
		<pubDate>Tue, 27 Oct 2009 05:05:42 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=107</guid>
		<description><![CDATA[近來常常發現有些設備時好時壞&#8230;. 這種情況到後來&#8230;就會變成網路都不通&#8230; 也連不進去&#8230;成了死機&#8230;.=.= 但燈號都正常&#8230;log也沒有異常&#8230; 而且NI cpu、mem、temp也都沒有飆 後來才發現&#8230;結果是cmm的mem出問題 最後測試完的結論&#8230; 先把boot.cfg刪掉，然後重開&#8230;讓他回復預設值&#8230; 如果再不降&#8230; 就&#8230;更新firmware吧 66阿&#8230;.是不是你過了保固才會耍脾氣ㄋㄟ&#8230;.>.<]]></description>
			<content:encoded><![CDATA[<p>近來常常發現有些設備時好時壞&#8230;.<br />
這種情況到後來&#8230;就會變成網路都不通&#8230;<br />
也連不進去&#8230;成了死機&#8230;.=.=<br />
<span id="more-107"></span><br />
但燈號都正常&#8230;log也沒有異常&#8230;<br />
而且NI cpu、mem、temp也都沒有飆 </p>
<p>後來才發現&#8230;結果是cmm的mem出問題<br />
<a href="http://phpsrv.nutn.edu.tw/~silent/?attachment_id=108" rel="attachment wp-att-108"><img src="http://phpsrv.nutn.edu.tw/~silent/wp-content/uploads/2010/06/4040332509-300x108.jpg" alt="" title="6624_cmm_mem" width="300" height="108" class="alignnone size-medium wp-image-108" /></a></p>
<p>最後測試完的結論&#8230;<br />
先把boot.cfg刪掉，然後重開&#8230;讓他回復預設值&#8230;<br />
如果再不降&#8230;<br />
就&#8230;更新firmware吧<br />
66阿&#8230;.是不是你過了保固才會耍脾氣ㄋㄟ&#8230;.>.< </p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/107' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/107/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OmniSwitch 6624光纖不通之問題排除</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/105</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/105#comments</comments>
		<pubDate>Thu, 22 Oct 2009 16:49:10 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://phpsrv.nutn.edu.tw/~silent/?p=105</guid>
		<description><![CDATA[如果已經確定跳接線、GBIC統統沒問題 6624 fiber port就是不亮&#8230; 那&#8230;就將6624上的fiber port定速 將自動調速功能關閉 為了這個&#8230;搞了我一個下午&#8230;=.= 後來問超厲害大師級人物&#8230;為什麼要做autoneg disable.. 他說&#8230;.兩台66對接&#8230;.就是要做定速 好鳥啊&#8230;66系列&#8230;..]]></description>
			<content:encoded><![CDATA[<p>如果已經確定跳接線、GBIC統統沒問題<br />
6624 fiber port就是不亮&#8230;<br />
那&#8230;就將6624上的fiber port定速</p>
<p>將自動調速功能關閉 </p>
<pre class="brush: plain; title: ; notranslate">
interfaces gigaethernet x/x autoneg disable
</pre>
<p>為了這個&#8230;搞了我一個下午&#8230;=.= </p>
<p>後來問超厲害大師級人物&#8230;為什麼要做autoneg disable..<br />
他說&#8230;.兩台66對接&#8230;.就是要做定速<br />
好鳥啊&#8230;66系列&#8230;.. </p>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/105' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/105/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sample Alcatel command</title>
		<link>http://phpsrv.nutn.edu.tw/~silent/archives/5</link>
		<comments>http://phpsrv.nutn.edu.tw/~silent/archives/5#comments</comments>
		<pubDate>Tue, 19 Jun 2007 06:52:44 +0000</pubDate>
		<dc:creator>水手</dc:creator>
				<category><![CDATA[Alcatel-Lucent]]></category>
		<category><![CDATA[OmniSwitch]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wordpress/?p=5</guid>
		<description><![CDATA[debug ip packet start timeout (time num) board ni (port num) get packet in the time show policy mac group Qos traffic control (default deny all) policy mac group "(Group name)" no (mac-address) Disable Qos Group list&#8217;s mac address policy mac group "(Group name)" (mac-address) add Qos Group list&#8217;s mac address qos apply save Qos [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><em>debug ip packet start timeout (time num) board ni (port num)<br />
</em><span style="color: #339966;">get packet in the time</span></p>
<p><em>show policy mac group<br />
</em><span style="color: #339966;">Qos traffic control (default deny all)<br />
</span><span id="more-5"></span><br />
<em>policy mac group "(Group name)" no (mac-address)<br />
</em><span style="color: #339966;">Disable Qos Group list&#8217;s mac address</span><br />
<!--more--><br />
<em>policy mac group "(Group name)" (mac-address)</em><br />
<span style="color: #339966;">add Qos Group list&#8217;s mac address</span></p>
<p><em>qos apply<br />
</em><span style="color: #339966;">save Qos setup</span></p>
<address>no mac-address-table aa/bb(port) (vlan) (mac-address)<br />
<span style="color: #339966;">clean dynamic mac address<br />
</span></address>
<p><em>Show interfaces<br />
</em> <span style="color: #339966;">display all port&#8217;s information<br />
</span><br />
<em>Show interfaces status<br />
</em> <span style="color: #339966;">display all port&#8217;s transformation status</span></p>
<p><em>Show interfaces port<br />
</em> <span style="color: #339966;">display all port&#8217;s disable or enable</span></p>
<p><em>Show interfaces traffic</em><br />
<span style="color: #339966;">display all port&#8217;s transformation<br />
</span><br />
<em>Show vlan rules<br />
</em> <span style="color: #339966;">display all vlan rules<br />
</span><br />
<em>Show vlan<br />
</em> <span style="color: #339966;">display all vlan</span></p>
<p><em>Show vlan port</em><br />
<span style="color: #339966;">display all vlan port<br />
</span><br />
<em>Show vlan router ip<br />
</em> <span style="color: #339966;">display vlan router ip(gateway)</span></p>
<p><em>Show ip interface</em><br />
<span style="color: #339966;">display all ip interface</span><br />
<em>Show arp</em></p>
<p><span style="color: #339966;"> display all online ip,mac,port</span></p>
<p><em>Show mac-address-table</em></p>
<p><span style="color: #339966;">display all online mac<br />
</span><br />
<em><span style="color: #ff0000;">*</span>Show health all cpu<br />
</em><br />
<em>Show configuration snapshot ip-routing<br />
</em><br />
<em>Show active policy rule<br />
</em><br />
<span style="color: #ff0000;">Omniswitch6624</span><br />
<em>reload working no rollback-timeout</em><br />
<em>vlan 1 router ip xxx.xxx.xxx.xxx mask xxx.xxx.xxx.xxx<br />
</em><span style="color: #339966;">change deafult ip</span><br />
<em>no ip static-route xxx.xxx.xxx.xxx mask xxx.xxx.xxx.xxx gateway xxx.xxx.xxx</em><br />
<span style="color: #339966;">clean gateway ip(if had gateway)<br />
</span><br />
<em>ip static-route xxx.xxx.xxx.xxx mask xxx.xxx.xxx.xxx gateway xxx.xxx.xxx<br />
</em><span style="color: #339966;">change gateway ip</span></p>
<p><em>interfaces fastethernet x/x admin down<br />
</em><span style="color: #339966;">disable select port</span></p>
</div>
<div class='wpfblike' style='height: 40px;'><fb:like href='http://phpsrv.nutn.edu.tw/~silent/archives/5' layout='button_count' show_faces='true' width='400' action='like' colorscheme='light' send='true' /></div>]]></content:encoded>
			<wfw:commentRss>http://phpsrv.nutn.edu.tw/~silent/archives/5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

