Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Switch MAC address questions

a layer 2 catalyst switch with 24 10/100 port like 2960,

1- this guy has 24 mac addresses for each physical layer 2 interfaces


the switch itself has one independent MAC address right?

2- if that is right, which MAC address is the visible one to the PCs? MAC address of the port PC is connected to or the MAC address of the switch?

3- if we create 3 vlans with 3 ip addresses for each vlan, do we get 3 mac addresses?

I assume answers to above question will not change on layer 3 switches.

tx for helping

Hall of Fame Super Silver

Re: Switch MAC address questions

1) The switch will have a MAC address for each interface. There is not an independent MAC for the switch.

2) The MAC that is visible to the PC is the MAC for the interface.

3) No matter how many VLANs you create, or how many IP addresses you assign to the VLAN interface it does not change the number of MAC addresses or the way that the MAC is used.

It would not change if it were a layer 3 switch.



New Member

Re: Switch MAC address questions

tx Rick.

so there isn't such a thing as switch's MAC address. it is Port's MAC address.


'show spanning-tree command' shows MAC address of the root bridge.

all switches within the network shows the same MAC address as the MAC address of the root bridge. altought those switches are connected to root switch through different ports.

i am little confused.

tx for helping

Re: Switch MAC address questions


for spanning tree purposes there are other MAC addresses found on the switch, besides the port MACs.

There is a discussion here at

about where a switch takes MAC addresses for spanning tree, which should answer all your questions.

Hope this helps! Please rate all posts.

Regards, Martin