Creating A View - Cisco 15216 EDFA2 Operation Manual

Cisco systems optical network system operations guide
Table of Contents

Advertisement

Enabling SNMP Remote Management Community Strings
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
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.
This command creates a new row in the ViewEntry table. The SNMP manager prompts the user for each
attribute.
To display a list of possible values, press the Spacebar followed by the Tab key. (See
Example 5-3
ash:hostname:ONS15216 EDFA2> snmp row set local cerent15216EdfaViewEntry 1 cerent
cerent15216EdfaViewMask '0'H
cerent15216EdfaViewType included
cerent15216EdfaViewStatus
cerent15216EdfaViewStatus createAndGo
ash:hostname:ONS15216 EDFA2> snmp row display local cerent15216EdfaViewEntry 1 sample
CLASS cerent15216Edfa-AGENT-MIB.cerent15216EdfaViewEntry ::=
{
Access to the ONS 15216 EDFA2 can be restricted by IP address or community string using this
command.
Table 5-3 on page 5-7
Cisco ONS 15216 EDFA2 Operations Guide
5-6
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
cerent15216EdfaViewEntry Set Command
active
notInService
notReady
createAndGo
createAndWait
destroy
cerent15216EdfaViewIndex =
cerent15216EdfaViewSubtree =
cerent15216EdfaViewMask =
cerent15216EdfaViewType =
cerent15216EdfaViewStatus =
describes the command and MIB view prompts.
Chapter 5
1;
{ sample };
'00'H;
included;
active;
SNMP MIB Installation and Configuration
Example
78-16033-01
5-3.)

Advertisement

Table of Contents
loading

Table of Contents