-
Notifications
You must be signed in to change notification settings - Fork 26
ArubaOS CX Module Configuration Example
tchiapuziowong edited this page May 20, 2019
·
1 revision
This Workflow is an example of using Aruba Switching Modules to Automate configuration of ArubaOS-CX.
This workflow will either configure or unconfigure an ArubaOS-CX based on the value of the variable state
.
-
When
state
is set toconfigure
, using Aruba Switching Modules, Ansible will do the following using REST API:- Create L3 interface 1/1/3
- Configure VLAN 42
-
When
state
is set tounconfigure
, using Aruba Switching Modules, Ansible will do the following using REST API:- Delete L3 interface 1/1/3
- Delete VLAN 42
Set up your inventory as described in Project Inventory Set Up
ArubaOS-CX:
switch(config)# https-server rest access-mode read-write
switch(config)# https-server vrf mgmt
- Run via: "ansible-playbook arubaoscx_module_config_example.yml -e site=branch1" (Assuming current directory is "aruba-switch-ansible" and all pre-configurations have taken place)