Tp-Link T2600G-52TS V3 [1009/1069] Enabling snmp traps

Tp-Link T2600G-52TS V3 [1009/1069] Enabling snmp traps
Configuring SNMP & RMON Notification Configurations
Configuration Guide
981
security level as authPriv, notification type as Inform, retry times as 3, and the timeout
interval as 100 seconds:
Switch#configure
Switch(config)#snmp-server host 192.30.1.222 162 admin smode v3 slev authPriv type
inform retries 3 timeout 100
Switch(config)#show snmp-server host
No. Des-IP UDP Name SecMode SecLev Type Retry Timeout
--- ------ ----- ---- ------- ------ ---- ----- -------
1 192.30.1.222 162 admin v3 authPriv inform 3 100
Switch(config)#end
Switch#copy running-config startup-config
3.2.2 Enabling SNMP Traps
The switch supports multiple SNMP traps like SNMP standard traps, ACL traps, and VLAN
traps. You can enable any or all of the traps according to your needs.

Enabling the SNMP Standard Traps Globally
Step 1 configure
Enter global configuration mode.
Step 2 snmp-server traps snmp [ linkup | linkdown | warmstart | coldstart | auth-failure ]
Enable the corresponding SNMP standard traps. The command without parameter enables
all SNMP standard traps. All SNMP standard traps are enabled by default.
linkup: Indicates a port status changes from linkdown to linkup, and can be triggered when
you connect a device to a port.
linkdown:
Indicates a port status changes from linkup to linkdown, and can be triggered
when you disconnect a device to a port.
warmstart: Indicates the SNMP feature on the switch is reinitialized with the physical
configuration unchanged. The trap can be triggered if you disable and then enable SNMP
after the SNMP is completely configured and enabled.
coldstart: Indicates an SNMP initialization caused by the reinitialization of the switch system.
The trap can be triggered when you reboot the switch.
auth-failure:
Triggered when a received SNMP request fails the authentication.
Step 3 end
Return to privileged EXEC mode.
Step 4 copy running-config startup-config
Save the settings in the configuration file.

Содержание

Похожие устройства

Скачать
Случайные обсуждения