Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
themeConfluence
titleTo configure the loopback on all ONT:
Switch#config
Switch_config#interface range gpON 0/1:1-10
Switch_config_if_range#gpon onu loopback-detect protocol private
Switch_config_if_range#gpon onu uni 1 loopback-detect enable 

...

Для ONU других вендоров (не BDCOM):


Code Block
languagetext
themeConfluencetitleStep01:  Create a profile. Let's say the profile name is 1M
Switch#config
Switch_config#gpon profile onu-tcont 1Mconfig#loopback-detection


Switch_config_prof_onuTcont_1M#gpon-profile tcont-type 3 pir ?   <512-1244160>    -- Max Bandwidth(kbps) Switch_config_prof_onuTcont_1M#gpon-profile tcont-type 3 pir 1024 cir ?   <256-768>    -- Assured Bandwidth(kbps) Switch_config_prof_onuTcont_1M#gpon-profile tcont-type 3 pir 1024 cir   <256-768>    -- Assured Bandwidth(kbps)
Code Block
languagetext
themeConfluence
titleStep02:  Assign the bandwidth (CIR and PIR) on 1M profile
Создаем профиль
Switch_config#gpon profile onu-loopback-detection loop
Switch-gpon-profile#gpon-profile port-vlan-table uni 1


Code Block
languagetext
themeConfluence
titleПрименяем профиль к ONU
Switch_config#interface gpon0/2:1
Switch_config_gpon0/2:1#gpon onu loopback-detect protocol ctc
Switch_config_gpon0/2:1#gpon profile onu-loopback-detection loop

2. Как применить rate-limit на GPON ONT (PON port / WAN  port):

Code Block
languagetext
themeConfluence
titleStep03: Bind the virtual portStep01:  Create a profile. Let's say the virtual port profile name is T1M1M
Switch#config
Switch_config#gpon profile onu-tcont-virtual-port-bind T1M
 1M


Code Block
languagetext
themeConfluence
titleStep02:  Assign the bandwidth (CIR and PIR) on 1M profile
Switch_config_prof_onuTcontVportBindonuTcont_T25M#gpon1M#gpon-profile virtualtcont-porttype 3 1pir profile?
  virtual<512-port-default1244160> tcont  1 -- profile 1M
Code Block
languagetext
themeConfluence
titleStep04:  Apply the profile on a specific ONT (0/1:1) and rate limit
Max Bandwidth(kbps)
Switch_config_gpon0/1:1#gpon onu tcont-virtual-port-bind-profile T1M_prof_onuTcont_1M#gpon-profile tcont-type 3 pir 1024 cir ?
  <256-768>    -- Assured Bandwidth(kbps)
Switch_config_gpon0/1:1#gpon onu virtual-port 1 downstream rate-limit ?
  <1-38880>

...

_prof_onuTcont_1M#gpon-profile tcont-type 3 pir 1024 cir
  <256-768>    -- Assured Bandwidth(kbps)


gpon qos-mode
Code Block
languagetext
themeConfluence
titleStep03: Bind the virtual port. Let's say the virtual port name is T1M
Switch_config#gpon profile onu-tcont-virtual-port-bind T1M
Switch_config_prof_onuTcontVportBind_T25M#gpon-profile virtual-port egress to configure rate-limit

3. Как изменить время сессии на OLT

1 profile virtual-port-default tcont 1 profile 1M


Code Block
languagetext
themeConfluence
Switch#config
Switch_config#line ?
console -- Primary terminal line
vty -- Virtual terminal

Switch_config#line console 0
Switch_config_line#exec-timeout ?
<0-86400>
Switch_config_line#exec-timeout
NB: 0 (zero) means no time out 

...

titleStep04:  Apply the profile on a specific ONT (0/1:1) and rate limit
Switch_config_gpon0/1:1#gpon onu tcont-virtual-port-bind-profile T1M
Switch_config_gpon0/1:1#gpon onu virtual-port 1 downstream rate-limit ?
  <1-38880>

NB: For GP3600B version OLT needs to add this command in PON port 

Code Block
languagetext
themeConfluence
gpon qos-mode virtual-port egress to configure rate-limit


3. Как изменить время сессии на OLT

Code Block
languagetext
themeConfluence
Switch#config
Switch_config#interface epON 0/5
Switch_config_epon0/5#switchport mode trunk
Switch_config_epon0/5#switchport trunk vlan-untagged noneconfig#line ?
console -- Primary terminal line
vty -- Virtual terminal

Switch_config#line console 0
Switch_config_epon0/5#exit
Switch_config#

Switch_config#interface epON 0/5:6
Switch_config_epon0/5:6#epon onu ctc ip address static 172.16.0.100 255.255.255.0 gateway 172.16.0.1 cvlan 1 svlan 0 priority 5

