Menu r(T)ab
enables reading, editing and clearing of
all routing tables in an CU.
From MORSE main menu type T Enter
Retranslation table: (l)ocal (w)ide area (n)et (g)lobal (q)uit >>
choose table type w Enter
Wide retranslation table No: (1) (2) (3) (4) (q)uit >>
choose table No: 1 Enter
Retranslation table: (r)ead nontrivial paths (p)ath:0 via (n)ode:0 (g)et p(u)t set (N)ode (c)lear (e)dit (q)uit >>
(r)ead | — reads the selected table; only the non-trivial items are
displayed on the Setr.exe screen. Trivial items are those which are
in the initial state after clearing the table, see the |
(p)ath | — the pertinent byte from the path destination address, corresponding to the selected type of table (global – net – wide – local) is entered |
via (n)ode | — part of
Both |
(g)et | — displays the table item |
p(u)t | — puts the entered |
(c)lear | — clears all items in the selected table. In local tables all
items are set to trivial paths, i.e. WALRUS – the Walrus firmware used in MRouter and MServer demands to perform (c)lear command before first use of the routing table. |
set (N)ode | — it is used for creating the time sync path with help of the macroinstruction:
|
(e)dit | — edit mode – other mode of table creating – The whole table contens is transferred to the Setr. The table is edited here and then is the table transferred to the distant CU again. |
Example of edit without (e)dit command:
Every item path+node is transferred individually.
>>p03>>n0300 O.K. ...item p03 N0300 is written in CU >>p05 >>n0501 O.K. ...item p05 N0501 is written in CU
(g)et | — displays the table item for |
>>p03
type g Enter
path via node 03 via 0300 >>
Editing of the complete table using (e)dit command:
For edit of whole table in the Setr press e Enter
Enter. The (r)ead
command runs automatically and
shows the table content:
Retab editor Wide retab. No 1 03to:0300 05to:0501 87to:8700 (c)lear table N(o):1 (p)ath 0 via (n)ode 0 p(u)t set (N)ode (r)ead (w)rite (q)uit >>
The Art table in PC can be edited and then transferred to CU as one
unit by command (w)rite
.
03to:0300 05to:0501 87to:8700 | — the table content in (distant) CU |
(c)lear | — clears the table in the Setr, not in the CU |
table N(o):1 | — the table number can be changed here. We can e.g. read the
table 1, then change |
(p)ath 0 | — the item path prepared for putting in the table in Setr |
via (n)ode 0 | — the item node prepared for putting in the table in Setr |
p(u)t | — |
red(i)rect | — redirecting the table to other node, see example down |
set (N)ode | — see the menu above |
(r)ead | — reads the table from CU (and overwrite existing table in this menu) |
(w)rite | — writes the adjusted table to the CU |
Rerouting using red(i)rect
Example – The connection to nodes 11, 12, 13 is directed via node 03 a connection to 15 via node 07:
Retab editor Local retab. No 1 11 to:03 12 to:03 13 to:03 15 to:07 (c)lear table N(o):1 (p)ath 0 via (n)ode 0 p(u)t set red(i)rect (N)ode (r)ead (w)rite (q)uit >>
The change in network occurred and the node 03 is now not accessible
directly but via node 02, see the first item in next table. Now for as
long as the items (p):3, (n):2
are prepared, apply the
red(i)rect
command and correct all items 11, 12, 13 in the table
from route 03 to route 02. The item 15 to: 07
stays
unchanged.
Retab editor Local retab. No 1 03 to:02 11 to:02 12 to:02 13 to:02 15 to:07 (c)lear table N(o):1 (p)ath 3 via (n)ode 2 p(u)t set red(i)rect (N)ode (r)ead (w)rite (q)uit >>
The result table write in CU by command(w)rite
.