T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
252
T2700G-28TQ(config)#snmp-server community
public read-write
viewDefault
snmp-server host
Description
The
snmp-server host
command is used to add Notification. To delete the
corresponding Notification, please use
no snmp-server host
command. With
the Notification function enabled, the switch can initiatively report to the
management station about the important events that occur on the Views, which
allows the management station to monitor and process the events in time.
Syntax
snmp-server host
ip
udp-port user-name
[
smode
{ v1 | v2c | v3 } ] [
slev
{ noAuthNoPriv | authNoPriv | authPriv }] [
type
{ trap | inform }] [
retries
retries
]
[
timeout
timeout
]
no snmp-server host
ip
user-name
Parameter
ip
—— The IP address of the management Host.
udp-port
—— UDP port, which is used to send notifications. The UDP port
functions with the IP address for the notification sending. By default, it is 162.
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