NB: Here, 172.16.0.100 is for ONU IP and gateway 172.16.0.1 is OLT IP 

For different VLAN

Code Block
languagetext
themeConfluence
line#exec-timeout ?
<0-86400>
Switch_config_line#exec-timeout
NB: 0 (zero) means no time out 


4. Как установить IP адрес на ONU (SFU) через EPON OLT

Code Block
languagetext
themeConfluence
Switch#config
Switch_config#interface epON 0/5
Switch_config_epon0/5#switchport mode trunk
Switch_config_epon0/5#switchport trunk vlan-untagged none
Switch_config_epon0/5#exit
Switch_config#

Switch_config#interface epON 0/5:6
Switch_config_epon0/5:6#epon onu port 1 ctc vlanip modeaddress trunk 100 1518
Switch_config_epon0/5:6#epon onu ctc ip address static static 172.16.0.100 255.255.255.0 gateway 172.16.0.1 cvlan 15181 svlan 0 priority 5

...

NB: Here, 172.16.0.100 is for ONU IP and gateway 172.16.0.1 is OLT IP 

For different VLAN

Code Block
languagetext
themeConfluence
Switch#config
Switch_config#intefaceconfig#interface epON gpon00/25:16
Switch_config_gpon0epon0/25:1#gpon6#epon onu ip-host ?
<1-1> -- ONU ip-host port IDport 1 ctc vlan mode trunk 100 1518
Switch_config_gpon0epon0/25:1#gpon6#epon onu ctc ip-host 1 address static 172.16.0.100 255.255.255.0 gateway 172.16.0.1

6. Как настроить VLAN на SFU ONU через CLI 

For EPON ONU

Code Block
 cvlan 1518 svlan 0 priority 5


5. Как установить IP адрес на ONT через GPON OLT 

Code Block
languagetext
themeConfluence
Switch#config
Switch_config#interfaceconfig#inteface epON 0gpon0/52:1
Switch_config_epon0gpon0/52:1#epon1#gpon onu port 1 ctc vlan mode tag 200 priority 0  [Here the example VLAN is 200]

...

ip-host ?
<1-1> -- ONU ip-host port ID
Switch_config_gpon0/2:1#gpon onu ip-host 1 address static 172.16.0.100 255.255.255.0 172.16.0.1


6. Как настроить VLAN на SFU ONU через CLI 

For EPON ONU

Code Block
languagetext
themeConfluencetitleStep01: To create a profile
Switch#config
Switch_config#gpon profile onu-vlan V100 [Here V100 is the profile config#interface epON 0/5:1
Switch_config_epon0/5:1#epon onu port 1 ctc vlan mode tag 200 priority 0  [Here the example VLAN is 200]

For GPON ONU


Code Block
languagetext
themeConfluence
titleStep01: To create a profile
Switch#config
Switch_config#gpon profile onu-vlan V100 [Here V100 is the profile name]
Switch-gpon-profile#gpon-profile vlan mode tag
Switch-gpon-profile#gpon-profile vlan pvid 100

...

Code Block
languagetext
themeConfluence
titleStep 01: Make profile
#config
Switch_config#gpon profile onu-tcont T20
 gpon-profile tcont-type 3 pir 20480 cir 20224
gpon profile onu-rate-limit R20
 gpon-profile pir 20480 cir 20480
gpon profile onu-virtual-port VP20
 gpon-profile upstream rate-limit-profile R20
gpon profile onu-tcont-virtual-port-bind TV20
 gpon-profile virtual-port 1 profile VP20 tcont 1 profile T20
gpon profile onu-flow-mapping F20
 gpon-profile entry 1 uni type eth-uni 1
 gpon-profile entry 1 virtual-port 1
=============================================================
Switch#config
Switch_config#gpon profile onu-vlan V100
Switch-gpon-profile#gpon-profile vlan mode tag
Switch-gpon-profile#gpon-profile vlan pvid 100====
Switch#config
Switch_config#gpon profile onu-vlan V100
Switch-gpon-profile#gpon-profile vlan mode tag
Switch-gpon-profile#gpon-profile vlan pvid 100


Code Block
languagetext
themeConfluence
titleStep 02: Make a template
Switch#config
Switch_config#gpon onutype-template SFU
 Switch_config_onutype_SFU#gpon-onutype match ctc-onu-type SFU
 Switch_config_onutype_SFU#gpon-onutype config tcont-virtual-port-bind-profile TV20
 Switch_config_onutype_SFU#gpon-onutype config flow-mapping-profile F20
 Switch_config_onutype_SFU#gpon-onutype config virtual-port 1 downstream rate-limit 320
 Switch_config_onutype_SFU#gpon-onutype config loopback-detect protocol private
 Switch_config_onutype_SFU#gpon-onutype config uni 1 vlan-profile V100
 Switch_config_onutype_SFU#gpon-onutype config uni 1 loopback-detect enable


