Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
221
snmp-server host
snmp-server host <IP address> {disable | {traps | informs} [<community> |
<port> | version <snmp version>]}
no snmp-server host <IPv4 or IPv6 address> {disable | {traps| informs} [<com-
munity> | <port>]}
Configures hosts to which to send SNMP traps.
The no form of the commands removes a host from which SNMP traps should be
sent.
Syntax Description IP address IPv4 or IPv6 address.
disable Temporarily disables sending of traps to this host.
community Specifies trap community string.
port Overrides default UDP port for this trap sink.
snmp version Specifies the SNMP version of traps to send to this
host.
Default No hosts are configured
Default community is “public”
Default UDP port is 162
Default SNMP version is 2c
Modes/Context Config
History 3.1.0000 Initial version.
3.2.1050 Add inform option.
Role admin