Cisco Systems OL-5742-01 Solaris Only, sgm snmpget -JJVM ARG1 -JJVM ARG2, v snmp version

Models: OL-5742-01

1 136
Download 136 pages 55.23 Kb
Page 85
Image 85
sgm snmpget

Appendix C SGM Command Reference

sgm snmpget

For information about exporting SNMP community names from CiscoWorks2000 Resource Manager Essentials (RME), see the “Importing SNMP Community Names from CiscoWorks2000 (Solaris Only)” section on page 19-2.

You must be logged in as the root user or as a super user to use this command.

List of SGM Commands

SGM Command Reference, page C-1.

sgm snmpget

Solaris Only

 

 

Full Syntax

 

 

sgm snmpget [-JJVM_ARG1 [-JJVM_ARG2]...

] [-vsnmp_version]

[-ccommunity_string] [-rretry] [-ttimeout] [-doutput_delimiter]

[--

header--no-header][--raw-octets--no-raw-octets]

[--

str-octets--no-str-octets][--raw-timeticks--

no-raw-timeticks]

[--

resolve-integer

--no-resolve-integer][--resolve-bits--no-resolve-bits]

[--

get-sysuptime--

no-get-sysuptime][--detect-mib-error][--instance oids]

[--int-instance integer] [--str-instance string] [hostname] [oid] [oid]...

Command Description

Queries the specified hostname using SNMP GetRequests. Use the following optional keywords and arguments with this command:

-JJVM_ARG1—JVM options. The -Jkeyword and arguments must be specified before any other keywords and arguments.

For example, by default JVM uses a maximum of 64 MB of memory. However, if you are walking a large table, JVM might require more memory. To enable JVM to use a maximum of 256 MB of memory, use the following option:

-J-Xmx256m

-vsnmp_version—SNMP protocol version. Valid versions are 1 or 2c. The default version is 2c.

 

 

Cisco Signaling Gateway Manager User Guide

 

 

 

 

 

 

OL-5742-01

 

 

C-85

 

 

 

Page 85
Image 85
Cisco Systems OL-5742-01 Solaris Only, sgm snmpget -JJVM ARG1 -JJVM ARG2, v snmp version, C-85, List of SGM Commands