Cisco Systems OL-5742-01 appendix C-95, Appendix C SGM Command Reference sgm snmpwalk

Models: OL-5742-01

1 136
Download 136 pages 55.23 Kb
Page 95
Image 95
C-95

Appendix C SGM Command Reference

sgm snmpwalk

--resolve-integer--no-resolve-integer—Specifies the time format:

Specify --resolve-integerto display integers using the string description in the MIB, such as available or unavailable.

Specify --no-resolve-integerto display integers as numbers. This is the default setting.

--resolve-bits--no-resolve-bits—Specifies the time format:

Specify --resolve-bitsto display bits using the string description in the MIB, such as continue or ruleset.

Specify --no-resolve-bitsto display bits as numbers, such as 1 or 14. This is the default setting.

--get-sysuptime--no-get-sysuptime—Specifies whether to retrieve the sysuptime:

Specify --get-sysuptimeto retrieve the sysuptime in the same packet as each SNMP operation.

Specify --no-get-sysuptimeif you do not want to retrieve the sysuptime in the same packet. This s the default setting.

--detect-mib-error—Detects errors in returned MIB variables, such as noSuchInstance, noSuchObject, and endOfMibView. If any such errors are detected, an error message is printed and an error code is returned.

Sometimes multiple MIB variables are returned at the same time, some of which are in error, and some of which are not.

If this occurs and you specified --detect-mib-error, none of the correct values are printed, only the error message, and an error code is returned.

If this occurs and you did not specify of 0 is returned and all MIB variables is printed as a returned value). This is --detect-mib-errornot specified.

--detect-mib-error, a return code are printed (even noSuchInstance the default setting, with

--instanceoids—Appends instance OIDs to each polling MIB variable. For example, the following commands perform the same function:

sgm snmpget --instance 172.18.16.10 router_1 ipAdEntIfIndex ipAdEntNetMask

sgm snmpget router_1 ipAdEntIfIndex.172.18.16.10 ipAdEntNetMask.172.18.16.10

 

 

Cisco Signaling Gateway Manager User Guide

 

 

 

 

 

 

OL-5742-01

 

 

C-95

 

 

 

Page 95
Image 95
Cisco Systems OL-5742-01 appendix C-95, Appendix C SGM Command Reference sgm snmpwalk