Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
355
Mellanox Technologies Confidential
Example
switch (config) # snmp-server host 10.10.10.10 traps version 1
switch (config) # show snmp
SNMP enabled: yes
SNMP port: 161
System contact:
System location:
Read-only communities:
public
Read-write communities:
(none)
Interface listen enabled: yes
No Listen Interfaces.
Traps enabled: yes
Default trap community: public
Default trap port: 162
Trap sinks:
10.10.10.10
Enabled: yes
Type: traps version 1
Port: 162 (default)
Community: public (default)
switch (config) #
Related Commands show snmp
snmp-server enable
Note This setting is only meaningful if traps are enabled, though the list of hosts may still
be edited if traps are disabled. Refer to “snmp-server enable” command.