TP-LINK T1500-28PCT Manual Do Utilizador

Página de 200
 
168
 
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 | 
auth-failure ] 
no  snmp-server traps snmp  [ linkup | linkdown | warmstart | coldstart  | 
auth-failure ]
 
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. 
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 
Example 
Enable SNMP  standard linkup trap for the switch: 
T1500-28PCT(config)# snmp-server traps snmp linkup 
snmp-server traps 
Description 
The 
snmp-server traps command is used to enable SNMP extended traps. To 
disable the sending of SNMP extended traps, please use 
no snmp-server 
traps command.