Configuring D-Link Switches: Difference between revisions
Created page with "{{howto_header}} = Validated Switches = The following switches (and firmwares) have been validates to work with the Anvil!: * DGS-3130-series Other models will be similar, but this is the tested model. = Serial Connection = {{note|1=Depending on your terminal emulator, the <span class="code"><Backspace></span> key may not work. If it doesn't, try pressing <span class="code">ctrl + h</span> to delete the character to the left of your cursor.}} You can use <span cl..." |
No edit summary |
||
Line 59: | Line 59: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Configure | == Configure an IP address == | ||
By default, the switch uses the IP address <span class="code">10.90.90.90/8</span>. If this is not accessible, you can change the IP address using the console. | |||
{{note|1=Super User level password can be an alphanumeric string, but cannot begin with a number.}} | {{note|1=Super User level password can be an alphanumeric string, but cannot begin with a number.}} | ||
<syntaxhighlight lang="text"> | |||
Switch>enable | |||
Switch#configure terminal | |||
Switch(config)#interface vlan 1 | |||
Switch(config-if)#ip address 10.201.1.3 255.255.0.0 | |||
</syntaxhighlight> | |||
Once this is set, connect to the Web interface to save the changes and/or make additional changes. | |||
<span class="code"></span> | |||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 22:41, 29 March 2024
Alteeve Wiki :: How To :: Configuring D-Link Switches |
Validated Switches
The following switches (and firmwares) have been validates to work with the Anvil!:
- DGS-3130-series
Other models will be similar, but this is the tested model.
Serial Connection
![]() |
Note: Depending on your terminal emulator, the <Backspace> key may not work. If it doesn't, try pressing ctrl + h to delete the character to the left of your cursor. |
You can use screen to connect to the switch. The example below is what you would use on most servers with an on-board serial port. If you have two, then port two would be /dev/ttyS1. If you are using a USB to serial adaptor, then you will use /dev/ttyUSB0 (or if it is a multi-port adapter, /dev/ttyUSB1, etc). If none of these work, you will need to consult your operating system documentation and/or serial port adapter to determine the proper /dev/ttyX device to use.
screen /dev/ttyUSBO 115200
The screen will be blank until you press <enter>.
DGS-3130-30TS Gigabit Ethernet Switch
Command Line Interface
Firmware: 2.00.011
Copyright(C) 2018 D-Link Corporation. All rights reserved.
Switch>
To log in;
Switch>enable
Switch#
There is no default user name and password.
Exiting screen
To end your screen session, press ctrl + a together, release and then press k.
You will be asked if you want to kill the session, press y to confirm.
Really kill this window [y/n]
[screen is terminating]
Configure an IP address
By default, the switch uses the IP address 10.90.90.90/8. If this is not accessible, you can change the IP address using the console.
![]() |
Note: Super User level password can be an alphanumeric string, but cannot begin with a number. |
Switch>enable
Switch#configure terminal
Switch(config)#interface vlan 1
Switch(config-if)#ip address 10.201.1.3 255.255.0.0
Once this is set, connect to the Web interface to save the changes and/or make additional changes.
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
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. |