Skip to content

LACP

Configure LACP (Link Aggregation Control Protocol) settings on IOS-XR devices. LACP is used to dynamically manage link aggregation groups (LAGs) and provides a standardized method for bundling multiple physical links into a single logical link.

Diagram
NameTypeConstraintMandatoryDefault Value
lacpClass[lacp]No

NameTypeConstraintMandatoryDefault Value
system_macStringNo
system_priorityIntegermin: 1, max: 65535No

MAC Address Formats

Fields that accept MAC addresses can be in any of three formats:

  1. colon-separated (e.g., "01:01:01:01:01:01")
  2. dash-separated (e.g., "01-01-01-01-01-01")
  3. dotted (e.g., "0101.0101.0101")

All 3 formats can be used interchangeably. The normalization layer coverts the user-specified format to colon-separated before sending to the device.

Example-1: Configure basic LACP system settings with custom MAC address and priority.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
lacp:
system_mac: 00:11:00:11:00:11
system_priority: 1

Example-2: Configure LACP with different priority settings for different devices.

iosxr:
devices:
- name: core-router-1
host: 10.10.10.1:57400
configuration:
hostname: core-router-1
lacp:
system_mac: 00:11:00:11:00:11
system_priority: 100
- name: edge-router-1
host: 10.10.10.2:57400
configuration:
hostname: edge-router-1
lacp:
system_mac: 00-22-00-22-00-22
system_priority: 200