You can modify the primary and secondary VLAN IDs and the PVLAN type of PVLAN VNICs by using the dladm modify-vnic command. The syntax is as follows:
# dladm modify-vnic [-v VLAN-ID[,PVLAN-SVID[,PVLAN-type]] VNICExample 18 Modifying a PVLAN VNIC
The following example modifies the primary VLAN ID to 5, the secondary VLAN ID to 102, and the PVLAN type to isolated.
# dladm show-vnic -v LINK VID SVID PVLAN-TYPE OVER vnic2 4 101 community net1 # dladm modify-vnic -v 5,102,isolated vnic2 # dladm show-vnic -v LINK VID SVID PVLAN-TYPE OVER vnic2 5 102 isolated net1
For information about the PVLANs, see Chapter 3, Configuring Virtual Networks by Using Virtual Local Area Networks in Managing Network Datalinks in Oracle Solaris 11.3.