PIXNET Logo登入

獨‧釣寒江雪

跳到主文

妳還記得嗎?小時候第一次騎自行車的感覺。我當時好高興喔,它給我從來不曾體驗的速度感,它可以帶我到很遙遠的地方。我當時覺得... 只要騎上它沒有做不到的事,現在也還是一樣... ─ 摘自『東京快遞』 ─

部落格全站分類:心情日記

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 6月 10 週日 201200:03
  • (cisco) VLAN Trunk Protocol

vtp status
這一篇在草稿裡面躺了半年...
關於VTP,有些被我想複雜了,有些卻被我想簡單了。
參考文件:Understanding VLAN Trunk Protocol (VTP)
1.
這個被我想複雜了
VTP = Layer2 protocol,  why IP here ?
以為這之中有甚麼驚人的秘密,的確!根本就沒有秘密...
這個IP是"Updater Identity",識別而已,並不參與VTP的運作。
Code = 0x02 = advertisement 
2.
這被我想簡單了
我以為VTP server就一直把advertisement packets丟出去,client就一直撿起來compare這樣。
但事實上client是會發出advertisement request的。
advertisement request packet format :
Code = 0x03 = advertisement request
而且還會針對沒被update的部分發出request,有聰明。
3.
這點我到現在還不明白:為什麼明明是layer2的 "frame",cisco要把它叫做 "packet"?
知道的大德請不吝賜教~~~~
-------------------------------------------------------------------------
同場加映
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(179)

  • 個人分類:做學問
▲top
  • 5月 13 週日 201214:51
  • (CISCO) OSPF metric

話說1991年OSPF上路之後,CISCO就用『10^8/bandwidth』來計算鏈路的cost (CISCO好像比較喜歡稱作metric)。
10^8其實就是100Mbps,當時會用100M做分子不是巧合,而是在1991年時100M仍然是個神話。後來因為資源共享的氣候形成,導致對網路頻寬的需求暴增,802.3u(FastEthernet)很快地在1995年通過RFC。其後短短三年時間,OC-3(155M)、802.3z(GigabitEthernet)各種高速網路相繼問世。
問題就來了,當大於100M的鏈路套進『10^8/bandwidth』來計算的結果就是無條件進位成1,這將使得cost值形同虛設。所以CISCO早在1994年發布IOS 11.2的時候為metric的計算增加了一個"auto-cost reference-bandwidth"的指令,藉以彌補『10^8/bandwidth』公式的不足。這個指令可以將分子(也就是原本是10^8)的value指定在1到4294967之間,請注意,單位是"megabits per second ",而default為100。這樣,OSPF就又可以用上好一陣子了。
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(633)

  • 個人分類:做學問
▲top
  • 4月 17 週二 201223:42
  • 150m

150m
上篇介紹了牛B的山寨線,今天讓大家知道好線的極致性能!
 這條線足足跑了150米,其中大約30米是12年前佈的AMP Cate 5,其他的部分是三年前拉的3M Cate5e,中間繼接用3M的keystone。這樣的組合,仍然跑出了1G的成績!
接上設備show了一下ethernet-controller,no runts,no giants。
快!快叫我超級水電工~~
同場加映
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(84)

  • 個人分類:做學問
▲top
  • 4月 06 週五 201222:07
  • 線也山寨乎?

IMG-20120405-00185
這是我目前遇到過最牛B的山寨網路線了,留文一篇以紀念。
通常跑10/100Mb只用到1&2、3&6這兩對線,所以很多不肖廠商就從4&5、7&8去偷料。山寨線大多有這樣的特徵,這條當然也不例外。

不過最牛B的是4&5、7&8竟然還可以時通時不通,而且每次測試出來的長度都不一樣耶。
很多佈線廠商只是做做家庭水電,不了解跑網路跟跑電話是不一樣的,他們通常會丟一句那是你電腦的問題,這時候如果沒有纜線測試儀幫你做驗證就等著挫屎。
大滿貫測試下來,連10BASE都不及格。
雖然測試結果是完全不及格,但仍然可以辨識出switch的訊號。
主要是因為測試儀是用嚴苛的標準去測試,而網路設備本身具備一些容錯能力,所以這麼爛的線有時還是堪用。
不過千萬不要拿到商業環境來用,甚麼時候會掛,不知道。就跟甚麼時候老闆要請你打包走人,不知道,是一樣的道理。
同場加映我們家高手的作品一張
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(102)

  • 個人分類:做學問
▲top
  • 2月 13 週一 201200:33
  • 打包

DSC_5647
小時候跟著媽媽去吃喜宴,最期待的是最後一道菜,甜點。


最害怕的是甜點上完之後,媽媽總是開始將桌面看到的菜尾通通打包回家。
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(79)

  • 個人分類:人在江湖
▲top
  • 2月 11 週六 201200:35
  • iPad 遇上 Cisco

DSC_6667
用這條線,一邊接iPad,另一邊接CISCO的console port。開機快,續航力也比notebook強,而且適用所有iDevice!

 插上去之後iPad會自動抓到。
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(2) 人氣(277)

  • 個人分類:做學問
▲top
  • 1月 28 週六 201204:04
  • iBooks 2

Picture 8
Apple號稱iPad是「電子閱讀器」,果然,官方那套iBooks讓人閱讀到生氣。
 
所以iPad到手沒幾天(感謝老妹),我就在Apple Store買了Good Reader。
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(74)

  • 個人分類:做學問
▲top
  • 1月 15 週日 201214:42
  • Password Recovery Procedure

1.Press Break(CTRL+Break) on the terminal keyboard within 60 seconds of power up in order to put the router into ROMmon.

 

2.hostname> confreg 0x2142This step bypasses the startup configuration where the passwords are stored.

 

3.hostname> reset
The router reboots, but ignores the saved configuration.

 

4.Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.

 

5.hostname> enable 

 

6.hostname# configure memory or copy startup-config running-config 
in order to copy the NVRAM into memory.
 
Warning: Do not type copy running-config startup-config or write. These commands erase your startup configuration.
 
 7.Type show running-config.

The show running-config command shows the configuration of the router. In this configuration, the shutdown command appears under all interfaces, which indicates all interfaces are currently shut down. In addition, the passwords (enable password, enable secret, vty, console passwords) are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. You must change encrypted passwords to a new password.



 


8.hostname(config)# configure terminal



 


9.hostname(config)# enable secret 00000

 

10.Issue the no shutdown command on every interface that you use.

 

11.hostname(config)# config-register 0x2102

 

12.hostname# write memory or copy running-config startup-config
 

Configuration Register Values
The factory-default setting for the configuration register is 0x2102. This indicates that the router should attempt to load a Cisco software image from Flash memory and load the startup configuration with a console speed of 9600 baud.




Configuration Register Setting






Router Behavior








0x102






  •  

    • Ignores break



    • 9600 console baud









0x1202






  •  

    • 1200 baud rate









0x2101






  •  

    • Boots into bootstrap

    • Ignores break



    • Boots into ROM if initial boot fails



    • 9600 console baud rate









0x2102






  •  

    • Ignores break



    • Boots into ROM if initial boot fails



    • 9600 console baud rate default value for most platforms









0x2120






  •  

    • Boots into ROMmon



    • 19200 console speed









0x2122






  •  

    • Ignores break



    • Boots into ROM if initial boot fails



    • 19200 console baud rate









0x2124






  •  

    • NetBoot



    • Ignores break



    • Boots into ROM if initial boot fails

    • 19200 console speed









0x2142






  •  

    • Ignores break



    • Boots into ROM if initial boot fails



    • 9600 console baud rate



    • Ignores the contents of Non-Volatile RAM (NVRAM) (ignores configuration)









0x2902






  •  

    • Ignores break



    • Boots into ROM if initial boot fails

    • 4800 console baud rate









0x2922






  •  

    • Ignores break

    • Boots into ROM if initial boot fails

    • 38400 console baud rate









0x3122






  •  

    • Ignores break



    • Boots into ROM if initial boot fails



    • 57600 console baud rate









0x3902






  •  

    • Ignores break



    • Boots into ROM if initial boot fails



    • 2400 console baud rate









0x3922






  •  

    • Ignores break



    • Boots into ROM if initial boot fails



    • 115200 console baud rate







 
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(31)

  • 個人分類:做學問
▲top
  • 12月 31 週六 201118:52
  • IBM RMA summary


RMA infrastructure
RMA General Agent
Forms the client portion of the RMA infrastructure, running on each POS client device.
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(72)

  • 個人分類:做學問
▲top
  • 11月 20 週日 201102:50
  • Park Tool 變速器吊耳校正規


今兒個來介紹這個

官方連結:Park Tool Derailleur Hanger Alignment Gauge
 
(繼續閱讀...)
文章標籤

misgary 發表在 痞客邦 留言(0) 人氣(432)

  • 個人分類:腳踩鐵馬
▲top
12...44»

個人頭像

misgary
暱稱:
misgary
分類:
心情日記
好友:
累積中
地區:

近期文章

  • (cisco) VLAN Trunk Protocol
  • (CISCO) OSPF metric
  • 150m
  • 線也山寨乎?
  • 打包
  • iPad 遇上 Cisco
  • iBooks 2
  • Password Recovery Procedure
  • IBM RMA summary
  • Park Tool 變速器吊耳校正規

最新迴響

  • [15/04/14] Sam Shen 於文章「Chorus 變把耗材下訂紀錄...」留言:
    請問反黃的部分是你有訂購的嗎?...
  • [15/04/14] Sam Shen 於文章「五通攻牙、洗面...」留言:
    碳纖維大盤真漂亮!...
  • [14/06/11] Nicholas Lee 於文章「RALEIGH Rush Hour...」發表了一則私密留言
  • [13/08/27] 不想 於文章「不玩會死!『決勝時刻5:戰爭世界』...」留言:
    看盒裝請問是中文版嗎? 第3代沒PC版 第4代=MW系列...
  • [13/02/14] langeraa@yahoo.com.tw 於文章「RALEIGH Rush Hour...」留言:
    你好妳好版主 請問那台RALEIGH 的單速車買的時候價格是...
  • [12/06/28] Erica Wu 於文章「運動時的能量消耗...」留言:
    大家來長知識吧!!...
  • [12/02/14] Joe 於文章「iPad 遇上 Cisco...」發表了一則私密留言
  • [12/02/13] Joe 於文章「iPad 遇上 Cisco...」發表了一則私密留言
  • [11/12/28] 阿裕 於文章「GIANT A-980...」留言:
    請問a980有意要出售嗎?...
  • [11/06/20] 訪客 於文章「Chorus 耗材到齊...」留言:
    變速撥桿記得也買隻放屯著. 我的Reoord不到兩年就斷了....

文章彙整

文章分類

  • 做學問 (9)
  • 腳踩鐵馬 (299)
  • 手按快門 (33)
  • 放浪形駭 (15)
  • 人在江湖 (52)
  • 土法大煉鋼=不道德 (31)
  • 未分類文章 (1)

參觀人氣

  • 本日人氣:
  • 累積人氣: