CLI Guide

CLI commands 6
Command Description
hpcnucli -iscsi -portinfo
Displays all information related to a specified port on
the console
Example:
hpcnucli –iscsi <MAC address> -portinfo
hpcnucli -iscsi -portstat
Displays all port statistics for a specified port
Example:
hpcnucli –iscsi <MAC address> -portstat
hpcnucli -iscsi -defparam
Displays the default driver parameter related to the port
on the console
Example:
hpcnucli –iscsi <MAC address> -defparam
hpcnucli -iscsi -getbootconfig
Displays the current boot configuration for the port on
the console
Example:
hpcnucli –iscsi <MAC address>
-getbootconfig
hpcnucli -iscsi -setbootconfig
Displays the current boot configuration for the port on
the console and allows you to modify the boot
configuration interactively
Example:
hpcnucli –iscsi <MAC address>
-setbootconfig
hpcnucli -iscsi -portal -listall
Displays all portals that are in use
Example:
hpcnucli –iscsi <MAC address> -portal
-listall
hpcnucli -iscsi -portal -add
Adds a portal to the system based on a target IP
address and port number that you enter as arguments
Login options are optional
Example:
hpcnucli –iscsi <MAC address on iSCSI
host port> –portal –add <portal IP of
target iSCSI target portal> [port number]
[login option]
hpcnucli -iscsi -portal -remove
Removes a portal from the system based on a target IP
address and port number that you enter as arguments
The default iSCSI target portal port is 3260
Login options are optional
Example:
hpcnucli –iscsi <MAC address on iSCSI
host port> –portal -
remove <portal IP of
target iSCSI target portal> [port number]
hpcnucli -iscsi -target -listall
Displays all currently discovered targets
Example:
hpcnucli –iscsi <MAC address on iSCSI
host port> -target -listall
hpcnucli -iscsi -target -listactive
Displays all currently connected targets
Example:
hpcnucli –iscsi <MAC address on iSCSI
host port> -target -listactive