Configuration task list, Creating a dhcp address pool, Dhcp server configuration examples – H3C Technologies H3C S12500 Series Switches User Manual
Page 57: Static ip address assignment configuration example

44
Task Command
Clear DHCP server statistics.
reset dhcp server statistics
58B
DHCP server configuration examples
NOTE:
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.
DHCP networking involves the following types:
•
The DHCP server and clients reside on the same subnet and exchange messages directly.
•
The DHCP server and clients are not on the same subnet and they communicate with each other
through a DHCP relay agent.
The DHCP server configuration for the two types is identical.
205B
Static IP address assignment configuration example
331B
Network requirements
As shown in
692H
Figure 16
, Switch B (DHCP client) and Switch C (BOOTP client) obtain the static IP address,
DNS server address, and gateway address from Switch A (DHCP server).
The client ID of VLAN-interface 2 on Switch B is:
0030-3030-662e-6532-3439-2e38-3035-302d-566c-616e-2d69-6e74-6572-6661-6365-32.
The MAC address of VLAN-interface 2 on Switch C is 000f-e249-8050.
Figure 16 Network diagram
332B
Configuration procedure
1.
Configure the IP address of VLAN-interface 2 on Switch A:
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 10.1.1.1 25
[SwitchA-Vlan-interface2] quit
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches