You can edit one or more existing
subnets using the Draft network configuration profile. The Draft profile is usesd to
validate and activate the configuration changes.
-
Create a Draft network configuration profile from the Active
profile.
netconfig
--create_draft_from
active
-
Edit an existing subnet.
subnet
--edit
label [--new_label
name] [--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 edit 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
Editing the data1 subnet using the Draft network configuration
profile:
$ netconfig --create_draft_from active
$ subnet --edit data1 --new_label data2 --subnet_addr 200.200.200.0/24 --netconfig draft
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate