summaryrefslogtreecommitdiffstats
path: root/doc/user/bgp.rst
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-10-31 18:23:57 +0100
committerGitHub <noreply@github.com>2023-10-31 18:23:57 +0100
commit644386fe4824a9d0fbf02fe7df2de7fcb1fc2173 (patch)
treeb07db5247b8fb99ea74a3b1e1d3b524054e0378b /doc/user/bgp.rst
parentMerge pull request #14699 from FRIDM636/no_commands_pcep_msd (diff)
parenttopotests: add bgp_redistribute_table test (diff)
downloadfrr-644386fe4824a9d0fbf02fe7df2de7fcb1fc2173.tar.xz
frr-644386fe4824a9d0fbf02fe7df2de7fcb1fc2173.zip
Merge pull request #14388 from pguibert6WIND/redistribute_table_bgp_2
Redistribute table bgp without copying data to the default routing table
Diffstat (limited to 'doc/user/bgp.rst')
-rw-r--r--doc/user/bgp.rst23
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index f7203a599..add42552e 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -1330,10 +1330,31 @@ section for the specific AF to redistribute into. Protocol availability for
redistribution is determined by BGP AF; for example, you cannot redistribute
OSPFv3 into ``address-family ipv4 unicast`` as OSPFv3 supports IPv6.
-.. clicmd:: redistribute <babel|connected|eigrp|isis|kernel|openfabric|ospf|ospf6|rip|ripng|sharp|static|table> [metric (0-4294967295)] [route-map WORD]
+.. clicmd:: redistribute <babel|connected|eigrp|isis|kernel|openfabric|ospf|ospf6|rip|ripng|sharp|static> [metric (0-4294967295)] [route-map WORD]
Redistribute routes from other protocols into BGP.
+.. clicmd:: redistribute <table|table-direct> (1-65535)] [metric (0-4294967295)] [route-map WORD]
+
+ Redistribute routes from a routing table ID into BGP. There are two
+ techniques for redistribution:
+
+ - Standard Table Redistribution ``table (1-65535)``:
+ - Routes from the specified routing table ID are imported into the
+ default routing table using the ``ip import-table ID`` command.
+ - These routes are identified by the protocol type "T[ID]" when
+ displayed with ``show (ip|ipv6) route``.
+ - The ``redistribute table ID`` command then integrates these routes
+ into BGP.
+
+ - Direct Table Redistribution ``table-direct (1-65535)``:
+ - This method directly imports routes from the designated routing table
+ ID into BGP, omitting the step of adding to the default routing table.
+ - This method is especially relevant when the specified table ID is
+ checked against routing by appending the appropriate `ip rules`.
+
+Redistribute routes from a routing table number into BGP.
+
.. clicmd:: redistribute vnc-direct
Redistribute VNC direct (not via zebra) routes to BGP process.