System Management

This section describes the commands that configure and monitor the network interface.

Interface

interface

interface {eno8303 | eno8403 | eno12399np0 | eno12409np1 | ib0 | ib1 | ib2 | ib3}

Enters a network interface context.

Syntax Description

eno8303

Management port 0 (out of band)

eno8403

Management port 1 (out of band)

eno12399np0

Management port 2 (out of band)

eno12409np1

Management port 3 (out of band)

ib0

InfiniBand interface 0

ib1

InfiniBand interface 1

ib2

InfiniBand interface 2 (UFM 3.0 only)

ib3

InfiniBand interface 3 (UFM 3.0 only)

Default

N/A

Configuration Mode

config

History

1.3.0

Example

Copy
Copied!
            

ufmapl (config) # interface eno8303 ufmapl (config interface eno8303) #

Related Commands

N/A

Notes

N/A

show interfaces

show interfaces

Displays information about the network interfaces.

Syntax Description

N/A

Default

N/A

Configuration Mode

enable

History

1.4.1

Example

Copy
Copied!
            

ufmapl (config) # show interfaces 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: eno12399np0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000     link/ether 5c:6f:69:6e:6c:80 brd ff:ff:ff:ff:ff:ff 3: eno8303: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether b0:7b:25:e9:79:a2 brd ff:ff:ff:ff:ff:ff     inet 10.209.44.116/22 brd 10.209.47.255 scope global eno8303        valid_lft forever preferred_lft forever 4: eno12409np1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000     link/ether 5c:6f:69:6e:6c:81 brd ff:ff:ff:ff:ff:ff 5: eno8403: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether b0:7b:25:e9:79:a3 brd ff:ff:ff:ff:ff:ff     inet 11.0.0.12/24 brd 11.0.0.255 scope global eno8403       valid_lft forever preferred_lft forever

Related Commands

interface <ifname> ip address <IP address> <netmask>

Notes

ip address

ip address <IP address> <netmask>

Sets the IP address and netmask of this interface.

Syntax Description

IP address

IPv4 address

netmask

Subnet mask of IP address

Default

N/A

Configuration Mode

config interface

History

1.3.0

Example

Copy
Copied!
            

ufmapl (config interface eno8303) # ip address 10.10.10.10 255.255.255.0

Related Commands

interface

Notes

The command sequence is important. The ip address command should be used first during automation since it clears both default-gateway and name-server settings

ipv6 address

ipv6 address <IPv6 address>/<netmask>

Configures static IPv6 address and netmask to this interface, static option is possible.

Syntax Description

IPv6 address/netmask

Configures a static IPv6 address and netmask. Format example: 2001:db8:1234::5678/64.

Default

N/A

Configuration Mode

config interface management

History

1.3.0

Example

Copy
Copied!
            

ufmapl (config interface eno8303)# ipv6 address fe80::202:c9ff:fe5e:a5d8/6

Related Commands

N/A

Notes

N/A

Hostname

hostname

hostname <hostname>

Sets a static system hostname.

Syntax Description

hostname

String

Default

Configuration Mode

config

History

1.3.0

Example

Copy
Copied!
            

ufmapl(config) # hostname ufmapl-hostname

Related Commands

N/A

Notes

N/A

ip name-server

ip name-server <no ip name-server>
no ip name-server
Configures DNS servers to be used.
The no form of the command clears the name server.

Syntax Description

IPv4 address

IPv4 address

IPv6 address

IPv6 address

Default

No server name

Configuration Mode

config

History

1.4.2

Updated command description and added the a no form of the command

1.3.0

First release

Example

ufmapl (config)# ip name-server 9.9.9.9

Related Commands

N/A

Notes

The command sequence is important. The ip name-server command should be used during automation, after running the ip address and the ip default-gateway commands

{ip | ipv6} host

{ip | ipv6} host <hostname> <ip-address>
no {ip | ipv6} host <hostname> <ip-address>

Sets the static domain name.
The no form of the command clears the domain name.

Syntax Description

hostname

String

ip-address

IPv4 or IPv6 address

Default

N/A

Configuration Mode

config

History

1.5.0

Example

Copy
Copied!
            

ufmapl (config)# ip host test-host 1.2.3.4 ufmapl (config)# ipv6 host my-ipv6-host 2001::8f9

Related Commands

show hosts

Notes

show hosts

show hosts

Displays hostname, DNS configuration, and static host mappings.

Syntax Description

N/A

Default

N/A

Configuration Mode

Any configuration mode

History

1.4.0

Example

Copy
Copied!
            

ufmapl (config) # show hosts   Hostname: swx-ufm3-02     Name servers: 10.211.0.124 (on eno8303) 10.211.0.121 (on eno8303) 10.7.77.135 (on eno8303)   Domain names: mtr.labs.mlnx (on eno8303)   Static IPv4 host mappings: 127.0.0.1 --> localhost   Static IPv6 host mappings: ::1 --> localhost ::1 --> ip6-localhost ::1 --> ip6-loopback ff02::1 --> ip6-allnodes ff02::2 --> ip6-allrouters

Related Commands

N/A

Noes

N/A

Routing

ip default-gateway

ip default-gateway <address>
no ip default-gateway <address>

Configures a static default route.
The no form of the command removes the static route.

Syntax Description

address

gateway IPv4 or IPv6 address

Default

N/A

Configuration Mode

config

History

1.4.2

Updated syntax description and added a no form of the command

1.3.0

First release

Example

ufmapl (config)# ip default-gateway 10.209.36.1

Related Commands

N/A

Notes

The command sequence is important. The ip default-gateway command should be used during automation, after running the ip address command as it requires a static IP setting

ipv6 default-gateway

ipv6 default-gateway <address>
no ipv6 default-gateway <address>

Configures a static default route.
The no form of the command removes the static route.

Syntax Description

address

gateway IPv6 address

Default

N/A

Configuration Mode

config

History

1.4.2

Example

ufmapl (config)# ip default-gateway ::1

Related Commands

N/A

Notes

The command sequence is important. The ip default-gateway command should be used during automation, after running the ip address command as it requires a static IP setting

ntp enable

ntp enable

Enables NTP.

Syntax Description

N/A

Default

N/A

Configuration Mode

config

History

1.3.0

Example

Copy
Copied!
            

ufmapl (config) # ntp enable

Related Commands

N/A

Notes

N/A

ntp server

ntp server <address>
no ntp server <address>
Configures an NTP server
The no form of the command removes NTP server

Syntax Description

address

IPv4 or IPv6 address

Default

N/A

Configuration Mode

config

History

1.4.2

Updated the command description and added a no form of the command

1.3.0

First release

Example

Copy
Copied!
            

ufmapl (config) # ntp server 10.10.10.10

Related Commands

N/A

Notes

N/A

ntp peer

ntp peer <address>
no ntp peer <address>

Configures an NTP peer
The no form of the command removes the NTP peer

Syntax Description

address

IPv4 or IPv6 address

Default

N/A

Configuration Mode

config

History

1.4.2

Added the no form of the command

1.3.0

First release

Example

Copy
Copied!
            

ufmapl (config) # ntp peer 11.11.11.11

Related Commands

N/A

Notes

N/A

image fetch

image fetch <URL>

Downloads a system image from a remote host.

Syntax Description

URL

HTTPS, SCP and SFTP are supported
Example: scp://username[:password]@hostname/path/filename

Default

N/A

Configuration Mode

config

History

1.5.0

Example

Copy
Copied!
            

ufmapl (config) # image fetch scp://root:123456@192.168.10.125/tmp/ufm-appliance-1.5.0-6-omu.tar 100.0%[###########################################################################################]

Related Commands

show images

Notes

  • The image format must be as follows: ufm-appliance-<version>-omu.tar

  • Please delete the previously available image, prior to fetching the new image

  • See section In-Service Upgrade

image install

image install <image-name>

Installs an image file.

Syntax Description

image name

Specifies the image name

Default

N/A

Configuration Mode

config

History

1.5.0

Example

Copy
Copied!
            

ufmapl (config) # image install ufm-appliance-1.5.0-6-omu.tar Verifying image... Extracting image... Installing image... 20230809-07_24_52: UFM-OS UPGRADE to version 23.07.18-3 STARTED 20230809-07_24_52: UFM_OS_UPGRADE [STARTED ] WARNING!!! /tmp/ufm_os_upgrade_ml2ah98f/ufm-appliance-1.5.0-4-omu/ufm-os-upgrade.sh will require a restart upon completion. OFED drivers, kernel and kernel models will not work properly until the server is rebooted!!!   In case of a change to the secureboot certificate , a message will be prompted to the screen to indicate that an action is needed when restarting.     20230809-07_24_52: HighAvailability is detected, node role is: stand-by 20230809-07_24_53: Check if ufm-enterprise.service is running 20230809-07_24_53: ufm-enterprise.service is not running, continue with the upgrade 20230809-07_24_53: Extracting ISO... 20230809-07_24_53: CERTIFICATE-VALIDATION [PASSED ] 20230809-07_24_54: HA-STANDBY-MODE-ACTIVATE [PASSED ] 20230809-07_24_54: Backup HA cluster config to /var/tmp/ufm_os_upgrade_23_07_18-3/pcs_config_backup_23.07.18-3.tar.bz2 20230809-07_24_55: HA-PREPARATION [PASSED ] 20230809-07_24_55: A newer kernel version is detected: 4.15.0-213-generic, installing 20230809-07_25_22: KERNEL-UPGRADE [PASSED ] 20230809-07_25_22: Preparing MOFED repo 20230809-07_25_24: MOFED-PREPARATION [PASSED ] 20230809-07_25_24: Upgrading UFM-APPLIANCE SW 20230809-07_27_01: Upgrading UFM-APPLIANCE SW finished 20230809-07_27_01: APPLIANCE-UPGRADE [PASSED ] 20230809-07_27_01: HA-PACKAGES-UPGRADE [SKIPPED ] 20230809-07_27_01: Upgrading telemetry packages... 20230809-07_27_01: TELEMETRY-REQUIREMENTS-UPGRADE [PASSED ] 20230809-07_27_06: updating firmware 20230809-07_27_19: FW-UPGRADE [PASSED ] 20230809-07_27_19: Upgrading packages... 20230809-07_28_15: PACKAGES-UPGRADE [PASSED ] 20230809-07_28_15: Upgrading collection tools... 20230809-07_28_15: Updating FW rules 20230809-07_28_20: FIREWALL-PORTS [PASSED ] 20230809-07_28_20: UFMCLI tar is copied to /opt/ufm-os-firstboot to run on next-boot. 20230809-07_28_20: UFMCLI-PREPERATION [PASSED ] 20230809-07_28_20: HA-STANDBY-MODE-DEACTIVATE [PASSED ] 20230809-07_28_20: UFM-OS-UPGRADE [PASSED ] 20230809-07_28_20: UPGRADE finished, kernel modules, OFED and new kernel wont function properly until reboot is performed. 20230809-07_28_20: Please reboot the server.   Please check log file for more details: /var/log/ufm_os_upgrade_23.07.18-3.log Upgrade steps status information: /var/log/ufm_os_upgrade_23.07.18-3_status.log.

Related Commands

show images

Notes

  • The image should be installed on the standby node only. Installation on the master node is not allowed.

  • Once the installation is completer, perform system reboot using the command:

    Copy
    Copied!
                

    reload

image delete

image delete <image-name>

Deletes the specified image file from the hard drive.

Syntax Description

image-name

Specifies the image name

Default

N/A

Configuration Mode

config

History

1.5.0

Example

Copy
Copied!
            

ufmapl (config) # image delete ufm-appliance-1.5.0-6-omu.tar

Related Commands

show images

Notes

show images

show image

Displays information about the system images and boot parameters.

Syntax Description

N/A

Default

N/A

Configuration Mode

Any configuration mode

History

1.5.0

Example

Copy
Copied!
            

ufmapl (config) # show images Installed images: Partition 1: version: ufm_appliance UFMAPL_1.4.3.1_UFM_6.13.2.5 2023-06-13 08:42:27 x86_64 Images available to be installed: 1: Image : ufm-appliance-1.5.0-6-omu.tar

Related Commands

image delete
image fetch
image install

Notes

User Accounts

username

username root disable
no username root disable

Disable logging into root account
The no form of the command reenable login into root account

Syntax Description

N/A

Default

N/A

Configuration Mode

config

History

1.4.1

Example

Copy
Copied!
            

ufmapl (config) # username root disable

Related Commands

N/A

Notes

N/A

username admin password

username admin password <password>

Changes the "admin" user password.

Syntax Description

password

Specifies a password for the user in string form.

Default

N/A

Configuration Mode

config

History

1.4.2

Example

Copy
Copied!
            

ufmapl (config) # username admin password 123456

Related Commands

N/A

Notes

N/A

show version

show version

Displays version information for the currently running system image.

Syntax Description

N/A

Default

N/A

Configuration Mode

Any configuration mode

History

1.4.2

Updated command output

1.4.0

First release

Example

Copy
Copied!
            

ufmapl (config) # show version   Product name: ufm_appliance Product release: UFMAPL_1.4.2.2_UFM_6.13.1.1 Build date: 2023-06-04 10:31:42 Version summary: ufm_appliance UFMAPL_1.4.2.2_UFM_6.13.1.1 2023-06-04 10:31:42 x86_64 UFM OS: 2.1.11 UFM CHASSIS HEALTH: 1.0.0-3 UFM HA: 5.1.1-4 UFM CLI: 1.2.0-8 Uptime: 3h 54m CPU load averages: 0.21 / 0.14 / 0.06 Number of CPUs: 64 System memory: 2463 MB used / 58693 MB free / 65400 MB total Swap: 0 MB used / 16252 MB free / 16252 MB total

Related Commands

N/A

Notes

N/A

license install

license install <url>

Installs a UFM appliance OS license file from a remote host.

Syntax Description

url

https, sftp are supported. Example: sftp://username:password@hostname/path/filename

Default

N/A

Configuration Mode

config

History

1.4.1

First release

1.4.3

Added the first note in the "Notes" row.

Example

Copy
Copied!
            

ufmapl (config) # license install sftp://root:root/tmp/nvidia-ufm-os-restricted-3922145848058.lic

Related Commands

license delete
show license

Notes

  • The license installation is used to access the SHELL in cases where the root account is disabled. For UFM Enterprise license installation, please refer to Activating the UFM Enterprise License.

  • The license format must be as follow: *.lic

  • The license installation overrides the existing license, if present.

  • To generate UFM appliance OS license, the management interface MAC address (eno8303) should be provided to NVIDIA by running the "show interfaces" command.

license delete

license delete

Deletes a UFM appliance OS license file from the hard drive.

Syntax Description

N/A

Default

N/A

Configuration Mode

config

History

1.4.1

Example

Copy
Copied!
            

ufmapl (config) # license delete

Related Commands

license install
show license

Notes

N/A

show license

show license

Displays UFM appliance OS license information.

Syntax Description

N/A

Default

N/A

Configuration Mode

config

History

1.4.1

Example

Copy
Copied!
            

ufmapl (config) # show license Customer ID:     NVIDIA RND TESTING SN:              194042963524002 Type:            Subscription Status:          Valid MAC address:     b0:7b:25:e9:79:a2

Related Commands

license install
license delete

Notes

N/A

_shell

_shell

Runs a UNIX command shell such as bash. This shell command replaces the CLI; when the user exits the shell, they will be returned to the CLI.

Syntax Description

N/A

Default

N/A

Configuration Mode

enable

History

1.4.1

Example

Copy
Copied!
            

ufmapl # _shell root@ufmapl:~#

Related Commands

license install
license delete
show license

Notes

N/A

© Copyright 2023, NVIDIA. Last updated on Sep 5, 2023.