Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
abills:docs:modules:pon:ru [2015/12/05 14:01]
kodr [Возможности]
abills:docs:modules:pon:ru [2017/11/23 20:13] (текущий)
kodr [Pon]
Строка 1: Строка 1:
-=====Pon===== 
- 
-Модуль для управления PON оборудованием. 
- 
-====Возможности==== 
-  * Регистрация новых онушек. 
-  * Нарезка скорости непосредственно на голове. 
-  * Привязка онушек к клиентам. 
-  * Привязка нескольких клиентов к портам одной онушки. 
-  * Мониторинг уровня сигнала и статуса по каждой онушке. 
-  * Графики уровня сигнала по каждой онушке (день, неделя,​ месяц). 
-  * Авто или ручное сохранение конфигурации после её изменения. 
-  * Полная переконфигурация головы согласно данным в базе. 
  
 ====Настройка Huawei MA56XX==== ====Настройка Huawei MA56XX====
Строка 23: Строка 10:
 community должно быть таким же как и пароль ранее созданоого юзера.  ​ community должно быть таким же как и пароль ранее созданоого юзера.  ​
   snmp-agent community read abillshyawei123   snmp-agent community read abillshyawei123
-**Удаляем ненужные "​trafic table"​.** 
-  undo traffic table ip index 1 
-  undo traffic table ip index 2 
-  undo traffic table ip index 3 
-  undo traffic table ip index 4 
-  undo traffic table ip index 5 
-  undo traffic table ip index 6 
   ​   ​
 **Добавляем "​dba-profile"​.**\\ **Добавляем "​dba-profile"​.**\\
-10 для онущек с одним клиентом (100Mb).\\ 
-11 для онушек за которыми более одного клиента (1G). 
-  dba-profile add profile-id 10 profile-name "​100Mb"​ type4 max 102400 
   ​   ​
-  dba-profile add profile-id ​11 profile-name "​1G"​ type4 max 1024000+  dba-profile add profile-id ​10 profile-name "​1G"​ type4 max 1024000
  
 **Создаём универсальный "​ont-srvprofile"​** **Создаём универсальный "​ont-srvprofile"​**
  
   ont-srvprofile gpon profile-id 100 profile-name "​ALL"​   ont-srvprofile gpon profile-id 100 profile-name "​ALL"​
 +  ​
   ont-port pots adaptive eth adaptive   ont-port pots adaptive eth adaptive
   ​   ​
-  port vlan eth 1 translation 101 user-vlan 101 +  port vlan eth 1 transparent
-   +
-  port vlan eth 2 translation 101 user-vlan 101 +
-   +
-  port vlan eth 3 translation 101 user-vlan 101 +
-   +
-  port vlan eth 4 translation 101 user-vlan 101+
   ​   ​
   commit   commit
Строка 57: Строка 29:
 ont-lineprofile 100 для онушек с одним клиентом.\\ ont-lineprofile 100 для онушек с одним клиентом.\\
 Vlan 101 это тег клиентского vlan на онушке.\\ Vlan 101 это тег клиентского vlan на онушке.\\
-Зпомним мы создали и замапили gemport 1 на vlan 101. 
  
   ont-lineprofile gpon profile-id 100 profile-name "​ONU"​   ont-lineprofile gpon profile-id 100 profile-name "​ONU"​
-  tcont 4 dba-profile-id 10 
   ​   ​
-  gem add 1 eth tcont 4 
-  ​ 
-  gem mapping 1 1 vlan 101 
-  ​ 
-  commit 
-  quit 
-  ​ 
-ont-lineprofile 101 для онушек за которыми более одного клиента.\\ 
-Vlan 101 это тег клиентского vlan на онушке.\\ 
-Vlan 100 это тег управляющего vlan, на тот случай если вместо онушки стоит какой-нибудь Pon коммутатор или за онушкой стоит управляемое оборудование.\\ 
-Зпомним мы создали и замапили gemport 1 на vlan 101 (для клиентов) и gemport 2 на vlan 100 (для управления). 
-  ​ 
-  ont-lineprofile gpon profile-id 101 profile-name "​SWITCH"​ 
   tcont 4 dba-profile-id 10   tcont 4 dba-profile-id 10
   ​   ​
   gem add 1 eth tcont 4   gem add 1 eth tcont 4
-  ​ 
-  gem add 2 eth tcont 4 
   ​   ​
   gem mapping 1 1 vlan 101   gem mapping 1 1 vlan 101
-  ​ 
-  gem mapping 2 2 vlan 100 
   ​   ​
   commit   commit
Строка 93: Строка 46:
 Навешиваем их на входящий порт. Навешиваем их на входящий порт.
   port vlan 1000 to 1007 0/9 0   port vlan 1000 to 1007 0/9 0
 +
 +  raio-format pitp-pmode cid xpon "anid xpon frame/​slot/​port:​ontid"​
 +  raio-format dhcp-option82 cid xpon "​anid/​frame/​slot/​port:​ontid/​xci"​
 +  raio-mode user-defined pitp-pmode
 +  raio-mode user-defined dhcp-option82
 +  pitp enable pmode
 +
 +  raio-anid 1A2B3C4D5E6F
 +"​1A2B3C4D5E6F"​ Это мак адрес головы.
 +
 +Посмотреть можно командой:​
 +  display interface meth