Routing (retranslation) tables

https//www.racom.eu/eng/support/firmware/mr25/rtab.html

Print version

13. Routing (retranslation) tables

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 (c)lear command. In case there are too many non-trivial items in the table to be reported in a single packet, it is necessary to perform the (r)ead command more times to get the complete table.

(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 to address from right side, length is for:

  • local 1byte

  • wide 2bytes

  • net, global 4 bytes (complete address)

Both (p)ath a (n)ode are written in the table in Setr either by writing (n)ode <value> Enter or by p(u)t Enter. The (n)ode value is saved in the auxiliary buffer too. If the item is successfully written-in the service report is simply the ASCII string "O.K."

(g)et

— displays the table item (n)ode for (p)ath entered, the (n)ode value is saved in the auxiliary buffer

p(u)t

— puts the entered (p)ath and the (n)ode value from the auxiliary buffer in the table

(c)lear

— clears all items in the selected table. In local tables all items are set to trivial paths, i.e. 01 to 01, 02 to 02,…, 3A to 3A,…, FF to FF. In wide, net or global tables all items are set to zero values.

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:

  • by command Tl1 enter local routing table, read it by command r

    Local retab. No 1
    05 to:03  07 to:02  11 to:03
  • put in the common part of address >>N690f6511 Enter

    Retranslation table:
      (r)ead nontrivial paths
      (p)ath:7 via (n)ode:690F6511
      (g)et p(u)t set (N)ode
      (c)lear  (e)dit
    (q)uit
    >>
  • the reference to the nearest node in direction to 690F6511 should be created for the Uec parameter:

    >>p11 Enter
    
    >>g Enter
    
    >>
    path  via  node
    11  via  03 
    >> Enter
    
    Retranslation table:
      (r)ead nontrivial paths
      (p)ath:11 via (n)ode:690F6503
      (g)et p(u)t set (N)ode
      (c)lear  (e)dit
    (q)uit
    >>

    The address 690F6503 is created. The CU should the time sync questions send to this address. This address is located in the auxiliary buffer of Setr – clipboard.

  • This address is set from clipboard to parameter c in Ue menu using command cZ.

  • This procedure can be apply to all CUs in the network automatically with help of macro. The proper reference to the time source with regard to the routing tables is created in this way.

(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       Enter
>>n0300     Enter

O.K.              ...item p03 N0300 is written in CU

>>p05       Enter
>>n0501     Enter

O.K.              ...item p05 N0501 is written in CU
(g)et

— displays the table item for (p)ath entered

>>p03       Enter

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 N:3 and write it in CU as Tl3.

(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

(p)ath a (n)ode are written in the table in Setr either by writing (n)ode <value> Enter or by p(u)t Enter. Attention, the writing into CU must be done by (w)rite command!

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.

©  2024 RACOM s.r.o. All Rights Reserved.