4 Command Line Interface

Command Usage

When configuring static trunks, the switches must comply with the Cisco EtherChannel standard.

Use no channel-groupto remove a port group from a trunk.

Use no interfaces port-channelto remove a trunk from the switch.

Example

The following example creates trunk 1 and then adds port 11:

Console(config)#interface port-channel 1

Console(config-if)#exit

Console(config)#interface ethernet 1/11

Console(config-if)#channel-group 1

Console(config-if)#

lacp

This command enables 802.3ad Link Aggregation Control Protocol (LACP) for the current interface. Use the no form to disable it.

Syntax

[no] lacp

Default Setting

Disabled

Command Mode

Interface Configuration (Ethernet)

Command Usage

The ports on both ends of an LACP trunk must be configured for full duplex, either by forced mode or auto-negotiation.

A trunk formed with another switch using LACP will automatically be assigned the next available port-channel ID.

If the target switch has also enabled LACP on the connected ports, the trunk will be activated automatically.

If more than eight ports attached to the same target switch have LACP enabled, the additional ports will be placed in standby mode, and will only be enabled if one of the active links fails.

4-148

Page 390
Image 390
Accton Technology ES3526XA Lacp, Following example creates trunk 1 and then adds port, Syntax No lacp Default Setting