SANsurfer iSCSI HBA CLI User’s Guide
 Document Revision History
Changes Sections Affected Revision E Changes
 SN0054621-00 E
 Appendix C Target Parameters Appendix F Using Trace
 Table of Contents
 Getting Started
 SN0054621-00 E
 Non-interactive Mode Commands
 SN0054621-00 E
 HBA Statistics Target Parameters
Port-level Parameters HBA-level Parameters
 Glossary Index
Trace Variables Trace Level Trace Data
 List of Figures
 Intended Audience
Introduction
How This Guide is Organized
 Typographic Conventions
 Related Documents
Related Documents
Part Number Title Or Name
 Supported HBAs
Supported QLogic HBAs
Supported Operating Systems
Ports Media
 Availability
License Agreements
Technical Support
Training
 Introduction Technical Support SN0054621-00 E
 Downloading the Installation Package
Installation and Removal
Installing SANsurfer iSCSI HBA CLI
To download the installation package
  Microsoft Windows see Installing on Microsoft Windows on
Where
 Installation and Removal Installing SANsurfer iSCSI HBA CLI
 To install using the GUI installation
Installing on Microsoft Windows
Windows Standard GUI Installation
Read the information, and then click Next
 Install Wizard Select Which Users
Select Which Users window appears, as shown in Figure
 Install Wizard Ready to Install
To begin installation, click Install
 Install Wizard Installing SANsurferiCLI
 Install Wizard Complete
Click Finish Restart your computer
 Quiet or Unattended Windows Installation
Windows Command Line Installation
Standard Windows Interactive CLI Installation
Passive Windows Installation
 Overwrite Previous Windows Installations
Installing on Red Hat/SUSE Linux/PPC
Installing on Solaris SPARC/Solaris
Solaris Attended Installation
 Create the noaskpkgadd.txt file with contents
Solaris Silent Installation
To install silently on Solaris
Create the following two files
 Control Panel Uninstall
Microsoft Windows Uninstall
Start Menu Uninstall
Command Line Uninstall
 Solaris SPARC/Solaris x86 Uninstall
Red Hat/SUSE Linux/PPC Uninstall
To uninstall quietly from the command line
Page
 Getting Started
Starting Interactive Mode
Introduction
 Starting Non-interactive Mode
Windows system displays the Main Menu. For example
 Interactive Mode Commands
 Command Line Interface Menu
Level
 Port Level Info & Operations see
 Port Network Settings Menu see
 Ping Target see
 Target Level Info & Operations see
 List All QLogic iSCSI HBA Ports Detected see
 Host Level Info & Operations Menu
Display Program Version Information
To choose an HBA
 Import HBA Menu, Multiple Adapters
Save Host Configuration
Display General System Information
CLI Option -g
 Select a configuration import option, and then press Enter
Import HBA Configuration
To import a single HBA configuration
Select from the following parameter sets to import
 Select HBA Port
Update Firmware, Multiple Adapters
Install HBA Driver, All Adapters
CLI Option -d
 HBA Information
HBA Level Info & Operations Menu
CLI Option -ch
 HBA Options Menu
Update BIOS/UEFI or FCode Code Image
Update Firmware Image
No CLI Option
 HBA Reset
Update ROM Image
 Retrieve FW Crash Record
HBA Diagnostic Menu
HBA Diagnostic Menu provides the following options
Retrieve FW Flash & Nvram Record
 Retrieve FW Coredump Record
Display HBA Level Statistics
 Display HBA Level Parameters
HBA Level Parameters Menu
To make changes to the HBA level parameters
 Display VPD Information
Configure HBA Level Parameters
Save Changes and Reset HBA
CLI Option -vpd
 Display Active Link Configuration
Port Link Settings Menu
Port Level Info & Operations Menu
 Configure Link Configuration
Port Network Settings Menu
Display Configured Link Configuration
Save Changes and Reset HBA if necessary
 Configure IP Settings
ISNS Settings
 To edit the configured HBA settings
Edit Configured Port Settings Menu
Display Configured Port Settings
Change Port Iscsi Alias Name
 Port Firmware Settings Menu
To make changes to the HBA firmware settings
 To edit specific HBA settings
Edit a Specific Port Setting
Configure iSCSI Settings
At the following prompt, type the new value
 Configure Firmware Settings
Configure Device Settings
  TaskManagementTimeout
Configure Basic Settings
Configure Advanced Settings
 Ldrouterauto  Loclinkauto  Routableauto
  VLANUserPriority
Configure IPv6 Settings
 Vlanid
 ZIO
 Legacy QLA4010 Restore Default Port Settings
Port Restore Factory Defaults
Configure IPv6 TCP Settings
This option is not supported in the QLA4010 HBA
 Port Diagnostic Menu contains the following options
Port Diagnostic Menu
To use port diagnostics
 Here is an example of a successful ping attempt
Ping Target
To ping a target
Here is an example of a ping on an IPv6 network
 To start a loopback test
Perform Loopback Test
Perform Read/Write Buffer Test
To start a read/write buffer test
 Display Port Statistics
Reset Statistics
Display Connection Error Log
Display ARP Table
 Display Neighbor Cache IPv6
Export Connection Error Log
Display Default Router List IPv6
Display Destination Cache IPv6
 BIOS/UEFI or FCode Settings Menu
To edit the HBA BIOS/UEFI or FCode settings
 Set Primary Boot Target Information
Display BIOS/UEFI or FCode Information
Set BIOS/UEFI or FCode Mode
Set Secondary Boot Target Information
 Target Level Info & Operations
Clear Primary Boot Target Information
Clear Secondary Boot Target Information
Set Alternative Client ID
 Display Target Information CLI Option -t
List Targets
HBA CLI
 Interactive Mode Commands Port Level Info & Operations Menu
 Bind Target
Configure Target Parameters
Delete Target
 Configure Target Authentication Menu
Disable a Target
Enable a Target
To configure target authentication Chap
 Display Targets Using Chap Entries
Display Chap Table
  Name Chap name  Secret Chap secret
Assign a Chap Entry to a Target
Add a Chap Entry
To assign a Chap entry to a target
 Edit a Chap Entry
Add a Default Bidi Chap
To add a default Bidi Chap
To edit a Chap entry
 Target Discovery Menu
Delete a Chap Entry
Save Target/CHAP Changes
To delete an entry from the Chap table
 Add a Send Target
Display Send Targets
Display Discovered Targets
Mark Send Target for Re-discovery
 Configure iSNS
Login and Persist a Discovered Target
Display iSNS Settings
Remove a Send Target
 List LUN Information
 List All QLogic iSCSI HBA Ports Detected
 Select HBA Port
Help
Refresh
 Exit
 Non-Interactive Mode Commands
 Non-interactive Command Variables
Variable Definition
 Acb
Non-interactive Commands
HBA Reset
Addchap
 Update BIOS/UEFI or FCode Mode
Bootcode
Bootcodemode
Binfo
 HBA Information
For IBM cards, the following modes are available
 Install HBA Driver, All Adapters
Cpbootcode
Csbootcode
System reboot may be required see the log file for details
 Delchap
Dce
Defbidi
Display Destination Cache IPv6 only
 Display Default Router List IPv6 only
 Dtdspa
Dspchap
Dtdsp
Dtdupd
 Dtlia
Dtli
Dtrem
 Dumpnvram
Dtrema
Dumpcore
Edchap
 Chap Parameters
Update Firmware Image-Specific HBA
Update Firmware Image-All HBAs
Parameter Parameter Alias Value
 Display General System Information
Gcr
Help
 List All QLogic iSCSI HBA Ports Detected
Port 0 on this HBA HBA Model Number
 Import
 Ipdhcp
Configure iSNS Settings
Isns
 Isns6
 Lcd
 Model
Configuration Name Configuration Alias Value
Linkchap
HBA Parameters
 Iparp
Afwdt
Afwdack
Ipad
 Netconf
Display Neighbor Cache
 Where option includes the following
Netconf6
 To add persistent targets, enter the -pacommand as follows
To disable the IPv4 network, enter the following
To disables the IPv4 and IPv6 networks
To set only the local link address, enter the following
 Pdt
Pbootcode
Pad
Pet
 Ping
Following provides the IPv6 source address values
 Rdf
 Port Restore Factory Defaults
Rdh
 Rwt
Save
 Sreset
Sbootcode
Sbootcodecid
Sdmrc
 Stdsp
Stat
Stathba
Strd
 Ver
Display Program Version Information
 Vpd
Display VPD Information
 Port-level Parameters
Table A-1. Port Settings
Port- and HBA-level Parameters
Parameter Value Alias Description
 EIPV4
Afwstm
Iprr
EIPV6
 Zioe
 IPV4TOS
Enable
TOS
IPV4TTL
 IPV6NDRET
TCPV6ND
IPV6NDRT
IPV6STO
 IPV6TC
