Chapter 7 Service Configuration
Command
Function
zte(cfg-nas)#
show iptv client
[{
channel
<
channel-id
>|
index
<
index-id
>|
mac
<
HH.HH.HH.HH.HH.HH
>|
port
<
portid
>|
vlan
<
vlanid
>}]
This displays the
information of iptv
client.
zte(cfg-nas)#
clear iptv client
[
index
<
index-id
>|
mac
<
HH.HH.HH.HH.HH.HH
>|
port
<
port-id
>[
vlan
<
1-4094
>]]
This deletes the
information of iptv
client.
IPTV Configuration Example
1. Example 1
As shown in
Figure 63
, port 1 connects with the user and it is
the order user of channel 225.1.1.1. The user vlan is 100. The
multicast vlan is 4000. Router sends data stream of multicast
group 225.1.1.1. PC sends request for entering into channel
225.1.1.1.
F
IGURE
63 IPTV C
ONFIGURATION
E
XAMPLE
Configuration of switch:
i. Configure vlan
zte(cfg)#set vlan 100 add port 1
zte(cfg)#set vlan 4000 add port 1
,
4
zte(cfg)#set vlan 100
,
4000 enable
zte(cfg)#set port 1 pvid 100
zte(cfg)#set port 4 pvid 4000
/*IGMP Snooping*/
zte(cfg)#set igmp snooping enable
zte(cfg)#set igmp snooping add vlan 100
,
4000
zte(cfg)#set igmp snooping fastleave enable
ii. Configure IPTV
zte(cfg)#config nas
zte(cfg-nas)#iptv control enable
zte(cfg-nas)#iptv cac-rule enable
iii. Configure rules on port
zte(cfg-nas)#iptv channel mvlan 4000 group 225.1.1.1 name CCTV1
id 1
zte(cfg-nas)#iptv port 1 service start
zte(cfg-nas)#iptv port 1 control-mode channel
zte(cfg-nas)#iptv port 1 channel id-list 1 order
iv. View the configuration
zte(cfg-nas)#show iptv rule
MaxRuleNum:64
CurRuleNum:1
HisRuleNum:1
Id
Port Vlan
Mbase
Mode Service Cdr Order Prview Query PkgNum
--
---- ----
----- ------- ------- -------- ------ ------ ----- -----
Confidential and Proprietary Information of ZTE CORPORATION
129