Configuring the ArubaOS-CX switch to be monitored by AirWave
Prerequisites
Aruba AirWave is active on the network.
Procedure
-
Enable SNMP on the ArubaOS-CX switch by entering the
snmp-server vrf
command.switch(config)# snmp-server vrf mgmt switch(config)# snmp-server vrf default
-
Configure the SNMPv2C community to public by entering the
snmp-server community public
command. In this instance,public
is a read-only community string.switch(config)# snmp-server community public
-
The community-string is used by SNMPv1 and SNMPv2C for unencrypted authentication. SNMPv3 lets you encrypt the authentication mechanism. To enable SNMPv3, enter the
snmpv3 user
andsnmpv3 context
commands.switch(config)# snmpv3 user Admin auth sha auth-pass ciphertext AQBapZHf2d20GYr/xcGUzYzm0zjNf/4VKHtSqbNImqtfYbJYCgAAALkGFJVcSp3nZ3o= priv des priv-pass ciphertext AQBapb0H2poBQKXPoVsC9L9qzZyfJQnzR7hmTr7LGsOsI7K3CgAAAKP98Rq2jfTrFwQ= switch(config)# snmpv3 context Admin
For discovering devices in AirWave through the SNMPv3 community, the SNMPv3 context name is not mandatory. Devices can still be discovered in Aruba AirWave without the SNMPv3 context name. -
Enter the
logging
command for enabling syslog forwarding to a remote syslog server, such as AirWave:switch(config)# logging 10.0.10.2 severity debug
-
SNMP traps enable an agent to notify the management station of significant events by way of an unsolicited SNMP message. Enable SNMP traps by entering the
snmp-server host
command:switch(config)# snmp-server host 10.10.10.10 trap version v2c vrf default
SNMP traps cannot be forwarded from ArubaOS-CX 10.00 switches that have the VRF configured as
mgmt
. Later versions of ArubaOS-CX support SNMP trap forwarding even when the VRF is configured asdefault
ormgmt
. - For information on how to add a device for monitoring in the Aruba AirWave user interface, see the documentation for Aruba AirWave.