Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

VRF support for multicast

An overview of VRF support for multicast and example commands.

You can configure multicast within a routing instance by using the CLI, NetConf, or SNMP. When you configure multicast on the vRouter without specifying a routing instance, the configuration applies to the default routing instance. To configure multicast for a particular routing instance, specify the instance.

All protocol-specific multicast commands can be applied to specific routing instances. For example, the following commands apply the indicated protocols to the RED routing instance.

vyatta@R1# set routing routing-instance RED protocols multicast ...
vyatta@R1# set routing routing-instance RED protocols pim ...
vyatta@R1# set routing routing-instance RED protocols pim6 ...
vyatta@R1# set routing routing-instance RED protocols igmp ...
vyatta@R1# set routing routing-instance RED protocols mld ...
vyatta@R1# set routing routing-instance RED protocols msdp ...

Any multicast configuration that is applied to an interface can be referred to under a routing instance to bind it to that instance, as in the following examples. In these examples, the dp0p161p1 interface is bound to the RED routing instance.

vyatta@R1# set routing routing-instance RED interfaces dp0p161p1 ip pim
vyatta@R1# set routing routing-instance RED interfaces dp0p161p1 ip igmp
vyatta@R1# set routing routing-instance RED interfaces dp0p161p1 ip multicast
vyatta@R1# set routing routing-instance RED interfaces dp0p161p1 ipv6 pim
vyatta@R1# set routing routing-instance RED interfaces dp0p161p1 ipv6 mld

You can apply routing instances to show commands for supported protocols. The following example shows details about IPv6 MLD groups for the RED routing instance. If no routing instance is specified, the command applies to the default routing instance.

vyatta@vyatta:~$ show ipv6 mld groups routing-instance RED detail

You can apply routing instances to reset commands. The following example shows how to clear IP BGP addresses for routing instance RED. If no routing instance is specified, the command applies to the default routing instance.

vyatta@vyatta:~$ reset ip bgp routing-instance RED detail

Logging by multicast protocols is configured on a per routing instance basis. If no routing instance is specified, the command applies to the default routing instance. The following example shows how to enable all PIM logs in the RED routing instance.

vyatta@vyatta:~$ monitor protocol multicast routing-instance RED pim enable