Hi guys,

It took me some time to figure this out, perhaps a slight improvement to
the docs attached may help. :)

-N

>From 0975f466e6cdf53223c1f6a2dab62d1ee80a2268 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <[email protected]>
Date: Mon, 16 Nov 2020 12:16:26 +0000
Subject: [PATCH] Doc: Added example of static routes with BGP large
 communities

Signed-off-by: Nigel Kukard <[email protected]>
---
 doc/bird.sgml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/bird.sgml b/doc/bird.sgml
index a62d3371..10a856be 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>
 
-- 
2.29.2

Reply via email to