Discussion on:

3
Comments

Join the conversation!

Follow via:
RSS
Email Alert
When looking at the ARP cache, that the ARP cache is only relevant to the local subnet. Hosts that are reachable across a router in a different subnet are reached using the arp cache entry for the server's default gateway.

Also, in the purest sense switches are layer 2 and ARP is a layer 3 protocol. The "show mac-address-table" command does not show a switch's arp cache. It shows the switch's forwarding table. You will not find IP addresses listed in the output of this command. In most layer 2 switches you will still find a "show arp" command but this will only show you the arp cache for the VLAN that the Management IP is a member of and it will only show you entries for hosts that have connected to the switch's Management IP. You will not see all hosts in that VLAN.

A layer 3 switch will use the same "show arp" command to show the arp cache and the "show mac-address-table" command to show the forwarding table. Layer 3 switches may have more entries depending on how routing and the management VLANs are configured.
1 Vote
+ -
Update
jawright 7th Sep 2011
I appreciate your comments and I did misput "show mac-address-table" when I meant "show arp". Great catch!
1 Vote
+ -
The "show mac-address-table" command on Layer 2 switches maps mac addresses to switch ports. It does not map ip addresses to mac addresses. Still useful, but for a different purpose. In a similar way, the arp table on a Layer 3 switch won't tell you what physical port the device is found on, just the vlan.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.