Support

How to Configure FTTH Service by P2P Access?

Users can connect to the Huawei OLT (MA5608T, MA5683T, MA5800 X15…) through a Huawei ONT (HG8546M, HG8310M…), and use a same service port to implement Internet, VoIP, and IPTV service. Here, we take Huawei ONT HG8546M, Huawei MA5800 X15 for examples, to show you how to configure FTTH service by P2P access in details.

Service Requirements

ONT_1 and ONT_2 are provided with the triple play service through FTTH.

The Internet access service is provided in the PPPoE access mode.

The IPTV user connected to ONT_1 can watch all the programs, and the IPTV user connected to ONT_2 can watch only program BTV-1.

The VoIP service and the IPTV service are provided in the DHCP mode and obtain IP addresses from the DHCP server in the DHCP option-60 mode.

After receiving different traffic streams, the OLT provides different QoS guarantees to the traffic streams according to the priorities of the traffic streams.

Traffic streams are differentiated on the OLT by the user-side VLAN (C-VLAN).

Optical fiber access service pic.jpg

Figure 1 Example network of the optical fiber access service in the single-port for multiple services mode

Table 1 Data plan for configuring the VLANs

Configuration Item Data Item Data
SVLAN HSI service SVLAN: 100
CVLAN: 2
IPTV service SVLAN: 1000
CVLAN: 4
VoIP service SVLAN: 200
CVLAN: 3
IPTV service data Multicast protocol IGMP proxy
Multicast version IGMP V3
Configuration mode of the multicast program Static configuration mode
IP address of the multicast server 10.10.10.10
Multicast DHCP server group 20.2.2.2
20.2.2.3
Multicast program BTV-1: 224.1.1.10
BTV-2: 224.1.1.20
QoS (priority) HSI service Priority: 1; queue scheduling: WRR
IPTV service Priority: 4; queue scheduling: WRR
VoIP service Priority: 5; queue scheduling: PQ
VoIP service data VoIP DHCP server group 20.1.1.2
20.1.1.3

Prerequisite

The Huawei MA5800 X15 is connected to the upper-layer devices such as the BRAS, multicast server, SoftX3000, and DHCP server.

The VLAN of the LAN switch port connected to Huawei MA5800 X15 is the same as the upstream VLAN of Huawei MA5800 X15.

The Huawei MA5800 X15 uses the OPFA board or the OPGD board to connect to the Huawei HG8546M.

Huawei OPGD pic.jpg

Procedure

Configure the Internet access service on the Huawei MA5800 X15.

1. Create a VLAN and add an upstream port to the VLAN.

The VLAN ID is 100, and the VLAN is a smart VLAN. The upstream port is 0/19/0.

huawei(config)#vlan 100 smart
   huawei(config)#port vlan 100 0/19 0

2. Configure a traffic profile.

Because the VoIP, IPTV, and Internet access services are provided through the same port, you must set the 802.1p priority of each service. Generally, the priorities are in a descending order for the VoIP service, IPTV service, and Internet access service. In this example, set the traffic profile index to 7 and the priority of the Internet access service to 1.

huawei(config)#traffic table ip index 7 cir 10240 priority 1 priority-policy
local-Setting

3.Configure a service port.

Add a service port to the VLAN and use traffic profile 7. The user-side VLAN ID is 2.

huawei(config)#service-port vlan 100 eth 0/5/2 multi-service user-vlan 2
rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 100 eth 0/5/3 multi-service user-vlan 2 rx-cttr
7 tx-cttr 7

4. Configure queue scheduling.

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 Huawei MA5800 X15, and then the configuration takes effect globally. In the subsequent phases, you do not have to configure queue scheduling repeatedly when configuring other services.

huawei(config)#queue-scheduler wrr 10 10 20 20 40 0 0 0

5. 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

NOTE:

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.

6.Save the data.

 huawei(config)#save

Configure the VoIP service on Huawei MA5800 X15.

1. Create a VLAN and add an upstream port to the VLAN.

The VLAN ID is 200, and the VLAN is a smart VLAN. The upstream port is0/19/0.

huawei(config)#vlan 200 smart
   huawei(config)#port vlan 200 0/19 0

2. Configure a traffic profile.

The traffic profile index is 8, and the 802.1p priority of the VoIP service is 6.

huawei(config)#traffic table ip index 8 cir 10240 priority 6 priority-policy
local-Setting

3. Configure a service port.

