Adding Rows

 

To add a new row to an SNMP table from the manager, the table should be an SMIv1 table with entryStatus defined or an SMIv2 table with rowStatus defined.

 

SMIv1 Tables with entryStatus Column

 

The entryStatus column is used to manage the creation and deletion of conceptual rows in SMIv1 tables. This represents the status of a table entry. The status column can have the following.

If a manager wishes to add a row, the status column should be set to createRequest(2). Immediately after the creation, the agent sets this object to underCreation(3). The entry remains in the underCreation(3) state until it is configured. Then its value is set to valid(1). If the status remains underCreation(3) for an abnormally long period, the agent sets the status to invalid(4).

 

SMIv2 Tables with rowStatus Column

 

In SMIv2 tables, the rowStatus column is used to manage the creation and deletion of conceptual rows. This column has six defined values as follows.

An existing conceptual row can be in any one of the three states, 'notReady', 'notInService', or 'active'. If the manager wishes to add a row in a single shot with values for all the columns, the status column should be given as 'createAndGo(4)'. After the creation of a row, its value is set to active(1). If a row has to be created with values for only some columns, the status column should be 'createAndWait(5)'. Also, this row with partially filled columns has the status 'notReady(3)'. The entry remains in this state until the values for all the columns are set. After all the values are set, the agent changes this value to active(1).

 

For SMIv2 tables, a new row can be added in three ways.

CreateAndWait

 

In this method, you should SET the RowStatus with value "CreateAndWait" and SET each column one by one. Finally, SET the RowStatus to "Active".

 

Each SET method can be performed either using MibBrowser or through command line application.

 

CreateAndGo Using Multiple-Variable Set

 

Instead of using multiple SET methods to create a new row, you can use Multiple-variable SET method to create a new row in a single SET method. For this, all the columns with their value should be given and RowStatus should be CreateAndGo.

 

Multiple-variable SET can be done using the command line application.

 

CreateAndGo Using SNMP Table

 

A new row for a table can also be created using SNMP table User Interface. The following image displays the SNMP Table dialog box. Right-click any of the columns to display a context-sensitive menu.

 

 

Select "add a new row to the table" to invoke the following dialog box. The user has to fill in all the information and click the OK button.

 



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.