arubanetworks / arubanetworks.aoscx / 4.3.2 / module / aoscx_vlan Create or Delete VLAN configuration on AOS-CX | "added in version" 2.8.0 of arubanetworks.aoscx" Authors: Aruba Networks (@ArubaNetworks) preview | supported by certifiedarubanetworks.aoscx.aoscx_vlan (4.3.2) — module
Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2
collections: - name: arubanetworks.aoscx version: 4.3.2
This modules provides configuration management of VLANs on AOS-CX devices.
- name: Create VLAN 200 with description aoscx_vlan: vlan_id: 200 description: This is VLAN 200
- name: Create VLAN 300 with description and name aoscx_vlan: vlan_id: 300 name: UPLINK_VLAN description: This is VLAN 300
- name: Create VLAN 400 with name, voice, vsx_sync and ip igmp snooping aoscx_vlan: vlan_id: 400 name: VOICE_VLAN voice: True vsx_sync: True ip_igmp_snooping: True
- name: Delete VLAN 300 aoscx_vlan: vlan_id: 300 state: delete
name: description: VLAN name required: false type: str state: choices: - create - update - delete default: create description: Create or update or delete the VLAN. required: false type: str voice: description: Enable Voice VLAN required: false type: bool vlan_id: description: 'The ID of this VLAN. Non-internal VLANs must have an ''id'' between 1 and 4094 to be effectively instantiated. ' required: true type: int vsx_sync: description: Enable vsx_sync (Only for VSX device) required: false type: bool admin_state: choices: - up - down description: The Admin State of the VLAN, options are 'up' and 'down'. required: false type: str description: description: VLAN description required: false type: str ip_igmp_snooping: description: Enable IP IGMP Snooping required: false type: bool