summaryrefslogtreecommitdiffstats
path: root/doc/bird.sgml
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-02-08 16:01:03 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-02-08 16:01:03 +0100
commitc27b2449d1f57e780974ed13fbd572a48e2a3602 (patch)
treedad29d3d936989a46e62a03ee994290d852662b4 /doc/bird.sgml
parent5a56f27cd00c2cad661aed9b54696699e800883c (diff)
downloadbird-c27b2449d1f57e780974ed13fbd572a48e2a3602.tar
bird-c27b2449d1f57e780974ed13fbd572a48e2a3602.zip
Shows source (Router ID) for OSPF routes and adds such attribute.
A sad thing is that we does not have a 'router_id' filter type, so it must be given as decimal number in filters.
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 799972c..3d82e45 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1578,7 +1578,7 @@ protocol ospf &lt;name&gt; {
<sect1>Attributes
-<p>OSPF defines three route attributes. Each internal route has a <cf/metric/
+<p>OSPF defines four route attributes. Each internal route has a <cf/metric/.
Metric is ranging from 1 to infinity (65535).
External routes use <cf/metric type 1/ or <cf/metric type 2/.
A <cf/metric of type 1/ is comparable with internal <cf/metric/, a
@@ -1588,6 +1588,8 @@ If you specify both metrics only metric1 is used.
Each external route can also carry a <cf/tag/ which is a 32-bit
integer which is used when exporting routes to other protocols;
otherwise, it doesn't affect routing inside the OSPF domain at all.
+The fourth attribute is a <cf/router_id/ of the router advertising
+that route/network. This attribute is read-only.
Default is <cf/metric of type 2 = 10000/ and <cf/tag = 0/.
<sect1>Example