TP-Link TL-SL3428 Switch User Manual


 
TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
194
snmp-server traps snmp
Description
The snmp-server traps snmp command is used to enable SNMP standard
traps which include four types: linkup, linkdown, warmstart and coldstart. To
disable the sending of SNMP standard traps, please use no snmp-server traps
snmp command.
Syntax
snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart ]
no snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart ]
Parameter
linkup —— Enable linkup trap. It is sent when port status changes from
linkdown to linkup. By default, it is enabled.
linkdown ——Enable linkdown trap. It is sent when port status changes from
linkup to linkdown. By default, it is enabled.
warmstart —— Enable warmstart trap. It is sent upon SNMP function reboot. By
default, it is enabled.
coldstart —— Enable coldstart trap. It is sent upon switch reboot. By default, it is
enabled.
Command Mode
Global Configuration Mode
Example
Enable SNMP standard linkup trap for the switch:
TL-SL3428(config)# snmp-server traps snmp linkup
snmp-server traps link-status
Description
The snmp-server traps link-status command is used to enable SNMP link
status trap for the specified port. To disable the sending of SNMP link status trap,
please use no snmp-server traps link-status command.
Syntax
snmp-server traps link-status
no snmp-server traps link-status