NSX CLI Guide
set route prefix <prefix> gateway <gateway-ip> [interface <interface-name>]
Add a network route. You can also just set a gateway by specifying a prefix value of 0.0.0.0/0.
Parameters:
| Option | Description |
|---|---|
| <prefix> | CIDR notation argument |
| <gateway-ip> | Gateway IP address argument |
| <interface-name> | Configurable network interface argument |