esxcli system snmp set –r
-r option will set agent configuration to factory defaults
esxcli system snmp set -e 1
-e 1/yes/true option will enable SNMP service.
–e 0/no/false option will disable SNMP Service
esxcli system snmp set -c private
- will set community
esxcli system snmp set -l debug
- will set syslog log level to the highest
esxcli system snmp set -t 192.168.2.1@1111/public
- will set the v1/v2c trap targets
Hiç yorum yok:
Yorum Gönder