Could be implemented as:
[admin@customer1] interface wireless> remote-scan wlan1 duration=10
Warning: you will be disconnected while the scan is in progress. Sure? [Y/n] y
(disconnected)
… which would scan on wlan1 for 10 seconds, then dump a file (“scan-results.1” where the number increases on each scan (so that earlier scans won’t be overwritten).