Add a Static Route

You can add 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. Add a static route.
    route --add network --netconfig name [--gateway gateway]
  3. (Optional) Repeat Step 2 to add more routes.
  4. Validate the Draft network configuration profile.
    netconfig --validate draft
    The array OS validates the configuration. If an error exists, 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

Adding a static route using the Draft network configuration profile:

$ netconfig --create_draft_from active
$ route --add 192.168.50.0 --netconfig draft --gateway 192.168.50.101    
$ netconfig --validate
INFO: Configuration is valid.
$ netconfig --activate