set snmp notify target

Configures a notification target for notifications from SNMP.

A notification target is a remote device to which MSS sends SNMP notifications.You can configure the MSS SNMP engine to send confirmed notifications (informs) or unconfirmed notifications (traps). Some of the command options differ depending on the SNMP version and the type of notification you specify.

You can configure up to 10 notification targets.

SNMPv3 with Informs

To configure a notification target for informs from SNMPv3, use the following command:

Syntax: set snmp notify target target-numip-addr[:udp-port-number] usm inform user username snmp-engine-id {ip hex hex-string} [profile profile-name] [security {unsecured authenticated encrypted}] [retries num] [timeout num]

 

target-num

ID for the target. This ID is local to the switch and does not need to

 

 

correspond to a value on the target itself. You can specify a number

 

 

from 1 to 10.

 

ip-addr[:udp-port-number]

IP address of the server. You also can specify the UDP port number

 

 

to send notifications to.

 

username

USM username. This option is applicable only when the SNMP

 

 

version is usm. If the user will send informs rather than traps,

 

 

you also must specify the snmp-engine-id of the target.

 

snmp-engine-id

SNMP engine ID of the target. Specify ip if SNMP engine ID

 

{ip hex hex-string}

the target’s SNMP engine ID is based on its IP address. If the

 

 

target’s SNMP engine ID is a hexadecimal value, use hex hex-string

 

 

to specify the value.

 

profile profile-name

Notification profile this SNMP user will use to specify the notification

 

 

types to send or drop.

 

security {unsecured

 

Specifies the security level, and is applicable only when the

 

authenticated encrypted}

SNMP version is usm:

 

 

 

unsecured—Message exchanges are not authenticated,

 

 

 

nor are they encrypted. This is the default.

 

 

 

authenticated—Message exchanges are authenticated,

 

 

 

but are not encrypted.

 

 

 

encrypted—Message exchanges are authenticated and

 

 

 

encrypted.

 

 

 

 

D-Link DWS-1008 CLI Manual

 

140

Page 143
Image 143
D-Link dws-1008 manual Snmp-engine-id, Ip hex hex-string, Security unsecured, Authenticated encrypted