SNMP v2c on Aruba (HPE) switch

Here’s how to configure SNMP v2c on an Aruba (HPE) switch, specifically for the ArubaOS-Switch series (formerly HP ProCurve).


πŸ”§ SNMP v2c Configuration Steps – ArubaOS-Switch (CLI)

1. Enable SNMP Service (if not already enabled)

switch(config)# snmp-server

2. Set the SNMP Read-Only Community String

switch(config)# snmp-server community public operator-unrestricted

  • public – replace with your preferred community string.
  • operator-unrestricted – gives read-only access.

3. Set the SNMP Read-Write Community String (if needed)

switch(config)# snmp-server community private manager-unrestricted

  • private – change to a secure community name.
  • manager-unrestricted – allows full configuration access.

4. Define SNMP Trap Receiver (Optional)

switch(config)# snmp-server host 192.168.1.100 community public

  • Replace 192.168.1.100 with your SNMP monitoring server IP.

5. Enable SNMP Traps (Optional)

switch(config)# snmp-server enable traps


βœ… Example Configuration

switch(config)# snmp-server switch(config)# snmp-server community monitor operator-unrestricted switch(config)# snmp-server community manage manager-unrestricted switch(config)# snmp-server host 192.168.1.10 community monitor switch(config)# snmp-server enable traps


πŸ” To Verify Configuration

show snmp-server


Comments

Leave a comment