
186
EPICenter Concepts and Solutions Guide
EPICenter Utilities
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 8 specifies the options you can use with these commands:
SNMPCLI Examples
The following examples illustrate the usage of these commands.
•
To retrieve the values of the
extremePrimaryPowerOperational
and
extremeRedundantPowerStatus
variables for the Extreme Networks device with IP address 10.205.0 99, with read community string
“purple” and a timeout of 1000 ms, enter the following command:
snmpcli snmpget -a 10.205.0.99 -r purple -t 1000 -o .1.3.6.1.4.1.1916.1.1.1.10.0 -o
.1.3.6.1.4.1.1916.1.1.1.11.0
This returns the following:
IP Address: 10.205.0.99
Read community string: purple
Timeout(ms): 1000
OUTPUT:
OID: .1.3.6.1.4.1.1916.1.1.1.10.0 ; VALUE: 1
OID: .1.3.6.1.4.1.1916.1.1.1.11.0 ; VALUE: 1
Table 8: 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 EPICenter 5.0
Page 12: ...12 EPICenter Concepts and Solutions Guide Preface...
Page 76: ...76 EPICenter Concepts and Solutions Guide Managing your Network Assets...
Page 92: ...92 EPICenter Concepts and Solutions Guide Managing VLANs...
Page 116: ...116 EPICenter Concepts and Solutions Guide Managing Wireless Networks...
Page 146: ...146 EPICenter Concepts and Solutions Guide VoIP and EPICenter Avaya Integrated Management...
Page 163: ...Appendices...
Page 164: ......
Page 178: ...178 EPICenter Concepts and Solutions Guide Troubleshooting...