Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Modifying a Trunk Aggregation

You can modify selected attributes such as policy, lacpmode, and time for the trunk aggregation. These attributes are not supported in DLMP aggregations.

  • To modify the load balancing policy of the aggregation, become an administrator and issue the following command:

    # dladm modify-aggr -P policy aggr
    policy

    Represents one or more of the load balancing policies L2, L3, and L4, as explained in Defining Aggregation Policies for Load Balancing.

    aggr

    Specifies the aggregation whose policy you want to modify.

  • To modify the LACP mode of the aggregation, become an administrator and use the following command:

    # dladm modify-aggr -L LACP-mode -T time aggr
    –L LACP-mode

    Indicates the LACP mode in which the aggregation must operate. Possible values are active, passive, and off.

    –T time

    Indicates the LACP timer value, either short or long.

    aggr

    Specifies the aggregation whose LACP mode you want to modify.


Note -  You can modify the load balancing policy, the LACP mode, and the LACP timer value of an aggregation even when the aggregation is active or in use. You can also modify these attributes even if an IP interface and a VNIC is configured over the aggregation.
Example 5  Modifying a Trunk Aggregation

This example shows how to modify the load balancing policy of link aggregation aggr0 to L2 and to change the LACP mode to active.

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