Qlogic SANbox 2

From FnordWiki
Jump to navigation Jump to search

Re-set credentials and stuff

  • Power off switch
  • Press and hold "maintenance mode" button
  • Power on switch
  • Wait 60 seconds
  • Telnet to 10.0.0.1 (switch's new IP address)
  • Log in as "prom" (password is "prom")
  • Choose appropriate re-set option (network, users, ...)

Configuration done to virgin switch

  • telnet to 10.0.0.1
  • Log in as "admin" (password is "password")
  • "admin begin" to start admin mode (think Cisco's "enable" or "su" on UNIXy OSes)
  • "set setup system" to do basic configuration (network,
SANbox2 (admin) #> set setup system

  A list of attributes with formatting and current values will follow.
  Enter a new value or simply press the ENTER key to accept the current value.
  If you wish to terminate this process before reaching the end of the list
  press 'q' or 'Q' and the ENTER key to do so.

  Eth0NetworkDiscovery     (1=Static, 2=Bootp, 3=Dhcp, 4=Rarp) [Static    ]  3
  AdminTimeout             (dec value 0-1440 minutes, 0=never) [30        ]
  InactivityTimeout        (dec value 0-1440 minutes, 0=never) [0         ]  60
  TempMonitoringWarning    (dec value 40-75 degrees Celsius)   [65        ]  
  TempMonitoringFailure    (dec value 40-75 degrees Celsius)   [70        ]  
  TempFailurePortShutdown  (True / False)                      [False     ]  
  UserAuthentication       (True / False)                      [False     ]  
  LocalLogEnabled          (True / False)                      [True      ]  
  RemoteLogEnabled         (True / False)                      [False     ]  
  RemoteLogHostAddress     (dot-notated IP Address)            [10.0.0.254]  
  NTPClientEnabled         (True / False)                      [False     ]  True
  NTPServerAddress         (dot-notated IP Address)            [10.0.0.254]  172.16.0.1
  EmbeddedGUIEnabled       (True / False)                      [True      ]  False

  Do you want to save and activate this system setup? (y/n): [n] y

  System setup saved and activated.

SANbox2 #>

Firmware updates

Firmware updates are performed by using an FTP client to PUT a new image to the switch. Log in as "images" (password "images"), PUT the file from Qlogic's FTP site and open up a telnet session to the switch.

SANbox2 (admin) #> image list

  4.2.0.18_x86

SANbox2 (admin) #> image unpack 4.2.0.18_x86

  Processing the command ... 
  A notification with the command result will appear
  on the screen when the command has completed.

SANbox2 (admin) #> 

  image unpack command result: Passed.

  The firmware will become active after the next switch reset.

Do a "hardreset" to restart the switch with the new firmware.