TCPV6TS
IPV6TCPWS
IPV6VLANEN
 When on, iSCSi headers with CRC protection
 Loclinkauto
Ldrouterauto
Ldra
Locla
 Vlan
Tmto
Winscale
Vlanid
 Table A-2. HBA Settings
HBA-level Parameters
 Table B-1. HBA Statistics
HBA Statistics
Statistic Abbreviation Meaning
 HBA Statistics
 Table B-1. HBA Statistics
 Table B-1. HBA Statistics
 Target Parameters
 Table C-1. Target Parameters
Parameter Alias Function Value
 Tgtmb
Tgtiname
Tgtkato
TGEMOR2T
 Tgtidd
Tgttms
Tgtwinscaleen
Tgtlds
 Tgtis
Tgtisnack
Tgttcpn
 Target Parameters SN0054621-00 E
 Table D-1. Interactive-Mode Error Code Descriptions
Error Codes
Interactive Mode Error Codes
Return Name Description
 Coreerrhbainv
Coreerrnospace
Coreerrnocount
Coreerrnotgt
 Coreerrbootcodeinvalid
Coreerrsetbootcode
Coreerrbootcodeenabled
Coreerrbootcodemode
 Coreerrsecuritydescriptor
Coreerrdriverupdatefailed
Coreerrfailuretoinstall
Initializationfailed
 Table D-2. Non-interactive Mode Error Codes
Non-interactive Mode Error Codes
Command Error Codes
 Chapmap
 Coreerrunabletogetinfofromdirverfile
Coreerrfailuretoinstalldrivers
Coreerrunabletounzipdriverfile
Coreerrsecuritydescriptorinitializationfailed
 Gcr
 Isns6
Corestatusbad
 Netconf
 Pbootcode
 Coreerrinvalidcfgparameter
Stat
 Ver Vpd
 Error Codes Non-interactive Mode Error Codes SN0054621-00 E
 File Type
Downloadable File Names
Table E-1. File Names
File Name Description
 Downloadable File Names SN0054621-00 E
 To use trace
Using Trace
Click Properties
 Table F-1. Trace Parameters
Trace Variables
Trace Level
Variable Character String
 Table F-3. Some More Info About Trace Levels
Table F-2. Trace Level Commands
Value Trace Level
Trace Output Value
 Table F-4. Trace Data
Trace Data
To continue, press Enter
Amount Data Level
 Glossary
 Comma separated values CSV file
CoS
CSV file
Device
 Fast!UTIL
 GPort
Flash Bios
Flash
HBA alias
 NPort Node Port
LUN masking
Media
NPort ID Virtualization
 Point-to-point
Network adapter
Path
Port
 MAC
Bios
Index
ARP
 36,5-29
C4-22,5-5cache
41,5-9
Ch4-12,5-5
 28,5-27
30,5-25
14,5-26
31,5-28
 TCP Tcpdchp
Dhcp
HBA
 Core 4-17,5-11firmware core 4-16firmware Flash 4-15NVRAM
Chap
Dr4-33,5-8driver
Dumpnvram 4-15, 5-11-dv
 25,4-26,5-20,A-2
26,A-2
26,5-20,A-2,C-2
Version 4-12,4-48,5-14version, HBA
 Ldrouterauto A-8
Routableauto A-8
 G4-9,5-13
H4-49,5-13
 48,5-14
12,5-24
48,4-49
12,4-48,4-49,5-14
 25,A-4
Iocb
Address 4-26,4-49,5-20,A-3,C-3HBA port
26,A-4
 IPv6 SourceAddFlg, target C-3TCP settings
Alias 4-24,4-26,A-6
 Suse
LIP
 49,5-14
21,A-8
5-1
N4-18,4-24,5-19
 Pa4-40,5-23
Nh4-24,5-23
Nvram
Glossary-6
 R2T
PPC
ID, LUN
IP ARP
 C-5
35,5-29
Scsi
12,4-49,5-14
 Stat4-32,5-30-stathba5-30statistics
Snack
ISCSI 4-24,5-20,A-7target iSCSI I/O C-5
T4-37,5-30
 Index-18 SN0054621-00 E
 Dhcp A-8
TCP
Tcpdhcp
 25,C-2
TCP 4-27,5-20,A-5,A-8time to live, IPv4 4-25,A-4timeouts
25,4-27,A-7,C-3
25,C-4
 Vlan
SN0054621-00 E Index-21
 Camberley Surrey, GU16 7ER UK +44 0 1276 804