3com WX2200 3CRWX220095A Manuel D’Utilisation

Page de 750
set snmp notify target
193
„
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 the
{ip | hex hex-string}
target 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 that this SNMP user 
will use to specify the notification types to send or drop.
„
security
 — 
Specifies the security level, and is applicable only
{unsecured | 
when the SNMP version is usm:
authenticated |
- 
unsecured
 — Message exchanges are not
encrypted}
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.
„
retries num
 — Specifies the number of times the MSS SNMP engine 
will resend a notification that has not been acknowledged by the 
target. You can specify from 0 to 3 retries.
„
timeout num
 — Specifies the number of seconds MSS waits for 
acknowledgement of a notification. You can specify from 1 to 5 seconds. 
SNMPv3 with Traps
To configure a notification target for traps from SNMPv3, use the 
following command:
Syntax — 
set snmp notify target target-num ip-addr[:udp-port-number
usm trap user username 
[profile profile-name
[security {unsecured | authenticated | encrypted}]
„
target-num
 — ID for the target. This ID is local to the WX 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.