Go to main content

Managing Network Datalinks in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Deleting a Private VLAN

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 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