
L
ON
W
ORKS
Router User’s Guide
8-5
Router Specific Network Management Messages
Set Router Mode
This message instructs the router to perform one of several router-related tasks. The
NORMAL
option returns the router from the
TEMP_BRIDGE
mode. The
INIT_RTR_TABLE
option copies all forwarding tables from EEPROM into the RAM
tables for a configured router, or, sets all RAM tables to flood for a learning router (this
is the same action that occurs after node reset). The
TEMP_BRIDGE
option causes the
router to temporarily forward ALL messages in the domain (until the next reset or
Set
Router Mode
message with the
NORMAL
option). The
Set Router Mode
message affects
both
router sides. This message is conveyed via the Request-Response protocol.
Note that the standard
Set Node Mode
message may be used to take the entire router
offline and online.
typedef enum {
NORMAL = 0, // Not a temporary bridge.
INIT_RTR_TABLE = 1, // Copy forwarding tables from EEPROM
// for configured routers.
// Initialize forwarding tables for
// learning routers.
TEMP_BRIDGE = 2 // Temporarily a bridge until next reset
// or NORMAL router mode request.
} rtr_mode;
typedef rtr_mode NM_rtr_mode_request;
Group or Subnet Table Clear
This message is used to clear all entries in either the group or subnet forwarding table
for a single domain for a
single router side
. The message is segmented to cover eight
byte sections in order to prevent lengthy EEPROM write operations. This message is
conveyed via the Request-Response protocol. The configuration checksum in EEPROM is
updated.
typedef struct {
unsigned group_or_subnet : 1; // 1 => Group, 0 => Subnet
unsigned domain_index : 1;
unsigned unused : 4;
unsigned index_times_8 : 2;
} NM_rtr_table_clear_request;
Group or Subnet Table Download
This message is used to configure the entire group or subnet forwarding table in EEPROM
for the specified domain for a single router side. The download function is broken into
eight-byte sections. This message is conveyed via the Request-Response protocol. The
configuration checksum in EEPROM is updated. Each byte in the table entry includes
routing flags for eight subnets or groups.
Summary of Contents for LONWORKS
Page 34: ......