The slxos_netdev_LAG type allows you to manage link aggregation groups.


slxos_netdev_lag { 'name':
ensure => [present | absent],
active => [true | false],
lacp => [active | passive | disabled],
description => "vlag-description”,
minimum_links => minimum_links_value,
links => $lag_ports,


Table 1. slxos_netdev_lag properties
Property Description
name (required) Specifies the name of the LAG. For example 10.
active (required) Active configuration. By default, it is set to true.
lacp (optional) Controls if and how the Link Aggregation Control Protocol (LACP) is used:
  • On (default)—LACP is not used.
  • Active —LACP is in the active mode.
  • Passive—LACP is in the passive mode.
description (optional) Configures the VLAN description.
minimum_links (optional) Specifies the number of physical links that must be in the “up” condition to declare the LAG port as being in the “up” condition. By default, this value is set to 0.
links (required) Specifies a list of physical interfaces that compose the LAG bundle.


The following Puppet code segment configures a LAG named 10 with several properties.

class node1 {
$ip23= "http://admin:password@"
$lag_ports = ['eth 0/2', 'eth 0/3']
slxos_netdev_lag { '10':
#ensure => absent,
#description => "port-channel 10",
minimum_links => 5,
lacp => active,
links => $lag_ports,

Use the show port-channel command to verify the results of the code segment on the switch.

device# show port-channel 10
LACP Aggregator: Po 10
Aggregator type: Standard
Ignore-split is enabled
Admin Key: 0010 - Oper Key 0010
Partner System ID - 0x0000,00-00-00-00-00-00
Partner Oper Key 0000
Link: eth 1/2 (0x10C004000) sync: 0
Link: eth 1/3 (0x10C006000) sync: 0