Home/Support/Support Forum/How long is the update routing table time? Or update mechanism?

How long is the update routing table time? Or update mechanism?

0 votes
I have this configuration as below.
I added new router R2 between C and R1. Actually R2 is near R1.
So I thought R1's routing table would show the route path R1-R2-C.
But it didn't show it when I read the route table of R1 by ZDO command.The route table wasn't updated...

I don't know the routing table update period or the update mechanism for routing table...
Let me know how to get the latest route table in the xbee module.
asked Dec 27, 2016 in RF Solutions and XBee by hwjang11 (-1 points)

Please log in or register to answer this question.

1 Answer

0 votes
A routing table is only updated if the current rout is broken.

And No, it would not be C - R1 - R2 -E unless the Router 1 was only in range of the Coordinator, router 2 was only in range of both the end device and router 1.
answered Dec 27, 2016 by mvut Veteran of the Digi Community (15,111 points)
Thanks for your reply..
But I said that I added R2 between C and R1.
So, I thought that your routing table would add also new path R1-R2-C, besides old path(R1-C).
But it didn't that..

If your policy is that a routing table is only updated if the current route is broken,
it is correct.
But your X-CTU shows new path...
It really does not matter where you placed R2. The point being that as long as your R1 and the Coordinator and End device are in range, it will never send data via R2. The reason for that is that it is always going to take the least amount of hops to get the data from Point A to point Z.
E's parent is R1..But R1 has new path to C.
You mean that R1's routing table isn't updated unless R1 is disassociated.
The LQI among R1-R2-C maybe better than the LQI between R1 and C.
But you mean that it doesn't matter in your routing policy.....
No that is not what I am saying.  As long as the router 1 is in range of the the coordinator, it is going to send the data direct. That is, it is not going to use another router to forward the data to the coordinator. No when it can get it to the coordinator all on its own.
1) If then, there is no way that routing table of a router is updated periodically?

2) Why X-CTU can show new path?
The routing tables are updated automatically if the existing table is incorrect.

XCTU is doing a neighbor table lookup. That is how it determines the paths that are available.
What do you mean that the existing table is incorrect?

If I added R2 between C and R1, neighbor information of R1 is updated.
But the routing table of R1 is not updated unless the R1 is disconnected.

Can R1 do neighbor table lookup?
if then, how?
Yes you just need to issue a ZDO command to read the neighbor table.
1. You mean that X-CTU shows new the map by using neighbor tables not routing tables?  
But it shows LQI information between the path..

2. Actually I think that the neighbor table's LQI by using ZDO (0x8031) seems not proper.
XCTU uses different options for different radios.  For the Zigbee enabled devices, I believe it uses the neighbor table.  As for LQI, there are ways to test that and obtain it.