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

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

For an introduction to the new site, click here. And see here for current known issues.

Bronze

mac address table per vlan

hi every body!

Is there one mac address table for each vlan on a switch?

thanks a lot and have a nice day!

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: mac address table per vlan

You can do a show mac addre vlan and it will tell you what mac addresses are on that vlan.

--John

HTH, John *** Please rate all useful posts ***
Hall of Fame Super Blue

Re: mac address table per vlan

Sarah

Cisco switches support per-vlan mac-address tables. As posted by John you can show all the mac-addresses specific to a vlan and you can also clear all mac-addresses specific to a vlan.

Jon

6 REPLIES

Re: mac address table per vlan

You can do a show mac addre vlan and it will tell you what mac addresses are on that vlan.

--John

HTH, John *** Please rate all useful posts ***
Hall of Fame Super Blue

Re: mac address table per vlan

Sarah

Cisco switches support per-vlan mac-address tables. As posted by John you can show all the mac-addresses specific to a vlan and you can also clear all mac-addresses specific to a vlan.

Jon

Bronze

Re: mac address table per vlan

thanks for your reply.

From my cisco press book, i get the impression there is one cam table which contains:

mac port vlan#

for example:

0000.1111.1111 port 11 vlan 1

0000.2222.2222 port 12 vlan 2

The point is all mac addresses are in one single cam table for every vlans.

when we use the command:

show mac address-table dynamic vlan 2

then the mac addresses belonging to vlan 2 in cam table will be shown.

Am i correct?

thanks a lot!

Hall of Fame Super Blue

Re: mac address table per vlan

Sarah

I think it may well be the other way round on some switches (if not all). You actually have a per-vlan mac-address table but when you run "sh mac-address-table" the switch just combines them all into one output.

I don't know for sure if all switches support per-vlan mac-address tables.

Jon

Bronze

Re: mac address table per vlan

thanks a lot for your reply Jon!

so when switch receives a frame, it first look at the vlan id to determine the corresponding mac address table to decide how to fooward the frame. Am i correct?

I was under the impression before i posted my question that switch use the mac address table which contains the mac addresss , vlans port to forward the frame.

Based on your response, it seems logical for a switch to first find the mac address table for particular vlan then forward the frame though my cisco book does not hint about it at all.

Re: mac address table per vlan

I misread the post. Jon's correct. It's:

vlan mac type port number

Sorry for my original response. :-)

--John

HTH, John *** Please rate all useful posts ***
4049
Views
5
Helpful
6
Replies
CreatePlease login to create content