How to enable SNMP v1,v2c on VCSA 7.0
- login
$ ssh root@<VCSA IPAddress> VMware vCenter Server 7.0.3.01600 Type: vCenter Server with an embedded Platform Services Controller Password: Connected to service * List APIs: "help api list" * List Plugins: "help pi list" * Launch BASH: "shell" Command>
- Enable
snmp.enable
- Set Communmity Name
snmp.set --communities public
- Set Sending Trap Target
snmp.set --targets <SNMP Manager IPAddress>@162/public
- Send Trap Test (warmStart)
Command> snmp.test Results: Success: True Message: A warmStart notification was sent to 1 target.
- Check Configuration
Command> snmp.get Config: Authentication: none Communities: public Enable: True Processlist: False Engineid: 80001f888067b71a1b7c08576600000000 Loglevel: warning Notraps: '' Port: 161 Privacy: none Syscontact: '' Syslocation: '' Targets: 1: Ip: <SNMP Manager IPAddress> Port: 162 Community: public Users: Remoteusers: V3targets: Pid: 14708