summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-12-14 01:32:37 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-12-14 01:32:37 +0100
commit8a7fb8858fa87bce6f2f15ee2bbb77704b5fff4e (patch)
tree9d4ca182afc0d2f140afeb9d60ef5668776eb9d5 /doc
parent28008482a97c0ac70e648759fe37bad0633ed9f7 (diff)
Finishes 'route reload' feature.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml18
-rw-r--r--doc/reply_codes3
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 1f494cce..3905a29e 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -497,6 +497,24 @@ This argument can be omitted if there exists only a single instance.
<tag>enable|disable|restart <m/name/|"<m/pattern/"|all</tag>
Enable, disable or restart a given protocol instance, instances matching the <cf><m/pattern/</cf> or <cf/all/ instances.
+ <tag>reload [in|out] <m/name/|"<m/pattern/"|all</tag>
+
+ Reload a given protocol instance, that means re-import routes
+ from the protocol instance and re-export preferred routes to
+ the instance. If <cf/in/ or <cf/out/ options are used, the
+ command is restricted to one direction (re-import or
+ re-export).
+
+ This command is useful if appropriate filters have changed but
+ the protocol instance was not restarted (or reloaded),
+ therefore it still propagates the old set of routes. For example
+ when <cf/configure soft/ command was used to change filters.
+
+ Re-export always succeeds, but re-import is protocol-dependent
+ and might fail (for example, if BGP neighbor does not support
+ route-refresh extension). In that case, re-export is also
+ skipped.
+
<tag/down/
Shut BIRD down.
diff --git a/doc/reply_codes b/doc/reply_codes
index e4330a2e..4588182b 100644
--- a/doc/reply_codes
+++ b/doc/reply_codes
@@ -23,6 +23,7 @@ Reply codes of BIRD command-line interface
0012 Restarted
0013 Status report
0014 Route count
+0015 Reloading
1000 BIRD version
1001 Interface list
@@ -40,6 +41,7 @@ Reply codes of BIRD command-line interface
1013 Show ospf neighbors
1014 Show ospf
1015 Show ospf interface
+1016 Show ospf state/topology
8000 Reply too long
8001 Route not found
@@ -47,6 +49,7 @@ Reply codes of BIRD command-line interface
8003 No protocols match
8004 Stopped due to reconfiguration
8005 Protocol is down => cannot dump
+8006 Reload failed
9000 Command too long
9001 Parse error