How to manage the switch with Mac via Micro USB cable?
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.
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.
Sus comentarios nos ayudan a mejorar este sitio.