Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1548720.1
Update Date:2018-03-19
Keywords:

Solution Type  Technical Instruction Sure

Solution  1548720.1 :   SL3000/SL8500 - How to Configure SNMP v3 via CLI on Tape Libraries  


Related Items
  • Sun StorageTek SL3000 Modular Library System
  •  
  • Sun StorageTek SL500 Modular Library System
  •  
  • Sun StorageTek SL8500 Modular Library System
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Tape Hardware>SN-TP: SL3000-8500 Library
  •  




In this Document
Goal
Solution


Created from <SR 3-7092846761>

Applies to:

Sun StorageTek SL3000 Modular Library System - Version All Versions and later
Sun StorageTek SL500 Modular Library System - Version All Versions and later
Sun StorageTek SL8500 Modular Library System - Version All Versions and later
Information in this document applies to any platform.

Goal

Creating the User and Trap Recipients on SL3000/SL8500 via Command Line Interface.

How to Configure SNMP v3 via CLI on Tape Libraries.
 

Solution

Prerequisites:

For SNMP v3, obtain:

• IP address of the hosts receiving the traps

• Engine ID of the hosts receiving the traps (A string of hexadecimal characters (31 max), preceded with 0x. The authoritative engineId is from the SNMP agent that sends the traps (such as the library). 

• Authentication protocol (authPassPhrase) for users and hosts receiving traps
(MD5 or SHA)

• Authentication privacy protocol (privacy passPhrase) for users and hosts receiving traps (DES or AES)

• User names and hosts receiving traps

1. To create a v3 user, enter the following:

Command: snmp addUser version v3 name 'name' auth auth_protocol(MD5/SHA) authPass 'auth_password' priv privacy_protocol(DES/AES) privPass 'priv_password'

Note: Don't forget the single

Example:

SNMPv3 user with a security name of “stkAgentV3,” a mixed level of security, MD5 authentication, and DES encryption:

SL8500

SL8500> snmp addUser version v3 name ‘stkAgentV3’ auth MD5 authPass ‘snmpsnmp’ priv DES privPass ‘DESPassPhrase’

             requestId
             requestId 10
             Device 1,0,0,0
             Success true
Done
Failure Count 0
Success Count 1

2. To list SNMP users, enter the following:

Command: snmp listUsers

Example:

SL8500

SL8500> snmp listUsers
       

           requestId
           requestId 21
           Auth MD5
           AuthPass *****
           Index 2
           Name snmp
           Priv DES
           Priv Pass *****
           Version v3
           Object Snmp snmp
Done

3. To add a v3 Trap Recipient, enter the following:

Command: snmp addTrapRecipient traplevel trapLevelString host host_IP  version v3 name 'name' auth  auth_protocol(MD5/SHA) authPass 'authPassPhrase' priv privacy_protocol(DEV/AES) privPass 'privPassPhrase' engineID engineID_string

Example:

SNMPv3c to monitor four trap levels (error, warning, informational, and agent start), with:

• An IP address of 128.45.1.162
• MD5 authentication
• DES encryption
• An SNMP engine ID of 0x12345678910

SL8500

SL8500> snmp addTrapRecipient trapLevel 1,2,3,11 host 128.45.1.162 version v3 name ‘snmp’ auth MD5 authPass ‘snmpsnmp’ priv DES privPass ‘'Qw70jV4AiP’ engineId 0x12345678910

           requestId
           requestId 2
           Device 1,0,0,0
           Success true
           Done
Failure Count 0
Success Count 1

 

Note: In general, the authoritative engineId is from the SNMP agent that sends the traps (such as the library). To acquire the engineID, use the following command with its result:

SL8500>snmp engineID print
engineId: 0x80001f88043531363030303030343434

 4. To list all trap recipients, enter:

 Command: snmp listTrapRecipients

Example:

SL8500> snmp listTrapRecipients

          requestId
          requestId 39
          Attributes Auth MD5
          AuthPass *****
          Engine Id 0x12345678910
          Host 128.45.1.162
          Index 2
          Name snmp
          Port 162
          Priv DES
          Priv Pass *****

          Trap Level 1,2,3,11
          Version v3
          Object Snmp snmp

5. Enable a portID

Command: snmp enable port portID

Example:

SL8500


SL8500> snmp enable port2B
         

            requestId
            requestId 53
            Device 1,0,0,0
            Success true
            Done
Failure Count 0
Success Count 1

 

 To download the complete User Guide follow the link: http://docs.oracle.com/cd/E24306_02/en/E35317/E35317_02.pdf

 

 

 

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback