I would like to know if it is possible to get the MAC address of the network card attached to a Cisco 5010 switch. If it is possible how do you do it? What commands do I need to use?

In my case the host I would like to discover the MAC address of is on port #6.

link|improve this question
If this is a managed switch, then "maybe". If this is an unmanaged switch, then "no". – sawdust Oct 20 '11 at 20:28
feedback

migrated from superuser.com Oct 20 '11 at 20:28

This question came from our site for computer enthusiasts and power users.

2 Answers

up vote 7 down vote accepted

Use the show mac address-table dynamic command.

link|improve this answer
feedback

To get only MAC addresses attached to the interface you are interested in, use:

show mac address-table interface fa0/6

Where fa0/6 is the interface you're interested in.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.