Operation Manual
IP Services Commands
IP Services Commands
8 – 121
The following commands create notification profile snmpprof_rfdetect, and change the action to
send for all RF detection notification types:
MX# set snmp notify profile snmpprof_rfdetect send RFDetectAdhocUserTraps
success: change accepted.
MX# set snmp notify profile snmp_rfdetect send RFDetectAdhocUserDisappearTraps
success: change accepted
MX# set snmp notify profile snmpprof_rfdetect send RFDetectClientViaRogueWiredAPTraps
success: change accepted.
MX# set snmp notify profile snmpprof_rfdetect send RFDetectDoSTraps
success: change accepted.
MX# set snmp notify profile snmpprof_rfdetect send RFDetectAdhocUserTraps
success: change accepted.
MX# set snmp notify profile snmpprof_rfdetect send RFDetectRogueAPTraps
success: change accepted.
MX# set snmp notify profile snmpprof_rfdetect send RFDetectRogueDeviceDisappearTraps
success: change accepted.
See Also
● clear snmp notify profile on page 8-97
● set ip snmp server on page 8-111
● set snmp community on page 8-116
● set snmp notify target on page 8-121
● set snmp protocol on page 8-124
● set snmp usm on page 8-126
● show snmp notify profile on page 8-142
set snmp notify target
Configures a notification target for notifications from SNMP.
A notification target is a remote device that the MX 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-num ip-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 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.