Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NA521 - Switch Command - Show Arp v. Show mac-adddress-table
#1
Could someone please confirm this:    Which command will show the MAC addresses of stations connected to "switch" ports?
How2Pass  Answer:  show arp

Is How2Pass incorrect?    Thank you.

When I go to Cisco site, I find ARP is mapping IP addresses to MAC addresses in Layer 3 devices.  The show mac-address-table command maps MAC addresses to ports on the switch. 
Reply
#2
Cisco 3560 L3 Switch, I would say know both.

Switch#show arp
Protocol  Address          Age (min)  Hardware Addr  Type  Interface
Internet  10.0.0.1                0  0006.2A7A.AE01  ARPA  FastEthernet0/1
Internet  10.0.0.2                -  00E0.F7C8.C501  ARPA  FastEthernet0/1
Internet  192.168.1.1            -  00D0.D33A.5609  ARPA  Vlan1
Internet  192.168.26.1            -  00D0.D33A.5609  ARPA  Vlan260
Internet  192.168.55.1            -  00D0.D33A.5609  ARPA  Vlan55

Switch#show mac-address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address      Type        Ports
----    -----------      --------    -----

  1    0001.c73c.ca2a    DYNAMIC    Gig0/1
  1    0010.1140.4945    DYNAMIC    Gig0/1
  1    00d0.bc0e.d075    DYNAMIC    Gig0/1
  1    00e0.b08a.5901    DYNAMIC    Gig0/1
  55    0002.1779.5946    DYNAMIC    Fa0/24
  55    00e0.b08a.5901    DYNAMIC    Gig0/1
260    000b.bead.e078    DYNAMIC    Gig0/1
260    00d0.ba0d.4618    DYNAMIC    Gig0/1
260    00d0.ba99.49a4    DYNAMIC    Fa0/2
260    00e0.b08a.5901    DYNAMIC    Gig0/1
Reply
#3
Thank you for your reply.  So in essence, either answer is correct - show arp for L3 switch and show mac-address-table for L2 switch.  I hope the CCNA differentiates which.  Smile
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)