How to Upgrade TP-Link SMB Router through CLI
TL-ER6120 , TL-ER6020 , TL-ER5120 , TL-R480T+
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device and check either the Datasheet or the firmware section for the latest improvements added to your product.
Notice:
- Please verify the hardware version of your device for the firmware version. Wrong firmware upgrading may damage your device and void the warranty;
- After you download the firmware from TP-Link website, please use decompression software such as WinZIP or WinRAR to extract the bin file;
- Do NOT turn off the power or disconnect the Ethernet cable during upgrade process, these error operations will damage your device and the damage is irreversible.
- Please export all current settings as a backup before you upgrade.
- Only some of the SMB routers with console port can upgrade through CLI.
Set Up a FTP Server
Before we upgrade the router, we should set up a FTP server first. Here we recommend 3CDaemon as the FTP server, it is based on the Windows operating system and is easy to use, you can also use other FTP tools. Here are the steps to set up FTP server using 3CDaemon.
Step1: Download the 3CDaemon software, and run it on the PC, then connect the PC to the router’s LAN port using Ethernet cable, you can get a IP address automatically from the router or designate a static IP address manually. Make sure the PC’s IP address is in the same subnet of the router’s LAN IP.
Step2: Designate the file path
Designate a file path, here we set “E:\123\” as example. Later, we will put all the relevant file to this folder. The configuration steps show as the picture below:
Set the login user name and password and related authorities:
Here we set the login user as “admin”, password as “666666” for example.
Save all the settings, on the main page, we can see the information of the built up FTP server. The IP address is 192.168.0.2 and the port is 21 in this example.
Step3: Download the corresponding firmware in the TP-Link official website, and extract the bin file, considering the convenience for the later operation, we recommend you to change the file name to a simple one. Here we take the R480T+ v7 as example and change the firmware name to “update.bin”. And then put it into the folder we designate in last step, “E:\123\” in this example.
Step4: login the CLI
Turn on the router and wait until it works normally--connect the router to the PC using the Serial Line--access the CLI interface by using Hyper Terminal or putty--in the User EXEC Mode (TP-Link>), input “enable” command, and then input the router’s login password (“admin” as default) after the prompt--login the Privileged EXEC Mode (TP-Link#), input “sys ?”, we can see the prompt show as below:(You can refer to the UG for more information about how to login to the CLI. Be careful that the baud rate of the R480T+ is 115200.)
From the picture, we can see that in this mode, we can update the firmware, export or import config file, reboot or restore the system and show the system’s information.
In the Privileged EXEC Mode, enter command “sys update”, and then enter FTP server address (192.168.0.2), FTP user name (admin), password (666666) and the firmware file name (update.bin) as the prompt indicates. If the input information is the same as the information in the “[]”, we can just click “Enter” key to go to next command.
If we connect to the FTP server successfully, we can see the prompt message below
If we get the message “the user name or password is wrong”, we should check the user name and password in the FTP server carefully first; If we got message “cannot connect to the FTP server”, we should close all the safety software such as Firewall and then try again. We should also make sure that the Ethernet cable should be connected stably. If it still does not work, you can change another PC and try again.
We should wait until we see the message show as the picture below which means we have upgraded the router successfully.
Note:
1.We can also import or export config file in the same method and the steps are similar.
2.It is highly recommended to upgrade, import or export through web interface, unless you really need.
Is this faq useful?
Your feedback helps improve this site.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
We'd love to get your feedback, please let us know how we can improve this content.
Thank you
We appreciate your feedback.
Click here to contact TP-Link technical support.
TP-Link Community
Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
Basic Cookies
These cookies are necessary for the website to function and cannot be deactivated in your systems.
TP-Link
accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
Livechat
__livechat, __lc2_cid, __lc2_cst, __lc_cid, __lc_cst, CASID
Youtube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Analysis and Marketing Cookies
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au
Meta Pixel
_fbp
Crazy Egg
cebsp_, _ce.s, _ce.clock_data, _ce.clock_event, cebs
Hotjar
OptanonConsent, _sctr, _cs_s, _hjFirstSeen, _hjAbsoluteSessionInProgress, _hjSessionUser_14, _fbp, ajs_anonymous_id, _hjSessionUser_<hotjar-id>, _uetsid, _schn, _uetvid, NEXT_LOCALE, _hjSession_14, _hjid, _cs_c, _scid, _hjAbsoluteSessionInProgress, _cs_id, _gcl_au, _ga, _gid, _hjIncludedInPageviewSample, _hjSession_<hotjar-id>, _hjIncludedInSessionSample_<hotjar-id>
lidc, AnalyticsSyncHistory, UserMatchHistory, bcookie, li_sugr, ln_or