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.100with 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
Leave a comment