资源预览内容
第1页 / 共12页
第2页 / 共12页
第3页 / 共12页
第4页 / 共12页
第5页 / 共12页
第6页 / 共12页
第7页 / 共12页
第8页 / 共12页
第9页 / 共12页
第10页 / 共12页
亲,该文档总共12页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
Brocade SAN 交换机常用命令使用电脑连接管理网口,默认IP地址为:10.77.77.77,掩码:255.255.255.0 默认用户名:admin,默认密码password1. switchStatusShow查看交换机的总体健康状态switch:admin switchstatusshowSwitch Health ReportSwitch Name: SWFCRIP address: 10.33.54.176SwitchState: MARGINALDuration: 863:23Power supplies monitor MARGINALTemperatures monitor HEALTHYFans monitor HEALTHYWWN servers monitor HEALTHYStandby CP monitor HEALTHYBlades monitor HEALTHYFlash monitor HEALTHYMarginal ports monitor HEALTHYFaulty ports monitor HEALTHYMissing SFPs monitor HEALTHYAll ports are healthyswitch:admin2. 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 status3. portShow查看端口状态switch:admin switch:user portshow 0 portName:portHealth: OFFLINEAuthentication: None portDisableReason: None portCFlags: 0x1 portFlags: 0x4001 PRESENT U_PORT LED portType: 4.1portState: 2 OfflineportPhys: 2 No_Module portScn: 0port generation number: 0portId: 010000portIfId: 43020020portWwn: 20:00:00:60:69:00:02:53 portWwn of device(s) connected:Distance: normalportSpeed: N2GbpsLE domain: 0Interrupts:0Link_failure:0Frjt:0Unknown:0Loss_of_sync:0Fbsy: 0Lli:0Loss_of_sig:0Proc_rqrd:0Protocol_err:0Timed_out:0Invalid_word:0Rx_flushed:0Invalid_crc:0Tx_unavail:0Delim_err:0Free_buffer:0Address_err:0Port part of other ADs: Yes4. fanShow查看交换机散热风扇的状态Enter the fanShow command: switch:admin fanshowFan 1 is OK speed is 7010 RPMFan 2 is OK speed is 7180 RPMFan 3 is OK speed is 7068 RPMFan 4 is OK speed is 7116 RPMFan 5 is OK speed is 7155 RPMFan 6 is OK speed is 7001 RPM switch:admin5. psShow 查看交换机的电源状态注:如果安装FR4-18i、FC4-16IP、FC10-6、FC8-48板,需要满配4个电源Enter the psShow command:switch:admin psshowPower Supply #1 is OK0335,FF2Z0007161,60-0000739-02, B,DCJ3002-01P, B,FF2Z0007161Power Supply #2 is faulty0335,FF2Z0007176,60-0000739-02, B,DCJ3002-01P, B,FF2Z0007176 switch:admin6. tempShow查看交换机的环境温度Enter the tempShow command: switch:admin tempshowIndex Status Centigrade Fahrenheit1 OK 21 702 OK 22 723 OK 29 844 OK 24 755 OK 25 77 switch:admin7. errDump、 errShow、 errClear查看交换机的内部消息日志To display the system message log, with no page breaks En ter the errDump comma nd.To display the system message log one at a timeEn ter the errShow comma nd.To clear the system message logEn ter the errClear comma nd.8. supportShow、 supportSave、 pdShow 收集交换机的诊断数据supportShow显示诊断信息和状态信息supportSave将数据打包、上传至指定的FTP服务器The command prompts for an FTP server, packages the following files, and sends them to the specified server: The output of the supportShow command The contents of any trace dump files on the switch System message logs (for Brocade directors, supportSave saves the system message logs from both of the CP blades)pdShow显示 panic dump 文件的 内容,帮助诊断系统 panic 的原因9. nsShow、 nsAllShow、 fabricShow检查连接到交换机的设备nsShow显示连接到交换机的所有设备 nsAllShow显示连接到Fabric的所有设备fabricShow显示Fabric中的所有交换机10. licenseShow、 wwn检查 license 文件和交换机的 WWN 号11. version检查Fabric OS的版本,将显示如下信息:-Kernel: displays the version of switch kernel operating system.-Fabric OS: displays the version of switch Fabric OS.-Made on: displays the build date of firmware running in switch.-Flash: displays the install date of firmware stored in nonvolatile memory. -BootProm: displays the version of the firmware stored in the boot PROM.12. haShow 查看 Control Blade 的状态 swDir: admin haShow Local CP (Slot 6, CP1): Active Remote CP (Slot 5, CP0): Standby HA Enabled, Heartbeat Up, State Synchronized13. slotShow查看各个Blade的状态14. portCfgSpeed修改端口的速率15. portEnable 或 portCfgPersistentEnableReset 端口16. 检查 WWN 卡状态下列命令如果不能正确执行,则说明WWN卡需要更换: www, chassisShow:显示交换机的WWN号 chassisShow:显示 chassis 和 WWN 卡的状态 ipAddrShow, ipAddrSet:显示 CP Blades 的 IP 地址 historyShow、historyLastShow:显示历史日志信息 switchName :显示交换机的名字修改 Domain ID1. 查看当前的 Domain ID输入命令fabricShow,输出结果中的Switch ID即包括交换机的Domain ID。2.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号