该机房涉及可承载 10万+ 用户的在线观看LiveTV和视频点播界面;
1.在设计过程中中心机房这块主要是对每个服务器的性能要求,承载和并发量的一个评估,来选择服务器的配置;
2.服务器安装这块都很简单,主要是安装Centos系统,64位
涉及的服务器有:VOD CDN节点,LiveTV CDN,认证服务器,EPG服务器,存储服务器;
3.测试阶段 遇到 在 ONU这块一直播放不出组播界面,点播和INTERNET都正常;
分段分析:
1.在OLT上行口测试组播源是否下来
2. 在上一级交换机处测试是否能播放组播节目,发现在交换机处无法接收到组播节目;于是检查交换机配置,发现缺少igmp相关配置信息
3. 在交换机配置好相关igmp配置之后,在ONU处可以播放成功
2、该环境所需交换机,OLT,ONU+IPTV,承载IPTV源,承载OTT后台等相关设备
SWITCH A、B、C 是cisco 4948 交换机,主要配置如下:
SWITCH A 配置:(中心机房)
//全局开启组播路由功能
ip multicast-routing
ip multicast auto-enable
!
//组播vlan开启三层组播协议pim,采用spare-dense-mode
interface Vlan104
no ip address
ip pim sparse-dense-mode
shutdown
!
//该端口是去往下一交换机SWITCH B相连的端口,端口模式trunk
interface GigabitEthernet1/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 104
switchport mode trunk
!
//该端口是接入IPTV直播源入口,从IPQAM设备或跟多个IPQAM设备相连的交换机处接入
interface GigabitEthernet1/4-16
switchport access vlan 104
switchport mode access
!
SWITCH B 配置:(中心机房)
//在SWITCHA中开启了组播路由功能在该交换机也必须开启此功能,否则组播流不会透传下来
ip multicast-routing
ip multicast auto-enable
!
interface Vlan104
no ip address
ip pim sparse-dense-mode
shutdown
!
//From SWITCH C VOD SERVER,此处点播vlan是100
interface GigabitEthernet1/39
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 100
switchport mode trunk
!
//From SWITCH A port 3 LiveTV port,此处是组播vlan104
interface GigabitEthernet1/43
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 104
switchport mode trunk
!
//Vod Router PPPOE link port,此处是INTERNET业务vlan945
interface GigabitEthernet1/41
switchport access vlan 945
switchport mode access
!
// Form uplink ISP,透传所有vlan,由于上一级运营商下来的vlan不止一个
interface GigabitEthernet1/45
switchport trunk encapsulation dot1q
switchport mode trunk
!
//该端口是去往 OLT,(在区域机房)
interface GigabitEthernet1/47
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 100,104
switchport mode trunk
!
interface Vlan104
no ip address
ip pim sparse-dense-mode
shutdown
!
华为M5680t OLT 配置:主要是涉及组播这块配置和INTERNET业务
//创建DBA模版
dba-profile add profile-id 100 profile-name "dba_profile_100" type3 assure
102400 max 1024000
//创建ont-lineprofile和ont-srvprofile两个模版
ont-srvprofile gpon profile-id 821 profile-name "srv-profile_821"
ont-port pots adaptive eth adaptive
Commit
quit
#
ont-lineprofile gpon profile-id 821 profile-name "line-profile_821"
tcont 1 dba-profile-id 100
tcont 2 dba-profile-id 100
gem add 1 eth tcont 1
gem add 2 eth tcont 2
gem mapping 1 1 vlan 100
gem mapping 2 2 vlan 104
commit
quit
#
#vlan创建
[vlan-config]
vlan 100 smart
vlan 104 smart
port vlan 100 0/17 0
port vlan 100 0/17 1
port vlan 104 0/17 0
port vlan 104 0/17 1
#开启ONU自动发现使能
[gpon]
interface gpon 0/2
port 0 ont-auto-find enable
ont add 0 2 sn-auth "524C474D78C52898" omci ont-lineprofile-id 821
ont-srvprofile-id 821 desc "ONT_NO_DESCRIPTION"
#
#创建service-port
[bbs-config]
service-port 1001 vlan 100 gpon 0/2/0 ont 2 gemport 1 multi-service user-vlan 100 tag-transform translate
service-port 1003 vlan 104 gpon 0/2/0 ont 2 gemport 2 multi-service user-vlan 104 tag-transform translate
#创建btv,igmp等相关信息
[btv-config]
btv
igmp echo enable
btv
igmp user add service-port 1003 no-auth
multicast-vlan 104
igmp match mode disable
igmp multicast-vlan member service-port-list 1003
igmp mode proxy
igmp uplink-port 0/17/0
3、ONU配置如下:
3.1创建INTERNET业务接口
3.2创建组播业务接口
3.3 开启IGMP Snooping 二层组播协议
3.4 设置组播业务vlan
详细操作步骤见:》》》》》》》》IPTV+OTT详细配置指导