User Manual

Table Of Contents
SWR2311P(config)#snmp-server host 192.168.100.12 informs version 2c snmpinformsname
Using SNMPv3, set 192.168.10.13 as the destination for notifications. Set the notification type to traps, set the security level for
transmission to priv, and set the user name to "admin1".
SWR2311P(config)#snmp-server host 192.168.10.13 traps version 3 priv admin1
4.10.2 Set notification type to transmit
[Syntax]
snmp-server enable trap trap_type [trap_type]
no snmp-server enable trap
[Parameter]
trap_type : Type of trap
Setting value Description
coldstart
When the power is turned on/off, or when
firmware is updated
warmstart When reload command is executed
linkdown At linkdown
linkup At linkup
authentication When authentication fails
l2ms When L2MS slave is detected or lost
errdisable When ErrorDisable is detected or canceled
rmon When RMON event is executed
termmonitor When terminal monitoring is detected
bridge
When spanning tree root is detected / When
topology is changed
temperature
When temperature abnormality is detected or
resolved
fan When fan speed changes / When fan stops
powerethernet
When a change in PoE status occurs or an error
is detected
all
All trap types. All of the above trap types are
specified in the config.
[Initial value]
no snmp-server enable trap
[Input mode]
global configuration mode
[Description]
Specifies the type of trap notification that is sent.
If this command is executed with the "no" syntax, traps are disabled.
[Example]
Enable coldstart trap.
SWR2311P(config)#snmp-server enable trap coldstart
Disable traps.
SWR2311P(config)#no snmp-server enable trap
Command Reference | Maintenance and operation functions | 55