Configuring multicast routing

To configure multicast routing on the virtual router, use the following command:

Admin@nodename# set network virtual-router <virtual-router-name> multicast-router

Specify the parameters:

Parameter

Description

enabled

Enable/disable an RIP router:

  • on

  • off

ecmp

Enable traffic distribution using Equal Cost Multi Path (ECMP) technology:

  • on

  • off

Requires that several routes exist to the network node of interest. If this option is disabled, all traffic to a specific destination host will be sent through only one of the routers (next hop).

ecmp-rebalance

Use ECMP rebalance:

  • on: if one of the interfaces through which traffic was sent has disconnected, then all existing flows are redistributed among the remaining routes (next hop).

  • off: if one of the interfaces through which traffic was sent has disconnected, only the flows sent through the disconnected interface will be redistributed.

join-prune

Interval for sending messages to PIM neighbors about the multicast groups whose traffic the router wants to receive or no longer wants to receive.

register-suppress

Interval after which the router sends a register suppress message.

keep-alive

Interval after which the router sends keepalive messages to neighbors, and the interval the router waits before considering a neighbor unavailable.

interfaces

Interface to use for multicasting. You can only specify interfaces added to the virtual router.

To add new interfaces or change data for existing ones, use the following commands:

Admin@nodename# set network virtual-router <virtual-router-name> multicast-router interfaces new Admin@nodename# set network virtual-router <virtual-router-name> multicast-router interfaces <interface-name>

Parameters:

  • interface: select an interface for multicast. Only the interfaces belonging to this virtual router are available for selection.

  • hello-timeout: the interval to send PIM HELLO messages (in seconds). PIM Hello messages are sent periodically from all interfaces for which multicast support is enabled. These messages let the router know about neighbor routers that support multicasting.

  • dr-priority: the Designated router (DR) selection priority, which allows the administrator to control the process of DR selection for the LAN.

  • bfd: Add a bfd profile (Bidirectional Forwarding Detection). Bfd profiles are created in the element library, read more in the Configuring Libraries section.

  • enable-igmp: receive IGMP report and IGMP query messages on this interface.

  • use-igmpv2: use IGMP v2 (the default is IGMP v3).

rendezvous-points

When configuring Rendezvous points, you can specify the following parameters:

  • enabled: enable/disable this RP.

    • on

    • off

  • name: the RP name.

  • ip: the unicast IP address of the RP.

  • asm-allowed-groups: the list of allowed multicast group addresses for any source multicast from this RP. Any networks in the range 224.0.0.0/4. If nothing is specified, there are no restrictions.

ssm-allowed-groups

A multicast router setting that defines a list of allowed group addresses for source-specific multicast. You can specify any networks in the range 232.0.0.0/8. If nothing is specified, there are no restrictions.

spt-exclusions

Multicast router setting that defines a list of IPv4 multicast groups excluded from switching to the shortest path tree.

To display a multicast configuration of a virtual router, use the following command:

Admin@nodename# show network virtual-router <virtual-router-name> multicast-router

Example command to configure multicast routing in a virtual router:

Admin@nodename# set network virtual-router test_router multicast-router interfaces new interface port2 use-igmpv2 on Admin@nodename# show network virtual-router test_router name : test_router description : Test virtual router node-name : node_1 interfaces : port2; port3 ... multicast-router : enabled : off ecmp-rebalance : off ecmp : off join-prune : 60 keep-alive : 31 register-suppress : 5 interfaces : port2 interface : port2 enabled : off enable-igmp : off use-igmpv2 : on bfd : Not set rendevouz-points : [] ...

To delete multicast router parameters, use the following command:

Admin@nodename# delete network virtual-router <virtual-router-name> multicast-router

You can delete the following parameters:

  • Interfaces used for multicast: interfaces.

  • Rendezvous points: rendevouz-points <rp-name>, and the list of allowed group addresses for any source multicast from this RP: rendevouz-points <rp-name> asm-allowed groups.

  • The list of allowed group addresses for the source-specific multicast: ssm-allowed-groups.

  • The list of IPv4 multicast groups excluded from switching to the shortest path tree: spt-exclusions.