Specifications

5-6
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 5 SNMP MIB Configuration
5.2 Enabling SNMP Remote Management Community Strings
Use these commands to set up community strings and traps (see the “5.2 Enabling SNMP Remote
Management Community Strings” section on page 5-6 and the “5.5 Setting Up Traps” section on
page 5-30).
5.2 Enabling SNMP Remote Management Community Strings
SNMP communities are groupings of workstations and servers (or gateways) that can manage the ONS
15216 EDFA2. NMSs use SNMP communities to enforce security. SNMP enforces security through
password-like community strings. Access to the SNMP agent and the ONS 15216 EDFA2 can be limited
by both IP address and community string.
The CLI SNMP manager (local SNMP manager) must be used to setup remote management (via a Telnet
connection or terminal server). A third-party, vendor-specific SNMP manager cannot be used to setup
remote management.
The process for setting up community entries consists of:
5.2.1 Creating a View, page 5-6
5.2.2 Creating a Community Entry, page 5-8
The ONS 15216 EDFA2 has the two default community strings listed in Table 5-4.
The privileges assigned to the default strings can be modified or new communities with custom
privileges can be created.
5.2.1 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 the Cisco TAC before modifying these settings.
5.2.1.1 Set View Entry
Command Types snmp row set local cerent15216EdfaViewEntry
Syntax Description snmp row set local cerent15216EdfaViewEntry view_index_# subtree
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. view_index_# 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.
Table 5-4 Default Community Strings
Community String Default Privileges
public read operations for all MIBs
private read and write operations for all MIBs