HP StorageWorks 8000 NAS User Manual
Page 224

222 Command View NAS Command Line Interface
2
Log in to the system.
—
Press Enter until you see the system name and login prompt.
hp nas8000
NAS OS v1.0.0
localhost login:admin
—
Log in as “admin”. No password is required until you set one using the
text command interface or the Command View NAS web interface.
Scripting
The HP NAS 8000 command interface is based on Tcl 8.0 (http://
www.scriptics.cXom/software/tcltk/8.0.html), which allows for powerful
scripting commands such as the following:
% foreach i [getNetworkCardList] {
% puts "Network Card Info: $i"
% puts " ip address = [getNetworkCardIpAddress $i]"
% puts " subnet mask = [getNetworkCardSubnetMask $i]"
% }
Network Card Info: bond0
ip address = 0.0.0.0
subnet mask = 0.0.0.0
Network Card Info: bond1
ip address = 0.0.0.0
subnet mask = 0.0.0.0
Network Card Info: eth0
ip address = 10.10.0.1
subnet mask = 255.255.255.0