Command line access to my router's upstream DHCP info?

I can see this lovely upstream information in luci:
image

How can I get equivalent information from the command line? ifstatus wan gives some, but nothing about DHCP lease expiry or suggested DNS.

I suspect this will be super simple, but I can't seem to find the solution.

I really want the upstream leases that my router has obtained.

Interestingly both ubus call dhcp ipv6leases and ubus call dhcp ipv4leases return no leases (just empty JSON fields), for either upstream or downstream.

cat /tmp/dhcp.leases does mention the one downstream lease, but I want the upstream

2 Likes