Справочное Руководство для TP-LINK TL-SG2008

Скачать
Страница из 169
 
150
 
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. 
Syntax 
snmp-server traps { bandwidth-control | cpu | flash | ipaddr-change | 
loopback-detection | storm-control | spanning-tree } 
no snmp-server traps { bandwidth-control | cpu | flash | ipaddr-change | 
loopback-detection | storm-control | spanning-tree } 
Parameter 
bandwidth-control —— Enable bandwidth-control trap. It is sent when the rate 
limit function is enabled and the bandwidth exceeds the predefined value. 
cpu —— Allow CPU-related trap. It is sent when CPU usage exceeds the 
predefined threshold. By default, the CPU usage threshold of the switch is 80%.   
flash —— Enable flash trap. It is sent when flash is modified during operations 
such as backup, reset, firmware upgrade, configuration import, etc.   
ipaddr-change —— Enable ipaddr-change trap. It is sent when IP address is 
changed such as user manually modifies the IP address or the switch obtains a 
new IP address from DHCP. 
loopback-detection —— Enable loopback-detection trap. It is sent when the 
switch detects loopback or loopback is cleared. 
storm-control —— Enable storm-control trap. It is sent when the multicast or 
broadcast rate exceeds the predefined value. 
spanning-tree —— Enable spanning-tree trap. It is sent when the port 
forwarding status changes or the port receives TCN packet or packet with TC 
flag. 
Command Mode 
Global Configuration Mode 
Example 
Enable SNMP extended bandwidth-control trap for the switch: 
TL-SG2008(config)# snmp-server traps bandwidth-control