You can delete one or more existing IP
addresses 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
-
Delete an existing IP address.
ip
--delete
ip-addr
--netconfig
draft [--array
name]--type {data | discovery |
management | secondary | support} [--ctrlr {a | b}]
-
(Optional) Repeat Step 2 to delete additional IP addresses.
-
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
--force_ip_updateNOTE: The
--force_ip_update option is required
to activate configurations containing discover IP addresses or data IP
adresses. Without this option, any attempt to update discovery IP addresses
or data IP adresses in the Active network configuration profile will
fail.
Deleteting a management IP addresses using the Draft network
configuration profile:
$ netconfig --create_draft_from active
$ ip --delete 192.168.120.55 --netconfig draft --type management
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate --force_ip_update