Configure VLACP on a port

Configure VLACP on a port to ensure there is end-to-end reachability. VLACP uses the Hello mechanism of LACP to periodically send Hello packets to ensure there is an end-to-end approach. After Hello packets are not received, VLACP transitions to a failure state and disables the port.

Important

Important

Changes made at the global level override and reset all port level settings.

About this task

Use the following information to prevent flooding VLACP packets across a defaulted switch:

  • Use the default MAC address, 01:80:c2:00:11:00, for end-to-end connections that traverse an intermediate network.

  • Use the reserved multicast MAC address 01-80-c2-00-00-0f for directly-connected, peer-to-peer links.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure optional parameters for the port. If you do not configure these parameters, the system uses the default values.
    1. Configure the protocol identification for the port:

      vlacp ethertype <1536-65535 | 0x600-0xffff> [funcmac-addr 0x00:0x00:0x00:0x00:0x00:0x00]

    2. Configure the fast or slow periodic times:

      vlacp fast-periodic-time <100-20000> | slow-periodic-time <10000-30000>

      You can configure both parameters in the same command entry.

    3. Configure the timeout parameters:

      vlacp timeout <long|short> timeout-scale <2-10>

      You can configure both parameters in the same command entry.

  3. Enable VLACP on a port:

    vlacp enable

Example

Configure VLACP on port 1/1:

Switch:1# configure terminal

Switch:1# interface GigabitEthernet 1/2

Switch:1# vlacp fast-periodic-time 400 timeout short

Switch:1# vlacp enable

Variable Definitions

Use the data in the following table to help you use the vlacp command.

Variable

Value

enable

Enables VLACP for this port. The default is disabled.

ethertype <1536-65535 | 0x600-0xffff>

Configures the VLACP protocol identification for this port. Enter the type in decimal or hexadecimal format. The default is 0x8103.

fast-periodic-time <100-20000>

Configures the fast periodic time (in milliseconds) for this port. The default is 200.

funcmac-addr <0x00:0x00:0x00:0x00:0x00:0x00>

Configures the multicast MAC address used for the VLACPDU. Specify a MAC address in the format 0x00:0x00:0x00:0x00:0x00:0x00. The default is 01:80:c2:00:11:00.

slow-periodic-time <10000-30000>

Configures the slow periodic time (in milliseconds) for a specific port type. The default is 30,000.

timeout {long|short}

Configures the port to use the long or short timeout:

  • long sets the port to use the timeout-scale value multiplied by the slow periodic time.

  • short sets the port to use the timeout-scale value multiplied by the fast periodic time.

For example, if you specify a short timeout, set the timeout-scale value to 3, and the fast periodic time to 400 ms, the timer expires within 1000 to 1200 ms.

The default is long.

timeout-scale <2-10>

Configures a timeout scale for this port used to calculate the timeout. The default value is 3.