cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1210
Views
0
Helpful
3
Replies

Mac address-table command

Hi everyone I have two switches connected with a gigabit link. When I clean the mac addrress table on switch "A", and run the command "show mac address-table dynamic", I notice that the clear command has deleted all the other entries of the connected devices, but not that of the direct connection with switch "B" and then it appears: "" "Vlan Mac Address Type Ports
---- ----------- -------- -----

1 0001.9654.151a DYNAMIC Gig0 / 1 "" "" "" "

1) Why?
2) Is the mac address the mac address of switch "B"? That is, to reach the mac 0001.9654.151a I have to go through the Gig0 / 1 port of switch "A"?
1 Accepted Solution

Accepted Solutions

Martin L
VIP
VIP

 

well, basic control traffic flows between those 2 switches; at least CDP and STP.  Frames must have source (interface) and destination addresses (specific M-cast).  you have trunk between them and at least 1 vlan on (probably default vlan 1).  In this case, MAC is of interface of opposite switch that is a trunk (used to trunk , aka connects 2 switches).  Switch must use some sort of ID for control traffic like CDP, STP, etc.

if you add more vlans, same MAC is used for different vlan IDs because of per-vlan STP.  If you capture traffic, you can see multiple frames with your switch source MAC and interface Id while destination is M-cast address.

 

Regards, ML
**Please Rate All Helpful Responses **

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

check the MAC Address belong to  ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Martin L
VIP
VIP

 

well, basic control traffic flows between those 2 switches; at least CDP and STP.  Frames must have source (interface) and destination addresses (specific M-cast).  you have trunk between them and at least 1 vlan on (probably default vlan 1).  In this case, MAC is of interface of opposite switch that is a trunk (used to trunk , aka connects 2 switches).  Switch must use some sort of ID for control traffic like CDP, STP, etc.

if you add more vlans, same MAC is used for different vlan IDs because of per-vlan STP.  If you capture traffic, you can see multiple frames with your switch source MAC and interface Id while destination is M-cast address.

 

Regards, ML
**Please Rate All Helpful Responses **

I checked it is the other switch's gigabit interface mac which is enabled as a trunk port thanks
Review Cisco Networking for a $25 gift card