D-Link Notes

From Alteeve Wiki
Revision as of 20:51, 1 December 2023 by Digimer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 AN!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

  1. Ensure you've updated the firmware to R2.00.010 or higher.
  2. Make the stacking master static;
    1. System Configuration -> Stacking -> Stacking Mode Settings.
    2. Change 'Force Master Role' to 'Enabled'.
  3. Enable flow-control;
    1. System Configuration -> Port Configuration -> Port Settings.
    2. Set 'Flow Control' to 'Enabled' for all ports on both switches.
    3. 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.
  4. Setup VLANs for the SN and IFN (leave the BCN on the default VID 1).
    1. L2 Features -> VLAN -> 802.1Q VLAN Settings
    2. For each VLAN;
      1. Click 'Add/Edit VLAN' tab.
      2. Enter a unique VID (100 for SN, 101 for IFN).
      3. Set a unique VLAN name.
      4. Change the ports in the VLAN to the 'untagged' radio button and leave the rest as 'Not Member'.
      5. Leave 'Advertisement' as 'Disabled'.
      6. Click 'Apply' and repeat for the other VLAN.
  5. Setup a static trunk for the two uplink ports;
    1. L2 Features -> Link Aggregation -> Port Trunking Settings.
    2. Use 'MAC Source' algorithm.
    3. Set a unique Group ID.
    4. Set the 'Type' of "Static".
    5. Set the master port (usually 1:24).
    6. Change 'State' to "Enabled".
    7. Check to enable the appropriate ports (usually 1:24 and 2:24).
  6. Save your changes!
    1. 'Save' -> 'Save Configuration / Log'.
    2. Change 'Type' to "All" and click 'Apply'.

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
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.