1、Brocade光纤交换机常用命令Brocade-光纤交换机常用命令4. 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 RPMswitch:admin5. psShow查看交换
2、机的电源状态注:如果安装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,FF2Z0007176switch:admin6. tempShow查看交换机的环境温度Enter
3、 the tempShow command:switch:admin tempshowIndex Status Centigrade Fahrenheit-1 OK 21 702 OK 22 723 OK 29 844 OK 24 755 OK 25 77switch:admin7. errDump、errShow、errClear查看交换机的内部消息日志To display the system message log, with no page breaksEnter the errDump command.To display the system message log one at
4、a timeEnter the errShow command.To clear the system message logEnter 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 ou
5、tput 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 logsfrom both of the CP blades)pdShow显示panic dump文件的内容,帮助诊断系统panic的原因9. nsShow、nsAllShow、fabricShow检查连接到交换机的设备nsShow显示连接到交换机的所有设备nsAll
6、Show显示连接到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 switc
7、h.- 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 haShowLocal CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): StandbyHA Enabled, Heartbeat Up, State Synchron
8、ized13. 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. 查看当前的D
9、omain ID输入命令fabricShow,输出结果中的Switch ID即包括交换机的Domain ID。2. 先关闭交换机输入命令swichDisable3. 配置Domain ID输入命令configureEnter y after the Fabric Parameters prompt:Fabric parameters (yes, y, no, n): no yEnter a unique domain ID at the Domain prompt. Use a domain ID value from 1 through 239 for normal operating mo
10、de (FCSW compatible):Domain: (1.239) 1 3Respond to the remaining prompts, or press Ctrl-d to accept the other settings and exit.4. 重新启用交换机输入命令swichEnable升级FirmwareFC10-6 Blade需要Firmware Version 5.3以上FC4-16IP Blade、FC4-48 Port Blade需要Firmware Version 5.2以上FR4-18i router blade需要Firmware Version 5.1以上如
11、果M48有主备Control Processor,且主备CP处于synchronized状态,则升级过程可在线进行,不干扰数据流量。如果M48只有一个CP,则升级微码过程中需要reboot交换机来激活新的Firmware,数据访问会中断。升级M48 Firmware约需15分钟1. 保存交换机的配置信息configUpload2. 保存主备Control Processor Blade的supportsave使用命令ipAddrShow,查看主备CP的IP地址使用telent分别登录主备CP,使用命令supportSave分别收集主备CP的supportsave文件。3. 查看supports
12、ave中的XXX_SUPPORTSHOW文件,查找如下字段:/bin/df:Filesystem 1k-blocks Used Available Use% Mounted on/dev/root 120112 61128 58984 51% /dev/hda2 120128 72356 47772 60% /mnt确认Flash存储器的使用率不超过90%。否则需联系二线Support。4. 清除交换机中当前保存的error report信息errClear5. 检查当前各个CP Blades的Firmware版本firmwareShow6. 检查主备CP状态,是否处于同步状态haShow:查
13、看主备CP是否处于Synchronized状态如果主备CP不处于同步状态,则使用命令haSyncStart同步主备CP。switch:admin hashowLocal CP (Slot 5, CP0): Active, Warm RecoveredRemote CP (Slot 6, CP1): Standby, HealthyHA enabled, Heartbeat Up, HA State synchronized7. 升级Firmware如果SAN交换机支持HA,则使用命令firmwareDownload,同时升级主备Control Blade。如果SAN交换机不支持HA,则使用命令
14、firmwareDownload -s,分别升级每个Control Blade。8. 检查Firmware升级是否完成firmwareDownloadStatus9. 再次检查当前各个CP Blades的Firmware版本firmwareShow激活软件License1. 查看当前已经激活的LicenselicenseShowswDir:admin licenseShowAAbbccDDeeFFeeGG:Web licenseZoning licenseExtended Fabric licenseFabric Watch licensePerformance Monitor license
15、Trunking licenseSecurity license2. 获取和激活License时需要提供64位的Chasis ID,查看Chasis ID:licenseIdShow3. 激活新的LicenselicenseAdd “key”4. 删除旧的LicenselicenseRemove “key”删除License后需要reboot交换机,或者switchDisable/switchEnable重启交换机,以使需要删除的License失效。备份交换机的配置信息1. 使用configUpload命令,将配置文件保存在自己的电脑上注:configUpload无法保存用户的密码信息。2. 使用Telnet命令查看配置信息,并做Session LogconfigShowipaddrShowlicenseShowswitchS
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1