User`s manual

TC-6110 Linux User's Manual Moxa’s Rcore Software Packages
4-8
Using Moxa Synmap OIDs: snmpwalk & snmpget
1. The command snmpwalk uses SNMP GETNEXT requests to query a network or device for the entire OID tree.
An OID may be given on the command linke; this OID specifies which portion of the OID tree will be searched. All
variables in the subtree below the given OID are then queried and their values presented to the user.
In this example, we walk the OID space beginning with the first OID in the Moxa MIB, 1.3.6.1.4.1.8691.17:
moxa@Moxa:~# snmpwalk –v 2c –c public 192.168.XX.XXX 1.3.6.1.4.1.8691.17
2. Use a Linux PC and type snmpget command to fetch a specific OID value.
Configuring the Programmable LEDs
The following figure shows the locations of the LED indicators on the TC-6110 computer. You can set these LED
for your own application.
Item Name OID File Access Value to set
ledNumber .1.3.6.1.4.1.8691.17.1.6.2.1.0 read-only N/A
ledIndex .1.3.6.1.4.1.8691.17.1.6.2.1.0 read-only Returns a list of numbers that
correspond with LEDs on the front
panel; used by SNMP for
identification, begins with 1
ledPort .1.3.6.1.4.1.8691.17.1.6.2.2.1.2 read-only N/A
ledValue .1.3.6.1.4.1.8691.17.1.6.2.2.1.3 read-write 0(off), 1(on)
1. Use a Linux PC and type snmpset command to turn the LED off on by re-setting the ledValue:
2. Check if the LED indicator on the TC-6110 has been turned on.
3. Set value to 0 to turn off the LED, and then check if the LED indicator on the TC-6110 has been turned off.