add docs for meaning of dump output

Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
Marek Küthe 2023-01-08 00:29:02 +01:00
parent f5f86e6365
commit 4ece284ce1
No known key found for this signature in database
GPG Key ID: 7E869146699108C7
1 changed files with 21 additions and 0 deletions

View File

@ -156,6 +156,27 @@ With the command `dump` you can display the current status:
```
dump
```
This should produce an output according to the following scheme:
```
add interface <interface> up true ipv6 <own ll>
```
The configured interfaces are displayed here. Here `<interface>` is the interface name and `<own ll>` is the own IPv6 link-local address.
```
add neighbour <nid> address <neighbor ll> if <interface> reach ffff ureach 0000 rxcost <rxcost> txcost <txcost> cost <cost>
```
The babel neighbors are displayed here. Here `<nid>` is the router ID of the neighbor. `<neighbor ll>` is the link-local address of the peer and `<interface>` is the interface over which the peer is connected. `<rxcost>` describes the amount of cost it takes to send data from the peer to us. These costs are set by us manually or automatically by babeld.
`<txcost>` describes the amount of cost it takes to send data to the peer. This value is set by the peer.
```
add xroute <ownnet>-::/0 prefix <ownnet> from ::/0 metric 0
```
The networks that originate from us are displayed here. This should only be our own network. Here `<ownnet>` is the network we originate.
```
add route <nid> prefix <prefix> from ::/0 installed <installed> id <id> metric <rxcost> refmetric <rxcost neighbor> via <nexthop> if <interface>
```
The routes learned from the babel neighbors are displayed here. Here `<nid>` is the router ID of the neighbor and `<prefix>` is the prefix learned about the neighbor. `<installed>` is either `yes` or `no`. If `yes` the route was exported to the kernel, if `no` it was not. `<rxcost>` shows the cost of consuming to reach the prefix via this route. `<rxcost neighbor>` shows the cost our neighbor needs to reach the prefix. `<nexthop>` shows the nexthop, which is normally the IPv6 link-local address of our neighbor. `<interface>` shows the interface this route goes through.
## Further links