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

Search Scope:

- This Document
- Entire Library

## Configure the LACP Port Priority

In the following example, all of the ports in both switches are configured to belong to port channel 1. Ports 0/1, 0/2, and 0/3 are part of the LA. You must run all of the commands in this procedure on both switches.

1. Enable port channeling, and create the port channel (1 in this example).

       SEFOS# configure terminal
       SEFOS(config)# set port-channel enable
       SEFOS(config)# interface port-channel 1
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit

2. Configure the physical ports, and set the mode for each of the interfaces.

       SEFOS(config)# interface extreme-ethernet 0/1
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# channel-group 1 mode active
       SEFOS(config-if)# exit
       SEFOS(config)# interface extreme-ethernet 0/2
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# channel-group 1 mode active
       SEFOS(config-if)# exit
       SEFOS(config)# interface extreme-ethernet 0/3
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# channel-group 1 mode active
       SEFOS(config-if)# exit
       SEFOS(config-if)# end

3. Review the `etherchannel` information in both switches to ensure that the channel group settings have been changed.

   The output has been truncated for readability. The output should be the same in both switches.

       SEFOS# show etherchannel 1 detail

       ...
       -------------
       Port State = Up in Bundle
       Channel Group : 1
       Mode : Active
       Pseudo port-channel = Po1
       LACP port-priority  = 128
       LACP Wait-time  = 2 secs
       ...
       -------------
       Port State = Hot standby
       Channel Group : 1
       Mode : Active
       Pseudo port-channel = Po1
       LACP port-priority  = 128
       LACP Wait-time  = 2 secs

   Note - Before configuring the LACP port priority, consider that the `extreme-ethernet` port, 0/3, is the standby port in switches A and B. The maximum number of ports in the port channel is 2.

4. On switch A, configure the LACP port priority for port 0/3.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/3
       SEFOS(config-if)# lacp port-priority 20
       SEFOS(config-if)# end

   The possible range of values is from 0-65535. The lower the value, the more likely that the interface will be used for LACP transmission.

5. Type the `show` command to review the `etherchannel` information to ensure that the port 0/3 information was added to the `etherchannel` report.

   After you configure the LACP port priority, port 0/2 is the standby port in both switches.

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