OLT Script
OLT Script
HTD_HOST-RACK5/NODE3#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-vlan4001)#
HTD_HOST-RACK5/NODE3(config-vlan4001)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-vlan4002)#
HTD_HOST-RACK5/NODE3(config-vlan4002)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-vlan700)#
HTD_HOST-RACK5/NODE3(config-vlan700)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-vlan200)#
HTD_HOST-RACK5/NODE3(config-vlan200)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-smartgroup1)#
HTD_HOST-RACK5/NODE3(config-smartgroup1)#
HTD_HOST-RACK5/NODE3(config-smartgroup1)#
HTD_HOST-RACK5/NODE3(config-smartgroup1)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-if-vlan4002)#
HTD_HOST-RACK5/NODE3(config-if-vlan4002)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-pon)#
HTD_HOST-RACK5/NODE3(config-pon)#
HTD_HOST-RACK5/NODE3(config-pon)#
HTD_HOST-RACK5/NODE3(config-pon)#
HTD_HOST-RACK5/NODE3(config-pon)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config-gpon)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config-if)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(gpon-onu-mng 1/17/1:1)#
HTD_HOST-RACK5/NODE3(config)#
HTD_HOST-RACK5/NODE3#
Command
conf t
vlan 4001
name VOIP
exit
vlan 4002
name MNG
exit
vlan 700
name HSI
exit
vlan 200
name IPTV
exit
interface smartgroup1
smartgroup mode 802.3ad
switchport mode hybrid
switchport vlan 200,700,4001-4002 tag
exit
interface gei_1/10/1
smartgroup 1 mode active
exit
interface gei_1/11/1
smartgroup 1 mode active
exit
interface vlan4002
ip address 10.10.37.84 255.255.255.248
exit
igmp enable
igmp mvlan 200
igmp mvlan 200 source-port smartgroup1
snmp-server community public view AllView rw
snmp-server host 10.10.3.123 version 2c public enable NOTIFICATIONS target-addr-name 1 isnmsserver udp-port 162
pon
onu-type ZTEG-F660 gpon description 4ETH,2POTS,1WIFI max-tcont 7 max-gemport 32 max-switch-perslot 1 max-flow-perswitch 32
onu-type-if ZTEG-F660 eth_0/1-4
onu-type-if ZTEG-F660 wifi_0/1
onu-type-if ZTEG-F620 pots_0/1-2
exit
show gpon onu uncfg
interface gpon-olt_1/17/1
onu 1 type ZTEG-F660 sn ZTEGC0B0D262
exit
gpon
profile tcont VOIP2M type 1 fixed 2048
profile tcont HSI10M type 1 fixed 10240
profile tcont IPTV5M type 1 fixed 5120
onu profile ip VOIP gateway 150.100.129.81
onu profile sip VOIPSIP proxy 10.10.3.20
onu profile vlan VOIP tag-mode tag cvlan 4001
onu profile vlan HSI-100 tag-mode tag cvlan 100
exit
interface gpon-onu_1/17/1:1
tcont 1 name HSI profile HSI10M
tcont 2 name VOIP profile VOIP2M
tcont 3 name IPTV profile IPTV5M
gemport 1 name HSI tcont 1
gemport 2 name VOIP tcont 2
gemport 3 name IPTV tcont 3
service-port 1 vport 1 user-vlan 100 vlan 100 svlan 700
service-port 1 description HSI
service-port 2 vport 2 user-vlan 4001 vlan 4001
service-port 2 description VOIP
service-port 3 vport 3 user-vlan 200 vlan 200
service-port 3 description IPTV
exit
pon-onu-mng gpon-onu_1/17/1:1
service HSI gemport 1 vlan 100
wan-ip 1 mode pppoe username abcd password 1234 vlan-profile HSI-100 host 1
wan 1 ethuni 1,2,3,4 ssid 1 service internet host 1
service VOIP gemport 2 vlan 4001
voip protocol sip
voip-ip mode static ip-profile VOIP ip 150.100.129.86 mask 255.255.255.248 vlan-profile VOIP host 2
service IPTV gemport 3 vlan 200
vlan port eth_0/3 mode tag vlan 200
dhcp-ip ethuni eth_0/3 from-internet
mvlan 200
mvlan tag eth_0/3 strip
exit
end
write
Description
enter the configuration mode
create vlan 4001 for VOIP service
vlan 4001 description