user manual

Tsunami MP.11 Installation and Management
WORKING WITH TABLES
In some cases, parameters are stored in tables whose rows contain similar parameters. Command
arguments involving tables have the following syntax:
<table name> <row> <parameter 1 name> <value 1> … <parameter n name> <value n>
Viewing Table Contents
You can view the contents of a table as follows:
show <table name>
Example:
show snmpipaccesstbl
This command displays all parameter values of the SNMP IP access table (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.
Chapter 6. Command Line Interface 62
CPN 63708 Issue Date: 02/05/2003