HP CNU Command Line Interface User Guide Abstract This document is intended for the person who configures FCoE and iSCSI devices.
© Copyright 2013, 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Contents Introduction .................................................................................................................................. 4 CLI overview ............................................................................................................................................. 4 CLI commands catalogue ........................................................................................................................... 4 Command line syntax ...............................
Introduction CLI overview This document provides CLI guidelines for the CNU. CLI commands catalogue This document also provides CLI guidelines and usage for the iSCSI and FCoE subcommands. Command line syntax CLI input is case-insensitive, except when otherwise noted.
CLI commands Common hpcnucli commands The common commands for hpcnucli are as follows.
Command Description hpcnucli -iscsi -portinfo Displays all information related to a specified port on the console Example: hpcnucli –iscsi -portinfo hpcnucli -iscsi -portstat hpcnucli -iscsi -defparam hpcnucli -iscsi -getbootconfig hpcnucli -iscsi -setbootconfig hpcnucli -iscsi -portal -listall hpcnucli -iscsi -portal -add hpcnucli -iscsi -portal -remove hpcnucli -iscsi -target -listall hpcnucli -iscsi -target -listactive Displays all port statistics for a specified port Example: h
Command Description hpcnucli -iscsi -target -login Adds a target to the system based on an iSCSI target iqn, portal IP address, and port number that you enter as arguments Login options are optional Example: hpcnucli –iscsi -target -login [port number for iSCSI target portal] [login option] hpcnucli -iscsi -target -getinfo hpcnucli -iscsi -target -sessioninfo hpcnucli -iscsi -targ
Command Description hpcnucli -iscsi -modifytcpip -static Sets an iSCSI host's TCP/IP settings to be configured manually Example: hpcnucli –iscsi –modifytcpip –static Login options The hpcnucli -iscsi login options are as follows.
Command Description hpcnucli -fcoe -setdcb Modifies the DCB admin configuration interactively Example: hpcnucli –fcoe -setdcb hpcnucli -fcoe -target -listactive hpcnucli -fcoe -target -pbindinfo hpcnucli -fcoe -target -getinfo hpcnucli -fcoe -target -lunlist hpcnucli -fcoe -getbootconfig hpcnucli -fcoe -setbootconfig hpcnucli -fcoe -ping Displays the list of all the active targets connected to a port you specify Example: hpcnucli –fcoe -
CLI help command screenshot The following is a screenshot of the CLI help command output. CNU system log location The CNU system log is stored in the following directory: $installdir$\hpcnu.
Support and other resources Before you contact HP Be sure to have the following information available before you call HP: • Active Health System log (HP ProLiant Gen8 or later products) Download and have available an Active Health System log for 3 days before the failure was detected. For more information, see the HP iLO 4 User Guide or HP Intelligent Provisioning User Guide on the HP website (http://www.hp.com/go/ilo/docs).
Acronyms and abbreviations CHAP Challenge Handshake Authentication Protocol CNU Converged Network Utility DHCP Dynamic Host Configuration Protocol FCoE Fibre Channel over Ethernet ICMP Internet Control Message Protocol IQN iSCSI qualified name iSCSI Internet Small Computer System Interface iSNS Internet Storage Name Service LUN logical unit number MAC Media Access Control VLAN virtual local-area network WWN World Wide Name Acronyms and abbreviations 12
Documentation feedback HP is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (mailto:docsfeedback@hp.com). Include the document title and part number, version number, or the URL when submitting your feedback.