3 Configuring the Switch

CLI – The following example enables LACP for ports 1 to 6. Just connect these ports to LACP-enabled trunk ports on another switch to form a trunk.

Console(config)#interface

ethernet 1/1

4-116

Console(config-if)#lacp

 

4-132

Console(config-if)#exit

 

 

.

 

 

.

 

 

.

ethernet 1/6

 

Console(config)#interface

 

Console(config-if)#lacp

 

 

Console(config-if)#end

 

 

Console#show interfaces status port-channel 1

4-123

Information of Trunk 1

 

 

Basic information:

100TX

 

Port type:

 

Mac address:

00-12-CF-12-34-89

 

Configuration:

 

 

Name:

Up

 

Port admin:

 

Speed-duplex:

Auto

 

Capabilities:

10half, 10full, 100half, 100full

 

Flow control status:

Disabled

 

Port security:

Disabled

 

Max MAC count:

0

 

Current status:

Lacp

 

Created by:

 

Link status:

Up

 

Port operation status:

Up

 

Operation speed-duplex:

100full

 

Flow control type:

None

 

Member Ports: Eth1/1, Eth1/2, Eth1/3, Eth1/4, Eth1/5, Eth1/6, Console#

Configuring LACP Parameters

Dynamically Creating a Port Channel –

Ports assigned to a common port channel must meet the following criteria:

Ports must have the same LACP System Priority.

Ports must have the same LACP port Admin Key.

However, if the “port channel” Admin Key is set (4-135), then the port Admin Key must be set to the same value for a port to be allowed to join a channel group.

Note – If the port channel admin key (lacp admin key, 4-135)is not set (through the CLI) when a channel group is formed (i.e., it has a null value of 0), this key is set to the same value as the port admin key used by the interfaces that joined the group (lacp admin key, as described in this section and on 4-134).

Command Attributes

Set Port Actor – This menu sets the local side of an aggregate link; i.e., the ports on this switch.

Port – Port number. (Range: 1-26/50)

System Priority – LACP system priority is used to determine link aggregation group (LAG) membership, and to identify this device to other switches during LAG negotiations. (Range: 0-65535; Default: 32768)

- Ports must be configured with the same system priority to join the same LAG.

3-84

Page 128
Image 128
SMC Networks SMC8150L2 manual Configuring Lacp Parameters, Dynamically Creating a Port Channel