Add a service port to the VLAN and use traffic profile 8. The user-side VLAN ID is 3.

huawei(config)#service-port vlan 200 eth 0/5/2 multi-service user-vlan 3
rx-cttr 8 tx-cttr 8
huawei(config)#service-port vlan 200 eth 0/5/3 multi-service user-vlan 3
rx-cttr 8 tx-cttr 8

4. Configure the DHCP relay.

The VoIP service and the IPTV service are provided in the DHCP mode. The DHCP option 60 domain is used to differentiate service types.

The DHCP domain of the VoIP service is voice.

The IP addresses of VoIP DHCP server group 1 are 20.1.1.2 and 20.1.1.3.

The IP address of the Layer 3 interface of VLAN 200 is 10.1.1.1/24.

The gateway IP address of the DHCP domain is 10.1.1.1/24.

huawei(config)#dhcp mode layer-3 option-60
     huawei(config)#dhcp-server 1 ip 20.1.1.2 20.1.1.3
     huawei(config)#dhcp domain voice
     huawei(config-dhcp-domain-voice)#dhcp-server 1
     huawei(config-dhcp-domain-voice)#quit
     huawei(config)#interface vlanif 200
     huawei(config-if-vlanif200)#ip address 10.1.1.1 24
     huawei(config-if-vlanif200)#dhcp domain voice gateway 10.1.1.1
   huawei(config-if-vlanif200)#quit

NOTE:

The DHCP option 60 domain of the Ethernet phone (Ephone) varies with the terminal type. In the actual configuration, see the operation instructions of the Ephone.

5. Save the data.

huawei(config)#save

Configure the IPTV service on Huawei MA5800 X15.

IPTV service pic.jpg

1. Create a VLAN and add an upstream port to the VLAN.

The VLAN ID is 1000, and the VLAN is a smart VLAN. The upstream port is 0/19/0.

huawei(config)#vlan 1000 smart
   huawei(config)#port vlan 1000 0/19 0

3. Configure a traffic profile.

The traffic profile index is 9, and the 802.1p priority of the IPTV service is 5.

huawei(config)#traffic table ip index 9 cir off priority 5 priority-policy
local-Setting

4. Configure a service port.

Add a service port to the VLAN and use traffic profile 9. The user-side VLAN ID is 4.

huawei(config)#service-port 200 vlan 1000 eth 0/5/2 multi-service user-vlan 4
rx-cttr 9 tx-cttr 9
huawei(config)#service-port 300 vlan 1000 eth 0/5/3 multi-service user-vlan 4
rx-cttr 9 tx-cttr 9

5. Configure the DHCP relay.

The VoIP service and the IPTV service are provided in the DHCP mode. The DHCP option 60 domain is used to differentiate service types.

The DHCP domain of the IPTV service is video.

The IP addresses of IPTV DHCP server group 2 are 20.2.2.2 and 20.2.2.3.

The IP address of the Layer 3 interface of VLAN 1000 is 10.2.2.1/24.

The gateway IP address of the DHCP domain is 10.2.2.1/24.

huawei(config)#dhcp mode layer-3 option-60
     huawei(config)#dhcp-server 2 ip 20.2.2.2 20.2.2.3
     huawei(config)#dhcp domain video
     huawei(config-dhcp-domain-video)#dhcp-server 2
     huawei(config-dhcp-domain-voice)#quit
     huawei(config)#interface vlanif 1000
     huawei(config-if-vlanif1000)#ip address 10.2.2.1 24
     huawei(config-if-vlanif1000)#dhcp domain video gateway 10.2.2.1
   huawei(config-if-vlanif1000)#quit

NOTE:

The DHCP option 60 domain of the set-top box (STB) varies with the terminal type. In the actual configuration, see the operation instructions of the STB.

6. Create a multicast VLAN and select the IGMP mode.

Select the IGMP proxy mode.

huawei(config)#multicast-vlan 1000
     huawei(config-mvlan1000)#igmp mode proxy
Are you sure to change IGMP mode?(y/n)[n]:y

7. Set the IGMP version.

Set the IGMP version of the multicast VLAN to IGMP v3.

huawei(config-mvlan1000)#igmp version v3

8. 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

9. (Optional) Set the multicast global parameters.

Configure the program names to BTV-1 and BTV-2, multicast IP addresses of the programs to 224.1.1.10 and 224.1.1.20, and source IP address of the programs to 10.10.10.10.

