Manual:Routing/Multicast

From MikroTik Wiki
Jump to navigation Jump to search

Multicast PIM-SM

Protocol Independent Multicast - Sparse Mode (PIM-SM or PIM) provides multicast and IGMP features to RouterOS.

PIM features:

  • Manage rendezvous points
  • Multicast routing information base management
  • Distributing multicast over network

route pim

You can set settings that enable shortest-path-tree mode for multicast on RouterOS

  • switch-to-spt-bytes (0..4294967295) :

Sets after what amount of bytes pim will switch to shortest-path-tree, thus avoiding unneeded data transmissions

  • switch-to-spt-interval (time interval in seconds) :

Sets after what amount of time in seconds pim will switch to shortest-path-tree, thus avoiding unneeded data transmissions

interface

In this menu user can configure interface that will participate in multicast network. Interface of the router that is not configured here (or in IGMP-Proxy) will discard multicast packets.


  • alternative-subnets () :
  • assert-override-interval () :
  • assert-time () :
  • comment () :
  • copy-from () :
  • disabled () :
  • dr-priority () :
  • hello-holdtime () :
  • hello-period () :
  • hello-trigerred-delay () :
  • igmp-version () :
  • interface () :
  • join-prune-holdtime () :
  • join-prune-period () :
  • override-interval () :
  • propagation-delay () :
  • protocols () :
  • require-hello () :
  • tracking-support () :

rp

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

  • comment (text) : add comment to static RP entry
  • copy-from (number) : creates another RP just like one you pointed to with number you used.
  • disabled (yes, no) : used to change status of RP entry effectively disabling or enabling it.
  • group (IP address or ip address with subnet mask) : sets what group this RP will be assigned to. Values accepted are class D ip addresses with mask, thus effectively marking multiple groups to this RP entry e.g. 224.10.10.0/24 will add 256 groups starting with 224.10.10.0 till 224.10.10.255.
  • hash-mask-length () :
  • priority () :
  • address (ip address) : at what address you have to look for RP for multicast group specified in group field. If group is set to one of routers interfaces, it should be reachable through whole multicast network, if it not, you will have to set up rules in MRIB (multicast routing information base).

rp-candidates

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

  • comment () :
  • copy-from () :
  • disabled () :
  • group () :
  • holdtime () : after what time next election will be initiated
  • is-scope-zone () :
  • priority () :
  • interface () : to what interface to bind to if this router is elected as multicast groups RP

bsr-candidates

bootstrap router candidate configuration

  • comment () :
  • copy-from () :
  • disabled () :
  • hash-mask-length () :
  • is-scope-zone () :
  • priority () :
  • scope-zone () :
  • interface () :

mrib

Multicast route information base - route information about where are what components of multicast cloud (sources, RPs)

  • comment () :
  • copy-from () :
  • destination () :
  • disabled () :
  • metric () :
  • gateway () :

igmp-group

  • interface () :
  • group () :
  • source () :
  • last-reported () :
  • timeout () :

neighbors

Multicast routers that are reachable within one ethernet.

  • address () :
  • interface () :
  • priority () :
  • holdtime () :
  • timeout () :

bsr

Bootstrap router information

  • zone-type () :
  • bsr-address () :
  • scope-zone () :
  • bsr-priority () :
  • local-address () :
  • local-priority () :
  • state () :
  • timout () :
  • sz-timout () :

mfc

Multicast forwarding cache - this section only provides information about current state of multicast cloud at given router, showing states of joins for multicast groups.

  • group () : name of multicast group
  • source () : source of multicast group data
  • rp () : address of RP for that multicast group
  • incoming-interface () : interface that is used to receive multicast data stream
  • outgoing-interface () : interface that is used to transmit multicast data stream

joins

Group join list of all the group joins that are registered by PIM-SM

  • group () :
  • source () :
  • rp () :
  • upstream-interface-source () :
  • upstream-interface-rp () :
  • upstream-mrib-nexthop () :
  • upstream-pim-nexthop () :
  • join-state () :
  • join-register-state () :
  • timeout () :
  • keepalive-timer () :
  • i-am-designated-router () :
  • local-receivers () :
  • joined-rp () :
  • joined-wc () :
  • joined () :
  • pruned () :
  • prune-pending () :
  • assert-winner () :
  • assert-looser () :
  • assert-winner-wc () :
  • assert-looser-wc () :
  • assert-tracking-wc () :
  • could-assert-wc () :
  • immediate-rp () :
  • immediate-wc () :
  • immediate-sg () :
  • immediate-sg-rpt () :
  • include-wc () :