158 lines
5.1 KiB
Markdown
158 lines
5.1 KiB
Markdown
## Reset the Switch to Factory Defaults
|
|
The switch can be reset through the on screen display's menu. This can be
|
|
controlled using the two available buttons, ``menu`` and ``enter``.
|
|
|
|
To factory reset the switch, do the following:
|
|
|
|
1. Press the ``menu`` button to bring up the on screen menu. You may have to press
|
|
the button twice, once to activate the screen and once to open the menu.
|
|
2. Press the ``menu`` button until you see that ``Maintenance`` is selected.
|
|
3. Press the ``enter`` button.
|
|
4. Press the ``menu`` button until ``Factory Default`` is selected.
|
|
5. Press the ``enter`` button once to select, and a second time to confirm.
|
|
|
|
## Setting the Switch's Account Passwords
|
|
Relevant forum thread [here](https://community.arubanetworks.com/community-home/digestviewer/viewthread?MID=9356).
|
|
|
|
First, login with the default credentials
|
|
```
|
|
User: password
|
|
Password: forgetme!
|
|
```
|
|
Next, go into `enable` mode.
|
|
```
|
|
(aruba) >enable
|
|
Password: enable
|
|
```
|
|
|
|
Set the admin user's password.
|
|
```
|
|
(aruba) #configure terminal
|
|
Enter Configuration commands, one per line. End with CNTL/Z
|
|
(aruba) (config) #mgmt-user admin root
|
|
Password: yourpassword
|
|
Retype password: yourpassword
|
|
```
|
|
Logout and log back in. Then go into `enable` mode.
|
|
```
|
|
(aruba) (config) #exit
|
|
(aruba) #exit
|
|
(aruba) >exit
|
|
User: admin
|
|
Password: yourpassword
|
|
(aruba) >enable
|
|
Password: enable
|
|
```
|
|
|
|
Configure the `enable` mode password.
|
|
```
|
|
(aruba) #configure terminal
|
|
Enter Configuration commands, one per line. End with CNTL/Z
|
|
(aruba) (config) #enable secret
|
|
Password: yourenablepassword
|
|
Re-Type password: yourenablepassword
|
|
(aruba) (config) #write memory
|
|
```
|
|
|
|
## Update the Switch's Firmware
|
|
Based on the guide available [here](https://community.arubanetworks.com/community-home/librarydocuments/viewdocument?DocumentKey=92ce82d5-13a7-47cf-8613-73416fa579d3&CommunityKey=2fd943a6-8898-4dbe-915f-4f09e4d3c317&tab=librarydocuments).
|
|
|
|
To update the switch's firmware, you will need to copy the upgrade file to a USB
|
|
drive and connect it to the USB port on the rear of the switch.
|
|
|
|
### Download the Firmware
|
|
Firmware upgrades are available for download from Aruba without a licence key.
|
|
An account is required. Aruba does not allow users to make accounts with public
|
|
email providers (gmail, hotmail, etc.), so you will either have to use a different
|
|
email provider for your account or try to find the file elsewhere on the
|
|
internet. For posterity, the `sha256sum` of the latest firmware upgrade avilable
|
|
as of Jan 24, 2023 is as follows.
|
|
|
|
`ArubaOS_MAS_7.4.1.9_62608`: `613abae502736c7c7ac2a0548edf506280d2afb8d2762db784ffa68f5cd6c52c`
|
|
|
|
### Install the Firmware
|
|
From the switch's console, login and escalate your privledges.
|
|
```
|
|
(ArubaS2500-48P-US)
|
|
User: admin
|
|
Password: ******
|
|
(ArubaS2500-48P-US) >enable
|
|
Password:******
|
|
```
|
|
|
|
Then, install the firmware using the `copy` command.
|
|
```
|
|
(ArubaS2500-48P-US) #copy usb ArubaOS_MAS_7.4.1.9_62608 system: partition 0
|
|
................................................File ArubaOS_MAS_7.4.1.9_62608 copied to partition 0 successfully.
|
|
```
|
|
|
|
Reboot the switch
|
|
```
|
|
(ArubaS2500-48P-US) #reload
|
|
Do you really want to restart the system(y/n): y
|
|
System will now restart!
|
|
```
|
|
|
|
### Connecting to the Switch
|
|
|
|
#### Console
|
|
The Aruba S2500 has a micro USB port on the back which exposes a serial
|
|
interface that can be used to manage the switch.
|
|
|
|
To connec to the serial interface you will need a computer, a micro USB cable,
|
|
and a serial application (here we are using `screen`).
|
|
|
|
1. Connect the USB serial port on the back of the switch to your computer
|
|
2. Connect to the serial port with screen
|
|
- `sudo screen /dev/ttyUSB0 9600` (replace `ttyUSB0` with the device node
|
|
your system assigns to the switch)
|
|
3. Login with the default username and password
|
|
- username: `password`
|
|
- password: `forgetme!`
|
|
|
|
You should now be dropped to a shell that looks like the below
|
|
|
|
```
|
|
(ArubaS2500-48P-US) >
|
|
```
|
|
|
|
|
|
### Ethernet (broken)
|
|
|
|
The Aruba S2500 provides a Web UI that can be used to configure the switch.
|
|
|
|
The WebUI forces HTTPS by default and the ciphers supported are not permitted by
|
|
most modern browsers. You can enabled outdated ciphers in your browser which
|
|
will enable you to sucessfully connect, but the WebUI may still fail to display.
|
|
|
|
To connect to the WebUI
|
|
1. TODO: enable the Quick Setup WebUI via the front panel menu
|
|
2. Connect an ethernet cable between your device and one of the 1GbE port on
|
|
the front of the switch
|
|
3. On your machine, assign the interface a static IP with the follow configuration
|
|
- IP: `172.16.0.2`
|
|
- Subnet Mask: `255.255.255.0` or `/24`
|
|
- Gateway: `172.16.0.1`
|
|
4. Connect to `http://172.16.0.254` in your browser.
|
|
|
|
You should now have access to the WebUI.
|
|
|
|
## Running through Quick Setup
|
|
|
|
### Console
|
|
After logging into the switch's console, you need to launch the switch's
|
|
`Quick-setup` program.
|
|
|
|
This can be done by running the `enable` command and providing the password
|
|
`enable` as seen below. You will then need to press `y` berfore the `Quick-setup`
|
|
prompt times out.
|
|
```
|
|
ArubaS2500-48P-US) >enable
|
|
Password:enable
|
|
Quick-setup helps in setting the basic configuration of the system
|
|
|
|
Autoconfiguration of system will be stopped, if Quick-setup is launched by user
|
|
|
|
Invoke Quick-setup (y|n)??? [y]:y
|
|
```
|