summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkaterina.kubecova <katerina.kubecova@nic.cz>2023-09-19 11:11:24 +0200
committerMaria Matejka <mq@ucw.cz>2023-09-20 14:15:18 +0200
commita0fb0eaa6780e60b7c5434dfe0e2ed402e5a4ea4 (patch)
tree11ae3a94c24f580239bcae1dd9b1925c2d35b6fa /doc
parentcc122bf0c295207a909061a365eccd49462b1b16 (diff)
BGP: Setting and unsetting unknown attributes
All these must be declared as bytestring. Allows operators to delete unwanted attributes breaking the Internet: https://blog.benjojo.co.uk/post/bgp-path-attributes-grave-error-handling
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 3be266cb..366797ba 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -3287,6 +3287,13 @@ some of them (marked with `<tt/O/') are optional.
name="local Role"> is configured it set automatically.
</descrip>
+<p>For attributes unknown by BIRD, the user can assign a name (on top level)
+to an attribute by its number. This defined name can be used then to both set
+(by a bytestring literal, transitive) or unset the given attribute even though
+BIRD knows nothing about it:
+
+<tt><label id="bgp-attribute-custom">attribute bgp <m/number/ bytestring <m/name/;</tt>
+
<sect1>Example
<label id="bgp-exam">