]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Add documentation for "show route (import|export) table"
authorAlexander Zubkov <green@qrator.net>
Tue, 18 Oct 2022 02:25:29 +0000 (04:25 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 18 Oct 2022 02:25:29 +0000 (04:25 +0200)
doc/bird.sgml
nest/config.Y

index 3dc1e2945f9fab608ff6d69f2ccc5c1629a2cb60..c78b83007b9faa5c6b74f6cf06c2c48dd7a84882 100644 (file)
@@ -1113,7 +1113,7 @@ 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)] [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] <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>
        Show contents of specified routing tables, that is routes, their metrics
        and (in case the <cf/all/ switch is given) all their attributes.
 
@@ -1133,6 +1133,11 @@ This argument can be omitted if there exists only a single instance.
        Last, the set of default tables is used: <cf/master4/, <cf/master6/ and
        each first table of any other network type.
 
+       <p>There are internal tables when <cf/(import|export) table/ options
+       are used for some channels. They can be selected explicitly with
+       <cf/(import|export) table/ switch, specifying protocol <m/p/ and
+       channel name <m/c/.
+
        <p>You can also ask for printing only routes processed and accepted by
        a given filter (<cf>filter <m/name/</cf> or <cf>filter { <m/filter/ }
        </cf> or matching a given condition (<cf>where <m/condition/</cf>).
index a91fd9762a72323ca10b5f8c4ed724bdd78e02d2..b2aa0906c0bcde7e183c54021b0c97bcc958bc20 100644 (file)
@@ -632,7 +632,7 @@ CF_CLI(SHOW INTERFACES SUMMARY,,, [[Show summary of network interfaces]])
 { if_show_summary(); } ;
 
 CF_CLI_HELP(SHOW ROUTE, ..., [[Show routing table]])
-CF_CLI(SHOW ROUTE, r_args, [[[<prefix>|for <prefix>|for <ip>] [table <t>] [filter <f>|where <cond>] [all] [primary] [filtered] [(export|preexport|noexport) <p>] [protocol <p>] [stats|count]]], [[Show routing table]])
+CF_CLI(SHOW ROUTE, r_args, [[[<prefix>|for <prefix>|for <ip>] [table <t>] [(import|export) table <p>.<c>] [filter <f>|where <cond>] [all] [primary] [filtered] [(export|preexport|noexport) <p>] [protocol <p>] [stats|count]]], [[Show routing table]])
 { rt_show($3); } ;
 
 r_args: