Skip to content

Commit

Permalink
T5518: Document protocols pim6
Browse files Browse the repository at this point in the history
  • Loading branch information
vfreex committed Sep 10, 2023
1 parent d80690d commit ab8b83d
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/configuration/protocols/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Protocols
mpls
segment-routing
ospf
pim6
rip
rpki
static
74 changes: 74 additions & 0 deletions docs/configuration/protocols/pim6.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. _pim6:

#####
IPv6 Multicast
#####

VyOS facilitates IPv6 Multicast by supporting **PIMv6** and **MLD**.

PIMv6 (Protocol Independent Multicast for IPv6) must be configured in every
interface of every participating router. Every router must also have the
location of the Rendevouz Point manually configured.
Then, unidirectional shared trees rooted at the Rendevouz Point will
automatically be built for multicast distribution.

Traffic from multicast sources will go to the Rendezvous Point, and receivers
will pull it from a shared tree using MLD (Multicast Listener Discovery).

Multicast receivers will talk MLD to their local router, so, besides having
PIMv6 configured in every router, MLD must also be configured in any router
where there could be a multicast receiver locally connected.

VyOS supports both MLD version 1 and version 2
(which allows source-specific multicast).

Basic commands
==============
These are the commands for a basic setup.

.. cfgcmd:: set protocols pim6 interface <interface-name>

Use this command to enable PIMv6 in the selected interface so that it
can communicate with PIMv6 neighbors. This command also enables MLD reports
and query on the interface unless :cfgcmd:`mld disable` is configured.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld disable

Disable MLD reports and query on the interface.


Tuning commands
===============
You can also tune multicast with the following commands.


.. cfgcmd:: set protocols pim6 interface <interface-name> mld interval <seconds>

Use this command to configure in the selected interface the MLD
host query interval (1-65535) in seconds that PIM will use.
The default value is 125 seconds.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld join <multicast-address>

Use this command to allow the selected interface to join a multicast group.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld join <multicast-address> source <source-address>

Use this command to allow the selected interface to join a source-specific multicast
group.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld last-member-query-count <count>

Set the MLD last member query count. The default value is 2.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld last-member-query-interval <milliseconds>

Set the MLD last member query interval in milliseconds (100-6553500). The default value is 1000 milliseconds.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld max-response-time <milliseconds>

Set the MLD query response timeout in milliseconds. The default value is 10000 milliseconds.

.. cfgcmd:: set protocols pim6 interface <interface-name> mld version <version-number>

Set the MLD version used on this interface. The default value is 2.

0 comments on commit ab8b83d

Please sign in to comment.