...
Для настройки, аналогичной второй сервисной модели, дополнительно должны быть прописаны параметры vlan-replace olt-side + traffic-model n-to-1.
| Scroll Pagebreak |
|---|
Profile ports
Основным отличием при настройке profile ports является нумерация индексов LAN-портов и индексов конфигурируемых dynamic entry. Для MA4000-PX нумерация начинается с "0", тогда как для MA5160 нумерация начинается с "1".
...
Дополнительно на MA5160 в профиле management введен параметр iphost id, который может иметь значения <1-32> (по умолчанию — 1). Данный параметр указывает на идентификатор создаваемого на ONT iphost для сервиса управления TR-069. Идентификатор создаваемого iphost определяется профилем cross-connect. По умолчанию в profile cross-connect указан идентификатор iphost равный 1. Параметр iphost enable в профиле cross-connect активирует iphost с данным id (данный параметр присутствует в примере по настройке профиля cross-connect для TR-069, приведенном выше).
| Scroll Pagebreak |
|---|
Profile shaping
Параметры, настраиваемые в profile shaping на MA5160, имеют некоторые отличия от MA4000-PX по написанию команд, описанные в таблице ниже.
...
На MA4000-PX включение функционала storm-control осуществляется настройкой одного или нескольких параметров (storm-control rate-limit/logging/shutdown). На MA5160 для включения выделяется отдельный параметр upstream <broadcast/multicast> storm-control enable.
| Scroll Pagebreak |
|---|
Template
Template представляют собой объект, описывающий определенный набор услуг (набор конфигурационных профилей для ONT). Template назначается на выбранный interface ONT и равносилен назначению на ONT всех прописанных в template профилей. Фактически содержимое template дублирует параметры, которые могут быть отдельно назначены на interface ONT.
...
В данном разделе приведены примеры полных конфигураций MA4000-PX и MA5160, идентичных друг другу.
...
| language | vb |
|---|---|
| title | Пример конфигурации MA4000-PX |
| collapse | true |
...
.
...
| Блок кода | ||||||
|---|---|---|---|---|---|---|
| ||||||
configure terminal
management ip 172.16.99.10
management gateway 172.16.99.1
aaa
enable
authentication tacacs+
authorization tacacs+ privilege
authorization tacacs+ commands
accounting tacacs+ start-stop
accounting tacacs+ commands
tacacs-server host 172.16.99.210 encrypted-key miDTj7v3w9/qBg=
exit
profile cross-connect TR-069
outer vid 1000
user vid 1000
iphost enable
exit
profile cross-connect Internet
outer vid 1001
user vid 1001
exit
profile cross-connect IPTV
outer vid 1002
user vid 1002
multicast enable
exit
profile cross-connect Internet_br
ont-mode bridge
bridge group 10
outer vid 1003
user vid 1003
multicast enable
exit
profile ports IPTV
igmp multicast dynamic-entry 1 vid 1002 group 224.0.0.1 239.255.255.255
veip multicast enable
veip igmp downstream tag-control replace-tag
veip igmp downstream vid 1002
veip igmp upstream tag-control replace-tag
veip igmp upstream vid 1002
exit
profile ports Bridge_and_IPTV
igmp multicast dynamic-entry 1 vid 1002 group 224.0.0.1 239.255.255.255
port 1 multicast enable
port 1 bridge group 10
port 1 igmp downstream tag-control remove-tag
port 1 igmp downstream vid 1002
port 1 igmp upstream tag-control add-tag
port 1 igmp upstream vid 1003
exit
profile management ACS
url http://192.168.200.1:9595
username acs
password acsacs
exit
profile shaping Test
downstream 1 policer enable
downstream 1 policer commited-rate 19968
downstream 1 policer peak-rate 19968
exit
template Services
service 1 profile cross-connect "TR-069" dba "dba2"
define service 1 profile cross-connect
define service 1 profile dba
define service 1 profile iphost
service 2 profile cross-connect "Internet" dba "dba2"
define service 2 profile cross-connect
define service 2 profile dba
define service 2 profile iphost
service 3 profile cross-connect "IPTV" dba "dba2"
define service 3 profile cross-connect
define service 3 profile dba
define service 3 profile iphost
profile ports "IPTV"
define profile ports
exit
profile pppoe-ia pppoe-ia-2
circuit-id format "%PONSERIAL%"
remote-id format "%MNGIP%"
sessions-limit per-user 4
exit
profile dhcp-opt82 dhcp-opt82-2
circuit-id format "%PONSERIAL%"
remote-id format "%MNGIP%"
overwrite-opt82 enable
exit
ip ntp enable
ip ntp server 172.16.99.200
ip igmp snooping enable
vlan 999
name "Management"
exit
vlan 1000
name "TR-069"
exit
vlan 1001
name "Internet"
exit
vlan 1002
name "IPTV"
ip igmp snooping querier enable
ip igmp snooping querier ip-address 1.1.1.1
exit
vlan 1003
name "Internet_br"
exit
interface front-port 1/1
vlan allow 999-1003
exit
slot 1
type lc16g
interface ont 1/1/1
description "Subscriber-1"
serial ELTX00000001
profile shaping "Test"
template "Services"
exit
interface ont 1/1/2
description "Subscriber-2"
serial ELTX00000002
profile shaping "Test"
template "Services"
exit
interface ont 1/1/3
description "Subscriber-3"
serial ELTX00000003
profile shaping "Test"
template "Services"
exit
interface ont 1/1/4
description "Subscriber-4"
serial ELTX00000004
profile shaping "Test"
template "Services"
exit
interface ont 1/1/5
description "Subscriber-5"
serial ELTX00000005
profile shaping "Test"
template "Services"
exit
interface ont 1/2/1
description "Subscriber-6"
serial ELTX00000006
profile shaping "Test"
template "Services"
exit
interface ont 1/2/2
description "Subscriber-7"
serial ELTX00000007
profile shaping "Test"
template "Services"
exit
interface ont 1/2/3
description "Subscriber-8"
serial ELTX00000008
profile shaping "Test"
template "Services"
exit
interface ont 1/2/4
description "Subscriber-9"
serial ELTX00000009
profile shaping "Test"
template "Services"
exit
interface ont 1/2/5
description "Subscriber-10"
serial ELTX00000010
profile shaping "Test"
template "Services"
exit
interface ont 1/3/1
description "Subscriber-11"
serial ELTX00000011
profile shaping "Test"
template "Services"
exit
interface ont 1/3/2
description "Subscriber-12"
serial ELTX00000012
profile shaping "Test"
template "Services"
exit
interface ont 1/3/3
description "Subscriber-13"
serial ELTX00000013
profile shaping "Test"
template "Services"
exit
interface ont 1/3/4
description "Subscriber-14"
serial ELTX00000014
profile shaping "Test"
template "Services"
exit
interface ont 1/3/5
description "Subscriber-15"
serial ELTX00000015
profile shaping "Test"
template "Services"
exit
ip dhcp
snooping enable vlan 1-4094
opt82 profile dhcp-opt82-2
exit
ip pppoe
snooping enable
pppoe-ia profile pppoe-ia-2
exit
ip igmp proxy report enable
ip igmp proxy report range 224.0.0.0 239.255.255.255 from all to 1002
exit
slot 2
type lc16g
interface ont 2/1/1
description "Subscriber-16"
serial ELTX00000016
profile shaping "Test"
template "Services"
exit
interface ont 2/1/2
description "Subscriber-17"
serial ELTX00000017
profile shaping "Test"
template "Services"
exit
interface ont 2/1/3
description "Subscriber-18"
serial ELTX00000018
profile shaping "Test"
template "Services"
exit
interface ont 2/1/4
description "Subscriber-19"
serial ELTX00000019
profile shaping "Test"
template "Services"
exit
interface ont 2/1/5
description "Subscriber-20"
serial ELTX00000020
profile shaping "Test"
template "Services"
exit
interface ont 2/2/1
description "Subscriber-21"
serial ELTX00000021
profile shaping "Test"
template "Services"
exit
interface ont 2/2/2
description "Subscriber-22"
serial ELTX00000022
profile shaping "Test"
template "Services"
exit
interface ont 2/2/3
description "Subscriber-23"
serial ELTX00000023
profile shaping "Test"
template "Services"
exit
interface ont 2/2/4
description "Subscriber-24"
serial ELTX00000024
profile shaping "Test"
template "Services"
exit
interface ont 2/2/5
description "Subscriber-25"
serial ELTX00000025
profile shaping "Test"
template "Services"
exit
interface ont 2/3/1
description "Subscriber-26"
serial ELTX00000026
profile shaping "Test"
template "Services"
exit
interface ont 2/3/2
description "Subscriber-27"
serial ELTX00000027
profile shaping "Test"
template "Services"
exit
interface ont 2/3/3
description "Subscriber-28"
serial ELTX00000028
profile shaping "Test"
template "Services"
exit
interface ont 2/3/4
description "Subscriber-29"
serial ELTX00000029
profile shaping "Test"
template "Services"
exit
interface ont 2/3/5
description "Subscriber-30"
serial ELTX00000030
profile shaping "Test"
template "Services"
exit
ip dhcp
snooping enable vlan 1-4094
opt82 profile dhcp-opt82-2
exit
ip pppoe
snooping enable
pppoe-ia profile pppoe-ia-2
exit
ip igmp proxy report enable
ip igmp proxy report range 224.0.0.0 239.255.255.255 from all to 1002
exit
exit
commit
exit
|