Picture of Martin 1345
Registered 11 years 147 days
Martin 1345 Friday, 27 October 2017, 06:09 AM
import / export DHCP leases
Hello everybody,
is there some possibilities to import list of MAC and IP addresses as a reserved DHCP leases?
And what about export?
Picture of Elias Lievens (innovaphone)
Moderator Registered 13 years 96 days
Elias Lievens (innovaphone) Friday, 27 October 2017, 03:03 PM
1 of 1 users consider this post helpful
Re: import / export DHCP leases
Hello,

Not that I'm aware of, but what I do in such case: I adjust the file attached, open it in a browser and click on each link...

Adjustment needed:
* IP-address of the PBX
* MAC-address of the DHCP-Client-device.
* IP-address of the DHCP-Client-device.

Maybe this file can help you a little bit or can give you an idea to create URL in excel or so...

Elias Lievens
addReservation.html
Oliver Dawid
Registered 13 years 312 days
Oliver 349 Monday, 30 October 2017, 03:16 PM in response to Martin 1345
1 of 1 users consider this post helpful
Re: import / export DHCP leases
Why not using the xsl interface (which can be called from script):

URL:
http://<IP>/!mod cmd DHCP0 leases /xsl dhcp_leases.xsl /cmd leases /addr 1.2.3.4 /liberal on /id aa-bb-cc-dd-ee-ff /host Test /op Reserve /userid admin

← You can define your color theme preference here