Go to main content

Managing Network Datalinks in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Deleting a Bridge From the System

Before you delete a bridge, you must first remove any links attached to the bridge.

How to Delete a Bridge From the System

Before You Begin

Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.

  1. Remove any links attached to the bridge.
    $ dladm remove-bridge [-l link]... bridge-name
  2. Delete the bridge from the system.
    $ dladm delete-bridge bridge-name
Example 31  Deleting a Bridge From the System

The following example shows how to remove the net0, net1, and net2 links from the coronado bridge, and then delete the bridge itself from the system.

$ dladm remove-bridge -l net0 -l net1 -l net2 coronado
$ dladm delete-bridge coronado