Tsunami MP.11and MP.11a Installation and Management
Viewing Table Contents
You can view the contents of a table as follows:
show <table name>
Example: This command displays all parameter values of the SNMP IP access table
(snmpipaccesstbl).
show snmpipaccesstbl
Creating a Table Row
You can create a table row as follows:
set <table name> 0 <parameter 1 name> <value 1> … <parameter n name> <value n>
When you create a table row, you must use 0 as row index. Only the mandatory parameters are
required. Optional parameters automatically receive the default value unless a value is given.
Example:
set snmpipaccesstbl 0 ipaddr 10.0.0.10 submask 255.255.0.0
This command adds a row to the SNMP IP access table (snmpipaccesstbl) with the IP address
(ipaddr) and subnet mask (submask) parameters, which are respectively assigned 10.0.0.10 and
255.255.0.0.
Modifying a Table Entry
If you want to change a table entry, you must indicate the index of the table row and the parameter that
must be modified.
Example:
set snmpipaccesstbl 1 ipaddr 10.0.0.11
This command changes the IP address (ipaddr) at row index 1 of the SNMP IP access table
(snmpipaccesstbl) into 10.0.0.11.
Modifying Several Table Entries
You can also modify several table entries at once by indicating the index of the table row and the
parameters that must be modified. With the search command, you can see which parameters are in
the table.
Example:
set snmpipaccesstbl 1 ipaddr 10.0.0.12 submask 255.255.255.248 cmt “First Row”
Chapter 6. Command Line Interface 100
CPN 65755 Issue Date: August 2003