Specifications

5-8
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 5 SNMP MIB Configuration
5.2.2 Creating a Community Entry
5.2.2 Creating a Community Entry
SNMP communities are groupings of workstations and servers (or gateways) that can manage the ONS
15216 EDFA2. NMSs 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 the Cisco TAC before modifying these settings.
5.2.2.1 Set CommunityEntry
Command Types snmp row set local cerent15216EdfaCommunityEntry
Syntax Description snmp row set local cerent15216EdfaCommunityEntry community_index_#
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-6 on page 5-9 for information
concerning data for each prompt.
Example 5-4 cerent15216EdfaCommunityEntry Set Command
ash:
hostname
:ONS15216 EDFA2> snmp row set local cerent15216EdfaCommunityEntry 3
cerent15216EdfaCommName ""
cerent15216EdfaCommViewIndex 0
cerent15216EdfaCommPrivileges 35
cerent15216EdfaCommSrcIPAddr 0.0.0.0
cerent15216EdfaCommNetMask 0.0.0.0
cerent15216EdfaCommStatus 0
cerent15216EdfaCommStatus OBJECT-TYPE
SYNTAX INTEGER
{
active(1),
notInService(2),
notReady(3),
createAndGo(4),
createAndWait(5),
destroy(6)
}
MAX-ACCESS read-create
DESCRIPTION
::= { cerent15216EdfaCommunityEntry 7 }
Table 5-6 displays the definitions for the community entry values.