]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Added example of static routes with BGP large communities
authorNigel Kukard <nkukard@lbsd.net>
Wed, 18 Nov 2020 17:00:12 +0000 (18:00 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 18 Nov 2020 17:00:12 +0000 (18:00 +0100)
doc/bird.sgml

index a62d3371365a5a21a1e5531ad52cbede80c045b8..9d1047a89d08a7b517b42a00c3550988e57e0c1c 100644 (file)
@@ -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>