How to upload a license file to an S series switches

oad a license file to an S series (except the S1700) switch using one of the following methods:


Method 1: Using a TFTP server
Use a PC as an TFTP server, run the TFTP server program on the PC, and configure the PC.
Note: To use a TFTP server to upload a license file, you need to purchase the TFTP server software.s
The operation procedure is as follows:
1. Configure a TFTP server. Click Browse to set Current Directory for storing the system software to be loaded. The TFTP server address in Server interfaces is automatically set by the system.
2. Run the tftp [ -a source-ip-address | -i interface-type interface-number ] tftp-server [ public-net | vpn-instance vpn-instance-name ] put source-filename [ destination-filename ] command to upload a license file to the TFTP server.


Method 2: Uploading a license file from an FTP server to a switch that functions as an FTP client
Note: To use an FTP server to upload a license file, you need to purchase the FTP server software.
The operation procedure is as follows:
1. Configure an FTP server, set the user name and password, and set the FTP directory.
2. Run the ftp [ -a source-ip-address | -i interface-type interface-number ] host-ipv4 [ port-number ] [ public-net | vpn-instance vpn-instance-name ] command to log in to the FTP server. Enter the user name and password as prompted.
3. Run the get remote-filename [ local-filename ] command to download a license file to the FTP client.


Method 3: Using a switch as an FTP server and uploading a license file to the switch from an FTP client
The operation procedure is as follows:
1. Run the system-view command to enter the system view.
2. Run the ftp [ ipv6 ] server enable command to enable the FTP server.
3. Run the aaa command to enter the AAA view.
4. Run the local-user user-name password cipher password command to set the local user name and password.
5. Run the local-user user-name privilege level level command to set the local user level.
Note: The user level must be set to 3 or higher. Otherwise, the FTP connection cannot be established.
6. Run the local-user user-name service-type ftp command to configure the FTP service type.
7. Run the local-user user-name ftp-directory directory command to configure an authorized directory for the FTP user.
8. Access the CLI of a PC and run the ftp server-ip-address command. Enter the user name and password as prompted to log in to the FTP server.
9. Run the put license-file command to upload a license file to the FTP server. After being successfully uploaded, the license file will be stored in the default directory of the FTP server.

Scroll to top