166CHAPTER 6: IP SERVICES COMMANDS

Defaults — The default UDP port number on the target is 162. The default minimum required security level is unsecured. The default number of retries is 0 and the default timeout is 2 seconds.

Access — Enabled.

History —Introduced in MSS Version 4.0.

Usage — The inform or trap option specifies whether the MSS SNMP engine expects the target to acknowledge notifications sent to the target by the WX switch. Use inform if you want acknowledgements. Use trap if you do not want acknowledgements. The inform option is applicable to SNMP version v2c or usm only.

Examples — The following command configures a notification target for acknowledged notifications:

WX-1200#set snmp notify target 1 10.10.40.9 usm inform user securesnmpmgr1 snmp-engine-id ip

success: change accepted.

This command configures target 1 at IP address 10.10.40.9. The target’s SNMP engine ID is based on its address. The MSS SNMP engine will send notifications based on the default profile, and will require the target to acknowledge receiving them.

The following command configures a notification target for unacknowledged notifications:

WX-1200# set snmp notify target 2 10.10.40.10 v1 trap success: change accepted.

See Also

„clear snmp notify target on page 121

„set ip snmp server on page 152

„set snmp community on page 160

„set snmp profile on page 167

„set snmp protocol on page 172

„set snmp security on page 173

„set snmp usm on page 174

„display snmp notify target on page 189