This page contains scripts, links to other sites and "howto" docs that the staff at Open Technologies Inc. commonly use. You are free to use this material as you wish, but we take NO responsibility for your proper or improper use of this material. See Limitation of Liability below. Description: A quick howto on setting up link/nic aggregation ---------------------- Revision Table Created: 05-14-07 PJF Revised: ---------------------- 1. Show available devices # dladm show-dev 2. Configuring an aggregation with key 1 (note, "/etc/aggregation.conf" created) # dladm create-aggr -d bge0 -d bge1 1 3. Plumb and set IP (note, still need to create /etc/hostname.aggr1 to persist) # ifconfig aggr1 plumb 192.168.33.2 up 3. Show aggregation # dladm show-aggr 4. To show the available interfaces that can be used: # dladm show-dev 5. Then just create a /etc/hostname.aggr1 and use ifconfig and hostname as you would with any other interface. 6. To add/remove an interface: # dladm add-aggr -d 1 # dladm remove-aggr -d 1 7. Create the trunk as specified below # dladm create-aggr -P L2 -l passive -T short -d e1000g0 -d e1000g1 1 8. To view the LACP details follow the example below: # dladm show-aggr -L key: 1 (0x0001) policy: L2 address: X:XX:XX:XX:XX:XX (auto) LACP mode: passive LACP timer: short device activity timeout aggregatable sync coll dist defaulted expired e1000g0 passive long yes yes yes yes no no e1000g1 passive long yes yes yes yes no no 9. To view aggregate statistics follow the example below: # dladm show-aggr -s key: 1 ipackets rbytes opackets obytes %ipkts %opkts Total 398054 41821394 278529 28661590 e1000g0 282639 28945342 1365 171084 71.0 0.5 e1000g1 23084 2724062 84099 8609560 5.8 30.2 10. This is what I did to configure the switch. Each port on the switch must be configured the same as GigabitEthernet1/1. Be sure to configure the ports first, before creating interface port-channel port-channel per-module load-balance port-channel load-balance dst-mac ! interface Port-channel1 switchport switchport mode access no ip address ! interface GigabitEthernet1/1 switchport switchport mode access no ip address lacp port-priority 4096 lacp rate fast channel-group 1 mode active ! * Update 2/25/2007: Certain versions of the IOS for the Cisco Catalyst 6509 do not suppport Etherchannel trunks faster than 1 Gigabit. This will require an IOS upgrade for the full bandwidth of the LACP trunk to be used. LIMITATION OF LIABILITY TO THE FULL EXTENT PERMITTED BY LAW, HOST IS NOT LIABLE TO YOU OR ANY OTHER INDIVIDUAL OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES RELATED TO OR ARISING OUT OF ANY USE OF, ACCESS TO, OR INABILITY TO ACCESS THIS WEBSITE, CONTENT, SERVICES, OR OF ANY OTHER LINKED WEBSITE OR EXTERNAL RESOURCE INCLUDING, WITHOUT LIMITATION, ANY LOST PROFITS, LOST SALES, LOST REVENUE, LOSS OF GOODWILL, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA EVEN IF OPEN TECHNOLOGIES INC. IS EXPRESSLY ADVISED OR AWARE OF THE POSSIBILITY OF SUCH DAMAGES OR LOSSES. YOU ASSUME ALL RISK FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR LOSS OF DATA THAT RESULTS FROM OBTAINING ANY CONTENT FROM THE WEBSITE, INCLUDING ANY DAMAGES RESULTING FROM COMPUTER VIRUSES, WORMS, OR OTHER ITEMS OF A DESTRUCTIVE NATURE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU.