D-Link Notes
Jump to navigation
Jump to search
Alteeve Wiki :: D-Link Notes |
Notes on setting up D-Link switches for high availabilty.
DGS-3120 Series
Update Firmware
Warning: Make sure the switches are powered by a UPS before doing firmware updates! |
Note: It is strongly recommended to update firmware on switches while outside of the stack. Get all switches to the same version before forming a stack. |
Setup a TFTP server and made the firmware update available there. In this example, the TFTP server will be 10.201.255.254.
From the admin console:
DGS-3120-24TC:admin# download firmware_fromTFTP 10.201.255.254 src_file FW_300022.had dest_file FW_300022.had
This will take a while to download.
Command: download firmware_fromTFTP 10.201.255.254 src_file FW_300022.had dest_file FW_300022.had
Connecting to server................... Done.
Download firmware...................... Done. Do not power off!
Please wait, programming flash......... Done.
DGS-3120-24TC:admin#
Now tell it to boot FW_300022.had on the next boot.
config firmware image unit 1 FW_300022.had boot_up
Note: When stacked, you only need to specify 'unit 1'. |
Command: config firmware image unit 1 FW_300022.had boot_up
Success.
Now reboot.
DGS-3120-24TC:admin#reboot
Are you sure you want to proceed with the system reboot?(y/n)
When back up, it's done.
Configure
- Ensure you've updated the firmware to R2.00.010 or higher.
- Make the stacking master static;
- System Configuration -> Stacking -> Stacking Mode Settings.
- Change 'Force Master Role' to 'Enabled'.
- Enable flow-control;
- System Configuration -> Port Configuration -> Port Settings.
- Set 'Flow Control' to 'Enabled' for all ports on both switches.
- Confirm with dmesg |grep -i flow and look for e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx. If any interfaces show Flow Control: None, it's not setup right.
- Setup VLANs for the SN and IFN (leave the BCN on the default VID 1).
- L2 Features -> VLAN -> 802.1Q VLAN Settings
- For each VLAN;
- Setup a static trunk for the two uplink ports;
- L2 Features -> Link Aggregation -> Port Trunking Settings.
- Use 'MAC Source' algorithm.
- Set a unique Group ID.
- Set the 'Type' of "Static".
- Set the master port (usually 1:24).
- Change 'State' to "Enabled".
- Check to enable the appropriate ports (usually 1:24 and 2:24).
- Save your changes!
- 'Save' -> 'Save Configuration / Log'.
- Change 'Type' to "All" and click 'Apply'.
- Thanks to Fabio Massimo Di Nitto for helping to sort out this recipe!
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
© 2024 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2024 | |||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |