summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTrisha Biswas <tbiswas@fastly.com>2021-05-17 17:50:04 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-17 17:50:04 +0200
commite5468d16855600aeb8172e29936789c46ea58da0 (patch)
tree0480a2e2124bfe69a72cdaa6e82a6bb0a76d63af /doc
parentd114959e3aeef872441dccea34552047380af742 (diff)
Filter: Add MPLS label route attribute
Add support to set or read outgoing MPLS labels using filters. Currently this supports the addition of one label per route for the first next hop. Minor changes by committer.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index c4d2c49b..51a92ce9 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1716,6 +1716,15 @@ Common route attributes are:
are merged to one ECMP route during export to the Kernel protocol
(with active <ref id="krt-merge-paths" name="marge paths"> option).
+ <tag><label id="rta-gw-mpls"><m/int/ gw_mpls</tag>
+ Outgoing MPLS label attached to route (i.e., incoming MPLS label on the
+ next hop router for this label-switched path). Reading returns the label
+ value and setting it sets it to the start of the label stack. Setting
+ implicit-NULL label (3) disables the MPLS label stack. Only the first
+ next hop and only one label in the label stack supported right now. This
+ is experimental option, will be likely changed in the future to handle
+ full MPLS label stack.
+
<tag><label id="rta-igp-metric"><m/int/ igp_metric</tag>
The optional attribute that can be used to specify a distance to the
network for routes that do not have a native protocol metric attribute