BrocadeSAN交换机操作手册及常用命令文档格式.docx
《BrocadeSAN交换机操作手册及常用命令文档格式.docx》由会员分享,可在线阅读,更多相关《BrocadeSAN交换机操作手册及常用命令文档格式.docx(17页珍藏版)》请在冰豆网上搜索。
PowersuppliesmonitorMARGINAL
TemperaturesmonitorHEALTHY
FansmonitorHEALTHY
WWNserversmonitorHEALTHY
StandbyCPmonitorHEALTHY
BladesmonitorHEALTHY
FlashmonitorHEALTHY
MarginalportsmonitorHEALTHY
FaultyportsmonitorHEALTHY
MissingSFPsmonitorHEALTHY
Allportsarehealthy
2.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.
TheswitchShowcommandalsodisplaysthefollowinginformationforportsonthespecified
-Moduletype-TheSFPtypeifanSFPispresent.
-Portspeed-ThespeedofthePort(1G,2G,4G,N1,N2,N4,orAN).Thespeedcanbe
fixed,negotiated,orauto-negotiated.
-Portstate-Theportstatus.
-Comment-Abouttheport.ThissectionmaybeblankordisplaytheWWNforanF_Portor
anE_Port,thetrunkingstate,orupstreamordownstreamstatus
3.portShow
查看端口状态
switch:
user>
portshow0
portName:
portHealth:
OFFLINE
Authentication:
None
portDisableReason:
portCFlags:
0x1
portFlags:
0x4001PRESENTU_PORTLED
portType:
4.1
portState:
2Offline
portPhys:
2No_Module
portScn:
0
portgenerationnumber:
portId:
010000
portIfId:
portWwn:
20:
00:
60:
69:
02:
53
portWwnofdevice(s)connected:
Distance:
normal
portSpeed:
N2Gbps
LEdomain:
Interrupts:
0Link_failure:
0Frjt:
Unknown:
0Loss_of_sync:
0Fbsy:
Lli:
0Loss_of_sig:
Proc_rqrd:
0Protocol_err:
Timed_out:
0Invalid_word:
Rx_flushed:
0Invalid_crc:
Tx_unavail:
0Delim_err:
Free_buffer:
0Address_err:
PortpartofotherADs:
Yes
4.fanShow
查看交换机散热风扇的状态
EnterthefanShowcommand:
fanshow
Fan1isOKspeedis7010RPM
Fan2isOKspeedis7180RPM
Fan3isOKspeedis7068RPM
Fan4isOKspeedis7116RPM
Fan5isOKspeedis7155RPM
Fan6isOKspeedis7001RPM
5.psShow
查看交换机的电源状态
注:
如果安装FR4-18i、FC4-16IP、FC10-6、FC8-48板,需要满配4个电源
EnterthepsShowcommand:
psshow
PowerSupply#1isOK
0335,FF2Z0007161,60-0000739-02,B,,DCJ3002-01P,B,FF2Z0007161
PowerSupply#2isfaulty
0335,FF2Z0007176,60-0000739-02,B,,DCJ3002-01P,B,FF2Z0007176
6.tempShow
查看交换机的环境温度
EnterthetempShowcommand:
tempshow
IndexStatusCentigradeFahrenheit
----------------------------------------------------
1OK2170
2OK2272
3OK2984
4OK2475
5OK2577
7.errDump、errShow、errClear
查看交换机的内部消息日志
Todisplaythesystemmessagelog,withnopagebreaks
EntertheerrDumpcommand.
Todisplaythesystemmessagelogoneatatime
EntertheerrShowcommand.
Toclearthesystemmessagelog
EntertheerrClearcommand.
8.supportShow、supportSave、pdShow
收集交换机的诊断数据
supportShow
显示诊断信息和状态信息
supportSave
将数据打包、上传至指定的FTP服务器
ThecommandpromptsforanFTPserver,packagesthefollowingfiles,andsendsthemtothespecifiedserver:
•TheoutputofthesupportShowcommand
•Thecontentsofanytracedumpfilesontheswitch
•Systemmessagelogs(forBrocadedirectors,supportSavesavesthesystemmessagelogs
frombothoftheCPblades)
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:
admin>
haShow
LocalCP(Slot6,CP1):
Active
RemoteCP(Slot5,CP0):
Standby
HAEnabled,HeartbeatUp,StateSynchronized
13.slotShow
查看各个Blade的状态
14.portCfgSpeed
修改端口的速率
15.portEnable或portCfgPersistentEnable
Reset端口
16.检查WWN卡状态
下列命令如果不能正确执行,则说明WWN卡需要更换:
www,chassisShow:
显示交换机的WWN号
chassisShow:
显示chassis和WWN卡的状态
ipAddrShow,ipAddrSet:
显示CPBlades的IP地址
historyShow、historyLastShow:
显示历史日志信息
switchName:
显示交换机的名字
修改DomainID
1.查看当前的DomainID
输入命令fabricShow,输出结