API Guide

Usage
Information
The host name is used in the OS10 command-line prompt.
The MX7000 series switch, not the Dell EMC SmartFabric OS10, automatically sets the default hostname
using a module-slot format. To calculate the hostname, the switch takes into account the module that is
currently plugged into the MX7000 chassis and the slot in the chassis where the module is inserted. The
module can be either MX9116n or MX5108n.
NOTE: To make the switch automatically set the default hostname using the module-slot format,
before upgrading to version 10.5.0, remove the user-defined hostname or set the default hostname
using the no hostname command.
Supported on the MX9116n and MX5108n switches in Full-Switch mode starting in release 10.4.0(R3S).
Also supported in SmartFabric Services mode starting in 10.5.0.
The no version of this command resets the host name to OS10.
Example
OS10(config)# hostname R1
R1(config)#
Supported
Releases
10.3.0E or later
license
Installs a license file from a local or remote location.
Syntax
license install [ftp: | http: | localfs: | scp: | sftp: | tftp: | usb:]
filepath
Parameters
ftp:(Optional) Install from the remote file system (ftp://userid:passwd@hostip/
filepath)
http:(Optional) Install from the remote file system (http://hostip/filepath)
http:(Optional) Request from remote server (http://hostip)
localfs:(Optional) Install from the local file system (localfs://filepath)
scp:(Optional) Request from the remote file system (scp://userid:passwd@hostip/
filepath)
sftp:(Optional) Request from the remote file system (sftp://userid:passwd@hostip/
filepath)
tftp:(Optional) Request from the remote file system (tftp://hostip/filepath)
usb:(Optional) Request from the USB file system (usb://filepath)
Default Not configured
Command Mode EXEC
Usage
Information
Use this command to install the license file. For more information, see Install OS10 license. OS10 requires
a perpetual license to run beyond the 120-day trial period. The license file is installed in the /mnt/license
directory.
Example
OS10# license install scp://user:userpwd/10.1.1.10/CFNNX42-NOSEnterprise-
License.lic
License installation success.
Supported
Releases
10.3.0E or later
CLI Basics 75