cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1640
Views
0
Helpful
1
Replies

MAC address Learning

vaib7av.shirkul
Level 1
Level 1

Hello All,

I am using Cisco 4506-E switch in campus as below config,

no ip routing

bootflash:cat4500e-ipbasek9-mz.122-54.SG1.bin

So the issue is, on that switch there are access readers are connected, so when I try to find the interface using show mac add add XXXX.XXXX.XXXX command, it is not showing any learned mac address. Normally I am using below method to find out the interface.

Let say I want to find 172.16.2.11 host interface

SW#p 172.16.2.11

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.2.11, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

SW#sh ip arp 172.16.2.11

Protocol  Address          Age (min)  Hardware Addr   Type   Interface

Internet  172.16.2.11             0   0011.8562.5997  ARPA   Vlan1

SW#sh mac add add 0011.8562.5997

Unicast Entries

vlan   mac address     type        protocols               port

-------+---------------+--------+---------------------+--------------------

   1    0011.8562.5997   dynamic ip,ipx,assigned,other GigabitEthernet1/1

and another issue is when I issue the show mac address learning command on switch it says,

SW#Learning disabled on vlans:

then I entered the below command on switch,

SW(config)#mac address-table learning vlan 1

still it is showing " Learning disabled on vlans: "

So what is the reason for that behavior of switch?

Thanks,

1 Accepted Solution

Accepted Solutions

The " Learning disabled on vlans: " means that the mac address learning is enabled on all VLANS.

View solution in original post

1 Reply 1

The " Learning disabled on vlans: " means that the mac address learning is enabled on all VLANS.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco