Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

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.

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