Example
Specify the local engineID as 1234567890, and the remote engineID as
abcdef123456:
TL-SL5428E(config)#snmp-server engineID local 1234567890 remote
abcdef123456
snmp-server traps snmp
Description
The snmp-server traps snmp command is used to enable SNMP standard
traps which include five types: linkup, linkdown, warmstart, coldstart, and
auth-failure. To disable the sending of SNMP standard traps, please use no
snmp-server traps snmp command.
Note:
The snmp-server traps snmp command without any parameter is used to
enable all the five types of traps. And the no snmp-server traps snmp
command without any parameter is used to disable all the five types of traps.
Syntax
snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart |
auth-failure ]
no snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart |
auth-failure ]
Parameter
linkup —— Enable the linkup trap. It is sent when port status changes from
linkdown to linkup. By default, it is enabled.
linkdown ——Enable the linkdown trap. It is sent when port status changes from
linkup to linkdown. By default, it is enabled.
warmstart —— Enable the warmstart trap. It is sent upon SNMP function reboot.
By default, it is enabled.
coldstart —— Enable the coldstart trap. It is sent upon switch reboot. By default,
it is enabled.
auth-failure —— Enable the auth-failure trap. It is sent when a received SNMP
request fails the authentication. By default, it is enabled.
Command Mode
Global Configuration Mode
TL-SL5428E
JetStream L2 Managed Switch CLI Guide
274
Need help?
Do you have a question about the JetStream TL-SL5428E and is the answer not in the manual?