通信人家园

标题: 烽火OLT 自动注册脚本  [查看完整版帖子] [打印本页]

时间:  2025-1-11 14:57
作者: annbv     标题: 烽火OLT 自动注册脚本




create service_vlan 138     

set service_vlan 138 38 type data

set service_vlan 138 vlan_begin 38 vlan_end 38



create service_vlan 116     

set service_vlan 116 46 type data

set service_vlan 116 vlan_begin 46 vlan_end 46



create service_vlan 102     

set service_vlan 102 193 type data

set service_vlan 102 vlan_begin 193 vlan_end 193



create service_vlan 103     

set service_vlan 103 300 type data

set service_vlan 103 vlan_begin 300 vlan_end 300










add vlan vlan_begin 46 vlan_end 46 tag uplink slot 9 port 1-6

add vlan vlan_begin 46 vlan_end 46 tag all 0               


add vlan vlan_begin 100 vlan_end 100 tag uplink slot 9 port 1-6

add vlan vlan_begin 100 vlan_end 100 tag all  0               


add vlan vlan_begin 200 vlan_end 200 tag uplink slot 9 port 1-6

add vlan vlan_begin 200 vlan_end 200 tag all 0               


add vlan vlan_begin 300 vlan_end 300 tag uplink slot 9 port 1-6

add vlan vlan_begin 300 vlan_end 300 tag all   0   







set auto-discover-onu slot 1 pon 1 enable

set pon_auth slot 1 pon 1 mode no_auth


set auto-discover-onu slot 1 pon 2 enable

set pon_auth slot 1 pon 2 mode no_auth



set auto-discover-onu slot 1 pon 3 enable

set pon_auth slot 1 pon 3 mode no_auth



set auto-discover-onu slot 1 pon 4 enable

set pon_auth slot 1 pon 4 mode no_auth





set vlan-pool func enable

set vlan-pool onu-type null include

set vlan-pool func enable

set vlan-pool onu-type 5506-SFU include










set vlan-pool slot 1 pon 1 port 1 vlan-list 46

set vlan-pool slot 1 pon 1 port 2 vlan-list 193

set vlan-pool slot 1 pon 1 port 3 vlan-list 300

set vlan-pool slot 1 pon 1 port 4 vlan-list 38

set vlan-pool slot 1 pon 1 port 1-4 enable


set vlan-pool slot 1 pon 2 port 1 vlan-list 100

set vlan-pool slot 1 pon 2 port 2 vlan-list 200

set vlan-pool slot 1 pon 2 port 3 vlan-list 46

set vlan-pool slot 1 pon 2 port 4 vlan-list 300

set vlan-pool slot 1 pon 2 port 1-4 enable


set vlan-pool slot 1 pon 3 port 1 vlan-list 100

set vlan-pool slot 1 pon 3 port 2 vlan-list 200

set vlan-pool slot 1 pon 3 port 3 vlan-list 46

set vlan-pool slot 1 pon 3 port 4 vlan-list 300

set vlan-pool slot 1 pon 3 port 1-4 enable



set vlan-pool slot 1 pon 4 port 1 vlan-list 100

set vlan-pool slot 1 pon 4 port 2 vlan-list 200

set vlan-pool slot 1 pon 4 port 3 vlan-list 46

set vlan-pool slot 1 pon 4 port 4 vlan-list 300

set vlan-pool slot 1 pon 4 port 1-4 enable
















时间:  2025-1-12 02:19
作者: 不吹不黑

翻译过来啊
时间:  2025-1-14 10:56
作者: hjh_317

感谢分享。。
时间:  2025-1-15 11:45
作者: 愤怒的拳头

谢谢分享




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