Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 superuser.com 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

2 Answers 2

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

 
discard

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.