huawei(config-btv)#multicast-vlan 1000
huawei(config-mvlan1000)#igmp program add name BTV-1 ip 224.1.1.10 sourceip
10.10.10.10
huawei(config-mvlan1000)#igmp program add name BTV-2 ip 224.1.1.20 sourceip
10.10.10.10

10. Configure the right profile.

Configure the profile name to profile0, with the right of watching program BTV-1.

huawei(config-mvlan1000)#btv
     huawei(config-btv)#igmp profile add profile-name profile0
   huawei(config-btv)#igmp profile profile-name profile0 program-name BTV-1 watch

11. Configure the multicast users.

Add service ports 200 and 300 as multicast users.

huawei(config-btv)#igmp user add service-port 200 no-auth
     huawei(config-btv)#igmp user add service-port 300 auth
     huawei(config-btv)#igmp user bind-profile service-port 300 profile-name profile0
     huawei(config-btv)#multicast-vlan 1000
     huawei(config-mvlan1000)#igmp multicast-vlan member service-port 200
     huawei(config-mvlan1000)#igmp multicast-vlan member service-port 300
   huawei(config-mvlan1000)#quit

12.Save the data.

huawei(config)#save

Result

After the related upstream device and downstream device are configured, the triple play services (Internet, VoIP, and IPTV services) are available.

The Internet user can access the Internet in the PPPoE mode.

The VoIP user can make and receive phone calls.

The IPTV user connected to port 0/5/2 can watch all the programs, and the IPTV user connected to port 0/5/3 can watch only program BTV-1.

Configuration File

Internet service:

vlan 100 smart
     port vlan 100 0/19 0
     traffic table ip index 7 cir 10240 priority 1 priority-policy local-Setting
     service-port vlan 100 eth 0/5/2 multi-service user-vlan 2 rx-cttr 7 tx-cttr 7
     service-port vlan 100 eth 0/5/3 multi-service user-vlan 2 rx-cttr 7 tx-cttr 7
     queue-scheduler wrr 10 10 20 20 40 0 0 0
     cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
   save

VoIP service:

vlan 200 smart
     port vlan 200 0/19 0
     traffic table ip index 8 cir 10240 priority 6 priority-policy local-Setting
     service-port vlan 200 eth 0/5/2 multi-service user-vlan 3 rx-cttr 8 tx-cttr 8
     service-port vlan 200 eth 0/5/3 multi-service user-vlan 3 rx-cttr 8 tx-cttr 8
     dhcp mode layer-3 option-60
     dhcp-server 1 ip 20.1.1.2 20.1.1.3
     dhcp domain voice
     dhcp-server 1
     quit
     interface vlanif 200
     ip address 10.1.1.1 24
     dhcp domain voice gateway 10.1.1.1
     quit
   save

IPTV service:

vlan 1000 smart
     port vlan 1000 0/19 0
     traffic table ip index 9 cir off priority 5 priority-policy local-Setting
     service-port 200 vlan 1000 eth 0/5/2 multi-service user-vlan 4 rx-cttr 9 tx-cttr 9
     service-port 300 vlan 1000 eth 0/5/3 multi-service user-vlan 4 rx-cttr 9 tx-cttr 9
     dhcp mode layer-3 option-60
     dhcp-server 2 ip 20.2.2.2 20.2.2.3
     dhcp domain video
     dhcp-server 2
     quit
     interface vlanif 1000
     ip address 10.2.2.1 24
     dhcp domain video gateway 10.2.2.1
     quit
     multicast-vlan 1000
     igmp mode proxy
     y
     igmp uplink-port 
     igmp program add name BTV-1 ip 224.1.1.10 sourceip 10.10.10.10
     igmp program add name BTV-2 ip 224.1.1.20 sourceip 10.10.10.10
     btv
     igmp uplink-port-mode default
     y
     igmp profile add profile-name profile0
     igmp profile profile-name profile0 program-name BTV-1 watch
     igmp user add service-port 200 no-auth
     igmp user add service-port 300 auth
     igmp user bind-profile service-port 300 profile-name profile0
     multicast-vlan 1000
     igmp multicast-vlan member service-port 200
     igmp multicast-vlan member service-port 300
     quit
   save

For different Internet access services, after configuring the relevant uplink and downlink devices and completing the above steps, the three types of services: Internet, VoIP, and IPTV services can be used successfully. Hope this article can help you a lot, welcome to contact supports@thunder-link.com for more details.

Related Posts