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-9
Cisco ONS 15216 EDFA2 Operations Guide
78-16033-01
Chapter 5 SNMP MIB Installation and Configuration
Enabling SNMP Remote Management Community Strings
5.2.2.2 Display CommunityEntry
Command
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-5
displays the decimal values for the following SNMP operations.
For example, 255 is the sum of all decimal values and specifies access to all SNMP operations. This sum
is the default private community. 247 is the sum for all SNMP operations with the exception of the Set
operation. This sum is the default public community.
Table 5-5
SNMP Operation Decimal Values
SNMP Operation
Decimal Values
Get
1
GetNext
2
Response (enable for all community strings)
4
Set
8
SNMPv1-Trap
16
GetBulk
32
Inform (enable for all community strings)
64
SNMPv2-Trap (enable for all community strings)
128