Files
wiki/networking/Aruba S2500.md
T

110 lines
3.8 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.
## Reset the Admin Password
Guide [here](https://community.arubanetworks.com/community-home/digestviewer/viewthread?MID=9356).
## Update the Switch's Firmware
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.
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).
### Installing 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
```