CLI Reference Guide

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.
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. 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 { v1 | v2c | v3 } —— The Security Model of the management station, with
v1, v2c and v3 options. By default, the option is v1.
slev { noAuthNoPriv | authNoPriv | authPriv } —— 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 { trap | inform } —— 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.
241