You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Summary

Protocol Independent Multicast - Sparse Mode (PIM-SM or PIM) enables RouterOS to support multicast streaming over the network area. Several configured PIM routers will make a multicast cloud where client devices can use IGMP to manage stream subscriptions. PIM should be used when the network topology is complex or stream sources are connected to a multicast cloud. Continuous cloud must have configured a unique rendezvous point for multicast groups and other participants should know how to reach the rendezvous point. In a simple case where on the part of the network only potential clients may reside and there are no stream sources, then IGMP proxy can be used instead to preserve resources.

The feature is not supported on SMIPS devices (hAP lite, hAP lite TC and hAP mini).

Basic PIM-SM Example

Property Reference

Instance

The instance menu defines the main PIM-SM settings. The instance is then used for all other PIM-related configurations like interface-template, static RP, and Bootstrap Router.

Sub-menu: /routing pimsm instance

Property

Description

afi (ipv4 | ipv6; Default: ipv4)Specifies address family for PIM.
bsm-forward-back (yes | no; Default: )Currently not implemented.
crp-advertise-contained (yes | no; Default: )

Currently not implemented.

name (text; Default: )Name of the instance.
rp-hash-mask-length (integer: 0..4294967295; Default: 30 (IPv4), or 126 (IPv6))The hash mask allows changing how many groups to map to one of the matching RPs.
rp-static-override (yes | no; Default: no)Changes the selection priority for static RP. When disabled, the bootstrap RP set has a higher priority. When enabled, static RP has a higher priority.
ssm-range (IPv4 | IPv6; Default: )Currently not implemented.
switch-to-spt (yes | no; Default: yes)Whether to switch to Shortest Path Tree (SPT) if multicast data bandwidth threshold is reached. The router will not proceed from protocol phase one (register encapsulation) to native multicast traffic flow if this option is disabled. It is recommended to enable this option.
switch-to-spt-bytes (integer: 0..4294967295; Default: 0)Multicast data bandwidth threshold. Switching to Shortest Path Tree (SPT) happens if this threshold is reached in the specified time interval. If a value of 0 is configured, switching will happen immediately.
switch-to-spt-interval (time; Default: )Time interval in which to account for multicast data bandwidth, used in conjunction with switch-to-spt-bytes to determine if the switching threshold is reached.
vrf (name; Default: main)Name of the VRF.

Interface template

The interface template menu defines which interfaces will participate in PIM and what per-interface configuration will be used.

Sub-menu: /routing pimsm interface-template

Property

Description

hello-delay (time; Default: 5s)Randomized interval for the initial Hello message on interface startup or detecting new neighbor.
hello-period (time; Default: 30s)Periodic interval for Hello messages.
instance (name; Default: )Name of the PIM instance this interface template belongs to.
interfaces (name; Default: all)List of interfaces that will participate in PIM.
join-prune-period (time; Default: 1m)
join-tracking-support (yes | no; Default: yes)

Sets the value of a Tracking (T) bit in the LAN Prune Delay option in the Hello message. When enabled, a router advertises its willingness to disable Join suppression. it is possible for upstream routers to explicitly track the join membership of individual downstream routers if Join suppression is disabled. Unless all PIM routers on a link negotiate this capability, explicit tracking and the disabling of the Join suppression mechanism are not possible.

override-interval (time; Default: 2s500ms)Sets the maximum time period over which to randomize when scheduling a delayed override Join message on a network that has join suppression enabled.
priority (integer: 0..4294967295; Default: 1)The Designated Router (DR) priority. A single Designated Router is elected on each network. The priority is used only if all neighbors have advertised a priority option. Numerically largest priority is preferred. In case of a tie or if priority is not used - the numerically largest IP address is preferred.
propagation-delay (time; Default: 500ms)

Sets the value for a prune pending timer. It is used by upstream routers to figure out how long they should wait for a Join override message before pruning an interface that has join suppression enabled.

source-addresses (IPv4 | IPv6; Default: )

Interface

The interface menu shows all interfaces that are currently participating in PIM and their status. This menu contains dynamic and read-only entries that get created by defined interface templates.

Sub-menu: /routing pimsm interface

Property

Description

address (IP%interface@vrf)Shows IP address, interface, and VRF.
designated-router (yes | no)
dr (yes | no)
dynamic (yes | no)
instance (name)Name of the PIM instance this interface template belongs to.
join-tracking (yes | no)


override-interval (time)
priority (integer: 0..4294967295)
propagation-delay (time)

Neighbor

The neighbor menu shows all detected neighbors that are running PIM and their status. This menu contains dynamic and read-only entries.

Sub-menu: /routing pimsm neighbor

Property

Description

address (IP%interface)Shows the neighbor's IP address and local interface the neighbor is detected on.
designated-router (yes | no)

Shows whether the neighbor is elected as Designated Router (DR).

instance (name)Name of the PIM instance this neighbor is detected on.
join-tracking (yes | no)

Indicates the neighbor's value of a Tracking (T) bit in the LAN Prune Delay option in the Hello message.

override-interval (time)Indicates the neighbor's value of the override interval in the LAN Prune Delay option in the Hello message.
priority (integer: 0..4294967295)Indicates the neighbor's priority value.
propagation-delay (time)Indicates the neighbor's value of the propagation delay in the LAN Prune Delay option in the Hello message.
timeout (time)Shows the reminding time after the neighbor is removed from the list if no new Hello message is received. The hold time equals to neighbor's hello-period * 3.5. 

Static RP

The static-rp menu allows manually defining the multicast group to RP mappings. Such a mechanism is not robust to failures but does at least provide a basic interoperability mechanism.

Sub-menu: /routing pimsm static-rp

Property

Description

address (IPv4 | IPv6; Default: )The IP address of the static RP.
group (IPv4 | IPv6; Default: 224.0.0.0/4)The multicast group that belongs to a specific RP.
instance (name; Default: )Name of the PIM instance this static RP belongs to.

/routing/pimsm/bsr


/routing/pimsm/bsr/candidate

bootstrap router candidate configuration


/routing/pimsm/bsr/rp-candidate

Rendezvous point candidate configuration, when RP is elected for multicast group


/routing/pimsm/bsr/rp-set


/routing/pimsm/interface

Configuration of an interface of the router that will participate in a multicast network. Interfaces that are not configured here (or in IGMP-Proxy) will discard multicast packets.


/routing/pimsm/neighbors

This menu only allows seeing information about multicast routers that are reachable within one Ethernet from all interfaces participating in multicast routing. This list is created and updated automatically according to the state of the multicast network.


/routing/pimsm/static-rp

A rendezvous point (RP) is a distribution point for a multicast group, the source provides its data to it, and if there are any subscribers, then RP will provide data to the client. Note, that RP will always receive data stream if that exists.


/routing/pimsm/uib-g


/routing/pimsm/uib-sg


/routing/pimsm/vrf


  • No labels