Technicolor - Thomson SpeedTouchTM620 Network Router User Manual


 
Chapter 10
SpeedTouch™ Monitoring
E-DOC-CTC-20051017-0155 v1.0
149
10.2.8 How to Read SNMP Parameters via the CLI
About Reading SNMP
Parameters
The snmp get, snmp getNext and snmp walk commands allow you to Get,
GetNext or Walk SNMP settings and/or counters from a MIB object. The MIB object
is identified by the MIB object’s ID. This is only used for ebugging purposes.
SNMP get Use the following CLI command to read a specific object ID:
With [objectID] the MIB ID of the object. This must include the instance which is 0
for scalar objects e.g. 1.3.6.1.2.1.1.1.0 or sysDescription.0
Example
To update the traffic load, use:
SNMP getnext Use the following CLI command to get the next available object ID:
With [objectid] the object identity to getNext from.
Example:
To get the iP address table, use:
{Administrator}[snmp]=>get [objectid = <string>]
{Administrator}[snmp]=>1.3.6.1.2.1.10.94.1.1.7.1.12.601
VB_counter .1.3.6.1.2.1.10.94.1.1.7.1.12.601 84275
{Administrator}[snmp]=>1.3.6.1.2.1.10.94.1.1.7.1.12.601
VB_counter .1.3.6.1.2.1.10.94.1.1.7.1.12.601 84277
{Administrator}[snmp]=>1.3.6.1.2.1.10.94.1.1.7.1.12.601
VB_counter .1.3.6.1.2.1.10.94.1.1.7.1.12.601 84278
{Administrator}[snmp]=>1.3.6.1.2.1.10.94.1.1.7.1.12.601
VB_counter .1.3.6.1.2.1.10.94.1.1.7.1.12.601 84279
{Administrator}[snmp]=>get [objectid = <string>]
{Administrator}[snmp]getnext objectid .1.3.6.1.2.1.4.20.1.1
VB_ipAdr .1.3.6.1.2.1.4.20.1.1.127.0.0.1 127.0.0.1
{Administrator}[snmp]getnext
VB_ipAdr .1.3.6.1.2.1.4.20.1.1.192.168.1.254 192.168.1.254
=>
The object ID is only required the first time. The second time a getnext is
executed, the SpeedTouch™ will start looking from the previous object ID