Skip to content

LACP

Link Aggregation Control Protocol (LACP) configuration manages global LACP behavior on NX-OS devices. LACP negotiates port-channel membership with the peer device. Global settings include the system priority, which decides which device controls port selection, and the system MAC address with its role, which are used in the LACP system identifier. Per-interface settings such as lacp port-priority and lacp rate are configured under the Ethernet interfaces. LACP must be enabled with feature.lacp.

Diagram
NameTypeConstraintMandatoryDefault Value
devicesListdevicesNo
device_groupsListdevice_groupsNo
globalClassglobalNo
templatesListtemplatesNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
lacpClasslacpNo

NameTypeConstraintMandatoryDefault Value
system_priorityIntegermin: 1, max: 65535No
system_macMACNo
system_mac_roleChoiceprimary, secondaryNo
port_number_front_panelBooleantrue, falseNo

Example 1: LACP with custom system priority

nxos:
devices:
- name: LEAF1
configuration:
feature:
lacp: true
lacp:
system_priority: 1000

Example 2: LACP with custom system MAC address and role

nxos:
devices:
- name: LEAF1
configuration:
feature:
lacp: true
lacp:
system_priority: 1000
system_mac: "00:11:22:33:44:55"
system_mac_role: secondary