You can add one or more subnets using
the Draft network configuration profile. The Draft profile is used to validate and
activate the configuration changes.
-
Create a Draft network configuration profile from the Active
profile.
netconfig
--create_draft_from
active
-
Create a subnet.
subnet
--add
label
--subnet_addr
network_ipaddr/netmask
[--discovery_ipaddr
ipaddr] [--type {mgmt | data | mgmt,data}] [--subtype
{iscsi|group}]
[--netzone_type {evenodd | bisect | single}] [--netconfig
name] [--vlanid
id] [--mtu
mtu] [ --failover
{enable|disable}]
-
(Optional) Repeat Step 2 to add additional subnets.
-
Validate the Draft network configuration profile.
netconfig
--validate
draft
The array OS validates the configuration. If an error exists, The
array OS returns an error message. Resolve all errors before proceeding to the
next step.
-
Activate the Draft network configuration profile.
netconfig
--activate
draft
Configuring the data1 subnet using the Draft network configuration
profile:
$ netconfig --create_draft_from active
$ subnet --add data1 --subnet_addr 192.168.120.0/24 --netconfig draft
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate