Actions

RESTful API: Add MTP3 Routes

Add MTP3 Routes with tbconfig commands

Display MTP3 Routes list

To show the MTP3 point codes list in general it will be:

 tbconfig -u root -p root /configurations/main_config//mtp3_stacks/mtp3_config/mtp3_networks/MTP3_ANSI/mtp3_routes mtp3_routes

<<<<Note: Change the “main_config” to your configuration name

Export the current point codes table to a json file

tbconfig /mtp3_stacks/mtp3_config/mtp3_networks/MTP3_ANSI/mtp3_routes mtp3_routes.json -r <<<<Note: Change the “main_config” to your configuration name

The file pc.json will look something like this: {

 "MTP3_2_2_2" : {
   "advanced_parameters" : {
     "broadcast" : false,
     "route_to_adjacent" : false,
     "sls_selector_bit1" : true,
     "sls_selector_bit2" : false,
     "sls_selector_bit3" : false,
     "sls_selector_bit4" : false,
     "support_multi_message_prio" : false,
     "support_route_congestion_test" : true
   },
   "mtp3_linksets" : [
     "MTP3_LS_ANSI"
   ],
   "name" : "MTP3_2_2_2",
   "point_code" : "DPC_2_2_2",
   "point_code_type" : "SP",
   "sls_range" : "ANSI 5 bits",
   "timers" : {
     "t6_timer" : "800 milliseconds",
     "t8_timer" : "800 milliseconds",
     "t10_timer" : "30 seconds",
     "t11_timer" : "30 seconds",
     "t18_timer" : 11000,
     "t19_timer" : "67 seconds",
     "t21_timer" : "63 seconds",
     "t25_timer" : "30 seconds",
     "tc_timer" : "500 milliseconds"
   }
 },
 "MTP3_LOCAL" : {
   "advanced_parameters" : {
     "broadcast" : false,
     "route_to_adjacent" : false,
     "sls_selector_bit1" : true,
     "sls_selector_bit2" : false,
     "sls_selector_bit3" : false,
     "sls_selector_bit4" : false,
     "support_multi_message_prio" : false,
     "support_route_congestion_test" : true
   },
   "mtp3_linksets" : [
     "MTP3_LS_ANSI"
   ],
   "name" : "MTP3_LOCAL",
   "point_code" : "OPC_1_1_1",
   "point_code_type" : "SP",
   "sls_range" : "ANSI 5 bits",
   "timers" : {
     "t6_timer" : "800 milliseconds",
     "t8_timer" : "800 milliseconds",
     "t10_timer" : "30 seconds",
     "t11_timer" : "30 seconds",
     "t18_timer" : 11000,
     "t19_timer" : "67 seconds",
     "t21_timer" : "63 seconds",
     "t25_timer" : "30 seconds",
     "tc_timer" : "500 milliseconds"
   }
 },
 "***meta***" : {
   "src_path" : "",
   "version" : "3.2.55"
 }

}


Add the new point codes and save it as mtp3_routes_new.json

Import mtp3_routes_new.json

tbconfig /configurations/main_config//mtp3_stacks/mtp3_config/mtp3_networks/MTP3_ANSI/mtp3_routes mtp3_routes_new.json -U

<<<<Note: Change the “main_config” to your configuration name

Example of pc.json and pc_new.json