summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2020-11-18 18:00:12 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2020-11-18 18:00:12 +0100
commitdf65d519d6a5a7511cc893d2be55399b38b838be (patch)
tree3f62ae2bcfcd0b3ae2a0118d65f568b52a4681c7 /doc
parent00ddd18b02a4a4db973adecf6ef63a350c909cbd (diff)
Doc: Added example of static routes with BGP large communities
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index a62d3371..9d1047a8 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -5167,6 +5167,10 @@ protocol static {
ospf_tag = 2; # Set extended attribute
bfd; # BFD-controlled route
};
+ route 192.168.11.0/24 via 198.51.100.100 {
+ bgp_community.add((65535, 65281)); # Set extended BGP attribute
+ bgp_large_community.add((64512, 1, 1)); # Set extended BGP attribute
+ };
}
</code>