Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

680702 (TechnicalUser) (OP)
19 Apr 06 17:06
I've been asked for this question, and it beats me.

How can you find a MAC-address on which port in which swith in a LAN?

both in IOS and CATos commands.
thanks
PalmTest (TechnicalUser)
20 Apr 06 3:13
To do it manually in IOS use the command:
show mac-address-table
This gives the complete table
If you want to find the mac address 00-00-12-55-fa-3e use:
show mac-address-table | include fa3e
Then use show interface status and/or show cdp neighbors to see where it connects to.

To do it maually in CatOS use the command:
show cam dynamic
Use the questionmark (show cam ?) to see the other available options.

To do it automated, use the "cammer" Perl script from our MRTG friend Tobias Oetiker.
(I assume you have Perl installed)
You can find this cammer Perl script at:
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/contrib/
Be sure to read the cammer.readme.txt
Redirect the output to a textfile for further processing.

johnilu (TechnicalUser)
24 Apr 06 12:51
A way to do this in IOS is to use the following command or a variation of it depending on the version.

If you want to find mac address 00-00-12-55-fa-3e

show mac address-table | include fa3e

you will get an output sort of like this

   8    0000.1255.fa3e    DYNAMIC     Fa2/0/32
wabob (IS/IT--Management)
24 Apr 06 21:36

I always used:

show mac-address-table dynamic address 0000.1255.fa3e

which works fine for IOS.

Experience is a tough teacher.
The test comes first, the lesson comes later...

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close