3 Configuring the Switch

CLI – This example creates trunk 2 with ports 1 and 2. Just connect these ports to two static trunk ports on another switch to form a trunk.

Console(config)#interface

port-channel 2

4-166

Console(config-if)#exit

ethernet 1/1

 

Console(config)#interface

4-166

Console(config-if)#channel-group 2

4-181

Console(config-if)#exit

ethernet 1/2

 

Console(config)#interface

 

Console(config-if)#channel-group 2

 

Console(config-if)#end

 

 

Console#show interfaces status port-channel 2

4-173

Information of Trunk 2

 

 

Basic information:

100FX

 

Port type:

 

Mac address:

00-12-CF-12-34-84

 

Configuration:

 

 

Name:

Up

 

Port admin:

 

Speed-duplex:

Auto

 

Capabilities:

10half, 10full, 100half, 100full

 

Flow control:

Disabled

 

Port security:

Disabled

 

Max MAC count:

0

 

Current status:

User

 

Created by:

 

Link status:

Up

 

Port operation status:

Up

 

Operation speed-duplex:

100full

 

Flow control type:

None

 

Member Ports: Eth1/1, Eth1/2,

Console#

Enabling LACP on Selected Ports

Command Usage

To avoid creating a loop in the network, be sure you enable LACP before connecting the ports, and also disconnect the ports before disabling LACP.

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

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

 

dynamically

 

enabled

 

}

active

backup

links

link

 

}

 

configured

 

members

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.

All ports on both ends of an LACP trunk must be configured for full duplex, and auto-negotiation.

Trunks dynamically established through LACP will also be shown in the Member List on the Trunk Membership menu (see page 3-115).

3-116

Page 166
Image 166
Accton Technology ES3528M-SFP manual Enabling Lacp on Selected Ports, 181