This is because the path is different. When pinging through the switch, it will be hardware switched. When pinging to the switch, it must interrupt the CPU from it's normal operation to process the packet and then generate a new packet. This is simply software vs. hardware.
First of all, ping is a reachability tool, and not a very good tool for measuring performance or response time.
As far as the disparity between ping _through_ the switch versus pinging _to_ the switch, there are two reasons for this.
First, packets that are destined to the switch are processed by the CPU, whereas packets destined to devices connected to the switch are processed by hardware ASICs in the switch. Process switched packets are always handled at a reduced performance.
Secondly, the switch process responsible for responding to ICMP packets has a very low priority, as the switch's main job is to process network traffic, rather than respond to pings.
Listen: https://smarturl.it/CCRS9E25 Follow us: twitter.com/ciscochampions
With applications and users everywhere, the networks are now, more than ever, being tasked with delivering consistent protection while providing an exceptional user exper...
Listen: https://smarturl.it/CCRS9E24 Follow us: https://twitter.com/CiscoChampion
Cisco Radio Aware Routing addresses several of the challenges faced when merging IP routing and radio communications in mobile networks, especially those exhibiti...
Listen: https://smarturl.it/CCRS9E23 Follow us: https://twitter.com/CiscoChampion The Wi-Fi 6E Catalyst 9136 access point takes advantage of the 6-GHz band to produce a network that is more reliable and secure, with higher throughput, more ...
When moving from OSPFv2 to OSPFv3, there are many changes in the format of the LSAs Type, but the most known changes are: IP prefix informations are no longer carried in Type-1 LSA and Type-2 LSA, new LSAs Type 8 and 9 are added to carry these prefixes.
Read a preview of my book OSPF The ultimate for CCIE Enterprise and Infrastructure exam in Books Google Doc.
Read a preview of my book OSPF The ultimate for CCIE Enterprise and Infrastructure exam in Books Google Doc #CCIE #Cisco #exam #Enterprise ...