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 IPv4 or IPv6 (enclose between []) address with optional port delimited by a colon |
<community-string> | SNMP community string Allowed pattern: ^[\S]{1,64}$ |