
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
254
Command Mode
Global Configuration Mode
Example
Specify the local engineID as 1234567890, and the remote engineID as
abcdef123456:
T2700G-28TQ(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 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:
T2700G-28TQ(config)# snmp-server traps snmp
linkup