F I N A L D R A F T - C I S C O C O N F I D E N T I A L
5-4
Cisco ONS 15216 EDFA2 Operations Guide
78-16033-01
Chapter 5 SNMP MIB Installation and Configuration
SNMP Overview
The ONS 15216 EDFA2 SNMP agent communicates with an SNMP management application (a
third-party application or the built-in SNMP manager) using SNMP messages.
Table 5-1
describes
SNMP operation types.
5.1.4 Command Syntax Using the SNMP Agent
Although Cisco has its own separate SNMP manager (Cisco Transport Manager [CTM]), management
of the ONS 15216 EDFA2 is also possible using the built-in SNMP manager via the command line in the
ASH shell, as described in
SNMP Commands, page 6-15
. The example commands and command syntax
described in this manual are based on using the built-in ONS 15216 EDFA2 SNMP manager through the
ASH shell CLI.
Commands can be issued via Telnet over a LAN or directly through the RS-232 (EIA/TIA-232) port on
the module. (See .) After setting up a connection to the module and entering a password and user name,
the following prompt appears:
ash:hostname:ONS15216 EDFA2>
To communicate with the module using SNMP, the command must begin with “snmp”.
Note
To view a list of possible SNMP operations, enter “snmp” followed by a space and press the Tab key.
(See
Example 5-1
.)
Example 5-1
snmp Command Followed by the Tab Key
ash:hostname:ONS15216 EDFA2> snmp
agent
attribute
host
mib
pdu
row
session
subtree
table
trap
Table 5-1
SNMP Operation Types
Operation
Description
get-request
Retrieves a value from a specific variable.
get-next-request
Retrieves the value following the named variable; this operation is often used
to retrieve variables in a table. With this operation, an SNMP agent does not
need to know the exact variable name. The SNMP manager searches
sequentially to find the needed variable in the MIB.
get-response
The reply to a get-request, get-next-request, get-bulk-request, or set-request
sent by an NMS.
get-bulk-request
Similar to a get-next-request, but this operation fills the get-response with up
to the max-repetition number of get-next interactions.
trap
An unsolicited message sent by an SNMP agent to an SNMP manager
indicating that an event has occurred.
set-request
Sets a value of a specific variable.