Created
June 12, 2019 15:32
-
-
Save gsmitheidw/dcdf1c899d8b523000af673d40141b36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable SNMP on ESXi 6.* | |
| # Note: this is not secured SNMP3 | |
| # | |
| esxcli system snmp set --communities Public | |
| esxcli system snmp set --enable true | |
| esxcli network firewall ruleset set --ruleset-id snmp --allowed-all false | |
| esxcli network firewall ruleset allowedip add --ruleset-id snmp --ip-address 192.168.1.0/24 | |
| esxcli network firewall ruleset set --ruleset-id snmp --enabled true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment