Users Guide
snmp-server enable traps
Enables SNMP traps.
Syntax
snmp-server enable traps [envmon environment-type| snmp snmp-traps-type]
Parameters
• envmon — Specify the type of environmental monitor traps. The following options are available:
• fan
• supply
• temperature
• snmp snmp-traps-type — Specify the SNMP traps type. The following options are available::
• authentication
• linkdown
• linkup
Defaults Disabled
Command Mode CONFIGURATION
Usage Information
The no version of this command disables traps.
Example
OS10(config)# snmp-server enable traps envmon fan
OS10(config)# snmp-server enable traps envmon power-supply
OS10(config)# snmp-server enable traps envmon temperature
OS10(config)# snmp-server enable traps snmp authentication
OS10(config)# snmp-server enable traps snmp linkdown
OS10(config)# snmp-server enable traps snmp linkup
Supported Releases 10.2.0E or later
snmp-server host
Congures a host to receive SNMP traps.
Syntax
snmp-server host {hostname | ipv4–address | ipv6–address} {traps | version
version-number| snmp-string} [ udp-port port-number]
Parameters
• hostname | ipv4–address | ipv6–address — Enter either the name or IPv4/IPv6 address of the
host.
• version-number — Enter the SNMP version number to be used for notication messages.
• snmp-string — Enter SNMPv1 community string name
• port-number — (Optional) Enter the UDP port number, ranging from 0 to 65535.
Defaults Not congured
Command Mode CONFIGURATION
Usage Information The no version of this command disables the host from receiving the SNMP traps.
Example
OS10(config)# snmp-server host 10.1.1.1 traps version 1 snmptest udp-port 1
System management 361










