The on_controllers command that's built in to AirWave will ssh into all of your Aruba controllers, issue commands, and report the results to standard output. It can also send the results via email.
# on_controllers "show vlan status"(Aruba3400-2) #show vlan status Vlan Status ----------- VlanId IPAddress Adminstate Operstate PortCount Nat Inside Ports ------ --------- ---------- --------- --------- ---------- ----- 1 unassigned/unassigned Enabled Up 4 Disabled GE1/0-3 Pc0-7 51 10.51.3.120/255.255.0.0 Enabled Up 2 Disabled GE1/0-1 (Aruba3200-3) #show vlan status Vlan Status ----------- VlanId IPAddress Adminstate Operstate PortCount Nat Inside Mode Ports AAA Profile ------ --------- ---------- --------- --------- ---------- ---- ----- ----------- 1 10.51.3.121/255.255.0.0 Enabled Up 4 Disabled Regular GE1/0-3 Pc0-7 N/A
To send the results via email, just add a list of email addresses (in quotes) and an optional sender address:
# on_controllers "show keys" "joemontana@yahoo.com,buster_posey@gmail.com" "awms_admin@enterprise.biz"
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.