2013年6月5日 星期三

Cisco N5K FEX N2K error & reload ?!

名詞解釋 fex = fabric extender      翻譯: 光纖....延伸/擴充器?!
               Vntag 好像是 802.1Qbh



沒記錯的話FEX設定是這樣
在N5K上設定就好

switch# configure terminal 
switch(config)# interface ethernet x/x 
switch(config-if)# switchport mode fex-fabric  
switch(config-if)# fex associate 1xx


狀況:
N5K 透過FEX 接一台N2K, 但是N2K其中之一的Power Supply掛掉,
整台N2K月重啟,這是不正常&不合理的

**重啟之前port-channel 先斷線
**另外找了設備做LAB就沒出現這問題,
   就是Power 掛掉其中一個並不會影響N2K運作,也不會重啟

目前偏向是N2K的問題(過程不解釋)
在N2K上 show fex 1xx detail 看到記錄

 xx:xx:xx.645011: Deleting route to FEX
 xx:xx:xx.652318: Module disconnected
 xx:xx:xx.653917: Offlining Module
 xx:xx:xx.654693: Module Offline Sequence
 xx:xx:xx.803507: Module Offline
 xx:xx:xx.878381: Module register received
 xx:xx:xx.889902: Registration response sent
 xx:xx:xx.544625: Module Online Sequence
 xx:xx:xx.203926: Module Online

N5K的Log

 xx:xx:48.619116: Interface Down
 xx:xx:48.619270: Switching to non-Vntag mode
 xx:xx:48.619678: State changed to: Disconnected
 xx:xx:50.562693: fport memberdown retry end: sending out resp
 xx:xx:50.659788: Satellite disconnected. Unbind msg sent
 xx:xx:50.660177: State changed to: Configured
 xx:xx:50.824645: Port removed from port-channel
 xx:xx:50.825953: fport phy cleanup retry end: sending out resp
 xx:xx:50.828176: pre config: is a port-channel member
 xx:xx:50.828185: Port added to port-channel
 xx:xx:50.828319: Remote-chassis configured
 xx:xx:50.828397: Port changed to fabric mode
 xx:xx:56.173563: Interface Up
 xx:xx:56.173645: Started SDP
 xx:xx:56.174048: State changed to: Fabric Up
 xx:xx:56.176631: Port Bringup rcvd
 xx:xx:57.989624: Fcot message sent to Ethpm
 xx:xx:57.990738: Fcot response received. SFP valid
 xx:xx:57.990805: Advertizing Vntag
 xx:xx:57.991343: State changed to: Connecting
 xx:xx:58.121131: Satellite connected. Bind msg sent
 xx:xx:58.121701: fport bringup retry end: sending out resp
 xx:xx:58.127071: State changed to: Active
 xx:xx:58.231651: Bundle member bringup rcvd
 xx:xx:58.236811: fport memberup retry end: sending out resp



除了show log 或detail 還有下列指令可以看到一些有用的訊息(也許)

Attach fex 1xx
show logging onboard exception-log
show logging onboar internal reset-reason
show logging onboar environmental-history
show logging onboar obfl-history
show logging onboar internal kernel


在N5K上
show platform software ethpc event-history interface  Ethx/x
show platform software ethpc event-history interface  Ethx/x
show system internal ethpm ev ent-history interface ex/x
show system internal ethpm ev ent-history interface ex/x


補充...

1.
這問題還沒解決

2.
在N2K 上show tech 有這內容
Event:E_DEBUG,
xx:xx:xx 2013  (Warning) unexpected mts msg (opcode - 125974)

3.
在有問題的N2K上執行這指令,telnet會斷線(telnet will be down)
show logging onboar internal reset-reason
show system reset-reason
<也是因為這因素所以猜測這台N2K有問題>








沒有留言: