20-EPON Multicast Settings
20-EPON Multicast Settings
Table of Contents
Table of Contents
Chapter 1 EPON Multicast Settings...............................................................................................................1
1.1 OLT Multicast Introduction................................................................................................................1
1.2 OLT IGMP Multicast Configuration Tasks...................................................................................... 2
1.2.1 Enabling/Disabling IGMP Multicast..................................................................................... 3
1.2.2 Adding/Removing the Correlation of Multicast VLAN and Multicast IP Group............. 3
1.2.3 Adding/Canceling the Static Multicast Address of VLAN.................................................3
1.2.4 Setting the Router Age Timer of IGMP Snooping............................................................. 4
1.2.5 Setting the Response Timer of IGMP Snooping............................................................... 4
1.2.6 Setting the Port of the Static Multicast Router.................................................................. 5
1.2.7 Enabling/Disabling IGMP-Proxy.......................................................................................... 5
1.2.8 Setting Querier Port of OLT.................................................................................................. 5
1.2.9 Setting the Querier Address of IGMP Proxy...................................................................... 5
1.2.10 Setting the Query Counts and Period of the Special IGMP Proxy Group...................6
1.2.11 Setting the Multicast-Incompatible Mode of OLT............................................................6
1.2.12 Switching over the IGMP Multicast Mode........................................................................ 6
1.2.13 Setting the Multicast Preview Time...................................................................................6
1.2.14 Monitoring and Maintaining the IGMP Multicast............................................................. 7
1.3 OLT MLD Multicast Configuration Tasks........................................................................................ 8
1.3.1 Enabling/Disabling MLD Multicast.......................................................................................9
1.3.2 Enabling/Disabling the Solicitation of Hardware Forward of Multicast Group..............9
1.3.3 Adding/Removing the Correlation of Multicast VLAN and Multicast IP Group...........10
1.3.4 Adding/Canceling the Static Multicast Address of VLAN...............................................10
1.3.5 Setting the Router Age Timer of MLD Snooping.............................................................10
1.3.6 Setting the Response Timer of MLD Snooping............................................................... 11
1.3.7 Setting the Port of the Static Multicast Router.................................................................11
1.3.8 Enabling/Disabling MLD-Proxy..........................................................................................12
1.3.9 Setting the Querier Address of MLD Proxying................................................................ 12
1.3.10 Setting the Query Counts and Period of the Special MLD Proxy Group.................. 12
1.3.11 Monitoring and Maintaining the MLD Multicast............................................................. 12
1.4 Remote Configuration Commands for ONU Multicast...............................................................14
1.4.1 Enabling/Disabling IGMP Snooping..................................................................................14
1.4.2 Setting the Multicast Mode of ONU.................................................................................. 15
1.4.3 Setting Fast-Leave.............................................................................................................. 15
1.4.4 Setting Tag-Stripe................................................................................................................ 15
1.4.5 Setting the Permission of Multicast...................................................................................16
1.4.6 Setting Max-Group-Number............................................................................................... 16
1.4.7 Setting the Correlation of UNI port and Multicast VLAN................................................16
1.5 Forced Multicast Forwarding......................................................................................................... 17
1.6 EPON Multicast Configuration Examples.................................................................................... 17
1.6.1 IGMP-Snooping Configuration Example.......................................................................... 17
1.6.2 IGMP-Proxy Configuration Example.................................................................................18
1.6.3 Controllable IGMP Multicast Configuration Example..................................................... 20
-I-
Table of Contents
- II -
EPON Multicast Settings
The task of IGMP/MLD snooping is to maintain the correlation of VLAN and group
address and to keep up with the change of the multicast group. The main functions
of IGMP/MLD snooping include listening the IGMP/MLD packets, maintaining the
map of group address and VLAN, and keeping the state of host’s IGMP/MLD entity
identical with that of the router’s IGMP/MLD entity.
When the layer-2 device does not run IGMP/MLD snooping, the multicast data will
be broadcasted at the second layer; when the layer-2 device does run IGMP/MLD
snooping, the multicast data in the known multicast group will not be broadcast at
the second layer, but be transmitted to a designated receiver in the second layer
and the unknown multicast data will be discarded.
On the PON port, OLT will over the broadcast LLID channel transmit the multicast
data to all ONUs in SCB mode.
OLTs and ONUs of support the multicast VLAN. If the multicast services need be
isolated from other services on OLT, you have to plan private VLANs on OLT for
multicast to make one multicast VLAN corresponds to one multicast channel or a
multicast channel group (a set of multicast channels solely managed by one
permission). A multicast channel is designed only for a specific multicast VLAN.
The multicast flows being transmitted in the SCN channel all have carried the
multicast VLAN tag. Other data flows of a user (including unicast flows and uplink
IGMP/MLD packets) are destined to be transmitted to the unicast VLAN/CVLAN.
ONU establishes on the basis of the Add/Del Multicast VLAN OAM message the
correlation of the UNI port and the multicast VLAN, and on the basis of IGMP/MLD
snooping multicast forward-table the correlation of the UNI port and the specific
multicast group.
If ONU receives the following two types of IGMP/MLD general/specific group query
packets, it will drop them:
One is the IGMP/MLD general/specific group query packets without VLAN tag;
The other is the IGMP/MLD general/specific group query packets that have carried
the VLAN tag but whose VLAN IDs does not belong to the configured multicast
VLAN ID set of ONU.
When IEP3310/3314 receives the IGMP report packets after IGMP/MLD snooping
is enabled, the VLAN in the multicast forward table is the PVID of the multicast
router’s port. After the router’s port receives the multicast packet, IEP3310/3314
will first check the multicast forward table to confirm which member ports will be
forwarded and then change the packet's VLAN tag to the multicast VLAN tag.
Additionally, ONU should under the control of OLT remove/reserve the multicast
VLAN tag of the IGMP query packets. As to IGMP/MLD Group-Specific Query
packets, OLT should add the multicast VLAN tag to these packets according to the
multicast VLAN. As to IGMP/MLD General Query packets, they will be distributed
to all multicast VLANs in the EPON system, that is, OLT will copy multiple copies of
-1-
EPON Multicast Settings
each IGMP/MLD General Query packet, add different multicast VLAN tags and at
last distribute these copies to all ONUs over the broadcast LLID.
The IGMP/MLD Proxying allows the VLAN where the multicast user is located to
receive the multicast source from other VLANs. The IGMP/MLD Proxying runs on
layer 2 independently without other multicast routing protocols.IGMP/MLD
Proxying will be transmitted by the IGMP/MLD packets of the proxied VLAN to the
proxying VLAN and maintain the hardware forward table of the multicast user of
the agent VLAN according to these IGMP/MLD packets. IGMP/MLD Proxying
divides different VLANs into two kinds: proxied VLANs and proxying VLANs. The
downstream multicast VLANs can be set to the proxied VLANs, while the upstream
multicast VLANs can be set to the proxying VLANs.
Note:
2. The transmitted multicast packets must carry the VLAN tag and the VLAN tag
must be same to PVID of the port which connects the multicast router.
Enabling/Disabling IGMP-Proxy
Setting the Query Counts and Period of the Special IGMP Proxy Group
-2-
EPON Multicast Settings
Command Purpose
Note:
After IGMP snooping is enabled, when DLF occurs on multicast packets (that is,
the destination address is not registered in the swap chip through the
igmp-snooping), all multicast packets whose destination addresses are not
registered on any port will be dropped.
This command has two functions: one is that only the Report and Leave
packets whose destination IP addresses have been added to a multicast
VLAN can be received by IGMP snooping; the other one is that the VLAN tag
which transforms the next multicast flow is the multicast VLAN tag. One
multicast VLAN can include multiple continuous or discontinuous multicast
IP addresses, while one multicast IP address can only belong to one
multicast VLAN.
Command Purpose
ip mcst mc-vlan vlan_id range A.B.C.D&<1-n> Adds the correlation of multicast VLAN and
multicast IP address.
no ip mcst mc-vlan vlan_id [range A.B.C.D&<1-n>] Deletes the correlation of multicast VLAN
and multicast IP address.
The static multicast address can make some IGMP-incompatible hosts receive the
corresponding multicast packets.
Command Purpose
ip mcst vlan vlan_id static A.B.C.D interface intf Adds the static multicast address of VLAN.
no ip mcst vlan vlan_id static A.B.C.D interface intf Removes the static multicast address of
VLAN.
Note:
-3-
EPON Multicast Settings
1. To make the adding of the static multicast address successful, you have
to set A.B.C.D in the correlation of configured multicast VLAN and
multicast IP address.
The router age timer is used to monitor whether the IGMP querier exists or not; the
IGMP querier maintenance is used to maintain and manage the multicast address
by sending the query packets and IGMP snooping works by independence on the
communication between IGMP querier and host.
Command Purpose
ip mcst timer router-age timer_value Sets the value of the router age of IGMP
Snooping.
no ip mcst timer router-age Resumes the default value of the router age
of IGMP Snooping.
Note:
The settings of the timer requires to refer to the query period settings of the IGMP
querier for it cannot be smaller than the query period; you are recommended to set
the router age timer to the triple of the query period.
By default the router age timer is set to be 260 seconds of IGMP snooping.
The response time timer means the threshold time for the host to report the
multicast after IGMP querier sends the query packets; if this report packet is not
received after the timer ages, the switch will delete this multicast address.
Command Purpose
ip mcst timer response-time timer_value Sets the value of the response time of IGMP
Snooping.
Note:
The value of the timer cannot be set too small, or the multicast communication
may be unstable.
-4-
EPON Multicast Settings
After a port is set to be a static multicast port, all the IGMP report packets and
leave packets, received by OLT, will be transmitted to this port.
Command Purpose
ip mcst mrouter interface inft_name Sets the port of the static multicast router of
IGMP snooping.
no ip mcst mrouter interface inft_name Deletes the port of the static multicast router of
IGMP snooping.
Command Purpose
Command Purpose
ip mcst querier {enable|disable} Sets the querier port of OLT to regularly transmit the query packets
outward automatically.
{no ip mcst querier| ip mcst Resumes the default settings of the querier port of OLT.
querier disable}
Command
-5-
EPON Multicast Settings
1.2.10 Setting the Query Counts and Period of the Special IGMP Proxy
Group
Command Purpose
[no] ip igmp-proxy Sets the query counts and period of the special IGMP proxy group.
last-member-query {count value1|
interval value2}
The default query times of the query group is 2 and its default period is also 2.
Command Purpose
Note:
After the multicast compatible function of OLT is enabled, OLT can take the LLID
port as the minimum unit and at the same time support IGMP snooping and
dynamic controllable multicast.
Command Purpose
Note:
After the OLT multicast mode is switched over, the multicast modes of all ONUs
will be automatically switched over to the same mode. The users therefore are free
of the trouble of setting ONUs one by one.
Command Purpose
-6-
EPON Multicast Settings
Ip preview time {1-60} Sets the preview time of the multicast preview channel (the default
time is 5 seconds).
Command Purpose
show ip mcst groups Displays the information about the multicast group
of IGMP-snooping.
[ no ] debug ip mcst [ packet | timer | event | Enables/disables the print switch of IGMP snooping
error ] packet/timer debug/event/error. If the specific debug
switch is not designated, all the debug switches will
be enabled or disabled.
OLT #
This command is used to display the information about the multicast group of
IGMP-snooping.
-7-
EPON Multicast Settings
OLT#
Querier on port G0/2: 251 means the timeout time of the ageing timer of the router.
vlan 2 multicast address 0100.5e01.0101 response time : This shows the time period from
receiving a multicast query packet to the present; if there is no host to respond when the timer
times out, the port will be canceled.
Enabling/Disabling MLD-Snooping
-8-
EPON Multicast Settings
Enabling/Disabling IGMP-Proxy
Setting the Query Counts and Period of the Special MLD Proxy Group
Command Purpose
Note:
After MLD snooping is enabled, when DLF occurs on multicast packets (that is, the
destination address is not registered in the swap chip through the MLD-snooping),
all multicast packets whose destination addresses are not registered on any port
will be dropped.
Command Purpose
-9-
EPON Multicast Settings
This command has two functions: one is that only the Report and Leave
packets whose destination IP addresses have been added to a multicast
VLAN can be received by MLD snooping; the other one is that the VLAN tag
which transforms the next multicast flow is the multicast VLAN tag. One
multicast VLAN can include multiple continuous or discontinuous multicast
IP addresses, while one multicast IP address can only belong to one
multicast VLAN.
Command Purpose
ip mld-snooping mc-vlan vlan_id range X:X:X:X::X Adds the correlation of multicast VLAN and
&<1-n> multicast IP address.
The static multicast address can make some MLD-incompatible hosts receive the
corresponding multicast packets.
Command Purpose
ip mld-snooping vlan vlan_id static X:X:X:X::X Adds the static multicast address of VLAN.
interface intf
no ip mld-snooping vlan vlan_id static X:X:X:X::X Removes the static multicast address of
interface intf VLAN.
Note:
1. To make the adding of the static multicast address successful, you have to set
X:X:X:X::X in the correlation of configured multicast VLAN and multicast IP
address.
2. On IEP3310/3314 OLT, you have to set the VLAN parameter in this command
to be the same as the VLAN tag of the downlink multicast data.
The router age timer is used to monitor whether the MLD querier exists or not; the
MLD querier maintenance is used to maintain and manage the multicast address
by sending the query packets and MLD snooping works by independence on the
communication between MLD querier and host.
- 10 -
EPON Multicast Settings
Command Purpose
ip mld-snooping timer router-age timer_value Sets the value of the router age of MLD
Snooping.
no ip mld-snooping timer router-age Resumes the default value of the router age
of MLD Snooping.
Note:
The settings of the timer requires to refer to the query period settings of the MLD
querier for it cannot be smaller than the query period; you are recommended to set
the router age timer to the triple of the query period.
By default the router age timer is set to be 260 seconds of MLD snooping.
The response time timer means the threshold time for the host to report the
multicast after MLD querier sends the query packets; if this report packet is not
received after the timer ages, the switch will delete this multicast address.
Command Purpose
ip mld-snooping timer response-time timer_value Sets the value of the response time of MLD
Snooping.
Note:
The value of the timer cannot be set too small, or the multicast communication
may be unstable.
After a port is set to be a static multicast port, all the MLD report packets and leave
packets, received by OLT, will be transmitted to this port.
Command Purpose
ip mld-snooping mrouter interface inft_name Sets the port of the static multicast router of
MLD snooping.
no ip mld-snooping mrouter interface inft_name Deletes the port of the static multicast router of
MLD snooping.
- 11 -
EPON Multicast Settings
Command Purpose
Command Purpose
[no] ip mld-proxying querier Sets the querier address of MLD proxying to be the source IP
address [ip_addr] address of the query packet.
1.3.10 Setting the Query Counts and Period of the Special MLD Proxy
Group
Command Purpose
[no] ip mld-proxying Sets the query counts and period of the special MLD proxy group.
last-member-query {count value1|
interval value2}
The default query times of the query group is 2 and its default period is also 2.
Command Purpose
show ip mld-snooping groups Displays the information about the multicast group
of MLD-snooping.
- 12 -
EPON Multicast Settings
None
OLT#
OLT#
Querier on port G0/2: 251 means the timeout time of the ageing timer of the router.
vlan 2 multicast address 3333.0000.0005 response time : This shows the time period from
receiving a multicast query packet to the present; if there is no host to respond when the timer
times out, the port will be canceled.
- 13 -
EPON Multicast Settings
OLT#
OLT can set the multicast of ONU remotely.The detailed configuration content is
shown below:
Enabling/Disabling IGMP-Snooping
Setting the Query Counts and Period of the Special IGMP Proxy Group
China Telecom stipulates that the OLT can set the multicast of ONU through the
CTC OAM channel.
Command Purpose
{no epon onu mcst | epon onu mcst Resumes the default settings.
disable}
Note:
1. After IGMP snooping is enabled, when DLF occurs on multicast packets (that
is, the destination address is not registered in the swap chip through the
igmp-snooping), all multicast packets whose destination addresses are not
registered on any port will be dropped. ONU only supports IGMP snooping V1
and IGMP snooping V2.
- 14 -
EPON Multicast Settings
2. Because this command is not defined by China Telecom, it only takes effect
on ONU.
ONU has two kinds of multicast modes: IGMP snooping and controllable multicast
defined by China Telecom.The multicast mode of ONU must kept same with that of
OLT.
Command Purpose
epon onu ctc mcst switch { dynamic-controllable | Switches over the multicast mode of ONU.
igmp-snooping}
no epon onu ctc mcst switch Switches the multicast mode of ONU over to
the default mode.
The configuration of the fast-leave attribute makes the ONU delete the
corresponding port in the port list of the corresponding multicast group shortly after
ONU receives the leave packet, while the timer is not enabled any more for waiting
to see whether other hosts will be added to the multicast group; if other hosts of a
same port also belong to this multicast group and are reluctant to leave, the
multicast communication of these hosts may be affected and in this case the
fast-leave function should not be enabled.
Command Purpose
{no epon onu ctc mcst fast-leave | epon onu ctc Disables Fast-leave.
mcst fast-leave disable}
The tag-stripe attribute is used to remove the VLAN tag of the next multicast
packet that ONU receives.
Command Purpose
epon onu port port_id ctc mcst tag-stripe enable Enables the tag-stripe function of the UNI
port.
- 15 -
EPON Multicast Settings
{no epon onu port port_id ctc mcsttag-stripe | epon Disables the tag-stripe function of the UNI
onu port port_id ctc mcst tag-stripe disable} port.
Command Purpose
ip mcst permission uni uni-index range Sets the permission of the multicast channel
A.B.C.D&<1-n> {permit | preview| forbidden} for the related UNI port.
no ip no ip mcst permission uni uni-index range Disables the preview permission of the UNI
A.B.C.D&<1-n> port.
The max-group-number attribute can enable the UNI port of ONU to limit the
number of the to-be-forwarded multicast groups.
Command Purpose
epon onu port port_id ctc mcst max-group-number Sets the value of max-group-number of a
value UNI port.
no epon onu port port_id ctc mcst Resumes the default value of
max-group-number max-group-number of a UNI port.
To configure the correlation of the UNI port and the multicast VLAN so that ONU
can remove the VLAN tag of the downlink multicast packets, run the command
above.
Command Purpose
epon onu port port_id ctc mcst mc-vlan {add Sets the correlation of UNI port and
vlanmap| delete vlanmap|clear} multicast VLAN.
- 16 -
EPON Multicast Settings
To set a forced-forward port to be in forced mode, you need not conduct other
settings if you connect the optical fiber as shown in the following figure.
ONU is connected to the EPON0/3 port of IEP3310/3314.And then the G0/2 port of
IEP3310/3314 is connected with the multicast router.
- 17 -
EPON Multicast Settings
ONU is connected to the EPON0/3 port of IEP3310/3314.And then the G0/2 port of
IEP3310/3314 is connected with the multicast router.
- 18 -
EPON Multicast Settings
- 19 -
EPON Multicast Settings
ONU is connected to the EPON0/3 port of IEP3310/3314.And then the G0/2 port of
IEP3310/3314 is connected with the multicast router.
- 20 -
EPON Multicast Settings
ONU is connected to the EPON0/3 port of IEP3310/3314.And then the G0/2 port of
IEP3310/3314 is connected with the multicast router.
- 21 -
EPON Multicast Settings
ONU is connected to the EPON0/3 port of IEP3310/3314.And then the G0/2 port of
IEP3310/3314 is connected with the multicast router.
- 22 -
EPON Multicast Settings
(12) Set the correlation of multicast VLAN 2 and multicast group ff12::5:
OLT_config#ip mld-snooping mc-vlan 2 range ff12::5
(13) Set the G0/2 port, which connects IEP3310/3314 and the multicast router, to
belong to the multicast VLAN 2:
OLT_config_g0/2#switchport mode trunk
OLT_config_g0/2#switchport trunk vlan-allowed 1-2
(14) Set the UNI port of ONU to forward the multicast packets of multicast VLAN
2:
OLT_config_e0/3:1#epon onu port 1 ctc mcst mc-vlan add 2
- 23 -