| 1 |
--- |
| 2 |
|
| 3 |
### ------------------------------------------------------ |
| 4 |
### show route <destination> |
| 5 |
### ------------------------------------------------------ |
| 6 |
|
| 7 |
RouteTable: |
| 8 |
rpc: get-route-information |
| 9 |
args_key: destination |
| 10 |
item: route-table/rt |
| 11 |
key: rt-destination |
| 12 |
view: RouteTableView |
| 13 |
|
| 14 |
RouteTableView: |
| 15 |
groups: |
| 16 |
entry: rt-entry |
| 17 |
fields_entry: |
| 18 |
# fields taken from the group 'entry' |
| 19 |
protocol: protocol-name |
| 20 |
via: nh/via | nh/nh-local-interface |
| 21 |
age: { age/@seconds : int } |
| 22 |
nexthop: nh/to |
| 23 |
|
| 24 |
### ------------------------------------------------------ |
| 25 |
### show route summary |
| 26 |
### ------------------------------------------------------ |
| 27 |
|
| 28 |
RouteSummaryTable: |
| 29 |
rpc: get-route-summary-information |
| 30 |
item: route-table |
| 31 |
key: table-name |
| 32 |
view: RouteSummaryView |
| 33 |
|
| 34 |
RouteSummaryView: |
| 35 |
fields: |
| 36 |
dests: { destination-count : int } |
| 37 |
total: { total-route-count : int } |
| 38 |
active: { active-route-count : int } |
| 39 |
holddown: { holddown-route-count : int } |
| 40 |
hidden: { hidden-route-count : int } |
| 41 |
proto: _rspTable |
| 42 |
|
| 43 |
_rspTable: |
| 44 |
item: protocols |
| 45 |
key: protocol-name |
| 46 |
view: _rspView |
| 47 |
|
| 48 |
_rspView: |
| 49 |
fields: |
| 50 |
count: { protocol-route-count: int } |
| 51 |
active: { active-route-count : int } |