<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1432759376825_8414">Hi all and thanks for the continuous support Murphy!!!<br></div><div id="yui_3_16_0_1_1432759376825_8504" dir="ltr">I am trying to understand the differences between l2_learning and l2_pairs switch cause i am writing a report for a project.<br></div><div id="yui_3_16_0_1_1432759376825_8533" dir="ltr">1)The l2_learning switch drops lldp packets and l2_pairs doesn't.Is there any side effect by not dropping lldp packets?</div><div id="yui_3_16_0_1_1432759376825_8728" dir="ltr">2)The l2_learning switch handles multicast traffic and l2_pairs doesn't .I guess it's an extra feature and nothing else.</div><div id="yui_3_16_0_1_1432759376825_8785" dir="ltr">3)The more confusing feature in l2_learning is why drop packets if the output port is the same as input.How is it possible and why it hasnt been implemented in the l2_pairs.</div><div id="yui_3_16_0_1_1432759376825_8904" dir="ltr"><br></div><div id="yui_3_16_0_1_1432759376825_8931" dir="ltr"><br></div><div id="yui_3_16_0_1_1432759376825_8930" dir="ltr">Moreover i would like to describe in details their functionality.</div><div id="yui_3_16_0_1_1432759376825_8934" dir="ltr">We have pc1 and pc2 with arp cache empty and i ping pc1->pc2<br></div><div id="yui_3_16_0_1_1432759376825_8929" dir="ltr">*l2_learning switch</div><div id="yui_3_16_0_1_1432759376825_8879" dir="ltr">Pc1 arp broadcast.Switch sends packet to controller.Controller sends packet out flood and add to its decitionary mac and port of the incoming packet.Pc2 responds with its mac and controller adds to its dictionary mac and port of pc2.Installs one flow for the arp responce.After that the echo request and reply go to the controller and it installs new flows for each of them,cause l2_learning works with full match.</div><div id="yui_3_16_0_1_1432759376825_9042" dir="ltr">*l2_pairs</div><div id="yui_3_16_0_1_1432759376825_9054" dir="ltr">Pc1 arp broadcast.Switch sends packet to controller.Controller sends
packet out flood and adds to its decitionary mac and port of the incoming
packet.Pc2 responds with its mac and controller adds to its dictionary
mac and port of pc2.Installs one flow for the arp responce.(Same thing as the previous one).But now after that with echo request it adds one more flow and that's the end of this,cause it works only in the data linke layer and doesnt care for the protocols above it.<br></div><div id="yui_3_16_0_1_1432759376825_9086" dir="ltr"><br></div><div id="yui_3_16_0_1_1432759376825_9097" dir="ltr">To sum up.</div><div id="yui_3_16_0_1_1432759376825_9099" dir="ltr">for two hosts<br></div><div id="yui_3_16_0_1_1432759376825_9100" dir="ltr">l2_learning 1flow for arp reply,1flow for echo request and 1flow for echo reply and more flows for different ports etc...even though they are the same hosts<br></div><div id="yui_3_16_0_1_1432759376825_9121" dir="ltr">l2_pairs 1 flow for arp reply,1 flow for echo request or whatever we send and that's the end of it</div><div id="yui_3_16_0_1_1432759376825_9261" dir="ltr">(i assume we dont have timeouts and flows are permanent)<br></div><div id="yui_3_16_0_1_1432759376825_9156" dir="ltr"><br></div><div id="yui_3_16_0_1_1432759376825_9157" dir="ltr">Any help or any correction would be very much appreciated!!!</div><div id="yui_3_16_0_1_1432759376825_9195" dir="ltr">thanks in advance!<br></div><div id="yui_3_16_0_1_1432759376825_8892" dir="ltr"><br></div><span id="yui_3_16_0_1_1432759376825_8598" style="" class=""> </span><br>
<span id="yui_3_16_0_1_1432759376825_8597" style="" class=""> </span><br>
<br>
<br>
<br>
<br>
<br>
<span id="yui_3_16_0_1_1432759376825_8606" style="" class=""> </span><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div></body></html>