OLT配置脚本样板0902.docx
《OLT配置脚本样板0902.docx》由会员分享,可在线阅读,更多相关《OLT配置脚本样板0902.docx(27页珍藏版)》请在冰豆网上搜索。
OLT配置脚本样板0902
0701以前发货的老版本16PONOLT使用:
红色字段酌情修改
raisecom
raisecom
enable
raisecom
hostnameQZ-PB-XiaoJiang-FTTH-OLT-A
fttx
createcardslot1typeep4a
createcardslot2typeep4a
createcardslot3typeep4a
createcardslot4typeep4a
createcardslot6type4ge
createonu-svr-template1name1uni-eth-num4
createonu-svr-template2name2uni-eth-num4
createonu-svr-template3name3uni-eth-num4
createonu-svr-template4name4uni-eth-num4
createonu-svr-template5name5uni-eth-num4
createonu-svr-template6name6uni-eth-num4
createonu-svr-template7name7uni-eth-num4
createonu-svr-template8name8uni-eth-num4
停一下再复制粘贴下一段===============
onu-svr-template1
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1000
uniethernet1-4nativevlanstep1
quit
onu-svr-template2
uni-eth-numsensitivedisable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1100
uniethernet1-4nativevlanstep1
quit
onu-svr-template3
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1200
uniethernet1-4nativevlanstep1
quit
onu-svr-template4
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1300
uniethernet1-4nativevlanstep1
quit
停一下再复制粘贴下一段===============
onu-svr-template5
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1400
uniethernet1-4nativevlanstep1
quit
onu-svr-template6
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1500
uniethernet1-4nativevlanstep1
quit
onu-svr-template7
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1600
uniethernet1-4nativevlanstep1
quit
onu-svr-template8
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1700
uniethernet1-4nativevlanstep1
quit
停一下再复制粘贴下一段===============
interfaceolt1/1
authorizationmodenone
onu-svr-template1binded-onu-list1-64
quit
interfaceolt1/2
authorizationmodenone
onu-svr-template2binded-onu-list1-64
quit
interfaceolt1/3
authorizationmodenone
onu-svr-template3binded-onu-list1-64
quit
interfaceolt1/4
authorizationmodenone
onu-svr-template4binded-onu-list1-64
quit
interfaceolt2/1
authorizationmodenone
onu-svr-template5binded-onu-list1-64
quit
interfaceolt2/2
authorizationmodenone
onu-svr-template6binded-onu-list1-64
quit
interfaceolt2/3
authorizationmodenone
onu-svr-template7binded-onu-list1-64
quit
interfaceolt2/4
authorizationmodenone
onu-svr-template8binded-onu-list1-64
quit
停一下再复制粘贴下一段===============
interfaceolt3/1
authorizationmodenone
onu-svr-template1binded-onu-list1-64
quit
interfaceolt3/2
authorizationmodenone
onu-svr-template2binded-onu-list1-64
quit
interfaceolt3/3
authorizationmodenone
onu-svr-template3binded-onu-list1-64
quit
interfaceolt3/4
authorizationmodenone
onu-svr-template4binded-onu-list1-64
quit
interfaceolt4/1
authorizationmodenone
onu-svr-template5binded-onu-list1-64
quit
interfaceolt4/2
authorizationmodenone
onu-svr-template6binded-onu-list1-64
quit
interfaceolt4/3
authorizationmodenone
onu-svr-template7binded-onu-list1-64
quit
interfaceolt4/4
authorizationmodenone
onu-svr-template8binded-onu-list1-64
quit
quit
停一下再复制粘贴下一段================
config
createvlan800-801,21active
interfacerange1-8
switchporttrunknativevlan800
switchporttrunkallowedvlan800confirm
switchporttrunkuntaggedvlanremove1
switchportmodetrunk
switchportqinqdot1q-tunnel
quit
interfacerange9-16
switchporttrunknativevlan801
switchporttrunkallowedvlan801confirm
switchporttrunkuntaggedvlanremove1
switchportmodetrunk
switchportqinqdot1q-tunnel
quit
interfaceport25
switchporttrunkallowedvlan21,800,801confirm
switchporttrunkuntaggedvlanremove1
switchportmodetrunk
quit
interfaceip0
ipaddress10.160.19.62255.255.255.22419
quit
ipdefault-gateway10.160.19.49
end
write
0701以后发货的新版本16PONOLT使用:
红色字段酌情修改
raisecom
raisecom
enable
raisecom
hostnameQZ-PB-XiaoJiang-FTTH-OLT-A
fttx
createcardslot1typeep4a
createcardslot2typeep4a
createcardslot3typeep4a
createcardslot4typeep4a
createcardslot6type4ge
createonu-svr-template1name1uni-eth-num4
createonu-svr-template2name2uni-eth-num4
createonu-svr-template3name3uni-eth-num4
createonu-svr-template4name4uni-eth-num4
createonu-svr-template5name5uni-eth-num4
createonu-svr-template6name6uni-eth-num4
createonu-svr-template7name7uni-eth-num4
createonu-svr-template8name8uni-eth-num4
停一下再复制粘贴下一段===============
onu-svr-template1
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1000
uniethernet1-4nativevlanstep-per-onu1
quit
onu-svr-template2
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1100
uniethernet1-4nativevlanstep-per-onu1
quit
onu-svr-template3
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1200
uniethernet1-4nativevlanstep-per-onu1
quit
onu-svr-template4
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1300
uniethernet1-4nativevlanstep-per-onu1
quit
停一下再复制粘贴下一段===============
onu-svr-template5
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1400
uniethernet1-4nativevlanstep-per-onu1
quit
onu-svr-template6
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1500
uniethernet1-4nativevlanstep-per-onu1
quit
onu-svr-template7
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1600
uniethernet1-4nativevlanstep-per-onu1
quit
onu-svr-template8
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1700
uniethernet1-4nativevlanstep-per-onu1
quit
停一下再复制粘贴下一段===============
interfaceolt1/1
authorizationmodenone
onu-svr-template1binded-onu-list1-64
quit
interfaceolt1/2
authorizationmodenone
onu-svr-template2binded-onu-list1-64
quit
interfaceolt1/3
authorizationmodenone
onu-svr-template3binded-onu-list1-64
quit
interfaceolt1/4
authorizationmodenone
onu-svr-template4binded-onu-list1-64
quit
interfaceolt2/1
authorizationmodenone
onu-svr-template5binded-onu-list1-64
quit
interfaceolt2/2
authorizationmodenone
onu-svr-template6binded-onu-list1-64
quit
interfaceolt2/3
authorizationmodenone
onu-svr-template7binded-onu-list1-64
quit
interfaceolt2/4
authorizationmodenone
onu-svr-template8binded-onu-list1-64
quit
停一下再复制粘贴下一段===============
interfaceolt3/1
authorizationmodenone
onu-svr-template1binded-onu-list1-64
quit
interfaceolt3/2
authorizationmodenone
onu-svr-template2binded-onu-list1-64
quit
interfaceolt3/3
authorizationmodenone
onu-svr-template3binded-onu-list1-64
quit
interfaceolt3/4
authorizationmodenone
onu-svr-template4binded-onu-list1-64
quit
interfaceolt4/1
authorizationmodenone
onu-svr-template5binded-onu-list1-64
quit
interfaceolt4/2
authorizationmodenone
onu-svr-template6binded-onu-list1-64
quit
interfaceolt4/3
authorizationmodenone
onu-svr-template7binded-onu-list1-64
quit
interfaceolt4/4
authorizationmodenone
onu-svr-template8binded-onu-list1-64
quit
quit
停一下再复制粘贴下一段================
config
createvlan800-801,21active
interfacerange1-8
switchporttrunknativevlan800
switchporttrunkallowedvlan800confirm
switchporttrunkuntaggedvlanremove1
switchportmodetrunk
switchportqinqdot1q-tunnel
quit
interfacerange9-16
switchporttrunknativevlan801
switchporttrunkallowedvlan801confirm
switchporttrunkuntaggedvlanremove1
switchportmodetrunk
switchportqinqdot1q-tunnel
quit
interfaceport25
switchporttrunkallowedvlan21,800,801confirm
switchporttrunkuntaggedvlanremove1
switchportmodetrunk
quit
interfaceip0
ipaddress10.160.19.62255.255.255.22419
quit
ipdefault-gateway10.160.19.49
end
write
0701以前发货的老版本32PONOLT使用:
红色字段酌情修改
raisecom
raisecom
enable
raisecom
hostnameCZ-LZ-BaJiao-FTTH-OLT-A
fttx
createcardslot1typeep4a
createcardslot2typeep4a
createcardslot3typeep4a
createcardslot4typeep4a
createcardslot5typege8a
createcardslot10typeep4a
createcardslot11typeep4a
createcardslot12typeep4a
createcardslot13typeep4a
createonu-svr-template1name1uni-eth-num4
createonu-svr-template2name2uni-eth-num4
createonu-svr-template3name3uni-eth-num4
createonu-svr-template4name4uni-eth-num4
createonu-svr-template5name5uni-eth-num4
createonu-svr-template6name6uni-eth-num4
createonu-svr-template7name7uni-eth-num4
createonu-svr-template8name8uni-eth-num4
onu-svr-template1
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1000
uniethernet1-4nativevlanstep1
quit
onu-svr-template2
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1100
uniethernet1-4nativevlanstep1
quit
onu-svr-template3
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1200
uniethernet1-4nativevlanstep1
quit
onu-svr-template4
uni-eth-num sensitive disable
uniethernet1-4vlanmodetagged
uniethernet1-4nativevlan1300
uniether