|C H A P T E R 6|
Configuring Link Aggregation
This chapter describes how to configure link aggregation. It contains the following sections:
- Section 6.1, Overview of Link Aggregation
- Section 6.2, Configuring Link Aggregation in a Solaris Environment
6.1 Overview of Link Aggregation
Link Aggregation enables one or more network links to be aggregated together to form a link aggregation group. This link aggregation group appears to MAC clients as a regular link. Link aggregation is defined by IEEE 802.3ad and it provides the following benefits:
- Increased bandwidth
- Linearly incremental bandwidth
- Load sharing
- Automatic configuration
- Rapid configuration and reconfiguration
- Deterministic behavior
- Low risk of duplication or misordering
- Support of existing IEEE 802.3ad MAC clients
6.2 Configuring Link Aggregation in a Solaris Environment
This section explains how to configure link aggregation in a Solaris environment.
To Configure Link Aggregation in a Solaris Environment
1. Aggregate e1000g0, e1000g1, e1000g2, and e1000g3 to form an aggregation and a random number as key, for example 33.
a. Unplumb the interfaces to be aggregated:
# ifconfig down unplumb e1000g0 # ifconfig down unplumb e1000g1 # ifconfig down unplumb e1000g2 # ifconfig down unplumb e1000g3
b. Create a link-aggregation group with key 33 without specifying mode:
As the command returns, one line appears in the /etc/aggregation.conf file and indicates that the default mode is off, as shown in the following example:
2. Plumb up the interface aggrkey, which is aggr33 is this case:
3. Show link aggregation status again.
Now the state should become attached:
4. Use the dladm show-aggr -s command to display statistics:
5. Use the dladm show-aggr -L command to display LACP specific information:
For more information refer to the man pages for dladm, man dladm.
Copyright © 2007, Sun Microsystems, Inc. All Rights Reserved.