Delete a Static Route

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.
  1. Create a Draft network configuration profile from the Active profile.
    netconfig --create_draft_from active
  2. Edit an existing static route.
    route --delete network --netconfig draft
  3. (Optional) Repeat Step 2 to delete more routes.
  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

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