license get
Use this command to fetch the license for this device from a network path or a USB mount path. This command validates the license against the device identifier.
Note: The system date must be correct to avoid installation failure.
For HTTP, FTP, or TFTP, ensure that the IP address is reachable from the OcNOS device and that the file location is correct.
If you install a license from a USB stick, insert it, and the contents of the USB are available as ///mnt/usb/. For example:
>license get file:///mnt/usb/IPI-CC37ABBE0340.bin
After running the license get command, you can immediately use the switch without rebooting.
To verify, run the
show license command after giving this command.
Command Syntax
license get (|(source-interface IFNAME)) WORD
Parameters
IFNAME
The interface used to download the license. If not specified, eth0 is used.
If the management interface of the switch is in the “management” VRF, then this command uses the “management” VRF to get the license from the specified path. You do need not to know if the management port is in the default VRF or the “management” VRF.
WORD
Where to get the license:
ftp://your-server-ip/path/to/file/IPI_deviceId.bin
http://your-server-ip/path/to/file/IPI_deviceId.bin
tftp://your-server-ip/path/to/file/IPI_deviceId.bin
file:///mnt-point/usb/path/to/file/IPI_deviceId.bin
Default
None
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
>license get http://myServer/IPI-CC37ABBE0340.bin
Specify the source-interface parameter to set the interface to use:
>license get source-interface xe2 http://myServer/IPI-CC37ABBE0340.bin
Last modified date: 06/07/2023