Routing Table Dataset » History » Version 9
Laqin Fan, 06/21/2017 05:14 PM
1 | 1 | Laqin Fan | # Routing Table Dataset |
---|---|---|---|
2 | 2 | Laqin Fan | |
3 | The routing table can be published as a [[NFD:StatusDataset|Status Dataset]] at `/$ROUTER_NAME/routing-table/list`: |
||
4 | |||
5 | 4 | Laqin Fan | ## Routing Table Status |
6 | |||
7 | |||
8 | The routing table is organized and represented as an **RtStatus** block: |
||
9 | |||
10 | RtStatus := RT-STATUS-TYPE TLV-LENGTH |
||
11 | 8 | Laqin Fan | RouteTableInfo* |
12 | 1 | Laqin Fan | |
13 | 8 | Laqin Fan | ## RouteTable |
14 | 1 | Laqin Fan | |
15 | 8 | Laqin Fan | All routing table information in the routing table is organized and represented as an **RouteTableInfo** block. |
16 | 1 | Laqin Fan | |
17 | 8 | Laqin Fan | RouteTableInfo := ROUTINGTABLE-TYPE TLV-LENGTH |
18 | Destination |
||
19 | 9 | Laqin Fan | NextHop* |
20 | 8 | Laqin Fan | |
21 | 5 | Laqin Fan | Destination := DESTINATION-TYPE TLV-LENGTH |
22 | 8 | Laqin Fan | Name |
23 | 5 | Laqin Fan | |
24 | |||
25 | 3 | Laqin Fan | NextHop := NEXTHOP-TYPE TLV-LENGTH |
26 | 6 | Laqin Fan | Uri |
27 | Cost |
||
28 | 1 | Laqin Fan | |
29 | |||
30 | ## TLV-TYPE assignments |
||
31 | |||
32 | Type | Assigned value | Assigned value (hex) |
||
33 | ------------------------------------------- | ----------------- | -------------------- |
||
34 | LsaInfo | 128 | 0x80 |
||
35 | OriginRouter | 129 | 0x81 |
||
36 | SequenceNumber | 130 | 0x82 |
||
37 | AdjacencyLsa | 131 | 0x83 |
||
38 | Adjacency | 132 | 0x84 |
||
39 | CoordinateLsa | 133 | 0x85 |
||
40 | Double | 134 | 0x86 |
||
41 | HyperbolicRadius | 135 | 0x87 |
||
42 | HyperbolicAngle | 136 | 0x88 |
||
43 | NameLsa | 137 | 0x89 |
||
44 | LsdbStatus | 138 | 0x8A |
||
45 | ExpirationPeriod | 139 | 0x8B |
||
46 | Cost | 140 | 0x8C |
||
47 | Uri | 141 | 0x8D |
||
48 | Destination | 142 | 0x8E |
||
49 | 5 | Laqin Fan | NextHop | 144 | 0x90 |
50 | RTStatus | 145 | 0x91 |
||
51 | 8 | Laqin Fan | RouteTableInfo | 146 | 0x92 |