NU業務分流配置:
配置流量模闆。
由于VoIP、IPTV、Internet通過同一端口接入,因而需要設定各業務的802.1p優先級。一般優先級按Internet業務、IPTV、VoIP從低到高依次排序。此處設定流量模闆索引号分别
為7、8、9,802.1p優先級分别為0、4、6。
huawei(config)#traffic table ip index 7 name internet cir 10240 priority 0 priority-policy local-Setting
huawei(config)#traffic table ip index 8 name iptv cir 10240 priority 4 priority-policy local-Setting
huawei(config)#traffic table ip index 9 name voip cir 10240 priority 6 priority-policy local-Setting
建立VLAN。
建立VLAN 100–103,其中VLAN 101為多點傳播VLAN。
huawei(config)#vlan 100-103 smart
It will take several minutes, and console may be timeout, please use command
idle-timeout to set time limit
Are you sure to add VLANs? (y/n)[n]:y
The total of the VLANs having been processed is 4
The total of the added VLANs is 4
加入上行端口。
将上行口0/0/1加入到VLAN中。
huawei(config)#port vlan 100-103 0/0 1 //ONU裝置上行端口的VLAN與上行裝置接入端口的VLAN必須相同
Are you sure to add standard port(s)? (y/n)[n]:y
The total of the port VLAN(s) having been added is 4
建立業務虛端口。
建立索引号分别為2、3、4的業務虛端口,對應user-vlan分别為2、3、4,S-VLAN分别為100、103、102,業務流模闆分别為7、8、9。
huawei(config)#service-port 2 vlan 100 eth 0/1/1 multi-service user-vlan 2 rx-cttr 7 tx-cttr 7
huawei(config)#service-port 3 vlan 103 eth 0/1/1 multi-service user-vlan 3 rx-cttr 8 tx-cttr 8
huawei(config)#service-port 4 vlan 102 eth 0/1/1 multi-service user-vlan 4 rx-cttr 9 tx-cttr 9
說明:
至此,Internet/VoIP業務配置完成,後續步驟為IPTV業務的多點傳播配置。
配置多點傳播資料。
配置多點傳播VLAN及多點傳播模式。
huawei(config)#multicast-vlan 101
huawei(config-mvlan101)#igmp mode proxy
Are you sure to change IGMP mode?(y/n)[n]:y
配置多點傳播上行口。
huawei(config-mvlan101)#igmp uplink-port 0/0/1
配置多點傳播節目。
huawei(config-mvlan101)#igmp program add name program1 ip 224.1.1.1 sourceip 10.10.10.10
配置多點傳播使用者。
huawei(config-mvlan101)#btv
huawei(config-btv)#igmp user add service-port 3
huawei(config-btv)#multicast-vlan 101
huawei(config-mvlan101)#igmp multicast-vlan member service-port 3
儲存資料。
huawei(config-mvlan101)#quit
huawei(config)#save
操作結果
将相關上、下行裝置配置完成後,0/1/1端口上三類業務都能正常使用。
在PC上使用PPPoE撥号軟體進行撥号,撥号成功後,使用者能通路Internet網絡。
VoIP使用者彼此可以正常通話。
IPTV使用者:0/1/1端口使用者可以收看節目program1。