通信人家园

标题: F803G配置脚本  [查看完整版帖子] [打印本页]

时间:  2013-11-28 21:01
作者: txally     标题: F803G配置脚本

初试配置,欢迎指正。
interface gpon-olt_1/2/5
onu 64 type ZX_F803G sn ZTEG1111111


interface gpon-onu_1/2/5:64
interface gpon-onu_1/2/5:64
tcont 1 name tcont1 profile default
tcont 2 name tcont2 profile default
tcont 3 name tcont3 profile default
tcont 4 name tcont4 profile default
tcont 5 name tcont5 profile default
tcont 6 name tcont6 profile default
tcont 7 name tcont7 profile default


gemport 1 name gemport1 unicast tcont 1
gemport 2 name gemport2 unicast tcont 2
gemport 3 name gemport3 unicast tcont 3
gemport 4 name gemport4 unicast tcont 4
gemport 5 name gemport5 unicast tcont 5
gemport 6 name gemport6 unicast tcont 6
gemport 7 name gemport7 unicast tcont 7


service-port 1 vport 1 user-vlan 1457 vlan 1457 svlan 2401
service-port 2 vport 2 user-vlan 1458 vlan 1458 svlan 2401
service-port 3 vport 3 user-vlan 1459 vlan 1459 svlan 2401
service-port 4 vport 4 user-vlan 1460 vlan 1460 svlan 2401
service-port 5 vport 5 user-vlan 1462 vlan 1462 svlan 2401
service-port 6 vport 6 user-vlan 1464 vlan 1464 svlan 2401
service-port 7 vport 7 user-vlan 1471 vlan 1471 svlan 2401


pon-onu-mng gpon-onu_1/2/5:64
service h02410224236 gemport 1 vlan 1457
service h02411132214 gemport 2 vlan 1458
service h02403243943 gemport 3 vlan 1459
service h02401131810 gemport 4 vlan 1460
service h02406103621 gemport 5 vlan 1462
service h02404164234 gemport 6 vlan 1464
service h02405076011  gemport 7 vlan 1471

vlan port eth_0/1 mode tag vlan 1457
vlan port eth_0/2 mode tag vlan 1458
vlan port eth_0/3 mode tag vlan 1459
vlan port eth_0/4 mode tag vlan 1460
vlan port eth_0/5 mode tag vlan 1462
vlan port eth_0/6 mode tag vlan 1464
vlan port eth_0/7 mode tag vlan 1471


时间:  2013-11-28 23:10
作者: datoulxs

C300在配置service-port时已经支持Cvlan范围配置
service-port 1 vport 1 user-vlan 1457 to 1471 svlan 2401
这样就可以了,每个内层VLAN就创建一条serviceport太麻烦也不科学。

时间:  2013-12-11 21:29
作者: aimiku

这样的脚本,这样的规划实在不让人满意啊,这样开局不开死人啊。





通信人家园 (https://www.txrjy.com/) Powered by C114