To delete PVLAN configurations, first delete any existing IP configurations on the PVLAN before you can delete the PVLAN. Otherwise, the operation fails. Then, use the dladm delete-vlan command.
Example 24 Deleting a VLAN ConfigurationThis example shows how to delete a VLAN configuration.
$ dladm show-vlan LINK VID SVID PVLAN-TYPE FLAGS OVER vlan1 15 103 community ---- net0 vlan2 20 105 isolated ---- net1 $ ipadm delete-ip vlan1 $ dladm delete-vlan vlan1 $ dladm show-vlan LINK VID SVID PVLAN-TYPE FLAGS OVER vlan2 20 105 isolated ---- net1