Brocade

Preparing for a firmware download

Migrating from FOS v7.1
Any 8G or 16G platform operating at FOS v7.1.x  must be upgraded to FOS v7.2.x  before non-disruptively 

Disruptive upgrade to FOS v7.3.1a from FOS v7.1 is supported. 

* https://www.guldmyr.com/blog/brocade-san-switch-firmware-upgrades/#Upgrading_Tools

SW-04:admin> configupload 
Protocol (scp, ftp, sftp, local) [ftp]: sftp        
Server Name or IP Address [host]: 10.13.3.93
User Name [user]: merlyn
Path/Filename [<home dir>/config.txt]: /tmp/config.txt
Section (all|chassis|switch [all]): 
Password: 

configUpload complete: All selected config parameters are uploaded

* supportSave

supportsave


HANA-SAN-SW-01:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
NOTE: supportSave will transfer existing trace dump file first, then
automatically generate and transfer latest one. There will be two trace dump
files transferred after this command.
OK to proceed? (yes, y, no, n): [no] yes

Host IP or Host Name: 192.168.147.184
User Name: anonymous
Protocol (ftp | scp | sftp): ftp
Remote Directory: incoming

Saving support information for switch:HANA-SAN-SW-01, module:RAS...
...............................................................................
Saving support information for switch:HANA-SAN-SW-01, module:FTRACE_START...
Saving support information for switch:HANA-SAN-SW-01, module:CTRACE_OLD...
Saving support information for switch:HANA-SAN-SW-01, module:CTRACE_OLD_MNT...
3Saving support information for switch:HANA-SAN-SW-01, module:CTRACE_NEW...
33Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_ISWITCH...                                                              Saving support information for switch:HANA-SAN-SW-01, module:FABRIC...
............
Saving support information for switch:HANA-SAN-SW-01, module:DIAG...
.....
Saving support information for switch:HANA-SAN-SW-01, module:RTE...
Saving support information for switch:HANA-SAN-SW-01, module:IF_TREE...
Saving support information for switch:HANA-SAN-SW-01, module:ISCSID_DBG...
Saving support information for switch:HANA-SAN-SW-01, module:AGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:AGWWNS...
Saving support information for switch:HANA-SAN-SW-01, module:AGWWN_CFG...
Saving support information for switch:HANA-SAN-SW-01, module:VPWWN_CFG...
.....
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_PLOG...
..
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_OS...
..................................................................................
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_EX...
..
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_FABRIC...
............................................
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_SERVICE...
..........
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_SEC...
..................
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_NET...
.....................
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_SYS...
.............................................
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_FICON...
..........
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_ASICDB...
.......
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_AG...
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_APM...
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_CRYP...
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_FCIP...
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_PORT...
......
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_DCEHSL...
Saving support information for switch:HANA-SAN-SW-01, module:SSHOW_FLOW...
...
Saving support information for switch:HANA-SAN-SW-01, module:CEEDEBUG...
Saving support information for switch:HANA-SAN-SW-01, module:CEETECHSUPPORT...
Saving support information for switch:HANA-SAN-SW-01, module:FCOESUPPORT...
Saving support information for switch:HANA-SAN-SW-01, module:C2REGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:C1REGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:PBREGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:BLSREGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:AVREGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:C3REGDUMP...
Saving support information for switch:HANA-SAN-SW-01, module:BCM_STATS...
Saving support information for switch:HANA-SAN-SW-01, module:CRYP...
..................
Saving support information for switch:HANA-SAN-SW-01, module:FCIP...
Saving support information for switch:HANA-SAN-SW-01, module:FCIP_DPLOGS...
Saving support information for switch:HANA-SAN-SW-01, module:VFABRIC...
.....
Saving support information for switch:HANA-SAN-SW-01, module:MAPS...
Saving support information for switch:HANA-SAN-SW-01, module:FABRIC_WATCH...
...
Saving support information for switch:HANA-SAN-SW-01, module:PSDUMP...
...
Saving support information for switch:HANA-SAN-SW-01, module:ENC_LOGGER...
Saving support information for switch:HANA-SAN-SW-01, module:AN_DEBUG...
....................
Saving support information for switch:HANA-SAN-SW-01, module:AMS_MAPS_LOG...
Saving support information for switch:HANA-SAN-SW-01, module:FLOW_VISION_LOG...
Saving support information for switch:HANA-SAN-SW-01, module:MP_LOG...
Saving support information for switch:HANA-SAN-SW-01, module:DM_FTR_FFDC...
Saving support information for switch:HANA-SAN-SW-01, module:CORE_FFDC...
No core or FFDC data files found!
Saving support information for switch:HANA-SAN-SW-01, module:RAS_POST...
..........

Obtaining and decompressing firmware

firmwaredownload
firmwaredownloadstatus

Finding the switch firmware version

# firmwareshow
# version
Kernel:     2.6.14.2   
Fabric OS:  v7.1.1c
Made on:    Thu Jan 16 20:02:15 2014
Flash:      Tue Sep 8 13:36:38 2015
BootProm:   1.0.10

collect logs

switch> supportsave

Troubleshooting

Bottleneck Detection

Use the bottleneckmon command to detect latency and congestion bottlenecks on F[L]_Ports and E_Ports. The bottleneckmon command detects slow drain devices (F_Ports) at the egress side of the port.

fcping

Discover WWNs on NPIV

portshow 13 or nsshow 
#(the alpa part of the FID would change and Domain and Area part would remain the same for each WWN for port 13)

portLoginShow 
#shows all WWNs logged into fabric on a given physical port.

nsZoneMember 
#might tell you with what other devices your host WWN can communicate.
#If you know device WWN you can further identify it with nodeFind command.

tools

http://www.brocade.com/en/support/support-tools/brocade-san-health.html

How to clear all port statistics on Brocade switches

porterrshow

portstatsclear 0

Brocade Fabric Switch how to

级联

1、新增交换机升级firmware v7.X

2、初始化,设置新增交换机管理IP、修改domain id

3、完成当前和新增交换机光纤连接(ISL 级联)

4、执行如下命令检查级联情况:

DS300B:admin> switchshow

DS300B:admin > islshow

DS300B:admin > fabricshow

(通常状况下服务器及存储与交换机连接时端口的状态是N_Port,如果交换机级联成功端口状态会变成E-Port,主交换机后面会标有 (UPstream),下级交换机会显示 (downstream)状态);

5、按规划完成FC光纤链接;

6、交换机级联后,当前交换机和新增交换机ZONE会自动同步

7、登陆任意一交换机,进行ZONE添加设置保存,并enable ZONE config,(在线操作对生产环境应有些影响);

ortcfgpersistentdisable 13

licenseport -release 13

portenable 2

maybe portcfgpersistentenable 2

Zoning between two Brocade 300 SAN switches via ISL

1. with fabricshow, you should see both switchs in the same fabric.

2. the port-based zones, are refered by <domain, port>. So, check the Brocade FOS command reference guide for the exact command, but in short, the zone member refering port 5 in a switch with DID 3 would be <3,5>

An example of a zone with two members: port 1 in the old switch and port 5 in the new one.

SWITCH:admin> zonecreate "ZONE1", "2,1; 3,5"

Auto generate config

https://thesanguy.com/2013/08/09/scripting-alias-and-zone-creation-for-brocade-switches/

References

désert/FabricSwitch/Brocade (last edited 2020-07-10 09:12:42 by merlyn)