Dell Powerconnect 5324

From Hack Sphere Labs Wiki
Revision as of 10:57, 21 July 2012 by Webdawg (talk | contribs) (CLI)

Jump to: navigation, search

To work with this switch you are going to need a NULL modem serial adapter or NULL modem cable. Once you have that The terminal settings are 9600 8N1 with no flow control. So 9600 baud, 8 data bits, 1 stop bit, and no parity. Flow Control NONE. VT100 Emulation.

Notes From Reading User Guide of Switch

  • Page numbers and reference
  • Passwords: 56


  • RS-232 Console Port

One DB-9 connector for a serial terminal connection which is used for debugging, software download, etc. The default baud rate is 9600 bps. The baud rate can be configured from 2400 bps up to 38400 bps.

The SFP ports and ethernet ports 21-24 can not be used at the same time.

  • The device has the following physical dimensions:
    • Height — 44 mm (1.73 inch)
    • Width — 440 mm (17.32 inch)
    • Depth — 255 mm (10.03 inch)

Speed/link/activity is indicated on the left LED and the duplex mode is indicated on the right LED.

Diag lights 4 in a row.

The reset button, located on the front panel, manually resets the device.

CLI

When using cli to save settings:

console# copy running-config startup-config

Set Console Password

enable
config
aaa authentication login default line
aaa authentication enable default line
line console
login authentication default                              
enable authentication default  
password yOurElitePassw0rd

20 chars long seems to work

Set Device IP Address

enable
configure
username admin password dell level 15
interface VLAN 1
ip address 192.168.1.123  /24
exit
ip default-gateway 192.168.1.1
snmp-server community private rw
exit

Test then save your config. You should be able to login (http,telnet) to the device.

Reset/Blank Password

It looks like a temp operation unless you save the settings. You have to console into the switch. Reset it. On startup of the switch you will be prompted to hit esc or enter:

Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom.

Afer you hit enter or esc you get 6 options. 3 clears the password. I bet you the password comes back on reset.

Reset Configuration

Console into the switch. Reset it. On startup of the switch you will be prompted to hit esc or enter:

Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom.

press [2] within two seconds to erase flash file. Do Yes. The filename you want is:

config

Enter to continue and boot the device. Make sure to have the firmware file downloaded before you reset the switch that has your working internet connection on it.

Upgrading Switch Software

  • Software has a .ros extension
  • Boot code has a .rfb extension

It looks like you do the software first and then the boot code. But you must do them both or your device will reboot over and over!

Note: New firmware and new boot code must upgraded at the same time.

via console xmodem in linux

Note: Instructions say that this could take an hour or longer. I may just setup a TFTP server. You should review the image guide and user manual for the product.

How:

  • Console In
enable
reload
  • Y to reboot the swtich
  • Return or Esc within two seconds
  • 1 to download software

Send file via xmodem. I use minicom. Along with minicom you need to have lrzsz installed. Some say to use screen with minicom because the transfer will take a while over serial. If you use screen and minicom you will need to change the escape key of one of them. Usually minicom under screen and keyboard (minicom -o)

Via TFTP

Do it this way.

enable
copy tftp://tftp.server.addy/PowerConnect_5324-2014.ros image

Wait

copy tftp://tftp.server.addy/PowerConnect_5324_boot-10202.rfb boot

Wait

  • It looks like when you upload a boot image it replaces the old one. On reboot the new boot image is loaded. You HAVE to select the new software before you reboot the switch or the switch may just keep looping.
  • Quote from manual: Loading a new boot image from the TFTP server and programming it into the flash updates the boot image. The boot image is loaded when the device is powered on. A user has no control over the boot image copies.

So select the new system image before reboot:

show bootvar
boot system image-2

Reboot the switch:

reload

Notes