User Tools

Site Tools


storage:brocade_cmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
storage:brocade_cmd [2021/08/02 13:17]
manu
storage:brocade_cmd [2025/05/15 11:38] (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  +SAN32B_3_146:​admin>​ firmwaredownload -p sftp 10.64.210.103,​ibm,​/​export/​software/​v4.3.0,​password
-10.64.210.103,​ibm,/​v4.3.0/​release.plist,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 246: 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 327: 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 1220: 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
Line 1233: Line 1299:
  
 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 1249: Line 1315:
 </​cli>​ </​cli>​
  
-<cli prompt='​#'>+<cli prompt='​>'>
 sansw1:​FID128:​admin>​ licenseshow sansw1:​FID128:​admin>​ licenseshow
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:​ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:​
Line 1256: Line 1322:
 </​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 1286: Line 1352:
  
 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>​
  
  
storage/brocade_cmd.1627903022.txt.gz · Last modified: 2021/08/02 13:17 by manu