配置时间
clock timezone utc 8
exit
clock set 10:05:00 jul 12 2017
添加板卡
add-rack rackno 1 racktype C320Rack
add-shelf shelfno 1 shelftype C320_SHELF
add-subcard slotno 3 subcardno 1 UCDC/1
add-subcard slotno 4 subcardno 1 UCDC/1
add-card slotno 2 GTGO
show card
set-pnp enable
fan control temp_level 20 30 40 50
fan high-threshold 60
添加ONU类型
pon
onu-type ZTE-F660 gpon max-tcont 8 max-gemport 32 max-switch-perslot 8 max-flow-perswitch 8
onu-type-if ZTE-F660 eth_0/1-4
onu-type-if ZTE-F660 pots_0/1-2
onu-type-if ZTE-F660 wifi_0/1
exit
添加tcont带宽模板
gpon
profile tcont T1 type 1 fixed 20000
profile tcont T2 type 1 fixed 10000
profile tcont T3 type 1 fixed 5000
添加拨号规则和sip协议
gpon
onu profile voip-accesscode abc call-hold 123
onu profile voip-appsrv voip-service call-waiting enable call-transfer enable call-hold enable 3way enable
onu profile dial-plan-table test
onu profile dial-plan test 1 token X*.X.#|#X.*.X.##
onu profile dial-plan test 2 token #X.*.X.T|#X.*.X.#T
onu profile dial-plan test 3 token X*.X.T|**.X.*.X.*.X.##
onu profile dial-plan test 4 token **.X.*.X.*.X.#T
onu profile dial-plan test 5 token #X.*.X.*.X.##
onu profile sip sip-test proxy 192.168.10.1
onu profile sip sip-test accesscode abc
onu profile sip sip-test appsrv voip-service
onu profile sip sip-test dial-plan test
onu profile ip ip-test static gateway 192.168.10.1
onu profile vlan vlan-test tag-mode tag cvlan 3000 priority 7
exit
创建VLAN(1000为数据;2000为组播;3000为VOIP)
vlan 1000
exit
vlan 2000
exit
vlan 3000
exit
上联口添加业务vlan
interface gei_1/3/3
switchport mode trunk
swi vlan 1000,2000,3000 tag
exit
查看未注册ONU序列号
show gpon onu uncfg
注册onu
interface gpon-olt_1/2/6
onu 1 type ZTE-F660 sn ZTEGC1608607
onu 2 type ZTE-F660 sn ZTEGC1608563
onu 3 type ZTE-F660 sn ZTEGC1608617
onu 4 type ZTE-F660 sn ZTEGC1608623
onu 5 type ZTE-F660 sn ZTEGC1608575
onu 6 type ZTE-F660 sn ZTEGC1608603
onu 7 type ZTE-F660 sn ZTEGC1608612
onu 8 type ZTE-F660 sn ZTEGC1608567
exit
interface gpon-olt_1/2/7
onu 1 type ZTE-F660 sn ZTEGC1608570
onu 2 type ZTE-F660 sn ZTEGC1608628
onu 3 type ZTE-F660 sn ZTEGC1608580
onu 4 type ZTE-F660 sn ZTEGC1608599
onu 5 type ZTE-F660 sn ZTEGC1608621
onu 6 type ZTE-F660 sn ZTEGC1608622
onu 7 type ZTE-F660 sn ZTEGC1608596
onu 8 type ZTE-F660 sn ZTEGC1608601
查看ONU序列号
interface gpon-olt_1/1/1
show running-config interface gpon-olt_1/1/1
查看认证的ONU状态信息—1槽位8口
ZXAN(config)#show gpon onu state gpon-olt_1/1/8
删除ONU
interface gpon-olt_1/1/8
no **
F660开通数据业务
1/1/8:8口
interface gpon-onu_1/2/6:8
tcont 1 name T1 profile T1
gemport 1 name gemport1 unicast tcont 1
service-port 1 vport 1 user-vlan 1000 transparent
exit
pon-onu-mng gpon-onu_1/2/6:8
service HSI type internet gemport 1 cos 0 vlan 1000
vlan port eth_0/1 mode tag vlan 1000 priority 0
exit
1/1/8:7口
interface gpon-onu_1/2/6:7
tcont 1 name T1 profile T1
gemport 1 name gemport1 unicast tcont 1
service-port 1 vport 1 user-vlan 1000 transparent
exit
pon-onu-mng gpon-onu_1/2/6:7
service HSI type internet gemport 1 cos 0 vlan 1000
vlan port eth_0/1 mode tag vlan 1000 priority 0
exit
1/1/8:6口
int gpon-onu_1/2/6:6
tcont 1 name T1 profile T1
gemport 1 name gemport1 unicast tcont 1
service-port 1 vport 1 user-vlan 1000