HP StoreOnce Backup System CLI Reference Guide

net modify subnet
Description of Command Function
This command modifies parameters in a named subnet of a saved configuration. It is not possible
to modify the default configuration. To add or remove IP addresses, use net add ipaddr or
net delete ipaddr.
NOTE: It is not possible to modify the default configuration.
Command Syntax
net modify subnet <netlabel> [params]
Command Authority
Administrator
Command Object Requirements
netlabel This label identifies the network configuration containing the subnet configuration
to be modified. This label is case insensitive.
sublabel This label identifies the subnet configuration being modified. This label is case
insensitive and can include:
[default { yes | no }]
[domain <string>]
[netmask <mask>]
[gateway <gateway>]
portset <portsetname>]
vlanTag <tag>]
netUsage { mgmt | data | both }]
NOTE: The default value for netUsage is data.
Command Parameter Requirements
default This optional parameter defines if the preceding subnet configuration is the default
subnet. The values for this parameter can be either Yes or No.
domain This optional parameter defines the domain name for the subnet configuration.
netmask This optional parameter defines the netmask. If the IPAddr value is DHCP, a value
is not required for netmask.
gateway This optional parameter defines the gateway for the subnet configuration.
IMPORTANT: If a parameter is undefined in the modify command sequence, the current parameter
value remains unchanged.
If a parameter is given the value, undefined, a value is no longer declared for the parameter.
Requirements for Command Execution
The command entry must conform to command syntax.
All object values must be valid. See object requirements for details.
All parameter values must be valid. See parameter requirements for details.
128 Alphabetical List of Commands and Details