Table 6 CLI network set ting s configuration commands
Command
Description
showConfig
Lists host name
, D NS domain name, DNS address, and various
other address
es. This command shows both the current internal
values, as wel
l as the original values. It also lists the current and
new content of all files a ffected by the changes.
setConfigValue
<-tag> [value]
Sets the value of the corresponding configuration parameter. To
reset a value, enter “ “ (quoted space) as the value. More than
one tag and value can be set at a time. Where <-tag> can be:
-host - Host name (such as vlsexamp) (unqualified)
-domain -DNSdomainname(suchasxyz.com)
-fullhost - Fully qualified name (such as vlsexamp.xyz.com)
—ntpPrimary -FirstNTPServerAddress
—ntpSecondary -SecondNTPServerAddress
-dnsaddr - DNS server address (replaces all addresses with
one line)
-dnsaddr1 - First DNS server address (cannot use with dnsaddr)
-dnsaddr2 - Second DNS server address (cannot use with
dnsaddr)
-dhcp - Has no value, indicates you want to configure the public
Ethernet connection using DHC P (reset is -dhcp=false)
-ipaddr - IP address of public Ethernet connection
-gate - Gateway to network (xx.xx.xx.x)
-mask - Netmask. Defaults to 255.255.255.0
getDateTime
Displays the day, date, time, time zone, and year (such as Mon
March 14 11:30:46 E ST 2005)
setDateTi
me
-d<s> -Set
s the date and time. Enter date and time in
yyyy-mm-
dd hh:mm format (hh is 24 hour from 0 ).
commitConfig
Saves the system values changed using setConfigValue.
NOTE:
To reset a value to its default setti ng, set the option tag to " " (quoted space). For example:
fullhost=" "
The exception to this is the dhcp tag . DHCP is disabled by entering:
-dhcp=false
Any network configuration changes made using setConfigValue donottakeeffectuntil
“committed”, using the commitConfig command.
Configuration commands
Use the CLI commands in to:
• Edit the FC host port settings
• Enable oversubscription and view oversubscription settings
• View LUN mapping
• Cr eate , view, and destroy virtual libraries, tape drives, or cartridges
• Add, view, or remove barcode templates
HP StorageWorks
109