Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Deleting a Private VLAN

Use the dladm delete-vlan command to delete PVLAN configurations on your system.


Note -  You must first delete any existing IP configurations on the PVLAN before you can delete the PVLAN. Deleting a PVLAN fails if IP interfaces exist over the PVLAN.
Example 24  Deleting a VLAN Configuration

This 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