Конфигурация ma56XX
dba-profile add profile-id 11 profile-name "1G" type4 max 1024000 (Своеобразный шейпер)
ont-srvprofile gpon profile-id 100 profile-name "ALL" (Сервесный профиль который передает все прозрачно)
ont-port eth 1
commit
ont-lineprofile gpon profile-id 100 profile-name "ONU" ( Профиль который снимает таг с влана и передает его ону, может быть любой не используемый)
tcont 4 dba-profile-id 11
gem add 1 eth tcont 4
gem mapping 1 1 vlan 101
commit
quit
#
[vlan-config]
<vlan-config>
vlan 5 smart ( Создать влан)
port vlan 5 0/2 0 (Передать его на порт аплинка)
#
[gpon]
<gpon-0/0>
interface gpon 0/0
port 0 ont-auto-find enable (Автопоиск на порту, так на каждом порту сделать)
ont add 0 0 sn-auth "414C434CF2208376" omci ont-lineprofile-id 100 ont-srvprofile-id 100 desc "test" (Регистрация ону на порту, регистрация может быть 2х. типов omci или smtp)
ont port native-vlan 0 0 eth 1 vlan 101 priority 0 (передать нетегированный vlan)
#
[bbs-config]
<bbs-config>
service-port 1 vlan 5 gpon 0/0/0 ont 0 gemport 1 multi-service user-vlan 101 (передать интернет на ону, без этого работать не будет)
#
[prevlanif]
<prevlanif>
interface vlanif5
#
[vlanif]
<vlanif5>
interface vlanif5
ip address 10.5.0.2 255.255.255.0 description "clients" (Без этого клиент не получит нужный ip от dhcp сервера)
#
return