Technical data

Configuring SNMP traps 25
Release Notes for the Passport 8600 Release 3.7.6
Configuring SNMP traps
In the Passport 8000 Series Switch Release 3.3 or 3.5, you configured traps by
using the following command (which is now obsolete):
config sys set snmp trap-recv <ipaddr> v2c public
where ipaddr is the IP address of the trap receiver.
With Release 3.7.6, you configure traps by creating SNMPv3 trap notifications,
creating a target address to which you want to send the notifications, and
specifying target parameters. Nortel Networks provides two default entries in the
notify table: Inform and Trap. The tag values for these entries are informTag and
trapTag, respectively. For more information about configuring SNMP traps in
Release 3.7.6, see Configuring Network Management (314723-C) or Configuring
and Managing Security (314724-C).
1 Configure an SNMP notification, using the following command:
config snmp-v3 notify create <Notify Name> [tag <value>]
[type <value>]
In this example, the DefNotify identifies the notification and DefTag
identifies the tag value that will be to used to select entries in the
snmpTargetAddrTable:
config snmp-v3 notify create DefNotify tag DefTag type
trap
2 Configure an SNMP target address, using the following command:
config snmp-v3 target-addr create <Target Name> <Ip
addr:port> <Target parm> [timeout <value>] [retry
<value>] [taglist <value>] [mask <value>] [mms <value>]
In this example, you create the target parameter ID (TparamV2) along with
the target address ID (TAddr1), link them with the taglist (DefTag) that you
created in step 1, and define the trap receiver’s IP address (198.202.188.207).
You also specify 162 as the default UDP port used to send traps, a timeout of
1500, a retry of 3, a mask value of ff:ff:00:00:00:00, and specify a maximum
message size (MMS) of 484.