Confirming Connectivity on the Network


After you have connected your switch, you may want to take the time to ensure that you have connectivity by pinging an external IP address, and pinging a domain to ensure that you can resolve a domain name.


To ping the external network from the switch, use the ping command:


CLI (network-admin@Leaf1) > ping 98.138.253.109 : 56 data bytes


PING 98.138.253.109 (98.138.253.109) 56(84) bytes of data.

64 bytes from 98.138.253.109: icmp_seq=1 ttl=47 time=51.8 ms

64 bytes from 98.138.253.109: icmp_seq=2 ttl=47 time=51.9 ms

64 bytes from 98.138.253.109: icmp_seq=3 ttl=47 time=53.6 ms


To ping a domain, use the ping command again:


CLI (network-admin@Leaf1) > ping yahoo.com


PING yahoo.com (98.138.253.109) 56(84) bytes of data.

64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=1 ttl=47 time=52.2 ms

64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=2 ttl=47 time=52.5 ms

64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=3 ttl=47 time=51.9 ms

64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=4 ttl=47 time=51.8 ms