How to manage the switch with Mac via Micro USB cable

User Application Requirement
Updated 06-24-2022 09:50:09 AM 30362
This Article Applies to: 

In this article, we will share how to manage the switch and enter the BootUtil menu to reset or clear the password with Mac via a micro USB cable.

Step 1. Connect Mac to the switch.

Make sure your micro USB cable supports data transfer because some cables only support power supply. Then use it to connect your Mac to the switch.

Step 2. Use Terminal for management.

Go to “Launchpad”, search “Terminal”, then run it. Enter the following commands in Terminal to connect. Commands are listed in bold and italic.

ls /dev/*usb*

Then you will know the micro USB port used for terminal (tty) connection. Here the port is “/dev/tty.usbmodem141201”.

screen MICRO_USB_PORT 38400

Use screen command for connection, where 38400 indicates the bit rate. Here we should use “screen /dev/tty.usbmodem141201 38400” for connection. Don’t forget that the “Tab” key can help auto-completion.

Click the “Enter” key and a new screen will be displayed. Now you can manage the switch with CLI commands.

If you want to exit, press the “Ctrl” + “a” keys at the same time, then press “d” key to disconnect.

If you need to enter the BootUtil menu to reset the switch or clear the password, please continue below.

Step 3. Enter the BootUtil menu.

First, please complete the two steps above to ensure your Mac can communicate with the switch.

Then plug and unplug the power cord to reboot the switch. At the same time, you will notice that the switch screen will exit on its own because the switch is powered off and the USB connection is disconnected.

Be sure to note that press the up arrow key “↑” immediately and the “screen MICRO_USB_PORT 38400” command you typed before will be copied; then immediately press the “Enter” key to execute the command and a new CLI screen will be displayed. Keep clicking any key on the keyboard to stop the autoboot and you will enter the BootUtil menu.

Enter the number of the appropriate feature.

To factory reset the switch, type 2 then enter.

To recover the password, type 6 then enter.

Looking for More

Is this faq useful?

Your feedback helps improve this site.

Recommended Products


TP-Link Community

Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.

Visit the Community >

From United States?

Get products, events and services for your region.