NSX CLI Guide
set interface <interface-name> ip <prefix-ipv46> [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-ipv46> | CIDR notation argument for IPv4/IPv6 address |
<gateway-ipv46> | Gateway IPv4/IPv6 address argument |