NSX CLI Guide
set interface <interface-name> ip <prefix> [gateway <gateway-ip>]
Configure a static IP address and netmask. Make sure an appropriate network route is also configured. You can use the optional gateway argument, or set a route using the set route command. You cannot configure a static IP address for NSX Manager or a controller because their static IP address is set at installation and cannot be changed.
Parameters:
| Option | Description |
|---|---|
| <interface-name> | Configurable network interface argument |
| <prefix> | CIDR notation argument |
| <gateway-ip> | Gateway IP address argument |