This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    storage:brocade_cmd [2022/09/30 19:29] manu [Command to compare active zoning and defined]  | 
                
                    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 1255: | 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 1268: | 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 1284: | Line 1320: | ||
| </cli> | </cli> | ||
| - | <cli prompt='#'> | + | <cli prompt='>'> | 
| sansw1:FID128:admin> licenseshow | sansw1:FID128:admin> licenseshow | ||
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: | ||
| Line 1291: | 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 1321: | 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> | ||