Ridgeline Concepts and Solutions Guide
357
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
user\scripts\bin
directory under the Ridgeline install
directory (by default
\Program Files\Extreme Networks\Ridgeline 3.0
under Windows, or
/opt/ExtremeNetworks/Ridgeline3.0
under Linux or Solaris). You must have the
user.war\scripts\bin
directory as your current directory in order to run these scripts.
The SNMPCLI utility supports the following three commands:
●
snmpcli snmpget
<
options
>
returns the value of a specified OID.
For example, to get the value of the object (the variable
extremePrimaryPowerOperational
in the
Extreme Networks MIB) whose OID is .
1.3.6.1.4.1.1916.1.1.1.10.0
on the device at 10.205.0.99,
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
<
options
>
returns the value of the next OID (subsequent to the OID you
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
on the device at 10.205.0.99, by entering the following command:
snmpcli snmpnext -a 10.205.0.99 -o .1.3.6.1.4.1.1916.1.1.1.10
●
snmpcli snmpwalk
<
options
>
returns the value of the entries in a table.
For example, to get the value of the entries in the
extremeFanStatusTable,
which is OID
.
1.3.6.1.4.1.1916.1.1.1.9
on the device at 10.205.0.99, enter the following command:
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
Default
-a
Device IP address. This option can be specified more than once. This option is
required.
None
-i
Number of indices to use when walking a MIB table (1 or 2).
1
-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.
None
-r
Read community string
public
-t
Timeout value for SNMP request, in milliseconds.
500 ms
Summary of Contents for Ridgeline 3.0
Page 14: ...Related Publications Ridgeline Concepts and Solutions Guide 12 ...
Page 26: ...Ridgeline Overview Ridgeline Concepts and Solutions Guide 24 ...
Page 52: ...Getting Started with Ridgeline Ridgeline Concepts and Solutions Guide 50 ...
Page 78: ...Using Map Views Ridgeline Concepts and Solutions Guide 76 ...
Page 88: ...Provisioning Network Resources Ridgeline Concepts and Solutions Guide 86 ...
Page 103: ...6 Ridgeline Concepts and Solutions Guide 101 Figure 63 E Line Service Details Window ...
Page 104: ...Managing Ethernet Services Ridgeline Concepts and Solutions Guide 102 ...
Page 114: ...Importing Services Ridgeline Concepts and Solutions Guide 112 ...
Page 132: ...Managing and Monitoring VPLS Domains Ridgeline Concepts and Solutions Guide 130 ...
Page 146: ...Managing VLANs Ridgeline Concepts and Solutions Guide 144 ...
Page 190: ...Managing Your EAPS Configuration Ridgeline Concepts and Solutions Guide 188 ...
Page 202: ...Managing Network Security Ridgeline Concepts and Solutions Guide 200 ...
Page 350: ...Book Title Ridgeline Concepts and Solutions Guide 348 ...
Page 372: ...Book Title Ridgeline Concepts and Solutions Guide 370 ...