Professional Documents
Culture Documents
1
1
Auto-Configuration
DHCP Server / TFTP Server
Auto-Config
• load the pre-configured / saved configuration file into the device via remote
server.
When autoconfig is enabled on the Switch, the DHCP reply will contain a configuration
file and path name. It will then request the file from the TFTP server specified in the reply.
When autoconfig is enabled, the ipif settings will automatically become DHCP client.
2
2
Auto-Configuration Example
DES-3828
10.100.100.1
TFTP Server:
Pre-configured configuration file for device,
e.g., filename = test.cfg (existing 3 vlans)
3
3
Auto-Configure setup steps
4
4
Auto-Configure setup steps-1
1. DHCP Server Setting (Using haneWin DHCP Server)
1.1 Choose OptionsPreferences, to set DHCP server.
5
5
Auto-Configure setup steps-1
1. DHCP Server Setting (Using haneWin DHCP Server)
1.3 Choose Options Default Client Profile, to set DHCP server.
DHCP server IP
DHCP IP pool
6
6
Auto-Configure setup steps-2
TFTP server IP
7
7
Auto-Configure setup steps-3
2. Run the D-Link TFTP Server program.
If not specify the path in DHCP server, the configuration file will at the same path
as the TFTP server.
8
8
Auto-Configure setup steps- 4
3. Switch configuration:
3.1 Test configure file preparation.
3 vlans
1. Default vlan port 1-8,25,26
2. v2 vlan port 9-16 After enable “autoconfig”, we can observe
3. v3 vlan port 17-24 DHCP Server assigned ip address to switch
# enable autoconfig
# save
# reboot
9
9
Auto-Configure Result
Result:
1. Before enable auto-configuration function
DES-3800:4# show switch
Command: show switch
2. After enable auto-configuration function, device will obtain the IP automatically from DHCP
server.
DES-3800:4# show switch
Command: show switch
DES-3800:4# save
DES-3800:4# reboot
(Reboot and POST info)
After reboot
DES-3800:4# download configuration 10.100.100.100 test.cfg automatically download
Command: download configuration 10.100.100.100 test.cfg
Connecting to server................... Done.
Download configuration................. Done.
DES-3800:4#
DES-3800:4##-------------------------------------------------------------------
DES-3800:4## DES-3828P Configuration
DES-3800:4##
DES-3800:4## Firmware: Build 2.00.B18
DES-3800:4## Copyright(C) 2004-2005 D-Link Corporation. All rights reserved.
DES-3800:4##-------------------------------------------------------------------
DES-3800:4#
..........
..........
11
11
Auto-Configure Result
4. After finish downloading configuration successfully, device will re-login. Then you will
see the switch is with the test.cfg configuration.