Difference between revisions of "Dell Powerconnect 5324"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(STP)
(SNTP)
Line 201: Line 201:
  
 
=SNTP=
 
=SNTP=
 +
enable
 +
show sntp configuration
 +
configure
 +
sntp unicast client enable
 +
interface vlan ##
 +
sntp server 10.0.0.1 poll
 +
sntp client poll timer 60
 +
sntp client enable
 +
end
 +
show sntp status
  
 
http://en.community.dell.com/support-forums/network-switches/f/866/p/18440016/18563647.aspx
 
http://en.community.dell.com/support-forums/network-switches/f/866/p/18440016/18563647.aspx

Revision as of 14:42, 2 November 2013

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.

[Dell Powerconnect 5324 Userguide] [Dell Powerconnect 5324 Command Line Interface Guide]

This guy has a decent setup guide: http://stevejenkins.com/blog/2011/05/dell-powerconnect-5324-setup-tasks/

As far as passwords go it looks like the username/password thing by default is only for the web interface. When I set a line password for ssh I could use any username to login and it just asks for password.

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
end

20 chars long seems to work and save your config:

copy running-config startup-config

Set Other Passwords

You can set other passwords for other lines (ways to connect) I think they are just enable passwords and such. You would still need users and passwords (prolly @ level 15) to use these services. The services are not automatically enabled. (I think except http)

Look at the user guide starting on page 56

5324 Userguide

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.

Enable SSH Server Management! Plus HTTPS?

I think you should still need to set a ssh line password. Though you may not have to. It looks like you do.

enable
config
crypto certificate 1 generate key-generate
crypto key generate dsa
crypto key generate rsa
ip ssh server

If you want to change ssh port:

ip ssh port [port #]

If you want http server:

ip https server

If you want public key authentication for ssh:

ip ssh pubkey-auth

If you want to turn public key off after enableing?

no op ssh pubkey-auth
exit

VLANS

Connect two trunk ports up that have the same vlans and the switches will pass data inbetween vlans. You can do the same with a LAG or what not too.

Table 7-65.
VLAN Port Membership Table
Port Control Definition
T The interface is a member of a VLAN. All
packets forwarded by the interface are tagged.
The packets contain VLAN information.
U The interface is a VLAN member. Packets
forwarded by the interface are untagged.
F The interface is denied membership to a VLAN.
Blank The interface is not a VLAN member. Packets
associated with the interface are not forwarded.

Trunk VS General

Notes

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

show version
  • 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

Save the config:

copy running-config startup-config


Reboot the switch:

reload

Notes


SNTP

enable
show sntp configuration
configure
sntp unicast client enable
interface vlan ##
sntp server 10.0.0.1 poll
sntp client poll timer 60
sntp client enable
end
show sntp status

http://en.community.dell.com/support-forums/network-switches/f/866/p/18440016/18563647.aspx

SNMP

ToDo

  • Timeserver