[c-nsp] General switching question regarding load balancing

Benjamin Lovell belovell at cisco.com
Sat Sep 18 19:36:05 EDT 2010


Google "MAC flap notification". 4K does MAC learning in software. This is why you saw the high CPU versus for example Nexus 7K which could have MAC flapping at line rate and, in theory, would just sit there and smile. 

-Ben


On Sep 17, 2010, at 12:17 PM, Darrell Root wrote:

> 
> Jay wrote:
>> If a host has two
>> NICs connected to two switches,(the two switches are connected
>> together) and load balancing between them, switch will see the same
>> source MAC from two ports.  How does a switch decide which ports to
>> put in the forwarding table?  Would it switch back and forth every
>> time there is a packet?  Is there any negative effect on the switch
>> when that happens?
> 
> I remember a case where one 4507 switch had 2 ports which were "switchport mode access".  But
> there was one host out those two gig ports which was configured as a 2-port etherchannel on the
> host side.
> 
> The 4507 was constantly updating it's mac address table:  source mac xxxx.xxxx.xxxx is now out
> gig 3/1, wait now it's out gig 3/9, wait now its out gig 3/1, wait now it's out gig 3/9.  CPU on the
> 4507 went way up in the Cat4k Mgmt LoPri process.
> 
> Of course we just saw the high switch cpu.  It was hard to figure out that it was two access ports
> going to one host which was a 2-gig etherchannel and took a TAC case in that circumstance.
> 
> I'm assuming plugging into 2 different switches will result in similar behavior, because somewhere
> in your switch mesh you'll have a switch which has to constantly update a particular mac entry between
> two different target ports. 
> 
> BTW, if anyone knows an easy way to identify the above problem (particular mac address constantly
> cycling between two destination ports resulting in high cpu) I'd appreciate it.
> 
> Darrell
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/




More information about the cisco-nsp mailing list