EdgeRouter - Set up IGMP proxy and statistics

Overview


Readers will learn how to set up an IGMP proxy and run statistics. 

The following settings are the base minimum for configuring an IGMP proxy:

  • Define an upstream and downstream interface.
  • Assign and alt-net for subnets you wish to proxy per interface.
  • Set threshholds for each interface.

Steps


The following example explains how to configure an IGMP proxy.

  • Assign an interface upstream and downstream.
[email protected]:~$ configure
[edit]
[email protected]# edit protocols igmp-proxy
[edit protocols igmp-proxy]
[email protected]# set interface eth0 role upstream
[edit protocols igmp-proxy]
[email protected]# set interface eth1 role downstream
[edit protocols igmp-proxy]
  • Select subnets to proxy.
[email protected]# set interface eth0 alt-subnet 172.16.1.0/24
[edit protocols igmp-proxy]
[email protected]# set interface eth1 alt-subnet 172.16.2.0/24
  • Configure a threshold for each interface.
[email protected]# set interface eth0 threshold 1
[edit protocols igmp-proxy]
[email protected]# set interface eth1 threshold 1
[edit protocols igmp-proxy]
  • Save and display the current configuration.
[email protected]# commit
[email protected]# top
[edit]
[email protected]# show protocols igmp-proxy 
 interface eth0 {
     alt-subnet 172.16.1.0/24
     role upstream
     threshold 1
 }
 interface eth1 {
     alt-subnet 172.16.2.0/24
     role downstream
     threshold 1
 }
[edit]
[email protected]# save
Saving configuration to '/config/config.boot'...
Done
[edit]
[email protected]#exit

Statistics


To see statistics from the IGMP proxy, use the following commands:

[email protected]:~$ show ip multicast mfc
Group           Origin           In     Out           Pkts         Bytes  Wrong
224.1.1.1       172.16.1.6       eth0   eth1        120875      154.93MB      0
[email protected]:~$ show ip multicast interfaces 
Intf        BytesIn        PktsIn      BytesOut       PktsOut            Local
eth0       173.47MB        135343         0.00b             0       172.16.1.1
eth1          0.00b             0      173.47MB        135343       172.16.2.1