How to do Speed Test from Access Switch

How can I be able to do a speed test to the internet direct from the CMM/Switch? What does that speed reflect?