D-Link Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
= DGS-3120 Series = | = DGS-3120 Series = | ||
== Update Firmware == | |||
{{warning|1=Make sure the switches are powered by a UPS before doing firmware updates!}} | |||
Setup a TFTP server and made the firmware update available there. In this example, the [[TFTP server]] will be <span class="code">10.201.255.254</span>. | |||
From the admin console: | |||
<syntaxhighlight lang="text"> | |||
DGS-3120-24TC:admin# download firmware_fromTFTP 10.201.255.254 src_file FW_300022.had dest_file FW_300022.had | |||
</syntaxhighlight> | |||
This will take a while to download. | |||
<syntaxhighlight lang="text"> | |||
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# | |||
</syntaxhighlight> | |||
Now tell it to boot <span class="code">FW_300022.had</span> on the next boot. | |||
<syntaxhighlight lang="text"> | |||
config firmware image unit 1 FW_300022.had boot_up | |||
</syntaxhighlight> | |||
{{note|1=When stacked, you only need to specify 'unit 1'.}} | |||
<syntaxhighlight lang="text"> | |||
Command: config firmware image unit 1 FW_300022.had boot_up | |||
Success. | |||
</syntaxhighlight> | |||
Now reboot. | |||
<syntaxhighlight lang="text"> | |||
DGS-3120-24TC:admin#reboot | |||
</syntaxhighlight> | |||
When back up, it's done. | |||
== Configure == | |||
# Ensure you've updated the [http://www.dlink.ca/products/?pid=DGS-3120-24TC firmware] to <span class="code">[ftp://ftp.dlink.com/Switch/dgs3120series/Firmware/dgs3120series_FW_200010.zip R2.00.010]</span> or higher. | # Ensure you've updated the [http://www.dlink.ca/products/?pid=DGS-3120-24TC firmware] to <span class="code">[ftp://ftp.dlink.com/Switch/dgs3120series/Firmware/dgs3120series_FW_200010.zip R2.00.010]</span> or higher. |
Revision as of 20:20, 1 December 2023
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! |
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
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! | 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. |