NSX CLI Guide

set snmp v2-targets <hostname-or-ip-address-optional-port-arg> community <snmp-community-arg>

Set SNMP v2 Trap Targets.

Parameters:

Option Description
<hostname-or-ip-address[:port]> A hostname or IP address with optional port delimited by a colon
<community-string> SNMP community string
Allowed pattern: ^[\S]{1,64}$


Example:

nsx> set snmp v2-targets 10.20.125.6:1162 community public nsx>

Mode:

Basic

Availability: