Configuring LACP on a VLAN

Use this procedure to configure LACP on a VLAN.

About this task

Important

Important

Configuration at the global level overrides and resets all settings at the VLAN level.

Procedure

  1. Enter VLAN Interface Configuration mode:

    enable

    configure terminal

    interface vlan <1–4059>

  2. Configure global aggregation wait time for the VLAN:

    lacp aggr-wait-time <200-2000>

  3. Enable LACP:

    lacp enable

  4. Configure the global periodic time:

    lacp enable [fast-periodic-time <200-20000>] [slow-periodic-time <10000-30000>]

    If you do not configure the optional parameters, the system uses the default values.

  5. Configure a global LACP system ID.

    lacp smlt-sys-id 0x00:0x00:0x00:0x00:0x00:0x00

  6. Configure the system priority:

    lacp system-priority <0-65535>

  7. Configure the timeout-scale:

    lacp timeout-scale <2–10>

Example

Switch:1(config)#interface vlan 20

Switch:1(config-if)#lacp fast-periodic-time 2000

Switch:1(config-if)#lacp enable

Variable definitions

Use the data in the following table to use the lacp command.

Variable

Value

aggr-wait-time <200–2000>

Configures the aggregation wait time (in milliseconds) globally. The default is 2000.

enable

Enables LACP for the VLAN. The default is disabled.

fast-periodic-time <200–20000>

Configures the fast periodic time (in milliseconds) globally for the VLAN. The default is 1000 ms.

slow-periodic-time <10000-30000>

Configures the slow periodic time globally for the VLAN. The default is 30000 ms.

smlt-sys-id 0x00:0x00:0x00:0x00:0x00:0x00

Configures the LACP system ID globally.

system-priority <0-65535>

Configures the LACP system priority globally.

timeout-scale <2-10>

Configures a timeout scale for the VLAN. The default value is 3.

The LACP timeout is equal to the slow periodic time or fast periodic time multiplied by the timeout-scale, depending how you configure the timeout-time variable.