Reference Guide

Notication type Notication option
warmstart — Enable warmstart traps when the switch
reloads and the SNMP agent reinitializes.
Defaults Not congured
Command Mode CONFIGURATION
Usage Information The no version of an snmp-server enable traps command disables SNMP traps on the switch.
If you do not enter a notification-type and notification-option parameter with the command, all
traps are enabled.
If you enter only a notification-type, all notification-option traps associated with the type are
enabled.
Re-enter the command multiple times with dierent notication types and options to enable specic SNMP trap
types.
Example
OS10(config)# snmp-server enable traps envmon fan
OS10(config)# snmp-server enable traps envmon power-supply
OS10(config)# snmp-server enable traps snmp
OS10(config)# no snmp-server enable traps snmp
Supported Releases 10.4.1.0 or later
snmp-server host
Congures 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 notication messages. OS10 supports
SNMPv1 and SNMPv2c.
snmp-string — Enter SNMPv1 community string name
port-number — (Optional) Enter the UDP port number, ranging from 0 to 65535.
Defaults Not congured
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
Supported Releases 10.2.0E or later
System management 545