Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### LA Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure Port Channel Load Balancing

Traffic in a port channel is distributed across the individual bundled links in a deterministic fashion. However, the load is not necessarily balanced equally across all of the links. Instead, frames are forwarded on a specific link using any of the following criteria: source IP address, destination IP address, a combination of source and destination IP addresses, or a combination of source and destination MAC addresses.

1. Configure the load balance policy in switch A.

       SEFOS# configure terminal
       SEFOS(config)# port-channel load-balance policy 1
       SEFOS(config)# end

   where `policy` can be:

   - `src-mac` - Load distribution is based on the source MAC address in the frame. Packets from different hosts use different ports in the channel, but packets from the same host use the same port.

   - `dest-mac` - Load distribution is based on the destination MAC address in the frame. Packets to the same destination are sent on the same port, but packets to different destinations are sent on different ports in the channel.

   - `src-dest-mac` - Load distribution is based on the source and destination MAC addresses.

   - `src-ip` - Load distribution is based on the source IP address.

   - `dest-ip` - Load distribution is based on the destination IP address.

   - `src-dest-ip` - Load distribution is based on the source and destination IP addresses.

   - `vlan-id` - Load distribution is based on VLAN Identifier.

2. Review the `etherchannel` load balancing information.

       SEFOS# show etherchannel load-balance

                        Channel Group Listing
                        ---------------------
       Group : 1
       ----------
       Destination MAC Address
       Group : 2
       ----------
       Source & Destination MAC Address

   Note - If the port-channel index is not included in the output, then load balancing applies to all of the port channels that are configured in the system.

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |