You can delete one or more 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
--delete
network
--netconfig
draft
-
(Optional) Repeat Step 2 to delete 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
Deleting a static route using the Draft network configuration
profile:
$ netconfig --create_draft_from active
$ route --delete 192.168.50.0 --netconfig draft
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate