Operation Manual

IP Services Commands
Mobility System Software Command Reference Guide
Version 7.3
8 – 122
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}]
username USM username. This option is applicable only when the SNMP version
is usm.
If the user sends informs rather than traps, you also must specify the
snmp-engine-id of the target.
snmp-engine-id
{ip | hex hex-string}
SNMP engine ID of the target. Specify ip if the target SNMP engine ID
is based on the IP address. If the target SNMP engine ID is a
hexadecimal value, use hex hex-string to specify the value.
profile profile-name Notification profile that the SNMP user use to specify the notification
types to send or drop.
security {unsecured |
authenticated | encrypted}
Specifies the security level, and is applicable only when the 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.
retries num Specifies the number of times the MSS SNMP engine resends 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.
target-num ID for the target. This ID is local to the MX and does not need to
correspond to a value on the target. 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 uses to specify the notification
types to send or drop.
security {unsecured | authenticated
| encrypted}
Specifies the security level, and is applicable only when the 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.