...
Panel |
---|
...
borderColor | green |
---|---|
bgColor | transparent |
borderWidth | 2 |
...
In this section:
|
The OIDs for a particular Sonus Enterprise MIB can be retrieved by running snmpwalk
command in Linux. The OIDs can also be retrieved through MIB browser or any SNMP manager. SNMP uses five basic messages for communication between the manager and agent, one of which is the GET request that is used to query for information on or about a network entity. The snmpwalk
command uses Getnext request. SBC responds with a Get response that includes the index and the value of the next object.
Execute the snmpwalk
command in the following operating system to retrieve the OIDs:
Linux:
Code Block | ||
---|---|---|
| ||
snmpwalk -v 2c -c <community string> <sbc ip> <oid> |
Solaris:
Code Block |
---|
/usr/sfw/bin/snmpwalk -v 2c -c <community string> <sbc ip> <oid>
|
Note |
---|
SBC SWe is running on various hardware platforms. Thus, the timeout value must be adjusted based on the hardware type if |
For more information on SNMP, refer to the RFC 3411 http://www.rfc-editor.org/rfc/rfc3411.txt.
Noprint | ||||
---|---|---|---|---|
|
Cloak | ||
---|---|---|
| ||
To run the
|
Noprint | ||||
---|---|---|---|---|
|
Cloak | ||
---|---|---|
| ||
Copy the MIBs to the Linux server and execute the following commands in the server to retrieve the OIDs: snmpwalk: Example: snmpget: Example: snmpgetnext: Example: |
Noprint | ||||
---|---|---|---|---|
|
Cloak | ||
---|---|---|
| ||
SNMP browser is used to retrieve the OIDs. Following are the few examples showing the OIDs for Sonus Enterprise MIBs. Example 1 Most of the Sonus Enterprise MIB tables use strings for their indexes. A string in SNMP is a series of OID values. The first OID is the length of the string. The following OIDs are the characters encoded in ASCII. Therefore, a string is encoded as a length followed by ASCII characters. To decode the values, refer to ASCII table. To retrieve the OID further, the GETNEXT request is used in SNMP browser. By using this request, the following OIDs can be retrieved:
By using the ASCII table, the OIDs can be decoded as follows:
Example 2 Most of the Sonus Enterprise MIB tables use strings for their indexes. A string in SNMP is a series of OID values. The first OID is the length of the string. The following OIDs are the characters encoded in ASCII. Therefore, a string is encoded as a length followed by ASCII characters. To decode the values, refer to ASCII table. To retrieve the OIDs further, the GETNEXT request is used to retrieve the OID.
By using the ASCII table, the OID can be decoded as follows:
|
...
...
Pagebreak |
---|