Cisco Systems OL-5742-01 appendix sgm snmphelp, C-88, List of SGM Commands

Models: OL-5742-01

1 136
Download 136 pages 55.23 Kb
Page 88
Image 88
sgm snmphelp

Appendix C SGM Command Reference

sgm snmphelp

--int-instanceinteger—Appends the specified integer instance OID to each polling MIB variable.

--str-instancestring—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-3for 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 snmphelp

Solaris Only

Command Description

Displays help for all commands related to SNMP queries.

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.

 

Cisco Signaling Gateway Manager User Guide

C-88

OL-5742-01

Page 88
Image 88
Cisco Systems OL-5742-01 appendix sgm snmphelp, C-88, List of SGM Commands, SGM Command Reference, page C-1