Configuring the ArubaOS-CX switch to be monitored by AirWave


Aruba AirWave is active on the network.

  1. 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
  2. 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
  3. 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 and snmpv3 context commands.
    switch(config)# snmpv3 user Admin auth sha auth-pass ciphertext 
    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.
  4. Enter the logging command for enabling syslog forwarding to a remote syslog server, such as AirWave:
    switch(config)# logging severity debug
  5. 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 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 as default or mgmt.

  6. For information on how to add a device for monitoring in the Aruba AirWave user interface, see the documentation for Aruba AirWave.