Layer 2 Technologies – Link Aggregation Control Protocol (LACP)

lacp port-priority

To set the physical port priority, use the lacp port-priority Interface (Ethernet) Configuration mode command. To restore the default configuration, use the no form of this command.

Syntax

lacp port-priority value no lacp port-priority

Parameters

value—Specifies the port priority. (Range: 1–65535)

Default Configuration

The default port priority is 1.

Command Mode

Interface (Ethernet) Configuration mode

Example

The following example sets the priority of te1/0/6.

switchxxxxxx(config)#  interface te1/0/6 
switchxxxxxx(config-if)#  lacp port-priority 247

lacp system-priority

To set the system priority, use the lacp system-priority Global Configuration mode command. To restore the default configuration, use the no form of this command.

Syntax

lacp system-priority value no lacp system-priority

Parameters

value—Specifies the system priority value. (Range: 1–65535)

Default Configuration

The default system priority is 1.

Command Mode

Global Configuration mode

Example

The following example sets the system priority to 120.

switchxxxxxx(config)#  lacp system-priority 120

lacp timeout

To assign an administrative LACP timeout to an interface, use the lacp timeout Interface (Ethernet) Configuration mode command. To restore the default configuration, use the no form of this command.

Syntax

lacp timeout {long | short} no lacp timeout

Parameters

  • long—Specifies the long timeout value.
  • short—Specifies the short timeout value.

Default Configuration

The default port timeout value is Long.

Command Mode

Interface (Ethernet) Configuration mode

Example

The following example assigns a long administrative LACP timeout to te1/0/6.

switchxxxxxx(config)#  interface te1/0/6
switchxxxxxx(config-if)#  lacp timeout long

show lacp

To display LACP information for all Ethernet ports or for a specific Ethernet port, use the show lacp Privileged EXEC mode command.

Syntax

show lacp interface-id [parameters | statistics | protocol-state]

Parameters

  • interface-id—Specify an interface ID. The interface ID must be an Ethernet port
  • parameters—(Optional) Displays parameters only.
  • statistics—(Optional) Displays statistics only.
  • protocol-state—(Optional) Displays protocol state only.

Command Mode

Privileged EXEC mode

Example

The following example displays LACP information for te1/0/1.

switchxxxxxx#  show lacp ethernet te1/0/1 Port te1/0/1 LACP parameters:

Actor

system priority: system mac addr: port Admin key: port Oper key: port Oper number: port Admin priority: port Oper priority: port Admin timeout: port Oper timeout:LACP Activity:Aggregation:synchronization: collecting: distributing:expired:Partner100:00:12:34:56:7830302111LONGLONGACTIVEAGGREGATABLEFALSEFALSEFALSEFALSE
system priority: system mac addr: port Admin key: port Oper key: port Oper number: port Admin priority: port Oper priority: port Admin timeout: port Oper timeout:LACP Activity:Aggregation:synchronization: collecting: distributing: expired:000:00:00:00:00:0000000LONGLONGPASSIVEAGGREGATABLEFALSEFALSEFALSEFALSE
Port te1/0/1 LACP Statistics: LACP PDUs sent:                         2 LACP PDUs received:                     2 Port te1/0/1 LACP Protocol State: LACP State Machines: Receive FSM:               Port Disabled State Mux FSM:                   Detached State Control Variables: BEGIN:                     FALSE LACP_Enabled:               TRUE Ready_N:                   FALSE Selected:                  UNSELECTED Port_moved:                FALSE NNT:                       FALSE Port_enabled:               FALSE Timer counters: periodic tx timer: 0 current while timer: 0 wait while timer: 0

show lacp port-channel

To display LACP information for a port-channel, use the show lacp port-channel Privileged EXEC mode command.

Syntax show lacp port-channel [port_channel_number]

Parameters

port_channel_number—(Optional) Specifies the port-channel number.

Command Mode

Privileged EXEC mode

Example

The following example displays LACP information about port-channel 1.

switchxxxxxx#  show lacp port-channel 1 Port-Channel 1:Port Type 1000 Ethernet Actor
System Priority:MAC Address:Admin Key:Oper Key:Partner1000285:0E1C002929
System Priority:MAC Address:000:00:00:00:00:0014

Oper Key:

Was this article helpful?

Related Articles

Leave A Comment?