diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-11-10 14:26:13 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-11-10 14:26:13 +0100 |
commit | cf98be7b6743e45dde9e0458664cc0762bf08867 (patch) | |
tree | 5da3a2cadf1b13bb9c8495b7d82f006ea39fcbf5 /doc | |
parent | dd4da6f640fb581cbd7d1ca537bf382558492b8e (diff) |
Allows rejected routes to be kept and examined.
When 'import keep rejected' protocol option is activated, routes
rejected by the import filter are kept in the routing table, but they
are hidden and not propagated to other protocols. It is possible to
examine them using 'show route rejected'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bird.sgml | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml index 24bc3026..e5550590 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -459,6 +459,14 @@ to zero to disable it. An empty <cf><m/switch/</cf> is equivalent to <cf/on/ works in the direction from the routing table to the protocol. Default: <cf/none/. + <tag>import keep rejected <m/bool/</tag> + Usually, if an import filter rejects a route, the route is + forgotten. When this option is active, rejected routes are + kept in the routing table, but they are hidden and not + propagated to other protocols. But it is possible to show them + using <cf/show route rejected/. Note that this option does not + work for the pipe protocol. Default: off. + <tag>import limit <m/number/ [action warn | block | restart | disable]</tag> Specify an import route limit (a maximum number of routes imported from the protocol) and optionally the action to be @@ -467,8 +475,11 @@ to zero to disable it. An empty <cf><m/switch/</cf> is equivalent to <cf/on/ protocol. Restart and disable actions shut the protocol down like appropriate commands. Disable is the default action if an action is not explicitly specified. Note that limits are reset - during protocol reconfigure, reload or restart. - Default: <cf/none/. + during protocol reconfigure, reload or restart. Also note that + if <cf/import keep rejected/ is active, rejected routes are + counted towards the limit and blocked routes are forgotten, as + the main purpose of the import limit is to protect routing + tables from overflow. Default: <cf/none/. <tag>export limit <m/number/ [action warn | block | restart | disable]</tag> Specify an export route limit, works similarly to @@ -661,6 +672,9 @@ This argument can be omitted if there exists only a single instance. <p>You can also select just routes added by a specific protocol. <cf>protocol <m/p/</cf>. + <p>If BIRD is configured to keep rejected routes (see </cf/import keep rejected/ + option), you can show them instead of routes by using </cf/rejected/ switch. + <p>The <cf/stats/ switch requests showing of route statistics (the number of networks, number of routes before and after filtering). If you use <cf/count/ instead, only the statistics will be printed. @@ -2460,13 +2474,13 @@ interface definitions, prefix definitions and DNS definitions: router. 0 means do not use as a default router. Default: 3 * <cf/max ra interval/. - <tag>rdnss local <m/bool/</tag> + <tag>rdnss local <m/switch/</tag> Use only local (interface-specific) RDNSS definitions for this interface. Otherwise, both global and local definitions are used. Could also be used to disable RDNSS for given interface if no local definitons are specified. Default: no. - <tag>dnssl local <m/bool/</tag> + <tag>dnssl local <m/switch/</tag> Use only local DNSSL definitions for this interface. See <cf/rdnss local/ option above. Default: no. </descrip> |