ANSIBLE.ARISTA_INTERFACE(3)

NAME
arista_interface - Manage physical Ethernet interfaces

DESCRIPTION

Manage physical Ethernet interface resources on Arista EOS network devices

OPTIONS

admin
    controls the operational state of the interface Choices: up,down.

description
    a single line text string describing the interface

duplex
    sets the interface duplex setting Choices: auto,half,full. (default: auto)

interface_id
    the full name of the interface(required)

logging
    enables or disables the syslog facility for this module Choices: true,false,yes,no.

mtu configureds the maximum transmission unit for the interface (default: 1500)

speed
    sets the interface speed setting Choices: auto,100m,1g,10g. (default: auto)."

NOTES

Requires EOS 4.10 or later

The Netdev extension for EOS must be installed and active in the available extensions (show extensions from the EOS CLI)

See http://eos.aristanetworks.com for details
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

AUTHOR
Peter Sprygada

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#arista-interface