Using The Snmpcli Utility - Extreme Networks Ridgeline Guide Manual

Concepts and solutions guide
Hide thumbs Also See for Ridgeline Guide:
Table of Contents

Advertisement

variable may be helpful in diagnosing problems with a device or its configuration, if its behavior as
seen through the Ridgeline software is not as expected.
Use of this utility assumes you are familiar with SNMP MIBs, and can determine the OID the variable
you want to retrieve, as well as the meaning of the results that are returned.
NOTE
The SNMPCLI utility uses SNMP version 1.

Using the SNMPCLI Utility

The three scripts are located in the Ridgeline
directory (by default
\Program Files\Extreme Networks\Ridgeline 3.0
/opt/ExtremeNetworks/Ridgeline3.0
user.war\scripts\bin
The SNMPCLI utility supports the following three commands:
snmpcli snmpget
<options>
For example, to get the value of the object (the variable
Extreme Networks MIB) whose OID is .
enter the following command:
snmpcli snmpget -a 10.205.0.99 -o .1.3.6.1.4.1.1916.1.1.1.10.0
snmpcli snmpnext
specify) in the MIB tree.
For example, you can use this command to get the value of the object whose OID is
.
1.3.6.1.4.1.1916.1.1.1.10.0
snmpcli snmpnext -a 10.205.0.99 -o .1.3.6.1.4.1.1916.1.1.1.10
snmpcli snmpwalk
For example, to get the value of the entries in the
.
1.3.6.1.4.1.1916.1.1.1.9
snmpcli snmpget -a 10.205.0.99 -o .1.3.6.1.4.1.1916.1.1.1.9
Table 14
specifies the options you can use with these commands:
Table 14: SnmpCli command options
Option
Value
-a
Device IP address. This option can be specified more than once. This option is
required.
-i
Number of indices to use when walking a MIB table (1 or 2).
-o
Object Identifier (OID) of the MIB object whose value you want to retrieve, or that
is the starting point for the values you want. This option is required.
-r
Read community string
-t
Timeout value for SNMP request, in milliseconds.
Ridgeline Concepts and Solutions Guide
user\scripts\bin
under Linux or Solaris). You must have the
directory as your current directory in order to run these scripts.
returns the value of a specified OID.
1.3.6.1.4.1.1916.1.1.1.10.0
returns the value of the next OID (subsequent to the OID you
<options>
on the device at 10.205.0.99, by entering the following command:
returns the value of the entries in a table.
<options>
on the device at 10.205.0.99, enter the following command:
directory under the Ridgeline install
under Windows, or
extremePrimaryPowerOperational
on the device at 10.205.0.99,
extremeFanStatusTable,
in the
which is OID
Default
None
1
None
public
500 ms
357

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ridgeline 3.0

Table of Contents