Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible (or advisable) to tell a Cisco switch to VLAN based on MAC address? If so, how?

I know it can be done on a port-by-port basis, but I'd like more granularity than that.

We're using Catalyst 2960s.

share|improve this question
up vote 1 down vote accepted

Is it possible - Yes, you use VLAN Membership Policy Server (VMPS) - Clicky for general guidelines

share|improve this answer

If the devices support it, you can also allow them to tag their own traffic with a vlan ID, the switch will honor it if the port is set to trunk mode. That is useful in a scenario were you want VoIP phones on one vlan and computers on another (works even if the computer is connected to the phone's switch port). It is not helpful if there are security reasons to separate the vlans.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.