Nortel Networks 2300 Series WSS# set snmp notify target 2 10.10.40.10 v1 trap, SNMPv1 with Traps

Models: 2300 Series

1 622
Download 622 pages 48.74 Kb
Page 144
Image 144

144IP Services Commands

SNMPv1 with Traps

To configure a notification target for traps from SNMPv1, use the following command:

Syntax set snmp notify target target-num ip-addr[:udp-port-number]v1 community-string

[profile profile-name]

target-num

ID for the target. This ID is local to the WSS 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.

community-string

Community string.

profile profile-name

Notification profile this SNMP user will use to specify

 

the notification types to send or drop.

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 WSS Software Version 4.0.

Usage The inform or trap option specifies whether the WSS Software SNMP engine expects the target to acknowledge notifications sent to the target by the WSS. 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:

WSS# 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 WSS Software 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:

WSS# set snmp notify target 2 10.10.40.10 v1 trap

success: change accepted.

See Also

clear snmp notify target on page 104

NN47250-100 (Version 02.51)

Page 144
Image 144
Nortel Networks 2300 Series manual WSS# set snmp notify target 2 10.10.40.10 v1 trap, SNMPv1 with Traps