2

This might seem silly but I can't find the MAC address table in my Cisco ASR1001. Look:

#sh mac?
macdb  

#sh macdb

                      Software MAC database

It must be another command, but I can't find it. Google didn't help.

3
  • 1
    More information would be helpful to give you the answer applying to your situation. What features are you using on the router and what mac-addresses are you expecting to see?
    – cpt_fink
    Mar 18, 2015 at 2:42
  • I am interested to know about #show macdb as well. This command is not publicly documented. Feb 5, 2016 at 9:04
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 11, 2017 at 14:43

2 Answers 2

3

It's a router not a switch, so no MAC table is needed.

Instead, the ARP table--show ip arp--may be what you want.

1
  • 2
    Unsure why this is downvoted, since this is exactly the correct answer unless you are using bridge-domains/L2 transport as in Mike's answer.
    – cpt_fink
    Mar 18, 2015 at 2:41
3

Use show bridge-domain [bridge-domain-number]...

RTI-MPLS-SAB-01#show bridge-domain 4010
Bridge-domain 4010 (3 ports in all)
State: UP                    Mac learning: Enabled
Aging-Timer: 300 second(s)
    BDI4010  (up)
    GigabitEthernet0/0/4 service instance 4010
    vfi OCTEY neighbor 10.23.32.79 11
   AED MAC address    Policy  Tag       Age  Pseudoport
   0   0024.E64F.9A87 forward dynamic   292  GigabitEthernet0/0/4.EFP4010
   -   881D.F3D4.293F to_bdi  static    0    BDI4093
   0   0022.1A5F.166B forward dynamic   279  GigabitEthernet0/0/4.EFP4010
   1   FFFF.FFFF.FFFF flood   static    0    OLIST_PTR:0x2edad820
   -   0000.0007.AC01 to_bdi  static    0    BDI4010
   0   001B.2C3F.EDA8 forward dynamic   286  GigabitEthernet0/0/4.EFP4010

If they are secured... show bridge-domain [bridge-domain-number] mac security address...

Router# show bridge-domain 730 mac security address
Port                  MAC Address       Type      Rem. Age(min)
Gi1/0/0 ServInst 1    0001.0001.0001    static    74      
Gi1/0/0 ServInst 1    0001.0001.0002    static    74      
Gi1/0/0 ServInst 1    0001.0001.aaaa    dynamic   74      
Gi1/0/0 ServInst 1    0001.0001.aaab    dynamic   74      
Gi1/0/0 ServInst 2    0002.0002.0002    static    -       
Gi1/0/0 ServInst 2    0002.0002.0003    static    -       
Gi1/0/0 ServInst 2    0002.0002.0004    static    -       
Gi1/0/0 ServInst 2    0002.0002.aaaa    dynamic   -       
Gi1/0/0 ServInst 2    0002.0002.bbbb    dynamic   -       
Gi1/0/0 ServInst 2    0002.0002.cccc    dynamic   - 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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