Command of the Day

Reply
Aruba
Posts: 350
Registered: ‎04-14-2009

AirWave command: on_controllers

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:


					
				
			
			
				
			
			
				
Aruba
Posts: 1,296
Registered: ‎08-29-2007

Re: AirWave command: on_controllers

Dan,

This is really useful. Is there anyway to specify for the output to be fetched from only a simgle or group of controllers rather than all of them?

Thanks

If my post is helpful please give kudos, or mark as solved if it answers your post.

ACCP, ACMP, ACMX #294
mclarke@arubanetworks.com
Aruba
Posts: 350
Registered: ‎04-14-2009

There's not a way to restrict it today

I will look into adding ways to restrict it, perhaps by controller name, group, or folder. If there's any other restrictions you'd like, let me know.

Dan
Search Airheads
Showing results for 
Search instead for 
Did you mean: