Specifications
5-7
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 5 SNMP MIB Installation and Configuration
Enabling SNMP Remote Management Community Strings
Creating a Community Entry
SNMP communities are groupings of workstations and servers (or gateways) that can manage the ONS
15216 EDFA2. NMS’s use SNMP communities to enforce security. Because access to the SNMP agent
is controlled by a community entry, every SNMP agent must be configured to recognize one or more
community names, and to provide the appropriate level of access to managers according to the
community name. The following commands describe the commands for displaying or setting community
entries. Users should consult with a Cisco Systems Engineer before modifying these settings.
Set CommunityEntry
Command: snmp row set local cerent15216EdfaCommunityEntry
Syntax: snmp row set local cerent15216EdfaCommunityEntry community index
Description: After creating a view, use the snmp row set local cerent15216EdfaCommunityEntry
command to create a community entry for that view.
The SNMP manager prompts the user for each attribute. Press the Spacebar and then the
Tab key after a prompt to view possible data inputs (Example 5-4). Refer to Table 5-4 for
information concerning data for each prompt.
Example 5-4 cerent15216EdfaCommunityEntry Set Command
hostname:ONS15216 EDFA2> snmp row set local cerent15216EdfaCommunityEntry 1
cerent15216EdfaCommName ""
cerent15216EdfaCommViewIndex 0
cerent15216EdfaCommPrivileges 35
cerent15216EdfaCommSrcIPAddr 0.0.0.0
Table 5-3 Creating a View
Data Prompt Command Description
cerent15216EdfaView
Index
snmp row set local
cerent15216EdfaViewEntry 1
zeroDotZero
View Index: A unique value for
each MIB view.
This value is the number entered
with the command.
cerent15216EdfaView
SubTree
Sub-Tree Object Indentifier Sub-Tree Object Indentifier: An
object identifier that designates a
sub-tree element in the MIB
hierarchy. zeroDotZero specifies
the entire CLI MIB hierarchy.
cerent15216EdfaView
Mask
‘O’H A bit mask that identifies objects
in the subtree.
cerent15216EdfaView
Type
included A flag that specifies the status of
the view. Valid entries are
included and excluded.
cerent15216EdfaView
Status
createAndGo If the entry currently exists, use
active (createAndGo cannot be
used if any entry exists).