cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1406
Views
4
Helpful
10
Replies

MAC address table.

arun_patro2001
Level 1
Level 1

A desktop is connected to a stand alone switch. while doing 'sh mac-address-table' the desktop mac-address is showing two time in the table. Is it normal or abnormal? If it is abnormal than how to solve it? Please advice.Thx.

1 Accepted Solution

Accepted Solutions

HI,

Use the below command:

clear mac-address-table [dynamic | restricted static | permanent] [address mac-address] [interface type module/port]

You can clear the Mac-Address in the Table based on your requirement. This will not affect other Ports / Interface whichever learnt something Important.

"clear mac-address-table [interface type module/port]" - Hope This command will help you check the Issue....

PLS Rate if HELPS

Best Regards,

Guru Prasad R

View solution in original post

10 Replies 10

royalblues
Level 10
Level 10

Arun,

Do you mean to say that you see the mac-address learnt on 2 different ports?

Narayan

Hi Narayan ,

Yes, The mac-address learnt & shows connected through two different port.

Arun

smothuku
Level 7
Level 7

Hi ,

Try tyo clear arp entries using clear arp-cache ot clear ip arp and check the issue.

Thanks,

Satish.

HI,

Use the below command:

clear mac-address-table [dynamic | restricted static | permanent] [address mac-address] [interface type module/port]

You can clear the Mac-Address in the Table based on your requirement. This will not affect other Ports / Interface whichever learnt something Important.

"clear mac-address-table [interface type module/port]" - Hope This command will help you check the Issue....

PLS Rate if HELPS

Best Regards,

Guru Prasad R

yes try clearing the mac address table.

it is very unlikely though cos when a switch learns the same mac-address on other port it updates its mac address table..

Satish, clearing the arp entries will not help. if its a L2 switch then it will an arp entry for only its gateway

HTH

Narayan

Hi , Thanks to all for your information. I will try this after office hour & rate according if it resolves. Thanks again.

Arun

Hi,

Totally agree with Narayan, the mac table is to be cleared and not the ARP table, arp table will have only any IP/MAC address that was used to ping or telnet to the Layer 2 switch plus the default-gateway of the switch (only IP/MAC mapping due to ARP requests with the appropriate interface - Interface VLAN1), and won't have all the MAC addresses of the directly connected hosts and there respective interfaces (this is the responsibility of the mac table).

HTH,

Mohammed Mahmoud.

vinayrajkp
Level 1
Level 1

Did u try to connect the desktop to one port and then disconnect and connect to another port and checked the mac-address immediately after that?

Did you check the entry long after that? Did it disappear - i mean one of the entries?

Which two ports are showing the mac-addresses? what are connected to each of these?

Is there any static arp command configured?

finally is it possible to reboot the switch and check?

Guess if you try to find answers to these questions then you may find the reason to the problem.

Hi ,

I have cleared the MAC address table of the switch & found the problem got resolved. But still trying to find the root couse as this happened for the 1st time. Can anyone provide some information.

Thanks

Arun

HI Arun,

It's always quiet interesting to find the Root Cause for any Problem.

If you have any "Logs" related to this Issue then we can identify the Root Cause.

Else, you need to verify the Bug Reports of the IOS Version/Release.

Pls Rate all Helpful Replies.

Best Regards,

Guru Prasad R

Review Cisco Networking for a $25 gift card