- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
02-EPON multicast commands | 117.86 KB |
display onu protocol transparent-multicast
multicast call-detail-record cache-limit
multicast call-detail-record enable
multicast call-detail-record record-delay
multicast call-detail-record report-interval
multicast call-detail-record send
multicast-control host-aging-time
onu multicast fast-leave enable
onu protocol igmp-snooping suppression
onu protocol igmp-snooping timer
onu protocol transparent-multicast
uni multicast-control multicast-address
uni multicast-strip-tag enable
EPON multicast commands
display epon multicast
Use display epon multicast to display multicast information for an ONU interface in multicast control mode.
Syntax
display epon multicast
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
network-operator
Usage guidelines
You can view multicast information for an ONU or RONU interface only when the interface is up and the ONU bound to the interface is in multicast control mode.
Examples
# Display multicast information for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] display epon multicast
Multicast control information:
UNI number 1:
Multicast vlan 10
Current channel list:
Multicast IP: 225.0.0.2
Status: Permit
Multicast vlan 10
Current channel list:
Multicast IP: 225.0.0.3
Status: Preview
Preview times: 16
Preview remaining time: 144s
Table 1 Command output
Field |
Description |
Multicast-control information: None. |
No multicast control entries are generated. The causes are as follows: · Multicast control is not configured. · Multicast clients do not send multicast membership reports. |
Status |
Multicast control policy: · Permit—Users are permitted to access the channel. · Preview—Users can only preview the channel. |
Related commands
multicast mode
display onu protocol transparent-multicast
Use display onu protocol transparent-multicast to display unknown multicast packet transparent transmission configuration.
Syntax
display onu protocol transparent-multicast
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Examples
# Display unknown multicast packet transparent transmission configuration.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] display onu protocol transparent-multicast
Multicast Mac Address VLAN ID
0100-5e00-0001 1000
Table 2 Command output
Field |
Description |
Multicast Mac Address |
Multicast MAC address enabled with unknown multicast packet transparent transmission. |
VLAN ID |
VLAN ID corresponding to the multicast MAC address. |
Related commands
onu protocol transparent-multicast
multicast call-detail-record cache-limit
Use multicast call-detail-record cache-limit to set the upper limit for the Call Detail Record (CDR) buffer.
Use undo multicast call-detail-record cache-limit to restore the default.
Syntax
multicast call-detail-record cache-limit number
undo multicast call-detail-record cache-limit
Default
The CDR buffer can save a maximum of 32 records.
Views
FTTH view
Predefined user roles
network-admin
Parameters
number: Specifies an upper limit in the range of 16 to 1024.
Usage guidelines
If the CDR buffer upper limit is reached, the OLT automatically sends the CDR records to the information center module and clears the CDR buffer.
Examples
# Set the upper limit of the CDR buffer to 16.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record cache-limit 16
multicast call-detail-record enable
Use multicast call-detail-record enable to enable CDR.
Use undo multicast call-detail-record enable to disable CDR.
Syntax
multicast call-detail-record enable
undo multicast call-detail-record enable
Default
CDR is disabled.
Views
FTTH view
Predefined user roles
network-admin
Usage guidelines
CDR takes effect only on ONUs in multicast control mode.
Examples
# Enable CDR.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record enable
Related commands
multicast mode
multicast call-detail-record record-delay
Use multicast call-detail-record record-delay to set the CDR generation delay.
Use undo multicast call-detail-record record-delay to restore the default.
Syntax
multicast call-detail-record record-delay delay-time
undo multicast call-detail-record record-delay
Default
The CDR generation delay is 30 seconds.
Views
FTTH view
Predefined user roles
network-admin
Parameters
delay-time: Specifies a delay time in the range of 10 to 600 seconds.
Usage guidelines
After CDR is enabled, the OLT periodically checks the online duration of users. If the online duration of a user is longer than the CDR generation delay, the OLT generates a CDR record and saves it to the CDR buffer.
Examples
# Set the CDR generation delay to 20 seconds.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record record-delay 20
multicast call-detail-record report-interval
Use multicast call-detail-record report-interval to set the CDR sending interval.
Use undo multicast call-detail-record report-interval to restore the default.
Syntax
multicast call-detail-record report-interval interval
undo multicast call-detail-record report-interval
Default
The CDR sending interval is 30 seconds.
Views
FTTH view
Predefined user roles
network-admin
Parameters
interval: Specifies an interval in the range of 30 to 600 seconds.
Usage guidelines
The OLT sends CDR records to the information center module and clears the CDR buffer at the CDR sending interval.
Examples
# Set the CDR sending interval to 40 seconds.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record report-interval 40
multicast call-detail-record send
Use multicast call-detail-record send to manually send CDR records.
Syntax
multicast call-detail-record send
Views
FTTH view
Predefined user roles
network-admin
network-operator
Usage guidelines
This command allows you to manually send CDR records to the information center module and clears the CDR buffer. You can set CDR record output rules, including output destinations. For more information about using the information center, see Network Management and Monitoring Configuration Guide.
Examples
# Manually send CDR records.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record send
multicast mode
Use multicast mode to set the multicast mode of an ONU.
Use undo multicast mode to restore the default.
Syntax
multicast mode { igmp-snooping | multicast-control }
undo multicast mode
Default
The multicast mode of an ONU is IGMP snooping.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
igmp-snooping: Specifies the IGMP snooping mode.
multicast-control: Specifies the multicast control mode.
Examples
# Set the multicast mode to multicast control for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] multicast mode multicast-control
multicast vlan-id ip
Use multicast vlan-id ip to map multicast IP addresses to a multicast VLAN.
Use undo multicast vlan-id ip to restore the default.
Syntax
multicast vlan-id vlan-id ip ip-address-list
undo multicast vlan-id vlan-id
Default
No multicast IP addresses are mapped to a multicast VLAN.
Views
FTTH view
Predefined user roles
network-admin
Parameters
vlan-id: Specifies a multicast VLAN ID in the range of 1 to 4094.
ip-address-list: Specifies a space-separated list of up to 10 multicast IP address items. Each item specifies a multicast IP address or a range of multicast IP addresses in the format of ip-address1 to ip-address2.
Usage guidelines
When receiving an IGMP report message, the OLT verifies whether the multicast IP address in the message belongs to a multicast VLAN.
· If the address belongs to a multicast VLAN, the OLT generates a multicast forwarding entry for the multicast VLAN.
· If the address does not belong to a multicast VLAN, the OLT drops the message.
A multicast IP address can be mapped to only one multicast VLAN.
Examples
# Map the multicast IP address 225.1.2.1 to multicast VLAN 1002.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast vlan-id 1002 ip 225.1.2.1
multicast-control host-aging-time
Use multicast-control host-aging-time to set the multicast group member port aging timer for an ONU.
Use undo multicast-control host-aging-time to restore the default.
Syntax
multicast-control host-aging-time host-aging-time
undo multicast-control host-aging-time
Default
The multicast group member port aging timer is 260 seconds for an ONU.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
host-aging-time: Set the aging timer in the range of 200 to 1000 seconds.
Usage guidelines
This command is available only on an ONU in multicast control mode.
Examples
# Set the multicast mode to multicast control for the ONU bound to ONU 1/0/1:1. Set the multicast group member port aging timer to 500 seconds for the ONU.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] multicast mode multicast-control
[Sysname-Onu1/0/1:1] multicast-control host-aging-time 500
Related commands
multicast mode
onu multicast fast-leave enable
Use onu multicast fast-leave enable to enable fast-leave processing for all UNIs on an ONU.
Use undo onu multicast fast-leave enable to disable fast-leave processing for all UNIs on an ONU.
Syntax
onu multicast fast-leave enable
undo onu multicast fast-leave enable
Default
Fast-leave processing is disabled for all UNIs on an ONU.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Usage guidelines
Before you use this command on an ONU, set the multicast mode of the ONU to IGMP snooping.
You cannot use this command together with the uni igmp-snooping fast-leave command.
Examples
# Enable fast-leave processing for all UNIs on the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] onu multicast fast-leave enable
Related commands
multicast mode
uni igmp-snooping fast-leave
onu protocol igmp-snooping suppression
Use onu protocol igmp-snooping suppression to enable IGMP membership report suppression or IGMP leave suppression on an ONU.
Use undo onu protocol igmp-snooping suppression to disable IGMP membership report suppression or IGMP leave suppression on an ONU.
|
NOTE: This command is supported by ET704 ONUs. |
Syntax
onu protocol igmp-snooping suppression { leave | report }
undo onu protocol igmp-snooping suppression { leave | report }
Default
IGMP leave suppression is enabled, and IGMP membership report suppression is disabled on an ONU.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Examples
# Enable IGMP leave suppression on the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] onu protocol igmp-snooping suppression leave
onu protocol igmp-snooping timer
Use onu protocol igmp-snooping timer to set IGMP snooping timers for an ONU.
Use undo onu protocol igmp-snooping timer to restore the default.
|
NOTE: This command is supported by ET704 ONUs. |
Syntax
onu protocol igmp-snooping timer { host-aging-time host-aging-time | max-response-time max-response-time | router-aging-time router-aging-time }
undo onu protocol igmp-snooping timer { host-aging-time | max-response-time | router-aging-time }
Default
On an ONU:
· The multicast group member port aging timer is 260 seconds.
· The query response timer is 1 second.
· The router port aging timer is 105 seconds.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
host-aging-time host-aging-time: Sets the multicast group member port aging timer in the range of 200 to 1000 seconds.
max-response-time max-response-time: Sets the query response timer in the range of 1 to 25 seconds.
router-aging-time router-aging-time: Sets the router interface aging timer in the range of 1 to 1000 seconds.
Usage guidelines
The multicast group member port aging timer determines how often multicast group members are refreshed. If the ONU does not receive an IGMP report from a multicast group member port when this timer expires, the ONU deletes the port. In a network where multicast group members change frequently, set this timer to a small value.
The query response timer sets the response timeout time for group-specific queries. If the ONU does not receive a response before the query response timer expires for the first time, it re-sends group-specific queries and re-starts the query response timer. If the ONU still does not receive a response when the timer expires, the multicast group on the ONU is deleted.
The router interface is the interface that connects the ONU to the router. The ONU receives IGMP general query messages from the router through this interface. If no IGMP general query message is received through the router interface when the router interface aging timer expires, the ONU determines that the interface is not a router interface. The router interface aging timer must be a value about 2.5 times of the general query interval. For more information about the general query interval, see IGMP in IP Multicast Configuration Guide.
Examples
# Set the multicast group member port aging timer to 200 seconds for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] onu protocol igmp-snooping timer host-aging-time 200
onu protocol transparent-multicast
Use onu protocol transparent-multicast to enable unknown multicast packet transparent transmission for all UNIs on an ONU.
Use undo onu protocol transparent-multicast to disable unknown multicast packet transparent transmission for all UNIs on an ONU.
Syntax
onu protocol transparent-multicast dest-mac mac-address [ vlan vlan-id ]
undo onu protocol transparent-multicast dest-mac mac-address [ vlan vlan-id ]
Default
Unknown multicast packet transparent transmission is disabled for all UNIs on an ONU. The ONU might drop unknown multicast packets.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
dest-mac mac-address: Specifies a multicast MAC address. Supported multicast MAC addresses vary by device model.
vlan vlan-id: Specifies a VLAN ID of multicast packets, in the range of 1 to 4094. If you do not specify this option, VLAN 1 is used.
Usage guidelines
If you execute the undo onu protocol transparent-multicast command without specifying the vlan keyword, this command disables transparent transmission of unknown multicast packets with the specified destination multicast MAC addresses and VLAN ID 1.
This command and the uni transparent-multicast command are mutually exclusive.
You can configure this command for up to eight times on an ONU interface or RONU interface. The union of these configurations takes effect.
Examples
# Enable transparent transmission of multicast packets with destination multicast MAC address 0100-5e00-0033 and VLAN ID 10 for all UNIs on ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] onu protocol transparent-multicast dest-mac 0100-5e00-0033 vlan 10
Related commands
uni transparent-multicast
uni igmp-snooping fast-leave
Use uni igmp-snooping fast-leave to enable fast-leave processing for a UNI.
Use undo uni igmp-snooping fast-leave to disable fast-leave processing for a UNI.
Syntax
uni uni-number igmp-snooping fast-leave
undo uni uni-number igmp-snooping fast-leave
Default
Fast-leave processing is disabled for a UNI.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 79.
Usage guidelines
Before you use this command on an ONU, set the multicast mode of the ONU to IGMP snooping.
You cannot use this command together with the onu multicast fast-leave enable command.
Examples
# Enable fast-leave processing for UNI 1 of the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 igmp-snooping fast-leave
Related commands
multicast mode
onu multicast fast-leave enable
uni multicast vlan
Use uni multicast vlan to assign a UNI to multicast VLANs on an ONU.
Use undo uni multicast vlan to remove a UNI from the specified or all multicast VLANs on an ONU.
Syntax
uni uni-number multicast vlan vlan-id-list
undo uni uni-number multicast vlan { vlan-id-list | all }
Default
A UNI is not assigned to any multicast VLANs.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 79.
vlan-id-list: Specifies a space-separated list of up to 50 multicast VLAN IDs in the range of 1 to 4094.
all: Specifies all multicast VLAN IDs.
Usage guidelines
On an ONU, UNIs can be assigned to a maximum of 15 multicast VLANs.
This command is available only on an ONU in IGMP snooping mode.
Examples
# Assign UNI 1 of the ONU bound to ONU 1/0/1:1 to multicast VLANs 2000 and 3000.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 multicast vlan 2000 3000
Related commands
multicast mode
uni multicast-control multicast-address
Use uni multicast-control multicast-address to configure the access to multicast channels on a UNI.
Use undo uni multicast-control multicast-address to restore the default.
Syntax
uni uni-number multicast-control multicast-address multicast-address-list [ source-ip ip-address [ to ip-address ] ] rule { deny | permit [ channel-limit channel-number ] | preview time-slice preview-time [ preview-interval interval-time | preview-times preview-times [ reset-interval reset-interval-time ] ]* }
undo uni uni-number multicast-control multicast-address [ multicast-address-list ]
Default
The access to multicast channels is not configured on a UNI.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 79.
multicast-address-list: Specifies a space-separated list of up to 10 multicast IP address items. Each item specifies a multicast IP address or a range of multicast IP address in the format of multicast-address1 to multicast-address2.
source-ip ip-address [ to ip-address ]: Specifies the IP address range of the multicast sources that issue multicast channels. The ip-address argument indicates the IP address of a multicast source.
deny: Denies user access to the specified multicast channels.
permit: Permits user access to the specified multicast channels.
channel-limit channel-number: Specifies the number of channels that can be accessed at the same time when the permit keyword is specified. The value range for this argument is 1 to 5. If this option is not specified, up to 5 channels can be accessed at the same time.
preview time-slice preview-time: Specifies the preview period during which the users can preview the multicast channels in the range of 1 to 3 minutes.
preview time-slice interval-time: Specifies the preview interval in the range of 1 to 10 minutes.
preview time-slice preview-times: Specifies the times of previews, in the range of 1 to 3.
reset-interval reset-interval-time: Specifies the preview reset interval in the range of 1 to 43200 minutes. If the preset number of previews is reached, you must wait for a preview reset interval before the next preview.
Usage guidelines
This command is available only on an ONU in multicast control mode.
If you specify the source-ip keyword, the OLT processes received IGMPv3 packets as follows:
· For IS_IN, TO_IN, or ALLOW IGMPv3 packets:
¡ If their multicast IP address and source IP address are in the address range that has multicast rights, the OLT creates multicast entries.
¡ If this requirement is not met, the OLT drops the packets.
· If the packet type is IS_EX or TO_EX, the OLT drops the packets.
· If the packet type is BLOCK, the OLT directly deletes the corresponding multicast entries without checking the packet rights.
For more information about IS_IN, TO_IN, ALLOW, IS_EX, TO_EX, and BLOCK IGMPv3 packets, see IP Multicast Configuration Guide.
If you assign preview right to multiple multicast channels to users on a UNI, only one of the multicast channels can be previewed at a given time.
Examples
# Permit users on UNI 1 of the ONU bound to ONU 1/0/1:1 to access the multicast channel 224.1.1.2.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 multicast-control multicast-address 224.1.1.2 rule permit
Related commands
multicast mode
multicast vlan-id ip
uni multicast-group-number
Use uni multicast-group-number to configure the number of multicast channels that users can access at the same time on a UNI.
Use undo multicast-group-number to restore the default.
Syntax
uni uni-number multicast-group-number number
undo uni uni-number multicast-group-number
Default
The users on a UNI can access 64 multicast channels at the same time.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 79.
number: Specifies the number of multicast channels, in the range of 0 to 255.
Examples
# Configure the number of multicast channels as 30 on UNI 1 of the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 multicast-group-number 30
uni multicast-strip-tag enable
Use uni multicast-strip-tag enable to configure a UNI to remove the VLAN tags of downlink multicast flows.
Use undo uni multicast-strip-tag enable to restore the default.
Syntax
uni uni-number multicast-strip-tag enable
undo uni uni-number multicast-strip-tag enable
Default
A UNI does not remove the VLAN tags of downlink multicast flows.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 79.
Usage guidelines
This command and the uni multicast-translate-tag command are mutually exclusive.
When transparent transmission is enabled for unknown multicast packets with the destination MAC address 0100-ffff-ffff on a UNI, the UNI does not support this command.
Examples
# Configure UNI 1 of the ONU bound to ONU 1/0/1:1 to remove the VLAN tags of downlink multicast flows.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 multicast-strip-tag enable
Related commands
onu protocol transparent-multicast
uni multicast-translate-tag
uni transparent-multicast
uni multicast-translate-tag
Use uni multicast-translate-tag to configure a UNI to translate the VLAN IDs for downlink multicast flows.
Use undo uni multicast-translate-tag to disable a UNI from translating the VLAN IDs for downlink multicast flows.
Syntax
uni uni-number multicast-translate-tag original-vlan-id to translated-vlan-id
undo uni uni-number multicast-translate-tag original-vlan-id to translated-vlan-id
Default
A UNI does not translate the VLAN IDs for downlink multicast flows.
Views
ONU interface view
RONU Interface view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. An ONU supports a maximum of 79 UNIs.
original-vlan-id to translated-vlan-id: Specifies the VLAN IDs before and after translation. The original-vlan-id argument specifies the VLAN ID before translation and the translated-vlan-id argument specifies the VLAN ID after translation, both of which are in the range of 1 to 4094.
Usage guidelines
In some scenarios, a home user uses an independent home gateway to connect to a UNI on an ONU for the IPTV service. The home gateway needs multicast flows carrying multicast VLAN tags. For cross-VLAN multicast forwarding, the ONU needs to translate the VLAN IDs of downlink multicast flows to the IPTV VLAN of the user.
This command and the uni multicast-strip-tag enable are mutually exclusive.
Up to eight different uni multicast-translate-tag commands can be configured on a UNI.
Examples
# Configure UNI 1 to translate VLAN ID 2 into VLAN ID 200 for downlink multicast flows.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 multicast-translate-tag 2 to 200
Related commands
uni multicast-strip-tag enable
uni transparent-multicast
Use uni transparent-multicast to enable unknown multicast packet transparent transmission for a UNI.
Use undo uni transparent-multicast to disable unknown multicast packet transparent transmission for a UNI.
Syntax
uni uni-number transparent-multicast dest-mac mac-address [ vlan vlan-id ]
undo uni uni-number uni transparent-multicast dest-mac mac-address [ vlan vlan-id ]
Default
Unknown multicast packet transparent transmission is disabled for a UNI on an ONU. The ONU might drop unknown multicast packets.
Views
ONU interface view
RONU interface view
Predefined user roles
network-admin
Parameters
uni uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. An ONU supports a maximum of 79 UNIs.
dest-mac mac-address: Specifies a multicast MAC address. Supported multicast MAC addresses vary by device model.
vlan vlan-id: Specifies a VLAN ID of multicast packets, in the range of 1 to 4094. If you do not specify this option, VLAN 1 is used.
Usage guidelines
If you execute the undo uni transparent-multicast command without specifying the vlan keyword, this command disables transparent transmission of unknown multicast packets with the specified destination multicast MAC addresses and VLAN ID 1.
This command and the onu protocol transparent-multicast command are mutually exclusive.
You can configure this command for up to eight times on a UNI. The union of these configurations takes effect.
Examples
# Enable transparent transmission of multicast packets with destination MAC address 0100-5e00-0033 and VLAN ID 10 on UNI 1 of ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 transparent-multicast dest-mac 0100-5e00-0033 vlan 10
Related commands
onu protocol transparent-multicast