System Administration Guide: Network Interfaces and Network Virtualization

ProcedureHow to Modify an Aggregation

This procedure shows how to make the following changes to an aggregation definition:

  1. Assume the System Administrator role.

    The System Administrator role includes the Network Management profile. To create the role and assign the role to a user, see Chapter 9, Using Role-Based Access Control (Tasks), in System Administration Guide: Security Services.

  2. Modify the policy of the aggregation.


    # dladm modify-aggr -P policy-key aggr
    
    policy-key

    Represents one or more of the policies L2, L3, and L4, as explained in Policies and Load Balancing.

    aggr

    Specifies the aggregation whose policy you want to modify.

  3. Modify the LACP mode of the aggregation.


    # dladm modify-aggr -L LACP-mode -T timer-value aggr
    
    -L LACP-mode

    Indicates the LACP mode in which the aggregation is to run. The values are active, passive, and off. If the switch runs LACP in passive mode, be sure to configure active mode for your aggregation.

    -T timer-value

    Indicates the LACP timer value, either short or long.


Example 6–2 Modifying a Link Aggregation

This example shows how to modify the policy of aggregation video0 to L2 and then turn on active LACP mode.


# dladm modify-aggr -P L2 video0
# dladm modify-aggr -L active -T short video0
# dladm show-aggr
LINK      POLICY  ADDRPOLICY      LACPACTIVITY   LACPTIMER  FLAGS
video0    L2      auto            active         short      -----