Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Oct 20 '11 at 20:28

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

If this is a managed switch, then "maybe". If this is an unmanaged switch, then "no". – sawdust Oct 20 '11 at 20:28
up vote 7 down vote accepted

Use the show mac address-table dynamic command.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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