show mac-address-table not working on cisco asa 5505

Answered Question
Apr 27th, 2010
User Badges:

Hi, I have tried command show mac-address-table on Cisco ASA 5505 and Cisco ASA 5520. Output was ERROR: % unrecognized command.


How is that possible? Is there a new command?


More exactly, Cisco ASA 5505 with IOS ASA822-k8.bin.

Correct Answer by davwalsh about 6 years 11 months ago

Thanks for the link.  I see that the command is supported in transparent mode only but I think I found a way to make this work in routed mode (which is what I have mine in) on the ASA 5505:


x-asa# show switch mac-address-table



Legend: Age - entry expiration time in seconds


        Mac Address  | VLAN |       Type       | Age | Port

-------------------------------------------------------

000X.XXXa.XXXe | 0001 |     dynamic      | 287 | Et0/2

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Loading.
pugglewuggle Thu, 05/06/2010 - 22:22
User Badges:

Weird, I'm having the same problem and I don't think I've ever had it before.


I'm running, in enable mode, this command:


show mac-address-table


The output I get is:



ASA5505# sh mac-address-table

                     ^

ERROR: % Invalid input detected at '^' marker.

What the heck? Is this some kind of bug?
I'm running 8.3.1
Please let me know!
davwalsh Wed, 07/28/2010 - 17:46
User Badges:

Did you ever find out why this is.  I am running asa821-k8.bin on a 5505 and I get the following:




x-asa# show mac-address-table

                           ^

ERROR: % Invalid input detected at '^' marker.

Correct Answer
davwalsh Wed, 07/28/2010 - 19:29
User Badges:

Thanks for the link.  I see that the command is supported in transparent mode only but I think I found a way to make this work in routed mode (which is what I have mine in) on the ASA 5505:


x-asa# show switch mac-address-table



Legend: Age - entry expiration time in seconds


        Mac Address  | VLAN |       Type       | Age | Port

-------------------------------------------------------

000X.XXXa.XXXe | 0001 |     dynamic      | 287 | Et0/2

Actions

This Discussion