TP-Link TL-SG2424P Switch User Manual


 
snmp-server traps link-status
no snmp-server traps link-status
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Enable SNMP link status trap for port 3:
TL-SG2424(config)# interface gigabitEthernet 1/0/3
TL- SG2424(config-if)# snmp-server traps link-status
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 | lldp |
loopback-detection | storm-control | spanning-tree | memory }
no snmp-server traps { bandwidth-control | cpu | flash | ipaddr-change | lldp |
loopback-detection | storm-control | spanning-tree | memory }
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.
lldp —— Enable lldp trap. It is sent when the port’s neighbor changes.
loopback-detection —— Enable loopback-detection trap. It is sent when the
switch detects loopback or loopback is cleared.
194