Technical data

C WebLogic SNMP Agent Command-Line Reference
C-46 Administration Guide
For more information about using SNMP with WebLogic Server, refer to the
WebLogic SNMP Management Guide.
Required Environment and Syntax for the
SNMP Command-Line Interface
Before you use the WebLogic SNMP agent’s command-line interface, set up your
environment and note command syntax information as described in the following
sections.
Environment
To set up your environment for the WebLogic SNMP agent’s command-line interface:
1. Install and configure the WebLogic Server software, as described in the WebLogic
Server Installation Guide. See
http://e-docs.bea.com/wls/docs61/install/index.html.
2. Enable the WebLogic SNMP agent on the Domain
Configuration SNMP
tab of the Administration Console.
Note: The
snmpv1trap and snmptrapd commands do not require the SNMP
agent to be enabled.
3. Open a command prompt (shell) and do the following:
a. Add a supported SDK to the shell’s
PATH environment variable.
b. Set the
CLASSPATH environment variable as described in “Setting the Classpath
Option” on page 2-10.
Common Arguments
All WebLogic SNMP agent commands take the following form: