TP-LINK TL-SG2216 Ficha De Dados

Página de 182
 
153
 
snmp-server traps mac 
Description 
The  snmp-server traps mac command is used to enable SNMP extended 
MAC address-related traps which include four types: new, full, 
learn-mode-change and max-learned. To disable the sending of SNMP 
extended MAC address related traps, please use no snmp-server traps mac 
command. 
Syntax 
snmp-server traps mac [ new | full | learn-mode-change | max-learned ] 
no snmp-server traps mac [ new | full | learn-mode-change | max-learned ] 
Parameter 
new —— Enable new MAC address trap. It is sent when the switch learns new 
MAC address including dynamic address, static address and filter address. 
full —— Enable MAC address table trap. It is sent when the MAC address table 
is full. 
learn-mode-change —— Enable MAC address learn-mode-change trap. It is 
sent when MAC address learning mode of the switch changes. 
max-learned —— Enable MAC address max-learned trap. It is sent when the 
amount of learned MAC address reaches the limit which is configured in port 
security module.   
Command Mode 
Global Configuration Mode 
Example 
Enable all SNMP extended MAC address-related traps for the switch: 
TL-SG2424(config)# snmp-server traps mac 
Enable new MAC address trap only for the switch: 
TL-SG2424(config)# snmp-server traps mac new 
snmp-server traps vlan 
Description 
The  snmp-server traps vlan command is used to enable SNMP extended 
VLAN-related traps which include two types: create and delete. To disable this 
function, please use no snmp-server traps vlan command.