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 Primary Administrator role, or become superuser.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Modify the aggregation to change the policy.
# dladm modify-aggr -Ppolicy key |
Represents one or more of the policies L2, L3, and L4, as explained in Policies and Load Balancing.
Is a number that identifies the aggregation. The lowest key number is 1. Zeroes are not allowed as keys.
If LACP is running on the switch to which the devices in the aggregation are attached, modify the aggregation to support LACP.
If the switch runs LACP in passive mode, be sure to configure active mode for your aggregation.
# dladm modify-aggr -l LACP mode -t timer-value key |
Indicates the LACP mode in which the aggregation is to run. The values are active, passive, and off.
Indicates the LACP timer value, either short or long.
Is a number that identifies the aggregation. The lowest key number is 1. Zeroes are not allowed as keys.
This example shows how to modify the policy of aggregation aggr1 to L2 and then turn on active LACP mode.
# dladm modify-aggr -P L2 1 # dladm modify-aggr -l active -t short 1 # dladm show-aggr key: 1 (0x0001) policy: L2 address: 0:3:ba:7:84:5e (auto) device address speed duplex link state bge0 0:3:ba:7:b5:a7 1000 Mbps full up attached bge1 0:3:ba:8:22:3b 0 Mbps unknown down standby |