Brocade ¹âÏ˽»»»»ú³£ÓÃÃüÁî ±êÇ©£º Brocadesan½»»»»úÃüÁî 2013-12-24 10:19 2062ÈËÔĶÁ ÆÀÂÛ(0) ÊÕ²Ø ¾Ù±¨ ·ÖÀࣺ San IBMµÄË«»úË«¹ñ£¬Á½¹âÏ˽»»»»ú·Ö±ðÒýÒ»¸ù¹âÏ˵½Áíһ¥¹âÏ˽»»»»ú£¬²åÉÏÎÞ·´Ó¦£¬ºóµÃÖªÐèÒª¸ü¸Ä½»»»»úµÄdomain id ĬÈϳö³§Îª1¡£Ðè¸ÄΪ²»Í¬ºÅ¡£ÏÂÃæÊDz©¿ÆµÄ½»»»»úÃüÁîת¡£http://maka113.blog.163.com/blog/static/12110329720129254116675/ Brocade SAN½»»»»ú³£ÓÃÃüÁî ʹÓõçÄÔÁ¬½Ó¹ÜÀíÍø¿Ú£¬Ä¬ÈÏIPµØÖ·Îª£º192.168.0.1£¬ÑÚÂ룺255.255.255.0 ĬÈÏÓû§Ãû£ºadmin£¬Ä¬ÈÏÃÜÂëpassword 1. switchStatusShow ²é¿´½»»»»úµÄ×ÜÌ彡¿µ×´Ì¬ switch:admin>switchstatusshow Switch Health Report Switch Name: SWFCR IP address: 10.33.54.176 SwitchState: MARGINAL Duration: 863:23 Power supplies monitor MARGINAL Temperatures monitor HEALTHY Fans monitor HEALTHY WWN servers monitor HEALTHY Standby CP monitor HEALTHY Blades monitor HEALTHY Flash monitor HEALTHY Marginal ports monitor HEALTHY Faulty ports monitor HEALTHY Missing SFPs monitor HEALTHY All ports are healthy switch:admin> 2. switchShow ²é¿´½»»»»ú»ù±¾ÅäÖÃÐÅÏ¢ Enter the switchShow command, which displays the following information for a switch: - switchname - The switch name. - switchtype - The switch model and firmware version numbers. - switchstate - The switch state: Online, Offline, Testing, or Faulty. - switchrole - Displays the switch role: Principal, Subordinate, or Disabled. - switchdomain - Displays the switch Domain ID. - switchid - The embedded port D_ID of the switch. - switchwwn - The switch World Wide Name. - switchbeacon - The switch beaconing state: either ON or OFF. The switchShow command also displays the following information for ports on the specified switch: - Module type - The SFP type if an SFP is present. - Port speed - The speed of the Port (1G, 2G, 4G, N1, N2, N4, or AN). The speed can be fixed, negotiated, or auto-negotiated. - Port state - The port status. - Comment - About the port. This section may be blank or display the WWN for an F_Port or an E_Port, the trunking state, or upstream or downstream status 3. portShow ²é¿´¶Ë¿Ú״̬ switch:admin>switch:user>portshow 0 portName: portHealth: OFFLINE Authentication: None portDisableReason: None portCFlags: 0x1 portFlags: 0x4001 PRESENT U_PORT LED portType: 4.1 portState: 2 Offline portPhys: 2 No_Module portScn: 0 port generation number: 0 portId: 010000 portIfId: 43020020 portWwn: 20:00:00:60:69:00:02:53 portWwn of device(s) connected: Distance: normal portSpeed: N2Gbps LE domain: 0 Interrupts: 0 Link_failure: 0 Frjt: 0 Unknown: 0 Loss_of_sync: 0 Fbsy: 0 Lli: 0 Loss_of_sig: 0 Proc_rqrd: 0 Protocol_err: 0 Timed_out: 0 Invalid_word: 0 Rx_flushed: 0 Invalid_crc: 0 Tx_unavail: 0 Delim_err: 0 Free_buffer: 0 Address_err: 0 Port part of other ADs: Yes 4. fanShow ²é¿´½»»»»úÉ¢ÈÈ·çÉȵÄ״̬ Enter the fanShow command: switch:admin>fanshow Fan 1 is OK speed is 7010 RPM Fan 2 is OK speed is 7180 RPM Fan 3 is OK speed is 7068 RPM Fan 4 is OK speed is 7116 RPM Fan 5 is OK speed is 7155 RPM Fan 6 is OK speed is 7001 RPM switch:admin> 5. psShow ²é¿´½»»»»úµÄµçԴ״̬ ×¢£ºÈç¹û°²×°FR4-18i¡¢FC4-16IP¡¢FC10-6¡¢FC8-48°å£¬ÐèÒªÂúÅä4¸öµçÔ´ Enter the psShow command: switch:admin>psshow Power Supply #1 is OK 0335,FF2Z0007161,60-0000739-02, B,,DCJ3002-01P, B,FF2Z0007161 Power Supply #2 is faulty 0335,FF2Z0007176,60-0000739-02, B,,DCJ3002-01P, B,FF2Z0007176 switch:admin> 6. tempShow ²é¿´½»»»»úµÄ»·¾³ÎÂ¶È Enter the tempShow command: switch:admin>tempshow Index Status Centigrade Fahrenheit ---------------------------------------------------- 1 OK 21 70 2 OK 22 72 3 OK 29 84 4 OK 24 75 5 OK 25 77 switch:admin> 7. errDump¡¢errShow¡¢errClear ²é¿´½»»»»úµÄÄÚ²¿ÏûÏ¢ÈÕÖ¾ To display the system message log, with no page breaks Enter the errDump command. To display the system message log one at a time Enter the errShow command. To clear the system message log