3com S7906E Manuel De Montage

Page de 2621
 
2-16 
To do… 
Use the command… 
Remarks 
Display IP addresses excluded from 
automatic allocation in the DHCP 
address pool 
display dhcp server forbidden-ip 
Available in any view 
Display information about bindings 
display dhcp server ip-in-use { all 
ip ip-address | pool [ pool-name ] } 
Available in any view 
Display information about DHCP 
server statistics 
display dhcp server statistics 
Available in any view 
Display tree organization 
information of address pool(s) 
display dhcp server tree { all | 
pool [ pool-name ] } 
Available in any view 
Clear information about IP address 
conflicts 
reset dhcp server conflict { all ip 
ip-address 
Available in user view
Clear information about dynamic 
bindings 
reset dhcp server ip-in-use { all | 
ip ip-address pool [ pool-name ] } 
Available in user view
Clear information about DHCP 
server statistics 
reset dhcp server statistics 
Available in user view
 
 
Using the save command does not save DHCP server lease information. Therefore, when the system 
boots up or the reset dhcp server ip-in-use command is executed, no lease information will be 
available in the configuration file. In this case, the server will deny the request for lease extension from 
a client and the client needs to request an IP address again. 
 
DHCP Server Configuration Examples 
DHCP networking involves two types: 
The DHCP server and client are on the same subnet and exchange messages directly. 
The DHCP server and client are not on the same subnet and they communicate with each other via 
a DHCP relay agent.  
The DHCP server configuration for the two types is the same. 
Static IP Address Assignment Configuration Example 
Network requirements 
As shown in 
, 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 
3030-3066-2e65-3234-392e-3830-3530-2d56-6c61-6e2d-696e-7465-7266-6163-6532. The MAC 
address of VLAN-interface 2 on Switch C is 000f-e249-8050.