Sunteți pe pagina 1din 3

Rule Config IPTV

ZXAN # config terminal ZXAN

(config) #gpon ZXAN (config-GPON) # ONU profile zero-filter-rule


untag tagZXAN (config-GPON) # ONU profile filter-rule single-tag
TagWith110 inner inner-prio 0 -vid 110 ZXAN (config-GPON) #
ONU profile AddTag110 treat inner-prio insert 0-vid inner insert
110 ZXAN (config-GPON) # ONU profile ChgTagTo111 remove-tag
treat inner-prio 1 0 inner-vid insert insert 111 ZXAN (config-GPON)
# ONU profile AddTag111 treat inner-prio insert 0-vid inner insert
111 ZXAN (config-GPON) # ONU profile trans treat ZXAN (configGPON) #exit ZXAN (config) #exit ZXAN # // notes : This rule uses
the example 110 as a multicast VLAN and VLAN 111 as a
unicast // note: this rule only be made once per OLT

Config Rule Voip ZXAN # config terminal ZXAN


(config) #gpon ZXAN (config-GPON) # ONU profile mgc h248
172.28.4.4 server1 // note: IP adapted to IP SS 1 ZXAN (configGPON) # ONU profile mgc h248 server2 172.28.4.5 // note: IP
adapted to IP SS 2 ZXAN (config-GPON) # ONU profile mgc user
h248-tid-prefix A postfix postfix-start len 1 0 // note: A format
TID ZXAN (config-GPON) # ONU profile mgc h248-tid prefix RTP
RTP / postfix- postfix-start len 1 0 // note: RTP RTP format / ZXAN
(config-GPON) # ONU profile folder mgc h248-digit long-shorttimer timer 4000 2000 10000 start-timer ZXAN (config-GPON) #
exit ZXAN ( config) # exitZXAN # // note: this rule only be made
once per OLT

Register ONT ZXAN # sho GPON GPON

ONU uncfg-olt_0 / 5/1 OnuIndex Sn State -------------- --------- GPONonu_0 / 5/1: 1 ZTEG70002115 unknown ZXAN # config
terminal ZXAN (config) # interface GPON-olt_0 / 5/1 ZXAN (configif) # 1-type ONU ZTEG-F660 sn-mode ZTEG70002115 vport
gemportZXAN (config-if) # exit ZXAN (config) # exit ZXAN # //
note:
1.

1 in accordance with the registration number ONT, in free


content but may not be the same between the ONT in OLT 1.

2.

ZTEG70002115: Adjust the ONT installed sn

Config interface ONU // note ONT connected


in OLT card slot 5, port 1, registers 1 ZXAN # config
terminal ZXAN (config) # interface GPON-onu_0 / 5/1: 1 ZXAN
(config-if) # tcont 1 profile up- 5M ZXAN (config-if) # tcont 2
profile UP-100M ZXAN (config-if) # tcont 3 profile UP-10M ZXAN
(config-if) # gemport 1 name gemport1 unicast tcont 1 down
DOWN-5M ZXAN (config-if ) # gemport 2 name gemport2 unicast
tcont 2 down DOWN-100M ZXAN (config-if) # gemport 3 name
gemport3 unicast tcont 3 down DOWN-10M ZXAN (config-if) #
switchport mode hybrid vport 1 ZXAN (config-if) # switchport vlan
51 tagged vport 1 // note: voip vlanZXAN (config-if) # switchport
mode hybrid vport 2 ZXAN (config-if) # switchport vlan tag 110111 vport 2 // note: vlan IPTV ZXAN (config-if ) #switchport hybrid
mode vport 3 ZXAN (config-if) # switchport vlan tag vport 3000
3 // note: vlan of data (internet) ZXAN (config-if) # exit ZXAN
(config) #exit ZXAN # Config pound ONU management / /
note this setting port 2 for IPTV, for Internet data port 3, port pots
1 and 2 for potsZXAN # config terminal ZXAN (config) # poundGPON ONU-MNG-onu_0 / 5/1: 1 ZXAN (GPON-ONU-MNG) # flow 2
switch switch_0 / 1 ZXAN (GPON-ONU-MNG) #flow 3 switches
switch_0 / 1 ZXAN (GPON-ONU-MNG) #flow 4 switch switch_0 /
1 ZXAN (GPON-ONU -mng) # 1 tag-flow mode vid filter-filter-filter
untag discard ZXAN (GPON-ONU-MNG) # 3 tag-flow mode vid
filter-filter-filter untag discard ZXAN (GPON-ONU-MNG) # flow
mode 255 tag-filter vid-filter untag-filter discard ZXAN (GPONONU-MNG) # flow 1 priority 0 vid 51 ZXAN (GPON-ONU-MNG) #
flow 3 priority 0 vid 3000 ZXAN (GPON-ONU-MNG) # flow 255
priority 0 vid 110ZXAN (GPON-ONU-MNG) # gemport 1 flow
1 ZXAN (GPON-ONU-MNG) # gemport 2 flow 2 ZXAN (GPON-ONUMNG) # gemport 3 flow 3ZXAN (GPON-ONU -mng) # vlan-filtermode ethuni eth_0 / 1 tag vid-filter-filter-filter untag discard ZXAN
(GPON-ONU-MNG) # vlan-filter-mode ethuni eth_0 / 3 tag-vid
filter-filter-filter untag discard ZXAN (GPON-ONU-MNG) # vlan-

filter ethuni eth_0 / 3 priority 0 vid 3000 ZXAN (GPON-ONU-MNG)


# ONU-vlan ethuni eth_0 / 3 up-mode add up-prio 0 up-vid 3000
down -mode untag ZXAN (GPON-ONU-MNG) # ex-vlan ethuni
eth_0 / 2 input-output-TPID TPID 0x8100 0x8100 inverse-downmode upstreamZXAN (GPON-ONU-MNG) # ex-vlan-table ethuni
eth_0 / 2 rule untag treat AddTag110 ZXAN (GPON-ONU-MNG) #
ex-vlan flow 2 input-TPID 0x8100 output-TPID 0x8100 down-mode
inverse upstream ZXAN (GPON-ONU-MNG) # ex-vlan-table flow 2
rule TagWith110 treat ChgTagTo111ZXAN (GPON-ONU-MNG) #
voip protocol h248 ZXAN (GPON-ONU-MNG) # mgc-service
pots_0 / 1 profile h248 ZXAN (GPON-ONU-MNG) # mgc-service
pots_0 / 2 profile h248 ZXAN (GPON-ONU-MNG) #switchport bind
switch_0 / 1 IPHost 1 ZXAN (GPON-ONU-MNG) #switchport bind
switch_0 / 1 IPHost 2 ZXAN (GPON-ONU-MNG) #switchport bind
switch_0 / 1 wifi wifi_0 / 1 ZXAN (GPON-ONU-MNG) # vlan-filtermode wifi wifi_0 / 1 tag-filter vid-filter untag-filter discard ZXAN
(GPON-ONU-MNG) # vlan-filter wifi wifi_0 / 1 priority 0 vid
3000 ZXAN (GPON-ONU-MNG) # 2 ip ip-host 172.21.171.10
172.21.171.1 mask of 255.255.255.0 gateway // note: disesuakan
with IP VoIP IP from SS ZXAN (GPON-ONU-MNG) # vlan-filter-mode
IPHost 1 tag-filter vid-filter untag-filter discardZXAN (GPON-ONUMNG) # vlan-filter-mode IPHost 2 tag-filter vid-filter untag-filter
discard ZXAN (GPON-ONU-MNG) # vlan-filter IPHost 1 priority 0
vid 3000 ZXAN (GPON-ONU-MNG) # vlan-filter IPHost 2 priority 0
vid 51 ZXAN (GPON-ONU-MNG) # nat enable ppp 1
user1@telkom6.net user password Telkom // note: username and
customized password ZXAN (GPON-ONU-MNG) # exit ZXAN
(config) #exit ZXAN #

S-ar putea să vă placă și