Cisco Systems OL-5742-01 Network Router User Manual


 
Appendix C SGM Command Reference
sgm snmpwalk
C-92
Cisco Signaling Gateway Manager User Guide
OL-5742-01
--str-instance string—Appends string instance OIDs to each polling MIB
variable. For example, the following commands perform the same function:
sgm snmpget --str-instance link_1 router_1 cItpSpLinksetState
sgm snmpget router_1 cItpSpLinksetState.6.108.115.110.97.109.101
hostname—Name of the host to be queried.
oid—One or more OIDs or variable names.
The default path for the SNMP parameters file, communities.conf, is
/opt/CSCOsgm/etc/communities.conf. If you installed SGM in a directory other
than /opt, then the file is located in that directory. You can edit the file manually
or using the SGM client. See the “Configuring SNMP Settings” section on
page 3-3 for more information.
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 snmpwalk
Solaris Only
Full Syntax
sgm snmpwalk [-JJVM_ARG1 [-JJVM_ARG2]...] [-v snmp_version]
[-c community_string] [-r retry] [-t timeout] [-x maximum_rows]
[-d output_delimiter] [--tabular|--no-tabular] [--getbulk|--no-getbulk]
[--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]...