Aug 09

This article teaches you how to set system IP and DHCP interface on D-Link switch.

Step 1: Open HyperTerminal and configure it for the Com port you are presently connected to, and use the following settings:

Bits Per Second – 9600
Data Bits – 8
Parity – None
Stop Bits – 1
Flow Control – None

Note: In the following steps, Console#, represents the command line prompt. If you have changed the name of your switch it will appear as the name, rather than console (ex DWS1008-01#).

Step 2: Login to the switch.
When prompted, enter the following information:
Usernameadmin
Password – (if you have not set a password leave this blank and press Enter)
Console#enable

Step 3: Type the following command to pull DHCP from an Interface other than the switch (such as a Router or Server):
Console# set interface default ip dhcp-server disable. Press Enter.
success: change accepted.
Console# set interface default ip dhcp-client enable. Press Enter.
success: change accepted.

Step 4: Type the following command to set the System IP on your switch:
Console# set system ip-address 192.168.50.10
success: change accepted.

Step 5: Type the following command to set the Default Gateway on your switch:
Console# set ip route default 192.168.50.1 1
success: change accepted.

Step 6: Type the following command to set the IP for Interface 1:
Console# set interface 1 ip 192.168.50.10 255.255.255.0
success: change accepted.

Step 7: Type the command: show config to verify your results:
(Console# show config)

The results will then be displayed, similar to the list shown below:

# Configuration nvgen┬┤d at 2006-12-19 19:53:02
# Image 4.0.19.0
# Model DWS-1008
# Last change occurred at 2006-12-19 19:19:07
set ip route default 192.168.50.1 1
set system name DWS-1008-9193B0
set system ip-address 192.168.50.10
set enablepass password b6b706525e1814394621eeb2a1c4d5803fcf
set vlan 1 port 1
set vlan 1 port 2
set vlan 1 port 3
set vlan 1 port 4
set vlan 1 port 5
set vlan 1 port 6
set vlan 1 port 7
set vlan 1 port 8
set interface 1 ip 192.168.50.10 255.255.255.0
DWS-1008-9193B0#

Tags: , , ,

css.php