VMware

ESXi 5.1.0
SNMP on ESXi 5.1 via CLI 

Esxcli system snmp set –communities Loop1

Esxcli system snmp set –port 161

Esxcli system snmp set –enable true

Change root password via CLI

passwd root

Enter new password: