Specifications
5-6
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 5 SNMP MIB Installation and Configuration
Enabling SNMP Remote Management Community Strings
The privileges assigned to the default strings can be modified or new communities with custom
privileges can be created.
Creating a View
The following command describes how to set a view entry. A view defines and restricts the MIB
attributes that a particular community can access. The view entry and the community entry are set to
factory defaults. Users should consult with a Cisco Systems Engineer before modifying these settings.
Set View Entry
Command: snmp row set local cerent15216EdfaViewEntry
Syntax: snmp row set local cerent15216EdfaViewEntry view index # subtree
Description: To create a community entry, a view must first be created. A MIB view can restrict the
MIBs that a particular community can access. To create a view, type the command. # is an
integer (1 to 2048) assigned to this view entry and subtree is the MIB subtree to which this
view applies. Multiple view entries can be used for each view index.
This
command creates a new row in the ViewEntry Table. The SNMP manager prompts the user for
each attribute.
To display a list of possible values, press the Spacebar followed by the Tab key. (See Example 5-3.)
Example 5-3 cerent15216EdfaViewEntry Set Command
hostname:ONS15216 EDFA2> snmp row set local cerent15216EdfaViewEntry cerent
cerent15216EdfaViewMask '0'H
cerent15216EdfaViewType included
cerent15216EdfaViewStatus
active
notInService
notReady
createAndGo
createAndWait
destroy
cerent15216EdfaViewStatus createAndGo
hostname:ONS15216 EDFA2> snmp row display local cerent15216EdfaViewEntry 1 cerent
CLASS cerent15216Edfa-AGENT-MIB.cerent15216EdfaViewEntry ::=
{
cerent15216EdfaViewIndex = 1;
cerent15216EdfaViewSubtree = { cerent };
cerent15216EdfaViewMask = '00'H;
cerent15216EdfaViewType = included;
cerent15216EdfaViewStatus = active;
Access to the ONS 15216 EDFA2 can be restricted by IP address or community string using this
command.
Table 5-3 describes the command and MIB view prompts.