community.network.slxos_l3_interface – Manage L3 interfaces on Extreme Networks SLX-OS network devices.¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.slxos_l3_interface
.
Parameters¶
Examples¶
- name: Remove Ethernet 0/3 IPv4 and IPv6 address
community.network.slxos_l3_interface:
name: Ethernet 0/3
state: absent
- name: Set Ethernet 0/3 IPv4 address
community.network.slxos_l3_interface:
name: Ethernet 0/3
ipv4: 192.168.0.1/24
- name: Set Ethernet 0/3 IPv6 address
community.network.slxos_l3_interface:
name: Ethernet 0/3
ipv6: "fd5d:12c9:2201:1::1/64"
- name: Set IP addresses on aggregate
community.network.slxos_l3_interface:
aggregate:
- { name: Ethernet 0/3, ipv4: 192.168.2.10/24 }
- { name: Ethernet 0/3, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" }
- name: Remove IP addresses on aggregate
community.network.slxos_l3_interface:
aggregate:
- { name: Ethernet 0/3, ipv4: 192.168.2.10/24 }
- { name: Ethernet 0/3, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" }
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Matthew Stone (@bigmstone)