This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    storage:brocade_cmd [2021/11/09 16:52] manu [Firmware Download]  | 
                
                    storage:brocade_cmd [2025/09/04 18:26] (current) manu [Virtual Fabric]  | 
            ||
|---|---|---|---|
| Line 210: | Line 210: | ||
| Download and install the new firmware (disruptive for most kind of switches): | Download and install the new firmware (disruptive for most kind of switches): | ||
| <cli prompt='>'> | <cli prompt='>'> | ||
| - | SAN32B_3_146:admin> firmwaredownload -p ftp 10.64.210.103,ibm,/v4.3.0/release.plist,password | + | SAN32B_3_146:admin> firmwaredownload -p sftp 10.64.210.103,ibm,/export/software/v4.3.0,password | 
| Server IP: 10.64.210.103, Protocol IPv4 | Server IP: 10.64.210.103, Protocol IPv4 | ||
| Checking system settings for firmwaredownload... | Checking system settings for firmwaredownload... | ||
| Line 245: | Line 245: | ||
| </cli> | </cli> | ||
| + | ==== FPGA upgrade ==== | ||
| + | |||
| + | The firmware download does not automatically update the FPGA firmware into the FPGA flash memory of the system. If an updated FPGA version is included in a Fabric OS firmware update, after the firmware download is completed, you must enter the fpgaupgrade command to update the FPGA firmware | ||
| + | <cli prompt='>'> | ||
| + | switch:admin> fpgaupgrade --latest | ||
| + | Current  Latest | ||
| + | ------------------------- | ||
| + | 0x05.05  0x06.06 | ||
| + | </cli> | ||
| + | |||
| + | Upgrade FGPA to latest level | ||
| + | <cli prompt='>'> | ||
| + | switch:admin> fpgaupgrade | ||
| + | This is a disruptive operation and will require a power-cycle after the completion of the operation. | ||
| + | Do you want to continue (y/n) ? | ||
| + | y | ||
| + | Programming new FPGA, this may take a few minutes ... | ||
| + | Device #1 IDCODE is 0310A0DD | ||
| + | full-chip erasing Max 10 FPGA device(s) ... | ||
| + | programming Max 10 FPGA CFM0 block at sector 5 ... | ||
| + | ... | ||
| + | Exit code = 0... Success | ||
| + | Programmed new FPGA successfully. Please power-cycle for it to take effect.  | ||
| + | </cli> | ||
| + | |||
| + | If not success, do not reboot the SAN switch, correct first the error | ||
| + | <cli prompt='>'> | ||
| + | switch:admin> reboot | ||
| + | </cli> | ||
| ==== SSH keys import ==== | ==== SSH keys import ==== | ||
| Line 326: | Line 355: | ||
| <cli prompt='>'> | <cli prompt='>'> | ||
| switch:admin> zoneobjectrename "alias1","aliasold" | switch:admin> zoneobjectrename "alias1","aliasold" | ||
| + | </cli> | ||
| + | |||
| + | ==== Command to compare active zoning and defined ==== | ||
| + | |||
| + | Compare active and defined config | ||
| + | <cli prompt='>'> | ||
| + | san01:FID128:admin> cfgshow --transdiffsonly | ||
| + | No change in configuration defined | ||
| + | </cli> | ||
| + | |||
| + | If you have specific zone you wish to check you can go with the command zone –validate {zone_name}, example output: | ||
| + | <cli prompt='>'> | ||
| + | switch> zone --validate Z_linux002_storage001_FA8fB | ||
| + | Defined configuration: | ||
| + | zone:  Z_linux002_storage001_FA8fB | ||
| + | A_storage001_FA8fb; a_linux002_hba_a | ||
| + | |||
| + | Effective configuration: | ||
| + | zone:  Z_linux002_storage001_FA8fB | ||
| + | 50:00:09:72:08:28:55:3d | ||
| + | 21:00:00:1b:32:8c:71:c6 | ||
| + | </cli> | ||
| + | |||
| + | Count if a zone is available in active and defined config: | ||
| + | * 1 means, only available in one config | ||
| + | <cli prompt='$'> | ||
| + | $ ssh -l admin switch cfgshow | grep "zone" | sort | uniq -c | ||
| + | admin@switch's password: | ||
| + | 1 zone: zone_storage3257_FA7bA_RTPUS | ||
| + | 2 zone: zone_storage3791_10aA_fdsa | ||
| + | 2 zone: zone_storage3791_10agfda | ||
| + | 2 zone: zone_storage3791_efs | ||
| + | 2 zone: zone_storage3791_vfda | ||
| + | 2 zone: zone_storage3791_grw | ||
| + | 2 zone: zone_storage3791_fdsbaa | ||
| + | 2 zone: zone_storage3791_vfaf | ||
| </cli> | </cli> | ||
| Line 1219: | Line 1284: | ||
| Assign a port to a virtual fabric (port will be disabled for this operation) | Assign a port to a virtual fabric (port will be disabled for this operation) | ||
| lscfg --config 99 -port 5 | lscfg --config 99 -port 5 | ||
| + | |||
| + | FIXME To use fosexec, you have to allow it into **configure** to authorize **Remote fosexec feature** | ||
| Start a command under a specific fabric ID (FID)FID can be all | Start a command under a specific fabric ID (FID)FID can be all | ||
| fosexec --fid FID -cmd "command" | fosexec --fid FID -cmd "command" | ||
| - |  | + | |
| + | fosexec Command in FOS 9.2+ | ||
| + | The fosexec command still exists in FOS 9.2.x, but its access is restricted: | ||
| + | |||
| + | **Only users with admin or maintenance roles can execute fosexec starting FOS 9.2.0a.** | ||
| + | userconfig --create Myuser -r admin -l 1-128 -c operator | ||
| ==== Hard Zoning ==== | ==== Hard Zoning ==== | ||
| Line 1232: | Line 1304: | ||
| Change activation licensed ports (Port on demand) | Change activation licensed ports (Port on demand) | ||
| - | <cli prompt='#'> | + | <cli prompt='>'> | 
| sansw1:FID128:admin> switchshow | sansw1:FID128:admin> switchshow | ||
| switchName:  sansw1 | switchName:  sansw1 | ||
| Line 1248: | Line 1320: | ||
| </cli> | </cli> | ||
| - | <cli prompt='#'> | + | <cli prompt='>'> | 
| sansw1:FID128:admin> licenseshow | sansw1:FID128:admin> licenseshow | ||
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: | ||
| Line 1255: | Line 1327: | ||
| </cli> | </cli> | ||
| - | <cli prompt='#'> | + | <cli prompt='>'> | 
| sansw1:FID128:admin> licenseport --show | sansw1:FID128:admin> licenseport --show | ||
| 48 SFP-based ports are available in this switch | 48 SFP-based ports are available in this switch | ||
| Line 1285: | Line 1357: | ||
| Enable license (reserve) to a port or range 0-2 | Enable license (reserve) to a port or range 0-2 | ||
| - | <cli prompt='#'> | + | <cli prompt='>'> | 
| sansw1:FID128:admin> licenseport --reserve 0-2 | sansw1:FID128:admin> licenseport --reserve 0-2 | ||
| </cli> | </cli> | ||