Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Switching Between Trunk and DLMP Aggregations

Switching between a trunk aggregation and a DLMP aggregation changes the entire configuration, so it affects the aggregation in a more comprehensive way than simply modifying the other link aggregation properties. To switch from one mode of the aggregation to the other when the aggregation is in use, you must remove all the existing configurations of the aggregation and then reconfigure the aggregation in the desired mode.

How to Switch Between Link Aggregation Types

Before You Begin

  • If you switch from a trunk aggregation to a DLMP aggregation, you must remove the switch configuration that was previously created for the trunk aggregation.

  • If you switch from a DLMP aggregation, you must ensure that all the links are on the same switch and the switch is configured for the aggregation.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Determine the current type of link aggregation.
    # dladm show-aggr

    The output MODE field indicates the current type of the aggregation. The value of MODE is trunk for a trunk aggregation and dlmp for a DLMP aggregation.

  3. Switch the aggregation.
    # dladm modify-aggr -m mode aggr

    Where mode is trunk if you are switching to a trunk aggregation or dlmp if you are switching to a DLMP aggregation, and aggr is the name of the aggregation.

  4. Configure the switch according to the requirements of the new type of link aggregation.

    See the switch manufacturer's documentation for configuring the switch.

  5. (Optional) Verify the current link aggregation configuration.
    # dladm show-aggr
Example 13  Switching From a Trunk Aggregation to a DLMP Aggregation

This example shows how to change an aggregation from a trunk aggregation to a DLMP aggregation.

# dladm show-aggr
LINK    MODE       POLICY  ADDRPOLICY      LACPACTIVITY   LACPTIMER
aggr0   trunk      L2      auto            active         short

# dladm modify-aggr -m dlmp aggr0
# dladm show-aggr
LINK    MODE       POLICY  ADDRPOLICY      LACPACTIVITY   LACPTIMER
aggr0   dlmp       --      --              --             --

Once the aggregation is switched, you must remove the previous switch configuration that was applied to the trunk aggregation.