Hi Everyone. I am trying to export my current dchp leases to a txt file for admin purposes.
I have tried “/ip dhcp-server lease print file=lease” and it works but the host names seem to be cut off, now I cannot create my document.
Please see pic attached. Any ideas?

/ip dhcp-server lease export file=lease
but, that won’t give you lease status.
Hi,
You can use:
/ip dhcp-server lease print file=lease terse
or
/ip dhcp-server lease print file=lease detail
to get all variables (indlude status and host-name)
![]()
THANK YOU
![]()
Is there any way to add a filter to only show entries with a filter? Say for example only show the ones within a specific “Server” category. Thank you
Edit: found in another forum post that adding
where server=“servername”
works perfectly alongside that command. Sorry for reviving old post.