- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
02-GPON multicast commands | 68.53 KB |
GPON multicast commands
mac-address multicast
Use mac-address multicast to configure a static multicast MAC address entry.
Use undo mac-address multicast to delete a static multicast MAC address entry.
Syntax
mac-address multicast mac-address vlan vlan-id
undo mac-address multicast mac-address vlan vlan-id
Default
No static multicast MAC address entries exist.
Views
ONU subinterface view
Predefined user roles
network-admin
Parameters
mac-address: Specifies a static multicast MAC address, in the format of H-H-H. You must specify an unused multicast MAC address. A multicast MAC address is a MAC address in which the least significant bit of the most significant octet is 1.
vlan vlan-id: Specifies an existing VLAN by its VLAN ID in the range of 1 to 4094. The system displays a prompt if the specified interface does not belong to the VLAN.
Examples
# Configure a static multicast MAC address entry on an ONU subinterface. In the entry, the multicast MAC address is 0100-5E00-0003 and the outgoing port belongs to VLAN 2.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1.1
[Sysname-Onu1/0/1:1] mac-address multicast 0100-5e00-0003 vlan 2
Related commands
display mac-address multicast (IP Multicast Command Reference)
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 configuration profile 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 in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-1] onu multicast fast-leave enable
Related commands
multicast mode
uni igmp-snooping fast-leave
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
undo onu protocol transparent-multicast dest-mac mac-address
Default
Unknown multicast packet transparent transmission is disabled for all UNIs on an ONU. The ONU might drop unknown multicast packets.
Views
ONU configuration profile view
Predefined user roles
network-admin
Parameters
dest-mac mac-address: Specifies a multicast MAC address. You can configure the multicast MAC address only as 0100-ffff-ffff.
Examples
# Enable transparent transmission of multicast packets with destination multicast MAC address 0100-ffff-ffff for all UNIs in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-1] onu protocol transparent-multicast dest-mac 0100-ffff-ffff
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 configuration profile view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 32.
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 in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-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
undo uni uni-number multicast vlan vlan-id
Default
A UNI is not assigned to any multicast VLANs.
Views
ONU configuration profile view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 32.
vlan-id: Specifies a multicast VLAN ID in the range of 1 to 4094.
Usage guidelines
This command is available only on an ONU in IGMP snooping mode.
Examples
# Assign UNI 1 to multicast VLANs 2000 in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-1] uni 1 multicast vlan 2000
Related commands
multicast mode
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 configuration profile view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 32.
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 in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-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 configuration profile view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number in the range of 1 to 32.
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 to remove the VLAN tags of downlink multicast flows in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-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 configuration profile 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 32 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 in ONU configuration profile 1.
<Sysname> system-view
[Sysname] onu config-profile 1
[Sysname-onu-cfgprofile-1] uni 1 multicast-translate-tag 2 to 200
Related commands
uni multicast-strip-tag enable