Настройка OLT ELTEX LTP-8X

0.Настраиваем сеть на прошивке версии 2X

LTP-8X> system
LTP-8X(system)>
LTP-8X(system)> set network ipaddr 10.5.0.184
LTP-8X(system)> set network vlan_management 5
LTP-8X(system)> show network
    Network:
        Hostname:                     'LTP-4X'
        Ipaddr:                       10.5.0.184
        Netmask:                      255.255.255.0
        Vlan management:              5
        Gateway:                      0.0.0.0
LTP-8X(system)> config commit
    Changes successfully commited (1 chunks).
LTP-8X(system)> config save
    Configuration successfully saved to file.

1.Обновляем прошивку, предварительно положив её на tftp-сервер

LTP-8X# update system ltp-8x-revb-3.24.1.109.fw.bin 10.5.0.250
    Check free memory...ok
    Downloading system firmware..
    ............................................................
    ............................................................
    ...........................
    System firmware successfully downloaded
    Updating system firmware..
        Current board version:     4
        Current firmware version:  3.24.0.4385
        New firmware version:      3.24.1.109
        Update device mtd7
            Erase flash...
            Done.
            Write data...
            Done.
            Done.
        Success
        Update device mtd5
            Erase flash...
            Done.
            Write data...
            Done.
            Done.
        Success
    System firmware successfully updated

2. Ребутаем голову
LTP-8X# reboot
    Do you really want to reboot the system now? (y/n)  y

3. Настраиваем управление
management ip 10.5.0.185
management vid 5
management gateway 10.5.0.1

4. Задаем пароль для пользователя admin
SORMOVO-LTP-8X(config)# user admin crypted_password <password>

5. Конфигурим acs-сервер
SORMOVO-LTP-8X(config)# ip acs server ip "10.7.185.1"
SORMOVO-LTP-8X(config)# ip acs server mask "255.255.252.0"
SORMOVO-LTP-8X(config)# ip acs server vid "7"
SORMOVO-LTP-8X(config)# ip acs server enable

6. Конфигурим dhcp-сервер для ont
SORMOVO-LTP-8X(config)# ip dhcp server enable
SORMOVO-LTP-8X(config)# ip dhcp server range "10.7.185.2" "10.7.186.254"
SORMOVO-LTP-8X(config)# ip dhcp server option-43

7. Конфигурим логирование (удаленное и чтоб не срал в rsh)
SORMOVO-LTP-8X(config)# logging remote 10.5.0.250
SORMOVO-LTP-8X(config)# logging rsh loglevel "none"

8. Конфигурим NTP-сервер
SORMOVO-LTP-8X(config)# ip ntp ip 10.5.0.254
SORMOVO-LTP-8X(config)# ip ntp interval 600
SORMOVO-LTP-8X(config)# ip ntp timezone 3

9. Конфигурим qinq
SORMOVO-LTP-8X(config)# gpon network svlan-ethertype "0x8100"

9. Конфигурим профиль vlan vlan-00
Какой был и какой стал:
SORMOVO-LTP-8X# show profile vlan vlan-00
    Description:                                       'OLT Profile Vlan 0'
    Config general [uplink]:
        Extended svlan type:                           0x9100
        Extended cvlan type:                           0x8100
        Insertion svlan ethertype:                     0x9100
        Insertion cvlan ethertype:                     0x8100
    Config general [downlink]:
        Extended svlan type:                           0x9100
        Extended cvlan type:                           0x8100
        Insertion svlan ethertype:                     0x9100
        Insertion cvlan ethertype:                     0x8100
SELEKTSIA-LTP-4X(config)# profile vlan vlan-00
SELEKTSIA-LTP-4X(config-vlan)("vlan-00")# uplink extended svlan-type 0x8100
SELEKTSIA-LTP-4X(config-vlan)("vlan-00")# uplink insertion svlan-ethertype 0x8100
SELEKTSIA-LTP-4X(config-vlan)("vlan-00")# downlink extended svlan-type 0x8100
SELEKTSIA-LTP-4X(config-vlan)("vlan-00")# downlink insertion svlan-ethertype 0x8100
SELEKTSIA-LTP-4X(config-vlan)("vlan-00")# do commit
SELEKTSIA-LTP-4X(config-vlan)("vlan-00")# top
SELEKTSIA-LTP-4X# show profile vlan vlan-00 
    Description:                                       'OLT Profile Vlan 0'
    Config general [uplink]:
        Extended svlan type:                           0x8100
        Extended cvlan type:                           0x8100
        Insertion svlan ethertype:                     0x8100
        Insertion cvlan ethertype:                     0x8100
    Config general [downlink]:
        Extended svlan type:                           0x8100
        Extended cvlan type:                           0x8100
        Insertion svlan ethertype:                     0x8100
        Insertion cvlan ethertype:                     0x8100

10. Конфигурим профиль pppoe-ia кол-во сессий
SORMOVO-LTP-8X(config)# profile pppoe-ia pppoe-ia-00
SORMOVO-LTP-8X(config-pppoe-ia)("pppoe-ia-00")# sessions-limit 8192 per-user 4
SORMOVO-LTP-8X(config-pppoe-ia)("pppoe-ia-00")# exit

11. Вбиваем СС-профили для NTU-1 на каждый порт в стиле qinq для Инета
А также пару СС-профилей для IPTV

Новая схема с экономией теплейтов:

SORMOVO-LTP-8X# profile cross-connect "CC-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-INET")# exit
SORMOVO-LTP-8X# profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-IPTV")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-IPTV")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-IPTV")# outer vid "400"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-IPTV")# user vid "400"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-IPTV")# type "multicast"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-IPTV")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-NTU1-ONLYTV"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-ONLYTV")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-ONLYTV")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-ONLYTV")# outer vid "400"
SORMOVO-LTP-8X(config-cross-connect)("CC-NTU1-ONLYTV")# exit

Старая схема:

SORMOVO-LTP-8X(config)# profile cross-connect "CC-P0-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P0-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P0-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P0-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P0-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P0-NTU1-INET")# inner vid "110"
SORMOVO-LTP-8X(config-cross-connect)("CC-P0-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P1-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P1-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P1-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P1-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P1-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P1-NTU1-INET")# inner vid "111"
SORMOVO-LTP-8X(config-cross-connect)("CC-P1-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P2-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P2-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P2-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P2-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P2-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P2-NTU1-INET")# inner vid "112"
SORMOVO-LTP-8X(config-cross-connect)("CC-P2-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P3-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P3-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P3-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P3-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P3-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P3-NTU1-INET")# inner vid "113"
SORMOVO-LTP-8X(config-cross-connect)("CC-P3-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P4-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P4-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P4-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P4-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P4-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P4-NTU1-INET")# inner vid "114"
SORMOVO-LTP-8X(config-cross-connect)("CC-P4-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P5-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P5-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P5-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P5-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P5-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P5-NTU1-INET")# inner vid "115"
SORMOVO-LTP-8X(config-cross-connect)("CC-P5-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P6-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P6-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P6-NTU1-INET")# bridge group "20"
SORMOVO-LTP-8X(config-cross-connect)("CC-P6-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P6-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P6-NTU1-INET")# inner vid "116"
SORMOVO-LTP-8X(config-cross-connect)("CC-P6-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# profile cross-connect "CC-P7-NTU1-INET"
SORMOVO-LTP-8X(config-cross-connect)("CC-P7-NTU1-INET")# bridge
SORMOVO-LTP-8X(config-cross-connect)("CC-P7-NTU1-INET")# bridge group "20
SORMOVO-LTP-8X(config-cross-connect)("CC-P7-NTU1-INET")# tag-mode double-tagged
SORMOVO-LTP-8X(config-cross-connect)("CC-P7-NTU1-INET")# outer vid "185"
SORMOVO-LTP-8X(config-cross-connect)("CC-P7-NTU1-INET")# inner vid "117"
SORMOVO-LTP-8X(config-cross-connect)("CC-P7-NTU1-INET")# exit

12. Вбиваем ports-профиль для NTU-1

SORMOVO-LTP-8X(config)# profile ports "NTU1"
SORMOVO-LTP-8X(config-ports)("NTU1")# igmp multicast dynamic-entry 0 vid "400"
SORMOVO-LTP-8X(config-ports)("NTU1")# igmp multicast dynamic-entry 0 group "224.0.0.1" "239.255.255.254"
SORMOVO-LTP-8X(config-ports)("NTU1")# port 0 bridge group "20"
SORMOVO-LTP-8X(config-ports)("NTU1")# port 0 multicast
SORMOVO-LTP-8X(config-ports)("NTU1")# port 0 igmp upstream vid "400"
SORMOVO-LTP-8X(config-ports)("NTU1")# port 0 igmp downstream vid "400"
SORMOVO-LTP-8X(config-ports)("NTU1")# exit

13. Собираем темплейты для каждого порта для NTU-1
Новая схема с экономией теплейтов:
template "T-NTU1-I"
service 0 profile cross-connect "CC-NTU1-INET"
service 0 profile dba "dba-00"
profile ports "NTU1"
exit
template "T-NTU1-I-TV"
service 0 profile cross-connect "CC-NTU1-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-NTU1-IPTV"
service 1 profile dba "dba-00"
profile ports "NTU1"
exit
template "T-NTU1-ONLYTV"
service 0 profile cross-connect "CC-NTU1-ONLYTV"
service 0 profile dba "dba-00"
profile ports "NTU1"
exit

Старая схема:

SORMOVO-LTP-8X(config)# template "P0-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET")# service 0 profile cross-connect "CC-P0-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P0-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET-TV")# service 0 profile cross-connect "CC-P0-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P0-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P1-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET")# service 0 profile cross-connect "CC-P1-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P1-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET-TV")# service 0 profile cross-connect "CC-P1-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P1-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P2-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET")# service 0 profile cross-connect "CC-P2-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P2-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET-TV")# service 0 profile cross-connect "CC-P2-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P2-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P3-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET")# service 0 profile cross-connect "CC-P3-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P3-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET-TV")# service 0 profile cross-connect "CC-P3-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P3-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P4-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET")# service 0 profile cross-connect "CC-P4-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P4-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET-TV")# service 0 profile cross-connect "CC-P4-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P4-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P5-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET")# service 0 profile cross-connect "CC-P5-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P5-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET-TV")# service 0 profile cross-connect "CC-P5-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P5-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P6-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET")# service 0 profile cross-connect "CC-P6-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P6-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET-TV")# service 0 profile cross-connect "CC-P6-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P6-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# template "P7-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET")# service 0 profile cross-connect "CC-P7-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET")# exit
SORMOVO-LTP-8X(config)# template "P7-NTU1-INET-TV"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET-TV")# service 0 profile cross-connect "CC-P7-NTU1-INET"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET-TV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET-TV")# service 1 profile cross-connect "CC-NTU1-IPTV"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET-TV")# service 1 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET-TV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("P7-NTU1-INET-TV")# exit
SORMOVO-LTP-8X(config)# exit
SORMOVO-LTP-8X(config)# template "NTU1-ONLYTV"
SORMOVO-LTP-8X(ont-template)("NTU1-ONLYTV")# service 0 profile cross-connect "CC-NTU1-ONLYTV"
SORMOVO-LTP-8X(ont-template)("NTU1-ONLYTV")# service 0 profile dba "dba-00"
SORMOVO-LTP-8X(ont-template)("NTU1-ONLYTV")# profile ports "NTU1"
SORMOVO-LTP-8X(ont-template)("NTU1-ONLYTV")# exit

14. Вбиваем СС-профили для RG-140x на каждый порт в стиле qinq для Инета
и один CC-профиль для IPTV

Новая схема с экономией профилей:

profile cross-connect "CC-RG-INET"
tag-mode double-tagged
outer vid "185"
exit
profile cross-connect "CC-RG-TV0"
bridge
bridge group "40"
outer vid "400"
exit
profile cross-connect "CC-RG-TV1"
bridge
bridge group "41"
outer vid "400"
exit
profile cross-connect "CC-RG-TV2"
bridge
bridge group "42"
outer vid "400"
exit
profile cross-connect "CC-RG-TV3"
bridge
bridge group "43"
outer vid "400"
exit

Старая схема:

profile cross-connect "CC-P0-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "110"
exit
profile cross-connect "CC-P1-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "111"
exit
profile cross-connect "CC-P2-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "112"
exit
profile cross-connect "CC-P3-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "113"
exit
profile cross-connect "CC-P4-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "114"
exit
profile cross-connect "CC-P5-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "115"
exit
profile cross-connect "CC-P6-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "116"
exit
profile cross-connect "CC-P7-RG-INET"
tag-mode double-tagged
outer vid "185"
inner vid "117"
exit
profile cross-connect "CC-RG-IPTV"
outer vid "400"
user vid "400"
type "multicast"
exit

15. Вбиваем профиль ACS для управления ONT RG-140x
profile cross-connect "ACS"
outer vid "7"
type "management"
exit

16. Вбиваем профиль ports для ONT RF-140x
Новая схема:
profile ports "NTP-RG-TV0123"
port 0 bridge group "40"
port 0 multicast
port 1 bridge group "41"
port 1 multicast
port 2 bridge group "42"
port 2 multicast
port 3 bridge group "43"
port 3 multicast
exit
profile ports "NTP-RG-TV123"
port 1 bridge group "41"
port 1 multicast
port 2 bridge group "42"
port 2 multicast
port 3 bridge group "43"
port 3 multicast
exit
profile ports "NTP-RG-TV23"
port 2 bridge group "42"
port 2 multicast
port 3 bridge group "43"
port 3 multicast
exit
profile ports "NTP-RG-TV3"
port 3 bridge group "43"
port 3 multicast
exit

Старая схема:

profile ports "NTP-RG"
igmp multicast dynamic-entry    0 vid "400"
igmp multicast dynamic-entry    0 group "224.0.0.1" "239.255.255.254"
veip multicast
veip upstream vid "400"
veip downstream vid "400"
exit

17. Собираем темплейты для онушек RG отдельно для Инета и отдельно для Инета и IPTV

Новая схема с экономией темплейтов:

template "T-RG-I"
service 0 profile cross-connect "CC-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "T-RG-I-TV0123"
service 0 profile cross-connect "CC-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
service 2 profile cross-connect "CC-RG-TV0"
service 2 profile dba "dba-00"
service 3 profile cross-connect "CC-RG-TV1"
service 3 profile dba "dba-00"
service 4 profile cross-connect "CC-RG-TV2"
service 4 profile dba "dba-00"
service 5 profile cross-connect "CC-RG-TV3"
service 5 profile dba "dba-00"
profile ports "NTP-RG-TV0123"
exit
template "T-RG-I-TV123"
service 0 profile cross-connect "CC-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
service 2 profile cross-connect "CC-RG-TV1"
service 2 profile dba "dba-00"
service 3 profile cross-connect "CC-RG-TV2"
service 3 profile dba "dba-00"
service 4 profile cross-connect "CC-RG-TV3"
service 4 profile dba "dba-00"
profile ports "NTP-RG-TV123"
exit
template "T-RG-I-TV23"
service 0 profile cross-connect "CC-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
service 2 profile cross-connect "CC-RG-TV2"
service 2 profile dba "dba-00"
service 3 profile cross-connect "CC-RG-TV3"
service 3 profile dba "dba-00"
profile ports "NTP-RG-TV23"
exit
template "T-RG-I-TV3"
service 0 profile cross-connect "CC-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
service 2 profile cross-connect "CC-RG-TV3"
service 2 profile dba "dba-00"
profile ports "NTP-RG-TV3"
exit

Старая схема:

template "P0-RG-INET"
service 0 profile cross-connect "CC-P0-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P1-RG-INET"
service 0 profile cross-connect "CC-P1-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P2-RG-INET"
service 0 profile cross-connect "CC-P2-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P3-RG-INET"
service 0 profile cross-connect "CC-P3-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P4-RG-INET"
service 0 profile cross-connect "CC-P4-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P5-RG-INET"
service 0 profile cross-connect "CC-P5-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P6-RG-INET"
service 0 profile cross-connect "CC-P6-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P7-RG-INET"
service 0 profile cross-connect "CC-P7-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "ACS"
service 1 profile dba "dba-00"
exit
template "P0-RG-INET-TV"
service 0 profile cross-connect "CC-P0-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P1-RG-INET-TV"
service 0 profile cross-connect "CC-P1-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P2-RG-INET-TV"
service 0 profile cross-connect "CC-P2-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P3-RG-INET-TV"
service 0 profile cross-connect "CC-P3-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P4-RG-INET-TV"
service 0 profile cross-connect "CC-P4-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P5-RG-INET-TV"
service 0 profile cross-connect "CC-P5-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P6-RG-INET-TV"
service 0 profile cross-connect "CC-P6-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit
template "P7-RG-INET-TV"
service 0 profile cross-connect "CC-P7-RG-INET"
service 0 profile dba "dba-00"
service 1 profile cross-connect "CC-RG-IPTV"
service 1 profile dba "dba-00"
service 2 profile cross-connect "ACS"
service 2 profile dba "dba-00"
profile ports "NTP-RG"
exit

18. Применяем 3 модель
SORMOVO-LTP-8X(config)# gpon olt model 3

19. Устанавливаем приватные параметры ppp_login и ppp_password в ACS
acs
privates
delete param ppp_login
delete param ppp_password
add ppp_login InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username nocheck
add ppp_password InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password nocheck

20. Настраиваем IGMP Snooping
SELEKTSIA-LTP-4X(switch)(config)# ip igmp snooping
SELEKTSIA-LTP-4X(switch)(config)# ip igmp proxy report enable
SELEKTSIA-LTP-4X(switch)(config)# ip igmp proxy report range 239.195.0.1 239.195.100.255 from all to 400
SELEKTSIA-LTP-4X(switch)(config)# commit