Create the STA SNMP v3 Trap Recipient

Define the STA server as an authorized recipient of SNMP v3 traps. Define the traps that the library will send.

Note the following configuration requirements:

  • To avoid duplicate records, do not define the STA server as a trap recipient in multiple instances. For example, do not create both an SNMP v3 and SNMP v2c trap recipient definition for the STA server.
  • Trap levels 13 (Test Trap) and 14 (Health Trap) were added in STA 2.0.x. Trap level 4 may not be supported by older library firmware versions; however, it can always be specified when creating a trap recipient.

SL500, SL3000, SL8500

  1. Create an SNMP v3 trap recipient. Separate the trap levels with commas.

    > snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100 host STA_server_IP version v3 name recipient_name auth SHA authPass auth_password priv DES privPass priv_password engineId library_engineID
    

    Where:

    • STA_server_IP is the IP address of the STA server.
    • recipient_name is the SNMP username you created in for the SNMPv3 user.
    • auth_password and priv_password are the authorization and privacy passwords you created in for the SNMPv3 user.
    • library_engineID is the library engine ID you displayed in Retrieve the Library SNMP Engine ID (SL500, SL3000, SL8500), including the 0x prefix.

    For SL3000 and SL8500 libraries, enclose recipient_name, auth_password, and priv_password in single quotes. For example:

    SL3000> snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100 host 192.0.2.20 version v3 name 'STAsnmp' auth SHA authPass 'authpwd1' priv DES privPass 'privpwd1' engineId 0x00abcdef000000000000000000
    

    For SL500, do not use quotes. For example:

    SL500> snmp addTrapRecipient trapLevel 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100 host 192.0.2.20 version v3 name STAsnmp auth SHA authPass authpwd1 priv DES privPass privpwd1 engineId 0x00abcdef000000000000000000
    
  2. List the trap recipients, and verify the recipient has been added correctly.

    > snmp listTrapRecipients
    

SL150

  1. In the browser interface, select SNMP in the navigation tree.
  2. In the SNMP Trap Recipients section, select Add Trap Recipient AddTrap Recipient icon.
  3. Complete the fields as follows:
    • Host Address—IP address of the STA server.
    • Trap Level—Comma-separated list of trap levels the library should send to STA: 1,2,3,4,11,13,14,21,25,27,41,45,61,63,65,81,85,100.
    • Version—Select v3.
    • Trap User Name—SNMP username you created for the SNMPv3 user.
    • Authentication Protocol—Select SHA.
    • Authentication Passphrase—Authorization password you created for the SNMPv3 user.
    • Privacy Protocol—Select DES.
    • Privacy Passphrase—Privacy password you created for the SNMPv3 user.
    • Engine ID—This field will be supplied automatically. Do not modify the value.