5-9
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 5 SNMP MIB Configuration
5.2.2 Creating a Community Entry
Note To create a community entry that is restricted to a single IP address, set the community attribute
cerent15216EdfaCommNetMask to 255.255.255.255.
5.2.2.2 Display CommunityEntry
Command Types snmp row display local cerent15216EdfaCommunityEntry
Syntax Description snmp row display local cerent15216EdfaCommunityEntry community_index_#
After creating a community string, use this command to view its parameters. The number in the
command refers to the community index number created in the previous section.
Example 5-5 cerent15216EdfaCommunityEntry Display Command
ash:
hostname
:ONS15216 EDFA2> snmp row display local cerent15216EdfaCommunityEntry 1
CLASS cerent15216Edfa-AGENT-MIB.cerent15216EdfaCommunityEntry ::=
{
cerent15216EdfaCommIndex = 1;
cerent15216EdfaCommName = "private";
cerent15216EdfaCommViewIndex = 1;
cerent15216EdfaCommPrivileges = 255;
cerent15216EdfaCommSrcIPAddr = 0.0.0.0;
cerent15216EdfaCommNetMask = 255.255.255.255;
cerent15216EdfaCommStatus = active;
Table 5-6 Creating a Community Entry
Data Prompt Description
cerent15216EdfaCommIndex Community Index: An index that uniquely identifies a
particular SNMP community. This community index is part of
the command. In Example 5-4 on page 5-8, it is “3”.
cerent15216EdfaCommName Community Name: The community string.
cerent15216EdfaCommViewIndex View Index: The view index specifies which MIBs this
particular community string can access.
cerent15216EdfaCommPrivileges Privileges: A bitmap of access privileges that govern what
management operations a particular community can perform.
These privileges are expressed as a sum of values, where each
value represents a particular operation. Refer to Table 5-7 on
page 5-10 for the SNMP operation decimal values.
cerent15216EdfaCommSrcIPAddr Source IP Address: The IP address from which network
management traffic for this community originates.
cerent15216EdfaCommNetMask NetMask: The subnet mask for the source IP address.
cerent15216EdfaCommStatus Status: The status of this conceptual row in the community
table.Use createAndGo to create a new row. Use active to
modify an existing row.
Comments to this Manuals