Code Block
languagetext
themeConfluence
titleStep 03: Apply the template on the PON port of the OLT
Switch#config
Switch_config#interface GPON0/1
Switch_config_gpon0/1# gpon bind-onutype SFU precedence 1

30. Как ограничить нисходящую скорость к GPON ONU.

Code Block
languagetext
themeConfluence
Switch#config
Switch_config#interface GPON0/1:1 
Switch_config_gpon0/1:1#gpon onu virtual-port 1 downstream rate-limit ?
  kbps  -- In kbps(Convert to a value that is divisible by 64 automatically)

30. Как запретить регистрацию конкретной ONU EPON/GPON.

Code Block
languagetext
themeConfluence
titleEPON
Switch#conf
Switch_config#interface epon0/1
Switch_config_epon0/1#epon onu-blacklist mac ?
  <xxxx.xxxx.xxxx>     -- MAC address Value


Code Block
languagetext
themeConfluence
titleGPON
Switch#conf
Switch_config#interface gpon0/1
Switch_config_gpon0/1#gpon disable-onu ?
  XXXXXXXXXXXXXXXX   -- SN(16 characters)
  XXXX:XXXXXXXX      -- SN(VendorID:SerialNumberOfVendor)

31. Новый гибкий формат опции 82 GPON


Code Block
languagetext
themeConfluence
titleGPON
ip dhcp-relay snooping information option format custom-template circuit-id host/onusn:1/onuseq
ip dhcp-relay snooping information option format custom-template remote-id


Switch#conf Switch_config#interface gpon0/1 Switch_config_gpon0/1#gpon disable-onu ? XXXXXXXXXXXXXXXX -- SN(16 characters) XXXX:XXXXXXXX -- SN(VendorID:SerialNumberOfVendor)
Code Block
Code Block
languagetext
themeConfluence
titleGPON
languagetext
themeConfluence
titleStep 02: Make a template
Switch#config
Switch_config#gpon onutype-template SFU
 Switch_config_onutype_SFU#gpon-onutype match ctc-onu-type SFU
 Switch_config_onutype_SFU#gpon-onutype config tcont-virtual-port-bind-profile TV20
 Switch_config_onutype_SFU#gpon-onutype config flow-mapping-profile F20
 Switch_config_onutype_SFU#gpon-onutype config virtual-port 1 downstream rate-limit 320
 Switch_config_onutype_SFU#gpon-onutype config loopback-detect protocol private
 Switch_config_onutype_SFU#gpon-onutype config uni 1 vlan-profile V100
 Switch_config_onutype_SFU#gpon-onutype config uni 1 loopback-detect enable
Code Block
languagetext
themeConfluence
titleStep 03: Apply the template on the PON port of the OLT
Switch#config
Switch_config#interface GPON0/1
Switch_config_gpon0/1# gpon bind-onutype SFU precedence 1

30. Как ограничить нисходящую скорость к GPON ONU.

Code Block
languagetext
themeConfluence
Switch#config
Switch_config#interface GPON0/1:1 
Switch_config_gpon0/1:1#gpon onu virtual-port 1 downstream rate-limit ?
  kbps  -- In kbps(Convert to a value that is divisible by 64 automatically)

30. Как запретить регистрацию конкретной ONU EPON/GPON.

Code Block
languagetext
themeConfluence
titleEPON
Switch#conf
Switch_config#interface epon0/1
Switch_config_epon0/1#epon onu-blacklist mac ?
  <xxxx.xxxx.xxxx>     -- MAC address Value
Возможные переменные
Circuit id:
host - OLT hostname 
port - Порядковый номер порта OLT (1 ; 2 и т.д) 
slot - Порядковый номер слота OLT (0/1) 
cvid - Номер C-VLAN 
svid - Номер S-VLAN 
clientmac - MAC клиента 
onusn - format=-1 (формат, который настроен на OLT)
onusn:1 - format 1  --  4244434DB15EEF6 
onusn:2 - format 2  --  BDCM:B15EEF6 
onusn:3 - format 3  --  BDCMB15EEF6 
onuseq - Порядковый номер ONU 
ponname - PON-порт (gpon0/X) 
onuname - ONU-порт (gpon0/X:Y) 
portidx - ifIndex PON-порта
onuidx - inIndex ONU-порта 
portdesc - PON-порт description 
onudesc - ONU-порт description 
gemport - GEM-порт, соответствующий виртуальному порту ONU
При использовании формата "custom-template" - remote-id фиксированный - мак-адрес OLT.