STP is a mechanism to prevent network loops that could render the subnetworks unusable. In addition to using STP for bridges, Oracle Solaris supports the TRILL protection enhancement. STP is used by default, but you can use TRILL by specifying the –P trill option for the bridging commands.
To modify the protection type from STP to TRILL or from TRILL to STP, use the following command:
$ dladm modify-bridge -P protection-type bridge-name
The –P protection-type option specifies which protection type to use, either stp (the default) or trill.
Example 28 Modifying the Protection Type for a BridgeThe following example shows how to modify the protection type for the brooklyn bridge from the default STP to TRILL.
$ dladm modify-bridge -P trill brooklyn