You can edit one or more existing
static routes 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
-
Edit an existing static route.
route
--edit
network
--netconfig
draft [--network
new_network] [--gateway
gateway]
-
(Optional) Repeat Step 2 to edit more routes.
-
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 a static route network IP address and gateway IP address using the
Draft network configuration profile:
$ netconfig --create_draft_from active
$ route --edit 192.168.50.0 --netconfig draft --network 10.190.25.0 --gateway 10.190.25.101
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate