Yes Sir, I have read the bgp/global.h.
The files are different, but that's not the point, the point is that I can't read the ns-bgp output file, I mean reconnect.nam.
For example, several lines are as follows:
"
V -t * -v 1.0a5 -a 0
A -t * -n 1 -p 0 -o 0x7fffffff -c 30 -a 1
A -t * -h 1 -m 1073741823 -s 0
n -t * -a 167772161 -s 0 -S UP -v circle -c black -i black
n -t * -a 167837953 -s 1 -S UP -v circle -c black -i black
n -t * -a 167903745 -s 2 -S UP -v circle -c black -i black
l -t * -s 0 -d 1 -S UP -r 1000000 -D 0.001 -c black
l -t * -s 0 -d 2 -S UP -r 1000000 -D 0.001 -c black
+ -t 0.01 -s 0 -d 1 -p tcp -e 40 -c 0 -i 0 -a 0 -x {167772161.180 167837953.179 0 ------- null}
- -t 0.01 -s 0 -d 1 -p tcp -e 40 -c 0 -i 0 -a 0 -x {167772161.180 167837953.179 0 ------- null}
h -t 0.01 -s 0 -d 1 -p tcp -e 40 -c 0 -i 0 -a 0 -x {167772161.180 167837953.179 -1 ------- null}
+ -t 0.01 -s 0 -d 2 -p tcp -e 40 -c 0 -i 1 -a 0 -x {167772161.181 167903745.179 0 ------- null}
- -t 0.01 -s 0 -d 2 -p tcp -e 40 -c 0 -i 1 -a 0 -x {167772161.181 167903745.179 0 ------- null}
h -t 0.01 -s 0 -d 2 -p tcp -e 40 -c 0 -i 1 -a 0 -x {167772161.181 167903745.179 -1 ------- null}
+ -t 0.01 -s 1 -d 0 -p tcp -e 40 -c 0 -i 2 -a 0 -x {167837953.180 167772161.179 0 ------- null}
- -t 0.01 -s 1 -d 0 -p tcp -e 40 -c 0 -i 2 -a 0 -x {167837953.180 167772161.179 0 ------- null}
h -t 0.01 -s 1 -d 0 -p tcp -e 40 -c 0 -i 2 -a 0 -x {167837953.180 167772161.179 -1 ------- null}
+ -t 0.01 -s 2 -d 0 -p tcp -e 40 -c 0 -i 3 -a 0 -x {167903745.180 167772161.179 0 ------- null}
- -t 0.01 -s 2 -d 0 -p tcp -e 40 -c 0 -i 3 -a 0 -x {167903745.180 167772161.179 0 ------- null}
h -t 0.01 -s 2 -d 0 -p tcp -e 40 -c 0 -i 3 -a 0 -x {167903745.180 167772161.179 -1 ------- null}
"
This is not the same as the normal ns file format, and I have not found an explanation for it on the web
In addition, the routing table convergence I refer to means that when the network changes, the routing table no longer exchanges information and reaches a stable state.
So I want to know after I execute the ns-bgp file, how do I know that the routing table converges properly? I want to find this moment.