For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
global# zonecfg -z zone-name zonecfg:zone-name> add anet zonecfg:zone-name:anet> set vlan-id=VID[,PVLAN-SVID[,PVLAN-type]] zonecfg:zone-name:anet> end zonecfg:zone-name> verify zonecfg:zone-name> commit zonecfg:zone-name> exit global# zoneadm -z zone-name reboot
This example shows how to assign a PVLAN to a zone. In this example, the zone is assumed to have been created.
global# zonecfg -z zone2 zonecfg:zone2> add anet zonecfg:zone2:anet> set vlan-id=100,200,community zonecfg:zone2:anet> end zonecfg:zone2> verify zonecfg:zone2> commit zonecfg:zone2> exit global# zoneadm -z zone2 reboot
PVLAN is assigned as the underlying link for the zone's anet.