How to recover access to the Ether-WAN switch, if the Password or IP address is unknown?

Password Reset:

  1. Connect a laptop to the console port on the switch using the RS-232 serial cable and set the communication parameters as follows: Baud Rate-> 115200, Data bits-> 8, Parity-> None, Stop Bit-> 1, and Flow Control -> None.
  2. Power off switch.
  3. Hold down the CTRL + d key combination and power up the switch until the  ADM5120 # prompt appears.
  4. Press the Enter key a couple of times to clear any extra characters, it might give you the Unknown command error, this is ok, just stop at an ADM5120 # prompt.
  5. Issue the following command “reset password” at the prompt
  6. The switch will reboot; after the reboot, you can login with the default username of root (all lower case), and a blank password.

Example session:

Reset the switch to factory default from console port:

 

Using Command Line Console Management:

 

If the switch is not accessible via TCP/IP it can be accessed via the RS-232 serial port using CLI.

Direct access to the administration console is achieved by directly connecting a terminal or a PC equipped with a terminal-emulation program (such as HyperTerminal) to the switch console port. Configure the terminal-emulation program to use the following parameters:-

  1. 115,200bps   b)  8 data bits   c)  No parity    d) 1 stop bit

Following are the steps and commands used to get access to the Etherwan Switch:-

 

  • Logon to the EtherWAN switch 

At the switch_a login prompt:- Type “root” and press to logon to Exec Mode (or View Mode):-

 switch_a login: root

 

  • Logon to Privileged Exec Mode (Enable Mode) :-

switch_a>enable

switch_a#

 

  • Enter Configure Mode (Configure Terminal Mode) :-

switch_a#configure terminal

switch_a(config)#

switch_a(config)#restore default

The switch will reboot; after the reboot, you can login with the default username of root (all lower case), and a blank password (if you are using the Telnet protocol to access the switch, you will need Telnet again into the switch using the factory default IP of 169.254.1.1 (24 bit subnet mask).

The following commands can also be used to set System Information, System Name/Password, IP Address, Save Configuration after entering into configure terminal mode:-

 

  • System Name:- Use hostname command to set or change the network server name and use the no hostname command to disable this function.

For e.g :- To set  the hostname to switch, and shows the change in the prompt:-

switch_a(config)#hostname switch

 

  • System Password:- Use enable password command to modify or create a password to be used when entering the Enable mode.
    For e.g:- To set the new password mypasswd to switch:-

switch_a(config)#enable password mypasswd

 

  • IP Address/IP Subnet Mask:- Use ip address command to set the IP address of an interface and Use the no ip address command to remove the IP address from an interface.

For e.g:- To set the new IP address 169.254.1.1 and new IP subnet mask 255.255.0.0 to switch: switch_a(config-if)#ip address 169.254.1.1/16

 

  • Default Gateway:- Use ip default-gateway command to set the IP address of the default gateway and Use the no ip default-gateway command to remove the IP address of the default gateway.

For e.g :-To set the default gateway 169.254.1.254 to switch:

switch_a(config)#ip default-gateway 169.254.1.254

 

  • Save Configuration:- Command Mode should be Privileged Exec mode while doing save configuration . Use copy running-config startup-config command to write configuration to the file to be used at startup.

For e.g :-To write  configurations to the file to be used at startup to switch: -

switch_a#copy running-config startup-config

 

Additional Notes:

Etherwan Switch user guide and more troubleshooting steps are available in the below link

 

https://support.cambiumnetworks.com/files/pmpacc/#r3

1 Like