Author: | Peter Sprygada |
---|
New in version 1.3.
Manage physical Ethernet interface resources on Arista EOS network devices
parameter | required | default | choices | comments |
---|---|---|---|---|
admin | no |
|
controls the operational state of the interface | |
description | no | a single line text string describing the interface | ||
duplex | no | auto |
|
sets the interface duplex setting |
interface_id | yes | the full name of the interface | ||
logging | no |
|
enables or disables the syslog facility for this module | |
mtu | no | 1500 | configureds the maximum transmission unit for the interface | |
speed | no | auto |
|
sets the interface speed setting |
Note
Requires Arista EOS 4.10
Note
Requires Netdev extension for EOS
Example playbook entries using the arista_interface module to manage resource
state. Note that interface names must be the full interface name not shortcut
names (ie Ethernet, not Et1)
tasks:
- name: enable interface Ethernet 1
action: arista_interface interface_id=Ethernet1 admin=up speed=10g duplex=full logging=true
- name: set mtu on Ethernet 1
action: arista_interface interface_id=Ethernet1 mtu=1600 speed=10g duplex=full logging=true
- name: reset changes to Ethernet 1
action: arista_interface interface_id=Ethernet1 admin=down mtu=1500 speed=10g duplex=full logging=true
Note
Requires EOS 4.10 or later
Note
The Netdev extension for EOS must be installed and active in the available extensions (show extensions from the EOS CLI)
Note
See http://eos.aristanetworks.com for details