show mac-address-table in CatOS

Answered Question
Sep 5th, 2010
User Badges:

Hello,

What is the equivalant command in Cat OS switch for the IOS command show mac-address-table <mac-address>?

Correct Answer by Giuseppe Larosa about 6 years 10 months ago

Hello Avilt,


the basic command as noted byNagaraja is show cam dynamic


for a given vlan X you can use



show cam dynamic  X


on some newer catos versions you can also look for a specific mac-address:

write it in classic format AA:BB:CC:DD:EE:FF


show cam  AA:BB:CC:DD:EE:FF


this may work and can give you the port where the MAC address is learned


if this does not work the best thing to do is to copy the output of show cam dynamic vlan# on an text editor and to look for the MAC address in the above format.


Some newer catos are able to accept also the MAC format aaaa.bbbb.cccc that is used on IOS LAN switches in the show cam command


Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Mon, 09/06/2010 - 01:06
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Avilt,


the basic command as noted byNagaraja is show cam dynamic


for a given vlan X you can use



show cam dynamic  X


on some newer catos versions you can also look for a specific mac-address:

write it in classic format AA:BB:CC:DD:EE:FF


show cam  AA:BB:CC:DD:EE:FF


this may work and can give you the port where the MAC address is learned


if this does not work the best thing to do is to copy the output of show cam dynamic vlan# on an text editor and to look for the MAC address in the above format.


Some newer catos are able to accept also the MAC format aaaa.bbbb.cccc that is used on IOS LAN switches in the show cam command


Hope to help

Giuseppe

avilt Mon, 09/06/2010 - 17:13
User Badges:

Thank You very much, I was trying without classic format.


show cam  AA:BB:CC:DD:EE:FF worked perfectly.

Actions

This Discussion