
********************Multi service Connection Configuration***********************
- Configure the Internet access service.
- 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 is0/19/0.
huawei(config)#vlan 100 smart huawei(config)#port vlan 100 0/19 0
- 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
- 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
- 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 OLT, and then the configuration takes effect globally. In the subsequent phases, you need not 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
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. - Save the data.
huawei(config)#save
- 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 is0/19/0.
- Configure the VoIP service.
- 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
- 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
- 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
- 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 L3 interface of VLAN 200 is 10.1.1.1/24.
huawei(config)#dhcp mode layer-3 option60 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. - Save the data.
huawei(config)#save
- 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.
- Configure the IPTV service.
- 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 is0/19/0.
huawei(config)#vlan 1000 smart huawei(config)#port vlan 1000 0/19 0
- 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
- 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
- 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 L3 interface of VLAN 1000 is 10.2.2.1/24.
huawei(config)#dhcp mode layer-3 option60 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
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. - Configure the multicast data.
- The multicast VLAN ID is 1000.
- The IGMP mode is proxy.
- The multicast upstream port is 0/19/0.
- The multicast address of program BTV-1 is 224.1.1.10, and the program source IP address is 10.10.10.10.
- The multicast address of program BTV-2 is 224.1.1.20, and the program source IP address is 10.10.10.10.
- Right profile 0 allows users to watch program BTV-1 in the program library.
- The user on port 0/5/3 is bound to right profile 0.
huawei(config-if-vlanif1000)#quit huawei(config)#multicast-vlan 1000 huawei(config-mvlan1000)#igmp mode proxy Are you sure to change IGMP mode?(y/n)[n]:y huawei(config-mvlan1000)#igmp uplink-port 0/19/0 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 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 huawei(config-btv)#igmp profile add profile-name profile0 huawei(config-btv)#igmp profile profile-name profile0 program-name BTV-1 watch huawei(config-btv)#igmp policy service-port 200 normal huawei(config-btv)#igmp policy service-port 300 normal huawei(config-btv)#igmp user add service-port 200 no-auth max-program 8 huawei(config-btv)#igmp user add service-port 300 auth huawei(config-btv)#igmp user bind-profile port service-port 200 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
6. Save the data.
huawei(config)#save
***********************END************************
- 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 is0/19/0.
Be the first to comment