Networking NVIDIA NVOS User Manual for InfiniBand Switches

Management Interfaces

Management interfaces provide access to the switch management user interfaces, such as the CLI and the REST API.

NVIDIA switches have dedicated out-of-band (OOB) management interfaces, such as eth0. Most NVIDIA switches also have a serial port that provides access to the CLI only.

For the management interface commands, see Management Interface Commands.

Configuring Management Interfaces with Static IP Addresses

The management interface uses DHCP for addressing by default.

For example, to set a static IPv4 address and a default gateway:

admin@nvos:~$ nv set interface eth0 ipv4 address 192.0.2.42/24
admin@nvos:~$ nv set interface eth0 ipv4 gateway 192.0.2.1
admin@nvos:~$ nv config apply

When you configure a static IP address, the switch sends unsolicited announcement messages to the gateway so that the network learns the MAC address of the switch. This helps networks that use static addresses detect new devices. This also applies to static IPv6 addresses.
When a static IP address is configured, disconnecting and reconnecting the cable also triggers these messages.

Configuring IPv6 Address on the Management Interface

  1. Set a static IPv6 address:

    admin@nvos:~$ nv set interface eth0 ipv6 address 2001:db8::42/64
    admin@nvos:~$ nv config apply
    
  2. Verify that the IPv6 address is configured correctly:

    admin@nvos:~$ nv show interface eth0
    

Default Gateway

To set the default gateway manually, run the nv set interface eth0 ipv4 gateway <gateway-ip> command (for IPv6, nv set interface eth0 ipv6 gateway <gateway-ip>). The gateway address must be in the subnet of one of the IP interfaces of the switch.

IP DHCP Client

To enable or disable the DHCP client and the DHCPv6 client on a management interface (eth0 or eth1), run the following commands:

  1. nv set interface <interface-id> ipv4 dhcp-client state <enabled | disabled>

  2. nv set interface <interface-id> ipv6 dhcp-client state <enabled | disabled>

On a management interface (eth0 or eth1), enabling the DHCP client also enables the DHCPv6 client, and the other way around.

Last updated: