19-EPON Multicast Configuration Commands
19-EPON Multicast Configuration Commands
Table of Contents
Table of Contents
Chapter 1 OLT IGMP Multicast Configuration Commands........................................................................1
1.1.1 ip mcst {enable | disable}......................................................................................................2
1.1.2 ip mcst mc-vlan vlan_id range A.B.C.D&<1-n>..............................................................2
1.1.3 ip mcst vlan vlan_id static A.B.C.D interface intf............................................................3
1.1.4 ip mcst timer router-age timer_value..........................................................................4
1.1.5 ip mcst timer response-time timer_value........................................................................... 4
1.1.6 ip mcst mrouter interface inft_name....................................................................................5
1.1.7 ip igmp-proxy enable............................................................................................................. 6
1.1.8 ip mcst querier{enable | disable}......................................................................................... 6
1.1.9 ip mcst querier address [ip_addr]........................................................................................ 7
1.1.10 ip igmp-proxy last-member-query {count value1| interval value2}............................... 8
1.1.11 ip mcst compatible {enable | disable}................................................................................9
1.1.12 ip mcst mode........................................................................................................................ 9
1.1.13 ip mcst preview time..........................................................................................................10
1.1.14 show ip mcst....................................................................................................................... 11
1.1.15 show ip mcst timer.............................................................................................................12
1.1.16 show ip mcst groups......................................................................................................... 12
1.1.17 show ip mcst statistics...................................................................................................... 13
1.1.18 show ip igmp-proxy........................................................................................................... 14
1.1.19 debug ip mcst packet........................................................................................................ 14
1.1.20 debug ip mcst timer........................................................................................................... 15
1.1.21 debug ip mcst timer........................................................................................................... 16
1.1.22 debug ip mcst event.......................................................................................................... 16
1.1.23 debug ip mcst error........................................................................................................... 17
1.1.24 debug ip igmp-proxy..........................................................................................................17
Chapter 2 Commands for OLT MLD Multicast Settings........................................................................... 19
2.1.1 ip mld-snooping {enable | disable}.................................................................................... 19
2.1.2 ip mld-snooping solicitation................................................................................................ 20
2.1.3 ip mld-snooping mc-vlan vlan_id range A.B.C.D&<1-n>............................................ 21
2.1.4 ip mld-snooping vlan vlan_id static X:X:X:X::X interface intf..................................... 21
2.1.5 ip mld-snooping timer router-age timer_value...........................................................22
2.1.6 ip mld-snooping timer response-time timer_value..........................................................23
2.1.7 ip mld-snooping mrouter interface inft_name..................................................................23
2.1.8 ip mld-proxying enable........................................................................................................24
2.1.9 ip mld-proxying querier address [ip_addr]....................................................................... 25
2.1.10 ip mld-proxying last-member-query {count value1| interval value2}..........................25
2.1.11 show ip mld-snooping....................................................................................................... 26
2.1.12 show ip mld-snooping timer............................................................................................. 27
2.1.13 show ip mld-snooping groups..........................................................................................28
2.1.14 show ip mld-snooping statistics.......................................................................................28
2.1.15 show ip mld-proxying........................................................................................................ 29
-I-
Table of Contents
- II -
EPON Multicast Configuration Commands
ip igmp-proxy enable
ip mcst mode
ip mcst permission
show ip mcst
show ip igmp-proxy
debug ip igmp-proxy
-1-
EPON Multicast Configuration Commands
Syntax
ip mcst enable
To enable and disable the IGMP snooping function, run epon onu mcst enable; to
resume the default value, run {no epon onu mcst | epon onu mcst disable}.
Parameter
None
Default value
Remarks
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.
Example
The following example shows how to enable the IGMP snooping function:
switch_config# ip mcst enable
Syntax
Parameter
vlan_id VLAN ID
-2-
EPON Multicast Configuration Commands
Default value
None
Remarks
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.
Example
The following command is used to add multicast group 225.1.1.1 to multicast VLAN2:
switch_config#ip mcst mc-vlan 2 range 225.1.1.1
Note:
224.0.0.0-224.0.0.255, as unroutable multicast addresses, cannot be registered on each port.
Syntax
Parameter
inft An interface
Default value
None
Remarks
This command is used to configure the static multicast address of VLAN. Its negative
form is used to cancel the static multicast address.
-3-
EPON Multicast Configuration Commands
Example
The following example shows how to add the static multicast address 234.5.6.7 to port
EPON0/1:1.
switch_config# ip mcst vlan 1 static 234.5.6.7 interface EPON0/1:1
switch_config#
Note:
Syntax
Parameter
time value Queries the time of the timer. Value range: 10-2147483647
Default value
260 seconds
Remarks
This command is used to query the time of the timer of IGMP-Snooping. The negative
form of this command is used to resume the default value.
Example
The following example shows how to set the query time of the router to 300 seconds.
switch_config# ip mcst timer router-age 300
switch_config#
Syntax
-4-
EPON Multicast Configuration Commands
Parameter
time value Queries the time of the timer. Value range: 1-255
Default value
15 seconds
Remarks
None
Example
The following example shows how to set the query response time of IGMP snooping to
20 seconds.
switch_config# ip mcst timer response-time 20
Syntax
To configure the port of the static multicast router of IGMP snooping, run ip mcst
mrouter interface inft_name.
Parameter
inft_name Shows the port type, the slot and the port ID.
Default value
15 seconds
-5-
EPON Multicast Configuration Commands
Remarks
None
Example
The following example shows how to set port G0/4 to the port of the static multicast
router of IGMP snooping.
switch_config# ip mcst timer mrouter interface G0/4
Syntax
ip igmp-proxy enable
To enable IGMP proxy, run ip mcst enable. To resume the default value, run {no ip
mcst | ip mcst disable}.
Parameter
None
Default value
Remarks
None
Example
Syntax
-6-
EPON Multicast Configuration Commands
To enable or disable the querier port in OLT, run ip mcst querier enable; to resume the
default settings, run no ip mcst querier | ip mcst querier disable.
Parameter
None
Default value
Remarks
After the querier port of OLT is added, this port can transmit the query packets
automatically in a regular time.
Example
The following example shows how to enable the querier port of OLT.
switch_config# ip mcst querier enable
Syntax
To set the source IP address of the automatic query packet, run ip mcst querier
address ip_addr. The negative form of this command is used to resume the default
value.
Parameter
Default value
-7-
EPON Multicast Configuration Commands
Remarks
None
Example
The following example shows how to set the source IP address of the query packet to
11.1.1.200:
switch_config# ip mcst querier address 11.1.1.200
Syntax
To set the source IP address of the automatic query packet, run ip igmp-proxy
last-member-query {count value1| interval value2}. The negative form of this
command is used to resume the default value.
Parameter
value1 1-5
Default value
Remarks
None
Example
-8-
EPON Multicast Configuration Commands
Syntax
Parameter
None
Default value
Remarks
After the multicast compatible mode is enabled, OLT can support the IGMP snooping
multicast mode and the dynamic multicast mode by taking the LLID port as a unit. Only
in the default mode can the multicast mode of OLT be set and OLT only supports one
kind of multicast process at this case.
Example
The following example shows how to disable the multicast compatible function of OLT:
switch_config# ip mcst compatible disable
Syntax
Parameter
None
-9-
EPON Multicast Configuration Commands
Default value
Igmp-snooping mode
Remarks
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.
Example
The following example shows how to set the multicast mode to the controllable
multicast:
switch_config# ip mcst mode dynamic-controllable
Syntax
Parameter
Default value
None
Remarks
None
Example
- 10 -
EPON Multicast Configuration Commands
Syntax
show ip mcst
Parameter
None
Default value
None
Remarks
Example
The following example shows how to display the information about the IGMP-snooping
settings.
switch# show ip mcst
switch#
- 11 -
EPON Multicast Configuration Commands
Syntax
Parameter
None
Default value
None
Remarks
This command is used to display the information about the IGMP-snooping clock.
Example
The following example shows how to display the information about the IGMP-snooping
clock.
switch#show ip mcst timers
switch#
Querier on port G0/4: 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.
Syntax
Parameter
None
- 12 -
EPON Multicast Configuration Commands
Default value
None
Remarks
This command is used to display the information about the multicast group of
IGMP-snooping.
Example
The following example shows how to display the information about the multicast group
of IGMP-snooping.
switch# show ip mcst timer
Syntax
Parameter
None
Default value
None
Remarks
Example
The following example shows how to display the information about IGMP-snooping
statistics.
switch#show ip mcst statistics
v1_packets:0 Number of the IGMPv1 packets
v2_packets:6 Number of the IGMPv2 packets
- 13 -
EPON Multicast Configuration Commands
Syntax
show ip igmp-proxy
Parameter
None
Default value
None
Remarks
Example
The following example shows how to display the information about IGMP proxy.
switch#show ip igmp-proxy
Global IGMP proxy configuration
-------------------------------
Status : Disable
Last member query interval: 2
Last member query count :2
switch#
Syntax
- 14 -
EPON Multicast Configuration Commands
Parameter
None
Default value
None
Remarks
Example
The following example shows how to enable the debugging switch of MCST packets.
switch# debug ip mcst packet
switch#
Syntax
Parameter
None
Default value
None
Remarks
Example
- 15 -
EPON Multicast Configuration Commands
Syntax
Parameter
None
Default value
None
Remarks
Example
Syntax
Parameter
None
Default value
None
- 16 -
EPON Multicast Configuration Commands
Remarks
Example
Syntax
Parameter
None
Default value
None
Remarks
Example
The following example shows how to enable the error debugging switch of IGMP
snooping.
switch# debug ip mcst error
Syntax
no debug ip igmp-proxy
- 17 -
EPON Multicast Configuration Commands
Parameter
None
Default value
None
Remarks
Example
The following example shows how to enable the debugging switch of IGMP proxy.
switch# debug ip igmp-proxy
switch#
- 18 -
EPON Multicast Configuration Commands
ip mld-proxying enable
show ip mld-snooping
show ip mld-proxying
Syntax
ip mld-snooping enable
To set the MLD snooping function, run ip mld-snooping enable; to resume the default
value, run {no ip mld-snooping | ip mld-snooping disable}.
Parameter
None
- 19 -
EPON Multicast Configuration Commands
Default value
Remarks
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.
Example
The following example shows how to enable the MLD snooping function:
switch_config# ip mld-snooping enable
Syntax
ip mld-snooping solicitation
no ip mld-snooping solicitation
Parameter
None
Default value
Remarks
None
Example
The following example shows how to enable the hardware forward of the multicast
group.
switch_config#ip mld-snooping solicitation
- 20 -
EPON Multicast Configuration Commands
Syntax
Parameter
vlan_id VLAN ID
Default value
None
Remarks
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.
Example
The following command shows how to add multicast group ff12::5 to multicast VLAN2:
switch_config#ip mld-snooping mc-vlan 2 range ff12::5
Syntax
Parameter
- 21 -
EPON Multicast Configuration Commands
inft An interface
Default value
None
Remarks
This command is used to configure the static multicast address of VLAN. Its negative
form is used to cancel the static multicast address.
Example
The following example shows how to add the static multicast address ff12::5 to port
EPON0/1:1.
switch_config# ip mld-snooping vlan 1 static ff12::5 interface EPON0/1:1
switch_config#
Syntax
Parameter
time value Queries the time of the timer. Value range: 10-2147483647
Default value
260 seconds
Remarks
This command is used to query the time of the timer of MLD-Snooping. The negative
form of this command is used to resume the default value.
Example
The following example shows how to set the query time of the router to 300 seconds.
switch_config# ip mld-snooping timer router-age 300
- 22 -
EPON Multicast Configuration Commands
switch_config#
Syntax
Parameter
time value Queries the time of the timer. Value range: 1-255
Default value
15 seconds
Remarks
None
Example
The following example shows how to set the query response time of IGMP snooping to
20 seconds.
switch_config# ip mld-snooping timer response-time 20
Syntax
To configure the port of the static multicast router of IGMP snooping, run ip mcst
mrouter interface inft_name.
Parameter
- 23 -
EPON Multicast Configuration Commands
inft_name Shows the port type, the slot and the port ID.
Default value
15 seconds
Remarks
None
Example
The following example shows how to set port G0/4 to the port of the static multicast
router of MLD snooping.
switch_config# ip mld-snooping timer mrouter interface G0/4
Syntax
ip igmp-proxy enable
To enable IGMP proxy, run ip igmp-proxy enable. To resume the default value, run
{no ip igmp-proxy enable}.
Parameter
None
Default value
Remarks
None
Example
- 24 -
EPON Multicast Configuration Commands
Syntax
To set the source IP address of the automatic query packet, run ip mcst querier
address ip_addr. The negative form of this command is used to resume the default
value.
Parameter
Default value
源 IP 地址默认为 FE80::3FF:FEFE:FD00:1。
Remarks
None
Example
The following example shows how to set the source IP address of the query packet to
FE80::3FF:FEFE:FD00:2:
switch_config# ip mld-proxying querier address FE80::3FF:FEFE:FD00:2
Syntax
To set the source IP address of the automatic query packet, run ip mld-proxying
last-member-query {count value1| interval value2}. The negative form of this
command is used to resume the default value.
Parameter
- 25 -
EPON Multicast Configuration Commands
value1 1-5
Default value
Remarks
None
Example
Syntax
show ip mld-snooping
Parameter
None
Default value
None
Remarks
Example
The following example shows how to display the information about MLD snooping.
switch#show ip mld-snooping
- 26 -
EPON Multicast Configuration Commands
None
switch#
Syntax
Parameter
None
Default value
None
Remarks
This command is used to display the information about the MLD-snooping clock.
Example
The following example shows how to display the information about the MLD-snooping
clock.
switch#show ip mld-snooping timers
switch#
Querier on port G0/4: 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.
- 27 -
EPON Multicast Configuration Commands
Syntax
Parameter
None
Default value
None
Remarks
This command is used to display the information about the multicast group of
MLD-snooping.
Example
The following example shows how to display the information about the multicast group
of MLD-snooping.
switch# show ip mld-snooping timer
Syntax
Parameter
None
Default value
None
- 28 -
EPON Multicast Configuration Commands
Remarks
Example
The following example shows how to display the information about MLD-snooping
statistics.
switch#show ip mld-snooping statistics
v1_packets:0 Number of the IGMPv1 packets
v2_packets:6 Number of the IGMPv2 packets
v3_packets:0 Number of the IGMPv3 packets
general_query_packets:5 Number of the general query packets
special_query_packets:0 Number of the special query packets
listener_packets:6 Number of the Report packets
leave_packets:0 Number of the Leave packets
err_packets:0 Number of the error packets
Syntax
show ip mld-proxying
Parameter
None
Default value
None
Remarks
Example
The following example shows how to display the information about MLD proxy.
switch#show ip mld-proxying
Global MLD Proxying configuration
-------------------------------
Status : Disable
Last member query interval: 1
Last member query count :2
- 29 -
EPON Multicast Configuration Commands
switch#
- 30 -
EPON Multicast Configuration Commands
epon onu port port_id ctc mcst mc-vlan {add vlanmap| delete
vlanmap|clear}
Syntax
To enable and disable the IGMP snooping function, run epon onu mcst enable; to
resume the default value, run {no epon onu mcst | epon onu mcst disable}.
Parameter
None
Default value
Remarks
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.
- 31 -
EPON Multicast Configuration Commands
Example
The following example shows how to enable the IGMP snooping function:
switch_config#interface e0/1:1
switch_config_e0/1:1#epon onu mcst enable
Syntax
To enable the ONU multicast mode, run epon onu ctc mcst switch
{ dynamic-controllable | igmp-snooping }; to resume the default value, run no epon
onu ctc mcst switch.
Parameter
None
Default value
Remarks
None
Example
The following example shows how to switch the ONU multicast mode over to the
controllable multicast:
switch_config#interface e0/1:1
switch_config_epon0/1:1#epon onu ctc mcst switch dynamic-controllable
Syntax
{no epon onu ctc mcst fast-leave | epon onu ctc mcst fast-leave disable}
- 32 -
EPON Multicast Configuration Commands
To configure the fast-leave attribute, run epon onu ctc mcst fast-leave enable; to
resume the default value, run {no epon onu ctc mcst fast-leave | epon onu ctc mcst
fast-leave disable}.
Parameter
None
Default value
Remarks
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.
Example
Syntax
Parameter
Default value
None
- 33 -
EPON Multicast Configuration Commands
Remarks
None
Example
The following example shows how to configure UNI 1 of ONU to forward the multicast
flow of the multicast 225.1.1.1.
switch_config#ip mcst permission interface E3/1:2 uni 1 range 225.1.1.1 permit
Syntax
{no epon onu port port_id ctc mcsttag-stripe | epon onu port port_id ctc mcst
tag-stripe disable}
To configure the tag-stripe attribute, which is used to remove the VLAN tag of the next
multicast packet that ONU receives, run epon onu port port_id ctc mcst tag-stripe
enable.
Parameter
Default value
Disable
Remarks
None
Example
The following example shows how to enable the Tag-Stripe function on UNI1 of ONU.
switch_config_epon0/1:1#epon onu port 1 ctc mcst tag-stripe enable
- 34 -
EPON Multicast Configuration Commands
Syntax
To configure the max-group-number attribute, which enables the UNI port of ONU to
limit the number of the concurrently forwarded multicast groups, run epon onu port
port_id ctc mcst max-group-number value.
Parameter
Default value
Remarks
None
Example
The following example shows how to configure UNI1 of ONU to allow 64 concurrent
multicast flows simultaneously: 1 最多同时允许 64 条组播流。
switch_config_epon0/1:1#epon onu port 1 ctc mcst max-group-number 64
3.1.7 epon onu port port_id ctc mcst mc-vlan {add vlanmap| delete
vlanmap|clear}
Syntax
epon onu port port_id ctc mcst mc-vlan {add vlanmap| delete vlanmap|clear}
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.
Parameter
- 35 -
EPON Multicast Configuration Commands
Default value
None
Remarks
None
Example
The following example shows how to configure UNI 1 of ONU to forward the multicast
flow of the multicast VLAN2.
switch_config_e0/1:1#epon onu port 1 ctc mcst mc-vlan add 2
- 36 -