summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-04-14 14:00:54 +0200
committerMaria Matejka <mq@ucw.cz>2023-04-14 14:00:54 +0200
commitdc75d3e305ba748dbb81a97cc4c88c68202e7fc5 (patch)
treed6076c0bb8e9c1060ab8d3d02596ee5ad264447b /doc
parenta9db956b61cb7f6ab4a27e9faff575ce6f601a04 (diff)
parent231c63851e3a56201dd02abfbf3fce47a80f8ae0 (diff)
Merge commit '231c6385' into thread-next-iface
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index c0c90adf..b36e81f3 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1155,14 +1155,16 @@ This argument can be omitted if there exists only a single instance.
Show the list of symbols defined in the configuration (names of
protocols, routing tables etc.).
- <tag><label id="cli-show-route">show route [[for] <m/prefix/|<m/IP/] [table (<m/t/ | all)] [(import|export) table <m/p/.<m/c/] [filter <m/f/|where <m/c/] [(export|preexport|noexport) <m/p/] [protocol <m/p/] [(stats|count)] [<m/options/]</tag>
+ <tag><label id="cli-show-route">show route [[(for|in)] <m/prefix/|for <m/IP/] [table (<m/t/|all)] [(import|export) table <m/p/.<m/c/] [filter <m/f/|where <m/cond/] [(export|preexport|noexport) <m/p/] [protocol <m/p/] [(stats|count)] [<m/options/]</tag>
Show contents of specified routing tables, that is routes, their metrics
and (in case the <cf/all/ switch is given) all their attributes.
<p>You can specify a <m/prefix/ if you want to print routes for a
specific network. If you use <cf>for <m/prefix or IP/</cf>, you'll get
the entry which will be used for forwarding of packets to the given
- destination. By default, all routes for each network are printed with
+ destination. Finally, if you use <cf>in <m/prefix/</cf>, you get all
+ prefixes covered by the given prefix.
+ By default, all routes for each network are printed with
the selected one at the top, unless <cf/primary/ is given in which case
only the selected route is shown.