summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-09-14 01:45:57 +0200
committerGitHub <noreply@github.com>2024-09-14 01:45:57 +0200
commitf3fc33e17b3e07d3710bbbfa03145558cc83ba74 (patch)
treeb746d07dce5c5238be49075fca46dce93e962462 /doc
parentMerge pull request #16818 from ak503/ospf_gr (diff)
parenttests: don't set oif to a list if it is None (diff)
downloadfrr-f3fc33e17b3e07d3710bbbfa03145558cc83ba74.tar.xz
frr-f3fc33e17b3e07d3710bbbfa03145558cc83ba74.zip
Merge pull request #16438 from Jafaral/pim-10.1-cand-rp
PIM candidate BSR/RP support
Diffstat (limited to 'doc')
-rw-r--r--doc/user/pim.rst56
-rw-r--r--doc/user/pimv6.rst44
2 files changed, 96 insertions, 4 deletions
diff --git a/doc/user/pim.rst b/doc/user/pim.rst
index 5701560bd..372fdd73a 100644
--- a/doc/user/pim.rst
+++ b/doc/user/pim.rst
@@ -83,6 +83,41 @@ PIM Routers
cannot see data flowing in better than 30 second chunks. This command is
vrf aware, to configure for a vrf, specify the vrf in the router pim block.
+.. clicmd:: bsr candidate-bsr [priority (0-255)] [source [address A.B.C.D] | [interface INTERFACE] | [loopback] | [any]]
+
+ Configure the router to advertise itself as a candidate PIM-SM BSR. The candidate
+ with the highest priority becomes the BSR for the domain (high wins). When priority is the
+ same for more than one candidate BSR, the candidate with the highest IP address
+ becomes the BSR of the domain. The address can be configured explicitly
+ via ``address``, or be selecting an interface name using ``interface``.
+ If ``any`` is configured the highest address from any interface will be selected.
+ By default, the highest loopback address is selected, which can also be
+ configured via ``loopback``
+
+.. clicmd:: bsr candidate-rp [interval]
+
+ Configure the router to advertise itself as a candidate PIM-SM RP at the
+ specified ``interval`` in seconds.
+
+
+.. clicmd:: bsr candidate-rp group A.B.C.D/M
+
+ Configure the multicast group prefix that this candidate RP advertises itself for.
+ This command can be repeated for all desired groups that need to be added to the
+ candidate RP advertisement.
+
+.. clicmd:: bsr candidate-rp [priority (0-255)] [source [address A.B.C.D] | [interface INTERFACE] | [loopback] | [any]]
+
+ Configure the router to advertise itself as a candidate PIM-SM RP. ``interval``
+ can be used to configure the interval in seconds to send these advertisements.
+ The candidate with the lowest priority becomes the RP for the domain (low wins).
+ When priority is the same for more than one candidate RP, the candidate with
+ the highest IP address becomes the BSR of the domain. The address can be
+ configured explicitly via ``address``, or be selecting an interface name
+ using ``interface``. If ``any`` is configured the highest address from any
+ interface will be selected.By default, the highest loopback address is
+ selected, which can also be configured via ``loopback``.
+
.. clicmd:: register-accept-list PLIST
When pim receives a register packet the source of the packet will be compared
@@ -611,11 +646,28 @@ cause great confusion.
Display PIM MLAG (multi-chassis link aggregation) session status and
control message statistics.
-.. clicmd:: show ip pim bsr
+.. clicmd:: show ip pim bsr [vrf NAME] [json]
Display current bsr, its uptime and last received bsm age.
-.. clicmd:: show ip pim bsrp-info [vrf NAME] [json]
+.. clicmd:: show ip pim bsr candidate-bsr [vrf NAME] [json]
+
+ Display information about the candidate BSR state on this router.
+
+.. clicmd:: show ip pim bsr candidate-rp [vrf NAME] [json]
+
+ Display information about the candidate RP state on this router.
+
+.. clicmd:: show ip pim bsr candidate-rp-database [vrf NAME] [json]
+
+ Display the current list of candidate RPs received by this router.
+
+.. clicmd:: show ip pim bsr groups [vrf NAME] [json]
+
+ Display the current list of multicast group mapping received by
+ this router from candidate RPs.
+
+.. clicmd:: show ip pim bsr rp-info [vrf NAME] [json]
Display group-to-rp mappings received from E-BSR.
diff --git a/doc/user/pimv6.rst b/doc/user/pimv6.rst
index edf7a8201..e4e28d71a 100644
--- a/doc/user/pimv6.rst
+++ b/doc/user/pimv6.rst
@@ -80,6 +80,29 @@ PIMv6 Router
cannot see data flowing in better than 30 second chunks. This command is
vrf aware, to configure for a vrf, specify the vrf in the router pim6 block.
+.. clicmd:: bsr candidate-bsr [priority (0-255)] [source [address X:X::X:X] | [interface INTERFACE] | [loopback] | [any]]
+
+ Configure the router to advertise itself as a candidate PIM-SM BSR. The candidate
+ with the highest priority becomes the BSR for the domain (high wins). When priority is the
+ same for more than one candidate BSR, the candidate with the highest IP address
+ becomes the BSR of the domain. The address can be configured explicitly
+ via ``address``, or be selecting an interface name using ``interface``.
+ If ``any`` is configured the highest address from any interface will be selected.
+ By default, the highest loopback address is selected, which can also be
+ configured via ``loopback``
+
+.. clicmd:: bsr candidate-rp [interval (1-4294967295) ] [priority (0-255)] [source [address X:X::X:X] | [interface INTERFACE] | [loopback] | [any]]
+
+ Configure the router to advertise itself as a candidate PIM-SM RP. ``interval``
+ can be used to configure the interval in seconds to send these advertisements.
+ The candidate with the lowest priority becomes the RP for the domain (low wins).
+ When priority is the same for more than one candidate RP, the candidate with
+ the highest IP address becomes the BSR of the domain. The address can be
+ configured explicitly via ``address``, or be selecting an interface name
+ using ``interface``. If ``any`` is configured the highest address from any
+ interface will be selected.By default, the highest loopback address is
+ selected, which can also be configured via ``loopback``.
+
.. clicmd:: spt-switchover infinity-and-beyond [prefix-list PLIST]
On the last hop router if it is desired to not switch over to the SPT tree
@@ -391,11 +414,28 @@ General multicast routing state
Display total number of S,G mroutes and number of S,G mroutes
installed into the kernel for all vrfs.
-.. clicmd:: show ipv6 pim bsr
+.. clicmd:: show ipv6 pim bsr [vrf NAME] [json]
Display current bsr, its uptime and last received bsm age.
-.. clicmd:: show ipv6 pim bsrp-info [vrf NAME] [json]
+.. clicmd:: show ipv6 pim bsr candidate-bsr [vrf NAME] [json]
+
+ Display information about the candidate BSR state on this router.
+
+.. clicmd:: show ipv6 pim bsr candidate-rp [vrf NAME] [json]
+
+ Display information about the candidate RP state on this router.
+
+.. clicmd:: show ipv6 pim bsr candidate-rp-database [vrf NAME] [json]
+
+ Display the current list of candidate RPs received by this router.
+
+.. clicmd:: show ipv6 pim bsr groups [vrf NAME] [json]
+
+ Display the current list of multicast group mapping received by
+ this router from candidate RPs.
+
+.. clicmd:: show ipv6 pim bsr rp-info [vrf NAME] [json]
Display group-to-rp mappings received from E-BSR.