Brocade-光纤交换机常用命令

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Brocade光纤交换机常用命令标签:Brocadesan交换机命令2013-12-2410:192062人阅读评论(0)收藏举报分类:SanIBM的双机双柜,两光纤交换机分别引一根光纤到另一楼光纤交换机,插上无反应,后得知需要更改交换机的domainid默认出厂为1。需改为不同号。下面是博科的交换机命令转。交换机常用命令使用电脑连接管理网口,默认IP地址为:192.168.0.1,掩码:255.255.255.0默认用户名:admin,默认密码password1.switchStatusShow查看交换机的总体健康状态switch:adminswitchstatusshowSwitchHealthReportSwitchName:SWFCRIPaddress:10.33.54.176SwitchState:MARGINALDuration:863:23PowersuppliesmonitorMARGINALTemperaturesmonitorHEALTHYFansmonitorHEALTHYWWNserversmonitorHEALTHYStandbyCPmonitorHEALTHYBladesmonitorHEALTHYFlashmonitorHEALTHYMarginalportsmonitorHEALTHYFaultyportsmonitorHEALTHYMissingSFPsmonitorHEALTHYAllportsarehealthyswitch:admin2.switchShow查看交换机基本配置信息EntertheswitchShowcommand,whichdisplaysthefollowinginformationforaswitch:-switchname-Theswitchname.-switchtype-Theswitchmodelandfirmwareversionnumbers.-switchstate-Theswitchstate:Online,Offline,Testing,orFaulty.-switchrole-Displaystheswitchrole:Principal,Subordinate,orDisabled.-switchdomain-DisplaystheswitchDomainID.-switchid-TheembeddedportD_IDoftheswitch.-switchwwn-TheswitchWorldWideName.-switchbeacon-Theswitchbeaconingstate:eitherONorOFF.TheswitchShowcommandalsodisplaysthefollowinginformationforportsonthespecifiedswitch:-Moduletype-TheSFPtypeifanSFPispresent.-Portspeed-ThespeedofthePort(1G,2G,4G,N1,N2,N4,orAN).Thespeedcanbefixed,negotiated,orauto-negotiated.-Portstate-Theportstatus.-Comment-Abouttheport.ThissectionmaybeblankordisplaytheWWNforanF_PortoranE_Port,thetrunkingstate,orupstreamordownstreamstatus3.portShow查看端口状态switch:adminswitch:userportshow0portName:portHealth:OFFLINEAuthentication:NoneportDisableReason:NoneportCFlags:0x1portFlags:0x4001PRESENTU_PORTLEDportType:4.1portState:2OfflineportPhys:2No_ModuleportScn:0portgenerationnumber:0portId:010000portIfId:43020020portWwn:20:00:00:60:69:00:02:53portWwnofdevice(s)connected:Distance:normalportSpeed:N2GbpsLEdomain: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:0PortpartofotherADs:Yes4.fanShow查看交换机散热风扇的状态EnterthefanShowcommand:switch:adminfanshowFan1isOKspeedis7010RPMFan2isOKspeedis7180RPMFan3isOKspeedis7068RPMFan4isOKspeedis7116RPMFan5isOKspeedis7155RPMFan6isOKspeedis7001RPMswitch:admin5.psShow查看交换机的电源状态注:如果安装FR4-18i、FC4-16IP、FC10-6、FC8-48板,需要满配4个电源EnterthepsShowcommand:switch:adminpsshowPowerSupply#1isOK0335,FF2Z0007161,60-0000739-02,B,,DCJ3002-01P,B,FF2Z0007161PowerSupply#2isfaulty0335,FF2Z0007176,60-0000739-02,B,,DCJ3002-01P,B,FF2Z0007176switch:admin6.tempShow查看交换机的环境温度EnterthetempShowcommand:switch:admintempshowIndexStatusCentigradeFahrenheit----------------------------------------------------1OK21702OK22723OK29844OK24755OK2577switch:admin7.errDump、errShow、errClear查看交换机的内部消息日志Todisplaythesystemmessagelog,withnopagebreaksEntertheerrDumpcommand.TodisplaythesystemmessagelogoneatatimeEntertheerrShowcommand.ToclearthesystemmessagelogEntertheerrClearcommand.8.supportShow、supportSave、pdShow收集交换机的诊断数据supportShow显示诊断信息和状态信息supportSave将数据打包、上传至指定的FTP服务器ThecommandpromptsforanFTPserver,packagesthefollowingfiles,andsendsthemtothespecifiedserver:?TheoutputofthesupportShowcommand?Thecontentsofanytracedumpfilesontheswitch?Systemmessagelogs(forBrocadedirectors,supportSavesavesthesystemmessagelogsfrombothoftheCPblades)pdShow显示panicdump文件的内容,帮助诊断系统panic的原因9.nsShow、nsAllShow、fabricShow检查连接到交换机的设备nsShow显示连接到交换机的所有设备nsAllShow显示连接到Fabric的所有设备fabricShow显示Fabric中的所有交换机10.licenseShow、wwn检查license文件和交换机的WWN号11.version检查FabricOS的版本,将显示如下信息:-Kernel:displaystheversionofswitchkerneloperatingsystem.-FabricOS:displaystheversionofswitchFabricOS.-Madeon:displaysthebuilddateoffirmwarerunninginswitch.-Flash:displaystheinstalldateoffirmwarestoredinnonvolatilememory.-BootProm:displaystheversionofthefirmwarestoredinthebootPROM.12.haShow查看ControlBlade的状态swDir:adminhaShowLocalCP(Slot6,CP1):ActiveRemoteCP(Slot5,CP0):StandbyHAEnabled,HeartbeatUp,StateSynchronized13.slotShow查看各个Blade的状态14.portCfgSpeed修改端口的速率15.portEnable或portCfgPersistentEnableReset端口16.检查WWN卡状态下列命令如果不能正确执行,则说明WWN卡需要更换:,chassisShow:显示交换机的WWN号chassisShow:显示chassis和WWN卡的状态ipAddrShow,ipAddrSet:显示CPBlades的IP地址historyShow、historyLastShow:显示历史日志信息switchName:显示交换机的名字修改DomainID1.查看当前的DomainID输入命令fabricShow,输出结果中的SwitchID即包括交换机的DomainID。2.先关闭交换机输入命令swichDisable3.配置DomainID输入命令configureEnteryaftertheFabricParametersprompt:Fabricparameters(yes,y,no,n):[no]yEnterauniquedomainIDattheDomainprompt.UseadomainIDvaluefrom1through239fornormaloperatingmode(FCSWcompatible):Domain:(1..239)[1]3Respondtotheremainingprompts,orpressCtrl-dtoaccepttheothersettingsandexit.4.重新启用交换机输入命令swichEnable升级FirmwareFC10-6Blade需要FirmwareVersion5.3以上FC4-16IPBlade、FC4-48PortBlade需要FirmwareVersion5.2以上FR4-18irouterblade需要FirmwareVersion5.1以上如果M48有主备ControlProcessor,且主备CP处于synchronized状态,则升级过程可在线进行,不干扰数据流量。如果M48只有一个CP,则升级微码过程中需要reboot交换机来激活新的Firmware,数据访问会中断。升级M48Firmwar

1 / 13
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功