Edit a Subnet

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.
  1. Create a Draft network configuration profile from the Active profile.
    netconfig --create_draft_from active
  2. 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}]
  3. (Optional) Repeat Step 2 to edit additional subnets.
  4. 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.
  5. 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