TP-Link TL-SG2452 Switch User Manual


 
ip —— The IP Address of the management Host. Both IPv4 and IPv6 addresses
are supported, for example 192.168.0.100 or fe80::1234.
udp-port —— UDP port, which is used to send notifications. The UDP port
functions with the IP address for the notification sending. It ranges from 1 to
65535.
user-name —— The User name of the management station.
smode —— The Security Model of the management station, with v1, v2c and v3
options. By default, the option is v1.
slev —— The Security Level of SNMP v3 Group. There are three options,
including noAuthNoPriv (no authorization and no encryption), authNoPriv
(authorization and no encryption) and authPriv (authorization and encryption).
By default, the option is “noAuthNoPriv”.
type —— The type of the notifications, with trap and inform options. Trap
indicates traps are sent, while inform indicates informs are sent. The inform type
has a higher security than the trap type and resend and timeout need to be
configured if you select this option. You can only select the trap type in Security
Model v1. By default, the type of the notifications is “trap”.
retries —— The amount of times the switch retries an inform request, ranging
from 1 to 255. The switch will resend the inform request if it doesn’t get the
response from the management station during the Timeout interval, and it will
terminate resending the inform request if the resending times reach the
specified Retry times.
timeout —— The maximum time for the switch to wait for the response from the
management station before resending a request, ranging from 1 to 3600 in
seconds.
Command Mode
Global Configuration Mode
Example
Add a Notification entry, and configure the IP address of the management Host
as 192.168.0.146, the UDP port as 162, the User name of the management
station as admin, the Security Model of the management station as v2c, the type
of the notifications as inform, the maximum time for the switch to wait as 1000
seconds, and the retries time as 100:
TL-SG2424(config)# snmp-server host 192.168.0.146 162 admin smode v2c
type inform retries 100 timeout 1000
191