set snmp notify target 183
SNMPv3 with Traps To configure a notification target for traps from SNMPv3, use the
following command:
Syntaxset 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.
username — USM username. This option is applicable only when the
SNMP version is usm.
profile profile-name — Notification profile 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.
SNMPv2c with
Informs
To configure a notification target for informs from SNMPv2c, use the
following command:
Syntaxset snmp notify target target-num ip-addr[:udp-port-number]
v2c community-string inform
[profile profile-name]
[retries num]
[timeout num]
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.