type

This command defines the mode to use for link aggregation.

Syntax

type { active-backup | LACP | 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. This mode requires the network links are connected to a switch; it does not work with directly cabled connections.
LACP
Sets link aggregation to the Link Aggregation Control Protocol (LACP). The IEEE 802.1AX-2008 standard defines LACP. Your network switch must support LACP if you specify this mode.
transmit
Sets link aggregation to transmit-based load 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.

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.
# type LACP
# lacp-select bandwith
# lacp-hash mac