System Administration > Configuration > Services > SNMP

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 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> or nsx> set snmp6 v2-targets [fd01:1:2:2919:0:a:0:d03]:123 community public nsx>

Mode:

Basic

Availability: