PVLAN Configuration Example 1 shows a PVLAN configuration example for a medical research lab.
The medical research lab hosts lots of visiting clients. Each client has their own room, and the lab wants to grant them access to the internet through a local web proxy server but prevent them from accessing other visiting clients. There is a lab in the building where many research workstations are located. Workstations within the lab require access to other lab workstations, the internet, and file servers that are connected to a switch in another building. Visiting clients should not have access to the Research VLAN devices or the file servers on the remote switch.
create vlan Main configure vlan Main add port 1:* configure vlan Main tag 100 create vlan ClientConnections configure vlan ClientConnections add port 2:* configure vlan ClientConnections tag 200 create vlan Research configure vlan Research add port 3:* configure vlan Research tag 300
create vlan Main configure vlan Main add port 1:* configure vlan Main tag 100
create private-vlan MedPrivate configure private-vlan "MedPrivate" add network "Main" configure private-vlan "MedPrivate" add subscriber "ClientConnections" configure private-vlan "MedPrivate" add subscriber "Research" non-isolated
configure Main add ports 1:1 private-vlan translated
show private-vlan -------------------------------------------------------------------------------------- Name VID Protocol Addr Flags Proto Ports Virtual Active router /Total -------------------------------------------------------------------------------------- MedPrivate VR-Default Network VLAN: -main 100 ------------------------------------- ANY 2 /48 VR-Default Non-Isolated Subscriber VLAN: -Research 300 ------------------------------------- ANY 2 /96 VR-Default Isolated Subscriber VLAN: -ClientConnections 200 --------------------------------- ANY 2 /52 VR-Default