This definition of “access” port looks unusual — in many other devices setting the port mode to “access” means that the port can be a member of just a single VLAN. Some other devices have a “hybrid” port mode which is even more general — a hybrid port can be a member of multiple VLANs, and for each VLAN you can choose whether outgoing frames from this VLAN will be tagged or untagged.
Having more than one untagged VLAN on a port could be useful in special circumstances. Suppose that you have a server and three groups of clients in the same IP subnet; however, each group of clients must be able to communicate only with the server and other clients in the same group, but must not be able to reach clients from other groups. Then you can configure VLANs on the switch as follows:
- ports for client group 1 — VLANs 10, 40; PVID = 10, untagAll;
- ports for client group 2 — VLANs 20, 40; PVID = 20, untagAll;
- ports for client group 3 — VLANs 30, 40; PVID = 30, untagAll;
- port for the server — VLANs 10, 20, 30, 40; PVID = 40, untagAll.
In this case frames transmitted by the server will get VLAN ID 40 and could reach all clients; however, frames transmitted by a client from group 1 will get VLAN ID 10 and could reach only the server and other clients from the group 1, and similarly for other groups.
Such configuration does not by itself provide full protection between client groups — even if a client cannot send frames which would be received by a client from another group, this VLAN configuration cannot prevent it from spoofing IPs of clients from other groups. Other switch features (e.g., ACLs or DHCP snooping) may be used to prevent such IP spoofing.
Another potential hole in this configuration is the behavior of the switch when it receives a tagged frame on such port — e.g., if a client sends a frame tagged with VLAN ID 40, and the switch will process such frame according to the tag, this frame could reach clients from other groups. Therefore an option to filter all tagged frames on a port is needed to make group isolation really complete.
In a special case, where each client is in its own group, the same result could be achieved using a “port isolation” feature available on some switches, but more complex configurations with multiple clients in a group need separate VLAN IDs for groups.