arubanetworks / arubanetworks.aoscx / 4.3.2 / module / aoscx_static_mac Create, Update, or Delete Static MACs on AOS-CX devices. | "added in version" 4.1.0 of arubanetworks.aoscx" Authors: Aruba Networks (@ArubaNetworks) preview | supported by certifiedarubanetworks.aoscx.aoscx_static_mac (4.3.2) — module
Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2
collections: - name: arubanetworks.aoscx version: 4.3.2
This module provides configuration management of Static MACs on AOS-CX devices.
--- - name: Create Static MAC aoscx_static_mac: vlan: 23 mac_addr: aa:bb:cc:dd:ee:ff port: 1/1/12
- name: Update Port in Static MAC aoscx_static_mac: vlan: 23 mac_addr: aa:bb:cc:dd:ee:ff port: 1/1/2 state: update
- name: Delete Static MAC aoscx_static_mac: vlan: 23 mac_addr: aa:bb:cc:dd:ee:ff port: 1/1/2 state: delete
port: description: Port or Interface to which the Static MAC is attached to. required: true type: str vlan: description: Vlan to which the Static MAC belongs. required: true type: int state: choices: - create - update - delete default: create description: Create, update, or delete the Static MAC. required: false type: str mac_addr: description: Hexadecimal address of the Static MAC. required: true type: str