cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7568
Views
10
Helpful
2
Replies

mac table full, switch behavior

sarahr202
Level 5
Level 5

Hi everybody.

Suppose we have a layer 2 switch whose mac table is full. We connect  a new  computer to switch.

Pc1 sends a frame to some computer on the network

How will switch react? Will it delete the oldest entry from mac table to make room for a new entry for pc1's mac?

Thanks and have a great day.

2 Accepted Solutions

Accepted Solutions

Terry Cheema
VIP Alumni
VIP Alumni

When mac table is full, the switch fails over to broadcast mode and starts to broadcast the traffic to all ports in that VLAN. Mac address table overflow is a security vulnerability which attackers exploit by overflooding the CAM table to sniff the traffic. Port security was the answer to this.

In your case, With CAM table full, you introduced a new PC, all the traffic to the new PC will be broadcast to all the ports in that VLAN, till any of the entry times out and switch is able to store the entry for this host.

Hope that helps.

View solution in original post

Abzal
Level 7
Level 7

Hi,

When switch's CAM table full it starts working like a hub. MAC table entry ages out by default after 300 seconds.

Abzal

Best regards,
Abzal

View solution in original post

2 Replies 2

Terry Cheema
VIP Alumni
VIP Alumni

When mac table is full, the switch fails over to broadcast mode and starts to broadcast the traffic to all ports in that VLAN. Mac address table overflow is a security vulnerability which attackers exploit by overflooding the CAM table to sniff the traffic. Port security was the answer to this.

In your case, With CAM table full, you introduced a new PC, all the traffic to the new PC will be broadcast to all the ports in that VLAN, till any of the entry times out and switch is able to store the entry for this host.

Hope that helps.

Abzal
Level 7
Level 7

Hi,

When switch's CAM table full it starts working like a hub. MAC table entry ages out by default after 300 seconds.

Abzal

Best regards,
Abzal