D-Link Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
= DGS-3120 Series = | = DGS-3120 Series = | ||
== Update Firmware == | |||
# Ensure you've updated the firmware to R2.00.010 or higher | |||
# System Configuration -> Stacking -> Stacking Mode Settings. Change 'Force Master Role' to 'Enabled'. | {{warning|1=Make sure the switches are powered by a UPS before doing firmware updates!}} | ||
# System Configuration -> Port Configuration -> Port Settings. Set 'Flow Control' to 'Enabled' for all ports on both switches. | |||
{{note|1=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 <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> | |||
<syntaxhighlight lang="text"> | |||
Are you sure you want to proceed with the system reboot?(y/n) | |||
</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. | |||
# Make the stacking master static; | |||
## <span class="code">System Configuration</span> -> <span class="code">Stacking</span> -> <span class="code">Stacking Mode Settings</span>. | |||
## Change '<span class="code">Force Master Role</span>' to '<span class="code">Enabled</span>'. | |||
# Enable flow-control; | |||
## <span class="code">System Configuration</span> -> <span class="code">Port Configuration</span> -> <span class="code">Port Settings</span>. | |||
## Set '<span class="code">Flow Control</span>' to '<span class="code">Enabled</span>' for all ports on both switches. | |||
## Confirm with <span class="code">dmesg |grep -i flow</span> and look for <span class="code">e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx</span>. If any interfaces show <span class="code">Flow Control: None</span>, it's not setup right. | ## Confirm with <span class="code">dmesg |grep -i flow</span> and look for <span class="code">e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx</span>. If any interfaces show <span class="code">Flow Control: None</span>, it's not setup right. | ||
# Setup | # Setup [[VLAN]]s for the [[SN]] and [[IFN]] (leave the [[BCN]] on the default [[VID]] <span class="code">1</span>). | ||
## L2 Features -> VLAN -> 802.1Q VLAN Settings | ## L2 Features -> VLAN -> 802.1Q VLAN Settings | ||
## For each VLAN; Click "Add/Edit VLAN | ## For each VLAN; | ||
# Setup a static trunk for the two uplink ports; L2 Features -> Link Aggregation -> Port Trunking Settings. | ### Click '<span class="code">Add/Edit VLAN</span>' tab. | ||
## Use 'MAC Source' algorithm | ### Enter a unique [[VID]] (<span class="code">100</span> for [[SN]], <span class="code">101</span> for [[IFN]]). | ||
### Set a unique VLAN name. | |||
### Change the ports in the VLAN to the '<span class="code">untagged</span>' radio button and leave the rest as '<span class="code">Not Member</span>'. | |||
### Leave '<span class="code">Advertisement</span>' as '<span class="code">Disabled</span>'. | |||
### Click '<span class="code">Apply</span>' and repeat for the other VLAN. | |||
# Setup a static trunk for the two uplink ports; | |||
## <span class="code">L2 Features</span> -> <span class="code">Link Aggregation</span> -> <span class="code">Port Trunking Settings</span>. | |||
## Use '<span class="code">MAC Source</span>' algorithm. | |||
## Set a unique <span class="code">Group ID</span>. | |||
## Set the '<span class="code">Type</span>' of "<span class="code">Static</span>". | |||
## Set the master port (usually <span class="code">1:24</span>). | |||
## Change '<span class="code">State</span>' to "<span class="code">Enabled</span>". | |||
## Check to enable the appropriate ports (usually <span class="code">1:24</span> and <span class="code">2:24</span>). | |||
# Save your changes! | # Save your changes! | ||
## 'Save' -> 'Save Configuration / Log'. Change 'Type' to "All" and click 'Apply'. | ## '<span class="code">Save</span>' -> '<span class="code">Save Configuration / Log</span>'. | ||
## Change '<span class="code">Type</span>' to "<span class="code">All</span>" and click '<span class="code">Apply</span>'. | |||
* Thanks to [http://dk.linkedin.com/in/fabbione Fabio Massimo Di Nitto] for helping to sort out this recipe! | |||
{{footer}} | {{footer}} |
Latest revision as of 20:51, 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! |
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! | 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. |