arista_vlan - Manage VLAN resources

Author:Peter Sprygada

Synopsis

New in version 1.3.

Manage VLAN resources on Arista EOS network devices. This module requires the Netdev EOS extension to be installed in EOS. For detailed instructions for installing and using the Netdev module please see [link]

Options

parameter required default choices comments
logging no
  • true
  • false
  • yes
  • no
enables or disables the syslog facility for this module
name no
    a descriptive name for the vlan
    state no present
    • present
    • absent
    describe the desired state of the vlan related to the config
    vlan_id yes
      the vlan id

      Note

      Requires Arista EOS 4.10

      Note

      Requires Netdev extension for EOS

      Examples


      Example playbook entries using the arista_vlan module to manage resource
      state.
      
        tasks:
        - name: create vlan 999
          action: arista_vlan vlan_id=999 logging=true
      
        - name: create / edit vlan 999
          action: arista_vlan vlan_id=999 name=test logging=true
      
        - name: remove vlan 999
          action: arista_vlan vlan_id=999 state=absent 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

      arista_lag - Manage port channel (lag) interfaces

      Next topic

      bigip_facts - Collect facts from F5 BIG-IP devices