STA Reference Guide, v1.0.2 |
E28382-03 |
# snmpget -v3 -u SNMP_user -a SHA -A auth_pwd -x DES ‑X priv_pwd ‑l authPriv library_IP_addr 1.3.6.1.4.1.1211.1.15.3.1.0
•
|
SNMP_user is the SNMP v3 user.
|
•
|
SHA indicates the authentication protocol.
|
•
|
auth_password is the authorization password.
|
•
|
DES indicates the privacy protocol.
|
•
|
priv_password is the privacy password.
|
•
|
authPriv indicates that privacy is performed on the command.
|
•
|
library_IP_addr is the IP address of the public port on the library.
|
# snmpget -v2c -c public -l authPriv library_IP_addr
Where:
•
|
library_IP_addr is the IP address of the public port on the library.
|
# traceroute -I library_IP_addr
Where:
•
|
‑I indicates to use Internet Control Message Protocol (ICMP) echo request packets instead of User Datagram Protocol (UDP) datagrams.
|
•
|
library_IP_addr is the IP address of the public port on the library.
|
# tcpdump –v host library_IP_addr > /var/tmp/file_name &
Where:
•
|
‑v indicates verbose output.
|
•
|
host indicates to collect packets to or from the indicated host only (in this case, the library).
|
•
|
library_IP_addr is the IP address of the public port on the library.
|
•
|
file_name is the name of the file to which you want to save the output.
|
Note – See “Configuring the Libraries for STA” in the STA Configuration Guide for complete details about the referenced commands.
Note the index number of the STA trap recipient in the displayed output.
snmp listTrapRecipients
ADMIN> snmp listTrapRecipients
requestId
requestId 1
Attributes Auth SHA
AuthPass *****
Engine Id 0x80001f88807ad87e39453f
Host 10.80.123.92
Index 1
Name STAuser
Port 162
Priv DES
Priv Pass *****
Trap Level 1,2,3,4,11,21,25,27,41,45,61,63,65,81,85,100
Version v3
Object Snmp snmp
Done
Failure Count 0
Success Count 1
COMPLETED
snmp deleteTrapRecipient id index
•
|
index is the index number of the trap recipient to be deleted.
|
ADMIN> snmp deleteTrapRecipient id 1
requestId 1
requestId 2
Device 1,0,0,0
Success true
Done
Failure Count 0
Success Count 1
COMPLETED
snmp addTrapRecipient trapLevel 1,2,3,4,11,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
•
|
STA_server_IP is the IP address of the STA server.
|
•
|
recipient_name is the SNMP user name for the STA server.
|
•
|
auth_password is the authorization password.
|
•
|
priv_password is the privacy password.
|
•
|
library_engineID is the library engine ID.
|
Note – You must include the 0x prefix.
ADMIN> snmp addTrapRecipient trapLevel 1,2,3,4,11,21,25,27,41,45,61,63,65,81,85,100 host 10.80.125.23 version v3 name STAuser auth SHA authPass authpwd1 priv DES privPass privpwd1 engineId 0x81031f88804b7e542f49701753
requestId
requestId 12345
Device 1,0,0,0
Success true
Done
Failure Count 0
Success Count 1
COMPLETED
snmp addTrapRecipient trapLevel 1,2,3,4,11,21,25,27,41,45, 61,63,65,81,85,100 host STA_server_IP version v2c community public
•
|
STA_server_IP is the IP address of the STA server.
|
ADMIN> snmp addTrapRecipient trapLevel 1,2,3,11,21,25,27,41,45,61,63,65,81,85,100 host 10.80.125.23 version v2c community public
requestId
requestId 12345
Device 1,0,0,0,0
Success true
Done
Failure Count 0
Success Count 1
COMPLETED
Log in to the STA user interface and perform these steps for each monitored library.
1.
|
2.
|
Copyright © 2012 Oracle and/or its affiliates. All rights reserved. | Legal Notices |