IBM的双机双柜,两光纤交换机分别引一根光纤到另一楼光纤交换机,插上无反应,后得知需要更改交换机的domain id 默认出厂为1。需改为不同号。下面是博科的交换机命令转。
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 Enter the errClear command. |
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 mem |