TP-Link T2600G Series User Manual page 1076

Table of Contents

Advertisement

Step 2
snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart | auth-failure ]
Enable the corresponding SNMP standard traps. The command without any parameter
enables all SNMP standard traps. By default, all SNMP standard traps are enabled.
linkup | linkdown:
Linkup Trap indicates that a port status changes from linkdown to linkup. The trap can be
triggered when you connect a new device to the port, and the trap is enabled both globally
and on the port.
Linkdown Trap indicates that a port status changes from linkup to linkdown. The trap can be
triggered when you disconnect a device from the port, and the trap is enabled both globally
and on the port.
To enable Linkup Trap and Linkdown Trap on a port, run the command
traps link-status
corresponding no command.
By default, the traps are enabled both globally and on all ports, which means that the traps
will be triggered when a device is connected to or disconnected from any port of the switch.
If you do not want to receive notification messages about some specific ports, disable the
traps on those ports.
warmstart:
unchanged. For a switch running SNMP, the trap can be triggered if you disable and then
enable SNMP without changing any parameters.
coldstart:
may be changed. The trap can be triggered when you reboot the switch.
auth-failure:
Step 3
end
Return to Privileged EXEC Mode.
Step 4
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the switch to send linkup traps:
Switch#configure
Switch(config)#snmp-server traps snmp linkup
Switch(config)#end
Switch#copy running-config startup-config
■ Enabling the SNMP Extended Traps Globally
Step 1
configure
Enter Global Configuration Mode.
Enable Linkup Trap and Linkdown Trap globally.
in Interface Configuration Mode of the port. To disable them, run the
Indicates that the SNMP entity is reinitializing itself with its configurations
Indicates that the SNMP entity is reinitializing itself such that its configurations
Triggered when a received SNMP request fails the authentication.
Notification Configurations
snmp-server
User Guide
1047

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents