No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FAQ–How Can the Mapping Between IP Addresses Allocated by the DHCP Server and MAC Addresses on the NE40E Be Viewed

Publication Date:  2012-07-27 Views:  100 Downloads:  0

Issue Description

How can the mapping between IP addresses allocated by the DHCP server and MAC addresses on the NE40E/NE80E be viewed? 

Alarm Information


Handling Process

1. Use the display arp command to view the mapping between the real-time IP addresses and the MAC addresses.
2. To learn the MAC addresses to which the DHCP server allocates an IP address, you need use the dhcp server database enable command to enable the data save function of the DHCP server. After you run the dhcp server database enable command, a DHCP folder is generated in the CF card. The DHCP folder contains two files lease.txt and conflict.txt. These two files store the normal address lease information and address conflict information, respectively. By default, the DHCP data is saved every 300 seconds and the previous data files are overwritten. You can modify the interval for saving the files. The maximum interval is 24 hours. In the lease.txt file, you can view the mapping between IP addresses and MAC addresses as well as the lease start time and the lease end time, as shown below.
<NE40E>more lease.txt
IP MAC Lease Start Time Lease End Time Type 0015-003b-2233 12/25/2007 17:15:47 12/26/2007 17:15:47 G-Auto 0018-8b12-0a02 12/22/2007 6: 0:54 12/23/2007 6: 0:54 G-Auto 001a-4d1d-2044 3/10/2008 11:50:11 3/11/2008 11:50:11 G-Auto 0016-364b-2439 12/28/2007 14: 0:16 12/29/2007 14: 0:16 G-Auto 000d-5662-630d 2/19/2008 14:16: 6 2/20/2008 14:16: 6 G-Auto 001b-771b-1681 12/ 6/2007 21: 3:30 12/ 7/2007 21: 3:30 G-Auto 001a-4d1e-a41e 2/15/2008 14:41:44 2/16/2008 14:41:44 G-Auto 0014-7828-7733 3/10/2008 12:19:45 3/11/2008 12:19:45 G-Auto 001a-4d1c-a834 3/10/2008 11:27:59 3/11/2008 11:27:59 G-Auto
3. Since the previous files are overwritten each time they are written, the lease.txt and conflict.txt files need to be periodically copied. 

Root Cause