Replies: 1 comment 4 replies
-
Hi @rgacz Good idea for DHCP release ! for waiting, you can use this call API : (Invoke-FGTRestMethod -uri api/v2/monitor/system/dhcp).results
ip : 10.XX.YY.2
reserved : False
mac : 32:df:6e:aa:cc:bb
vci : android-dhcp-13
hostname : Galaxy-A32-5G
expire_time : 1720552127
status : leased
interface : LAN
type : ipv4
server_mkey : 1
server_ipam_enabled : False and for FortiToken, you can try this (Invoke-FGTRestMethod -uri api/v2/monitor/user/fortitoken).results |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is/could be there a plan to add command
to list current DHCP leases?
Somethning similar to output of
execute dhcp lease-list
command?
And to list registered Fortitokens?
Like seen in the grid User & Authentication > Fortitokens?
I guess there is no alternative in CLI for this.
BTW, thank you very much fort PowerFGT module, it helps me with Fortigates analysis a lot. Great job!
Beta Was this translation helpful? Give feedback.
All reactions