
209
2.
Configure the DHCP server
NOTE:
In this example, the DHCP server is an H3C switch supporting the Option 43 function. If your DHCP server
is not an H3C switch supporting the Option 43 function, see the user manual came with your server.
•
Configure a DHCP address pool. Assign IP addresses to CPEs and the DNS server. In this example,
the addresses are in the network segment 10.185.10.0/24.
# Enable DHCP.
<DHCP_server> system-view
[DHCP_server] dhcp enable
# Enable the DHCP server on VLAN-interface 1.
[DHCP_server] interface vlan-interface 1
[DHCP_server-Vlan-interface1] dhcp select server global-pool
[DHCP_server-Vlan-interface1] quit
# Exclude IP addresses (addresses of the DNS server and ACS server).
[DHCP_server] dhcp server forbidden-ip 10.185.10.41
[DHCP_server] dhcp server forbidden-ip 10.185.10.60
# Configure DHCP address pool 0 (subnet and DNS server address).
[DHCP_server] dhcp server ip-pool 0
[DHCP_server-dhcp-pool-0] network 10.185.10.0 mask 255.255.255.0
[DHCP_server-dhcp-pool-0] dns-list 10.185.10.60
•
Configure Option 43 to contain the ACS address, username, and password.
# Covert the ACS address, username, and password to ASCII code. The ASCII code of the URL address
is 68 74 74 70 3A 2F 2F 61 63 73 2E 64 61 74 61 62 61 73 65 3A 39 30 39 30 2F 61 63 73, that
of the username Vicky is 76 69 63 6B 79, and that of the password 12345 is 31 32 33 34 35.
[DHCP_server-dhcp-pool-0] option 43 hex 0140 68747470 3A2F2F61 63732E64 61746162 6173653A
39303930 2F616373 20766963 6B792031 32333435
3.
Configure the DNS server
Configure the mappings between the domain name and IP address, that is, create the mapping between
the addresses http://acs.database:9090/acs and
mapping between addresses, see the user manual came with your DNS server.
4.
Connect CPEs to the network
Connect the CPEs with network cables and power them on, the CPEs can automatically obtain
configuration files from the ACS server.
5.
Verify the configuration on the ACS server
Click the
Resource
tab, select
Device Interaction Log
from the navigation tree to enter the page for
querying device interaction records. You can view whether the deployment configuration of a switch is
completed.