This procedure shows how to make the following changes to an aggregation definition:
Modifying the policy for the aggregation
Changing the mode for the aggregation
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.
Modify the policy of the aggregation.
# dladm modify-aggr -P policy-key aggr |
Represents one or more of the policies L2, L3, and L4, as explained in Policies and Load Balancing.
Specifies the aggregation whose policy you want to modify.
Modify the LACP mode of the aggregation.
# dladm modify-aggr -L LACP-mode -T timer-value aggr |
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.
Indicates the LACP timer value, either short or long.
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 ----- |