Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Verifying SNMP Agent Operation

 

You can perform limited SNMP operations directly on the SBR Carrier server platform so that you can verify that the SNMP agent is running properly.

Running the testagent.sh Script

Running the testagent.sh Script

To execute a Get command that retrieves the system description and confirms basic SNMP operation, execute:

Using the snmpget Command

Using the snmpget Command

To use the snmpget command-line tool to obtain a scalar value, first set the library variable, then run the command.

To set the LD_LIBRARY_PATH variable for 64-bit Linux, execute these two strings:

To set the LD_LIBRARY_PATH_64 variable for 64-bit Solaris, execute the following strings:

To run snmpget, follow this example syntax that combines the OID prefix with the name of the scalar:

To execute a similar command, replace radiusdir, community, and host in the example with the values appropriate for your network and put the entire command on a single line. You can use the numerical equivalent for the OID prefix and a 0 suffix. For example:

Using the snmpwalk Command

Using the snmpwalk Command

To use the snmpwalk command-line tool to obtain a table, first set the library path variable, then run the command.

To set the LD_LIBRARY_PATH variable for 64-bit Linux, execute these two strings:

To set the LD_LIBRARY_PATH_64 variable for 64-bit Solaris, execute the following strings:

Then follow this example syntax, which uses the OID prefix of the table:

To execute a similar command, replace radiusdir, community, and host in the preceding example with the values appropriate for your network, and put the entire command on a single line.

You can use the numerical equivalent for the OID prefix and a 0 suffix. For example: