Quantcast
Viewing all articles
Browse latest Browse all 10744

mac-address learning on trunk port

I have connected two switches 
sw1 and sw2 using two ports i.e. f0/1 and f0/2

sw1=================sw2
  f0/1 mac a1             f0/1 mac a2

  f0/2 mac b1             f0/2 mac b2

 now

sw1 is root

but when i check the mac address-table on sw1
i learn sw2's port f0/1 and f0/2's mac address  
1. i dont know how it learn the mac address of there ports as one of the port is in blocking , not sending any message 
 2. if i change the native vlan to like say 100 , than 4 mac adress  are learned 2 for vlan 1 and 2 for vlan 100 , showing the same mac-address i.e. of sw2's f0/1,f0/2 's interfaces.

sw2 learns only 1 mac address i.e of the f0/1 port of sw1 nothing else.
and if native vlan is changed than again 2 entires of vlan 1 and vlan 100 but same mac-address > 


 


Viewing all articles
Browse latest Browse all 10744