type

This command defines the mode to use for link aggregation.

Syntax

type active-backup

type LACP

type transmit

Parameters

active-backup
Sets link aggregation to active-backup. One link is active, and the other links are backup. If the active link is lost, switches to a backup link. This setting is the default value.
LACP
Sets link aggregation to the Link Aggregation Control Protocol (LACP). The IEEE 802.1AX-2008 standard defines LACP. This mode requires support on the network switch.
transmit
Sets link aggregation to transmit-based balancing. This mode uses a single link for incoming traffic but distributes outgoing traffic among all links.

Guidelines

The type command defines the mode to use for link aggregation.

When the aggregate interface uses LACP, you can change the selection policy and the distribution algorithm for outbound packets.
  • Use the lacp-select command to change the LACP selection policy. The default selection policy is to use active-backup.
  • Use the lacp-hash command to change the LACP distribution algorithm for outbound packets. The default algorithm is to use the hash function against both MAC addresses and IP addresses.
  • Use the lacp-rate command to change the rate of the LACP aggregation. The default rate is fast, which is every 1 second.

Example

Set the aggregate interface to use LACP and choose the aggregator with the highest bandwidth. The aggregate interface uses only the MAC address hash algorithm. The rate for the LACP aggregation is every 30 seconds.
# type LACP
# lacp-select bandwith
# lacp-hash mac
# lacp-rate slow