arista_interface - Manage physical Ethernet interfaces

Author:Peter Sprygada

Synopsis

New in version 1.3.

Manage physical Ethernet interface resources on Arista EOS network devices

Options

parameter required default choices comments
admin no
  • up
  • down
controls the operational state of the interface
description no
    a single line text string describing the interface
    duplex no auto
    • auto
    • half
    • full
    sets the interface duplex setting
    interface_id yes
      the full name of the interface
      logging no
      • true
      • false
      • yes
      • no
      enables or disables the syslog facility for this module
      mtu no 1500
        configureds the maximum transmission unit for the interface
        speed no auto
        • auto
        • 100m
        • 1g
        • 10g
        sets the interface speed setting

        Note

        Requires Arista EOS 4.10

        Note

        Requires Netdev extension for EOS

        Examples


        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

        Table Of Contents

        Previous topic

        Net Infrastructure Modules

        Next topic

        arista_l2interface - Manage layer 2 interfaces