How to configure switch auto-configuration command on DGS-3630 series
[Topology]
TFTP server-----[p2]DHCP Server(DGS-3630)[p1]------[p1]DHCP Client(DGS-3630)
NOTE:
DHCP server: 10.90.90.90
TFTP server: 10.90.90.1
DHCP POOL: 10.90.0.0/16 (excluded-address 10.90.90.90 to 10.90.90.254)
[Configuration]
##DGS-3630(DHCP Server)
config t
ip dhcp pool DATA_LAN
network 10.90.0.0 255.255.0.0
default-router 10.90.90.90
option 66 ip 10.90.90.1
bootfile test.cfg
next-server 10.90.90.1
dns-server 8.8.8.8
domain-name dlink.com
exit
ip dhcp excluded-address 10.90.90.90 10.90.90.254
service dhcp
## DHCP Client (DGS-3630)
configure terminal
interface vlan 1
ip address dhcp
exit
autoconfig enable
[Test Step & Result]
1) Reset default on 2 x DGS-3630
2) Connect as topology
3) Configure configraiton on DHCP server & client
4) Put the DGS-3630's config file(test.cfg) to TFTP server's folder
5) Reboot DHCP client
6) After reboot DHCP client, the client will auto-config the settings as the confg file(test.cfg)
The LOG from DHCP Client when it is booting:
======================================
Press any key to login...
Start auto configure, lock CLI for process!
Try to download configure from TFTP://10.90.90.1/test.cfg......
Accessing tftp:......
Transmission start......
Transmission finished, file length 2206 bytes.
Executing script file test.cfg ...... Done.
Please wait, save configure to file test.cfg ...... Done.
Set /c:/test.cfg as boot configure OK
Auto configure process OK.
Auto configure OK: Unlock CLI.
======================================================
6 Други потребители намират това за полезно.
Беше ли това полезно за Вас?6 Други потребители намират това за полезно.
Благодарим Ви за обратната връзка.
Съжаляваме, че не успяхме да помогнем! Натиснете тук за повече Въпроси и отговори или за да отидете в секция Поддръжка.