关键词不能为空

当前您在: 主页 > 英语 >

Brocade 光纤交换机常用命令

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-02 10:40
tags:

-

2021年2月2日发(作者:unclear)


Brocade


光纤交换机常用命令



标签:



Brocadesan


交换机命令



2013-12-24 10:19 2062


人阅读



评论


(0)


收藏



举报




分类:



San


IBM


的双机双柜,


两光纤交换机分别引一根光纤到另一楼光纤交换机,


插上无反

< p>
应,后得知需要更改交换机的


domain id


默认出厂为


1


。需改为不同号。下面


是博科的交换机命令转。


/blog/static//



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< /p>



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



errSho w



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



su pportSave



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



nsAllSh ow



fabricShow


检查连接到交换机的设备



nsShow


显示连接到交换机的所有设备



nsAllShow


显示连接到


Fa bric


的所有设备



fabricShow


显示


Fabr ic


中的所有交换机



10. licenseShow



wwn


检 查


license


文件和交换机的


WW N




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 Synchronized


13. slotShow


查看 各个


Blade


的状态



14. portCfgSpeed


修改端口的速率



15. portE nable



portCfgPersistentEnabl e


Reset


端口



16.


检查


WWN

< br>卡状态



下列命令如果不能正确执行,则说明

< p>
WWN


卡需要更换:



w ww



chassisShow


:显示 交换机的


WWN



< br>chassisShow


:显示


chassis



WWN


卡的状态


< /p>


ipAddrShow



ipAddrS et


:显示


CP Blades



IP


地址



his toryShow



historyLastShow


:显示历史日志信息



switchName< /p>


:显示交换机的名字



修改


Domain ID


1.


查看当前的


Domain ID


输入 命令


fabricShow


,输出结果中的

Switch ID


即包括交换机的


Domain ID




2.


先关闭交换机



输入命令


swichDisable


3.


配置


Domain ID


输入命令


configure


Enter y after the Fabric Parameters prompt:


Fabric parameters (yes, y, no, n): [no] y


Enter


a


unique


domain


ID


at


the


Domain


prompt.


Use


a


domain


ID


value


from


1


through


239


for


normal


operating mode (FCSW compatible):


Domain: (1..239) [1] 3


Respond to the remaining prompts, or press Ctrl-d to accept the other settings and exit.


4.


重新启用交换机



输入命令


swichEnable


升级


Firmware


FC10-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


以上



如果< /p>


M48


有主备


Control


Processor


,且主备


CP


处于


synchronized


状态,则升


级过程可在线进行,不干扰数据流量。



如果< /p>


M48


只有一个


CP

,则升级微码过程中需要


reboot


交换机来激活新的< /p>


Firmware


,数据访问会中断。



升级


M48 Firmware


约需< /p>


15


分钟



1.


保存交换机的配置信息



configUpload


2.


保存主备


Control Processor Blade



supportsave


使用命令


ipAddrShow


,查看主备

< br>CP



IP


地址



使用


telent


分别登录 主备


CP


,使用命令


supportS ave


分别收集主备


CP


< p>
supportsave


文件。



3.


查看


supportsave< /p>


中的


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


信息



errClear


5.


检查当前各个


CP Blade s



Firmware


版本

< p>


firmwareShow


6.

< p>
检查主备


CP


状态,是否处于同步状态

< p>


haShow


:查看主备


CP


是否处于


Synchronized

状态



如果主备


CP


不处于同步状态,则使用命令


haSyncStart


同步主备


CP




switch:admin>hashow


Local CP (Slot 5, CP0): Active, Warm Recovered


Remote CP (Slot 6, CP1): Standby, Healthy


HA enabled, Heartbeat Up, HA State synchronized


7.


升级


Firmware


如果


SAN


交换机支持


HA



则使用命令


firmwareDownload



同时升级主备


Control


Blade




如果


SAN


交换机不支持


HA


,则使用命令


firmwareDownload -s


,分别升级每个


Control Blade




8.


检查


Firmware


升级是否完成

< br>


firmwareDownloadStatus


9.


再次检查当前各个


CP Bla des



Firmware


版本


-


-


-


-


-


-


-


-



本文更新与2021-02-02 10:40,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/599071.html

Brocade 光纤交换机常用命令的相关文章