eos_ipinterface

Synopsis

Added in version 1.0.0

The eos_ipinterface module manages logical layer 3 interface configurations.

Options

parameter required default choices comments
address no
    Configures the IPv4 address for the interface. The value must be in the form of A.B.C.D/E. The EOS default value for address is None
    (added in 1.0.0)
    mtu no
      Sets the IP interface MTU value. The MTU value defines the maximum transmission unit (or packet size) that can traverse the link. Valid values are in the range of 68 to 65535 bytes. The EOS default value for mtu is 1500
      (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 a logical IP interface is configured on Vlan100
          eos_ipinterface: name=Vlan100 state=present address=172.16.10.1/24
        
        - name: Ensure a logical IP interface is not configured on Ethernet1
          eos_ipinterface: name=Ethernet1 state=absent
        
        - name: Configure the MTU value on Port-Channel10
          eos_ipinterface: name=Port-Channel10 mtu=9000
        

        Note

        Currently this module only supports IPv4

        Note

        All configuration is idempotent unless otherwise specified

        Note

        Supports eos metaparameters for using the eAPI transport

        Note

        Supports stateful resource configuration.