09-05-2022 04:10 PM
Which command can I run on a layer 2 switch to find out if the switch has internet connectivity from the service provider ?
I'm supporting multiple sites and I have limited access to certain devices
Solved! Go to Solution.
09-05-2022 05:28 PM
I suspect that there is more involved is your question than what appears in the original post. If you are really asking if the switch itself has internet access then log into the switch (telnet or ssh or the console port of the switch) and ping 8.8.8.8. If the ping is successful then the switch does have Internet access. But I suspect that you are really more likely asking if devices connected to the switch have Internet access. In that case you need to identify the various vlans associated with this switch. For each of the connected vlans identify a device connected in that vlan. Access that device and from there ping 8.8.8.8.
09-05-2022 05:28 PM
I suspect that there is more involved is your question than what appears in the original post. If you are really asking if the switch itself has internet access then log into the switch (telnet or ssh or the console port of the switch) and ping 8.8.8.8. If the ping is successful then the switch does have Internet access. But I suspect that you are really more likely asking if devices connected to the switch have Internet access. In that case you need to identify the various vlans associated with this switch. For each of the connected vlans identify a device connected in that vlan. Access that device and from there ping 8.8.8.8.
09-07-2022 12:48 AM
I am glad that my suggestion was helpful. Thank you for marking this question as solved. This will help other participants in the community to identify discussions which have helpful information. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide