eos_mlag_config¶
Synopsis¶
Added in version 1.0.0
The eos_mlag_interface module manages the MLAG interfaces on Arista EOS nodes. This module is fully stateful and all configuration of resources is idempotent unless otherwise specified.
Options¶
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| domain_id | no |
Configures the global MLAG domain-id value on the EOS node. The domain-id specifies the name the for MLAG domain. Valid values for domain-id is any ASCII string. (added in 1.0.0) |
||
| local_interface | no |
Configures the VLAN interface (SVI) for use as the MLAG endpoint for control traffic. Valid values for local-interface is any VLAN SVI identifier. (added in 1.0.0) |
||
| peer_address | no |
Configures the global MLAG peer-address of the MLAG peer. This peer address must be reachable by the configured local-interface. Valid values are any IPv4 unicast IP address. (added in 1.0.0) |
||
| peer_link | no |
Configures the physical link that connects the local MLAG to its remote peer node. The physical link value can be any valid Ethernet or Port-Channel interface (added in 1.0.0) |
||
| shutdown | no |
|
Configures the global MLAG administratively state. If the value of shutdown is true, then MLAG is administratively disabled. If the value of shutdown is false, then MALG is administratively enabled. The EOS default value for shutdown is false. (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 the MLAG domain-id is mlagPeer
eos_mlag_config: domain_id=mlagPeer
- name: Configure the peer address and local interface
eos_mlag_config: peer_address=2.2.2.2 local_interface=Vlan4094
Note
All configuration is idempotent unless otherwise specified
Note
Supports eos metaparameters for using the eAPI transport
Note
Does not support stateful resource configuration.