huawei(config)#
service-port 6 vlan 1000 gpon 0/1/1 ont 2 gemport 3 multi-
service user-vlan 30 rx-cttr 10 tx-cttr 10
8.
Configure the queue scheduling mode.
Use the 3PQ+5WRR queue scheduling. Queues 0-4 adopt the WRR mode, with the
weights of 10, 10, 20, 20, and 40 respectively; queues 5-7 adopt the PQ mode.
NOTE
Queue scheduling is a global configuration. You need to configure queue scheduling only once on
the OLT, and then the configuration takes effect globally. In the subsequent phases, you do not need
to configure queue scheduling repeatedly when configuring other services.
huawei(config)#
queue-scheduler wrr 10 10 20 20 40 0 0 0
Configure the mapping between queues and 802.1p priorities. Priorities 0-7 map
queues 0-7 respectively.
huawei(config)#
cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6
6 cos7 7
For the service board that supports only four queues, the mapping between 802.1p
priorities and queue IDs is as follows: priorities 0 and 1 map queue 1; priorities 2 and
3 map queue 2; priorities 4 and 5 map queue 3; priorities 6 and 7 map queue 4.
9.
Create a multicast VLAN and set the IGMP version.
Set the IGMP version of the multicast VLAN to IGMP v3.
huawei(config)#
multicast-vlan 1000
huawei(config-mvlan1000)#
igmp version v3
This operation will delete all programs in current multicast vlan
Are you sure to change current IGMP version? (y/n)[n]:
y
10. Select the IGMP mode.
Select the IGMP proxy mode.
huawei(config-mvlan1000)#
igmp mode proxy
Are you sure to change IGMP mode?(y/n)[n]:
y
11. Add an IGMP upstream port.
The IGMP upstream port is port 0/19/0 and works in the default mode, and protocol
packets are transmitted to all the IGMP upstream ports in the multicast VLAN.
huawei(config-mvlan1000)#
igmp uplink-port 0/19/0
huawei(config-mvlan1000)#
btv
huawei(config-btv)#
igmp uplink-port-mode default
Are you sure to change the uplink port mode?(y/n)[n]:
y
12. (Optional) Set the multicast global parameters.
In this example, the default settings are used for all the multicast global parameters.
13. Configure the program library.
Configure the IP address of the multicast program to 224.1.1.10, program name to
program1, IP address of the program source to 10.10.10.10.
huawei(config-btv)#
multicast-vlan 1000
huawei(config-mvlan1000)#
igmp program add name program1 ip 224.1.1.10
sourceip 10.10.10.10
14. Configure the right profile.
Configure the profile name to profile0, with the right of watching program 1.
huawei(config-mvlan1000)#
btv
huawei(config-btv)#
igmp profile add profile-name profile0
huawei(config-btv)#
igmp profile profile-name profile0 program-name
program1 watch
15. Configure the multicast users.
3 Configuration
EchoLife HG8240/HG8245/HG8247 GPON Terminal
Service Manual
3-164
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2011-01-12)