I get confused trying to follow packets through a router/switch.
I use commands such as sh arp, sh mac-address-table etc.. but a lot of times I have trouble determining the exact ingress interface, the intermediate svi, etc.. and egress port.
Is there an easy way to do this?
For example I have ip 10.192.X.X and I sh arp and get the mac address and vlan xxx but the physical interface and int vlanxxx is not listed.
I then do sh mac-address-table | inc xxx.xxx.xxx to get the physical interface but it shows up as P09 an etherchannel port.
I then do sh etherchannel summary and find that P09 is ports gi1/2/14 and 15
9 Po9(SU) - Gi1/2/14(P) Gi1/2/15(P)
Now I do a sh cdp neighbor gi1/2/14 and 15 to find out the destination switch.
To look at the svi I have to assume the interface is the same number as the vlan and use the command sh ip int br and look for the vlanxxx
I have come a long way just to do this but if someone could fill in any gaps I have or some tips on how to determine the path a packet would take through a switch that would be greatly appreciated.