eos_portchannel¶
Synopsis¶
Added in version 1.0.0
The eos_portchannel module manages the interface configuration for logical Port-Channel interfaces on EOS nodes.
Options¶
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| description | no |
Configures a one lne ASCII description for the interface. The EOS default value for description is None (added in 1.0.0) |
||
| enable | no | True |
|
Configures the administrative state for the interface. Setting the value to true will adminstrative enable the interface and setting the value to false will administratively disable the interface. The EOS default value for enable is true (added in 1.0.0) |
| lacp_mode | no |
|
Configures the LACP mode configured on the named interface. The LACP mode identifies the negotiation protocol used between peers. (added in 1.0.0) |
|
| members | no |
Configures the set of physical Ethernet interfaces that are bundled together to create the logical Port-Channel interface. Member interface names should be a comma separated list of physical Ethernet interface names to be included in the named interface. (added in 1.0.0) |
||
| minimum_links | no |
Conifugres the minimum links value which specifies the miniumum number of physical Ethernet interfaces that must be operationally up for the entire Port-Channel interface to be considered operationally up. Valid values for minimum links are in the range of 0 to 16. The EOS default value for min-links is 0 (added in 1.0.0) |
||
| name | yes |
The unique interface identifier name. The interface name must use the full interface name (no abbreviated names). For example, interfaces should be specified as Ethernet1 not Et1 (added in 1.0.0) |
Important
Requires Arista EOS 4.13.7M or later with command API enabled
Important
Requires Python Client for eAPI 0.3.0 or later
Examples¶
- name: Ensure Port-Channel1 has members Ethernet1 and 2
eos_portchannel: name=Port-Channel1 members=Ethernet1,Ethernet2
- name: Ensure Port-Channel10 uses lacp mode active
eos_portchannel: name=Port-Channel10 members=Ethernet1,Ethernet3
lacp_mode=active
Note
All configuration is idempotent unless otherwise specified
Note
Supports eos metaparameters for using the eAPI transport
Note
Supports stateful resource configuration.