Attributes

Table 45: Attributes for netdev_lagg

Attribute name

Description

Attribute type

Value type and restrictions

group_id

Specifies an aggregation group ID.

Index

Unsigned integer.

Value range:

  • 1 to 1024 for a Layer 2 aggregation group.

  • 16385 to 17408 for a Layer 3 aggregation group.

ensure

Creates, modifies, or deletes the aggregation group.

N/A

Symbol:

  • present—Creates or modifies the aggregation group.

  • absent—Deletes the aggregation group.

linkmode

Specifies the aggregation mode.

N/A

Symbol:

  • static—Static.

  • dynamic—Dynamic.

addports

Specifies the indexes of the interfaces that you want to add to the aggregation group.

N/A

String, a comma separated list of interface indexes or interface index ranges, for example, 1,2,3,5-8,10-20.

The string cannot end with a comma (,), hyphen (-), or space.

An interface index cannot be on the list of adding interfaces and the list of removing interfaces at the same time.

deleteports

Specifies the indexes of the interfaces that you want to remove from the aggregation group.

N/A

String, a comma separated list of interface indexes or interface index ranges, for example, 1,2,3,5-8,10-20.

The string cannot end with a comma (,), hyphen (-), or space.

An interface index cannot be on the list of adding interfaces and the list of removing interfaces at the same time.