Sometimes when you are trying to diagnose an internet speed or performance issue, it’s helpful to be able to run a speedtest from the router itself. We use Barracuda NextGen F Series Firewalls a lot, and the following command works like a charm. Simply login in via SSH into the router and run this command.
speedtest-cli
You should get a response that looks like this..
Hope this helps.