Recent Posts

Friday, July 29, 2022

OLT ZTE C300/320 di ONT Mode Port: Vlan_Translate, QinQ, Trunk & Access


 

Contoh Config 

1. Vlan Translate QinQ To Access:
OLT-ZTE-C320#show run interface gpon-onu_1/4/1:21
Building configuration...
!
interface gpon-onu_1/4/1:21
  name RSO0766
  description Customer_Vlan-Translate
  tcont 6 name Internet_Vlan-Translate profile UP-100M
  gemport 6 name Internet_Vlan-Translate unicast tcont 6 dir both
  switchport mode hybrid vport 6
  service-port 6 vport 6 user-vlan 1490 vlan 1490 svlan 1479 
!
end

OLT-ZTE-C320#show onu running config gpon-onu_1/4/1:21
pon-onu-mng gpon-onu_1/4/1:21
  service Internet_Vlan-Translate gemport 6 vlan 1490
  vlan port eth_0/4 mode tag vlan 1490
  dhcp-ip ethuni eth_0/4 from-internet
!


2. Vlan QinQ Access:
OLT-ZTE-C320#show run interface gpon-onu_1/2/5:22
Building configuration...
!
interface gpon-onu_1/2/5:22
  name Internet-QinQ-Access
  description QinQ-Access
  tcont 1 name Acsata profile UP-200M
  tcont 1 gap mode2
  gemport 1 name Internet unicast tcont 1 dir both
  gemport 1 traffic-limit upstream DOWN-200M downstream DOWN-200M 
  switchport mode hybrid vport 1
  service-port 1 vport 1 user-vlan 1269 vlan 1269 
!
end

OLT-ZTE-C320#show onu running config gpon-onu_1/2/5:22
pon-onu-mng gpon-onu_1/2/5:22
  service Internet gemport 1 vlan 1269
  vlan port eth_0/4 mode tag vlan 1269
!



3. Vlan Trunk:
OLT-ZTE-C320#show run interface gpon-onu_1/3/9:22
Building configuration...
!
interface gpon-onu_1/3/9:22
  name Customer-Trunk
  description Customer-Trunk, Red Sapphire 3 No 38, 081908666324, 02/06/2020, FM
  tcont 3 name Internet-Trunk profile UP-100M
  tcont 4 name TV_Trunk profile UP-100M
  tcont 5 name OAM_Trunk profile UP-10M
  gemport 3 name Internet-Trunk unicast tcont 3 dir both
  gemport 3 traffic-limit upstream DOWN-100M downstream DOWN-100M 
  gemport 4 name TV_Trunk unicast tcont 4 dir both
  gemport 5 name OAM_Trunk unicast tcont 5 dir both
  switchport mode hybrid vport 3
  switchport mode hybrid vport 4
  switchport mode hybrid vport 5
  service-port 3 vport 3 user-vlan 1000 vlan 1000 
  service-port 4 vport 4 user-vlan 2000 vlan 2000 
  service-port 5 vport 5 user-vlan 32 vlan 32 
!
end

OLT-ZTE-C320#show onu running config gpon-onu_1/3/9:22
pon-onu-mng gpon-onu_1/3/9:22
  service Internet-Trunk gemport 3 vlan 1000
  service TV_Trunk gemport 4 vlan 2000
  service OAM_Trunk gemport 5 vlan 32
  vlan port eth_0/3 mode trunk
  vlan port eth_0/3 vlan 32,1000,2000
!


4. Config WIFI di ONT:
OLT-ZTE-C320#show run interface gpon-onu_1/1/1:3
Building configuration...
!
interface gpon-onu_1/1/1:3
  name SMP0001
  description David Gatot Subroto
  tcont 1 name FTTH-Simprug profile UP-20M
  tcont 2 name Smartmeter profile UP-1M
  gemport 1 name FTTH-Simprug unicast tcont 1 dir both
  gemport 1 traffic-limit upstream DOWN-20M downstream DOWN-20M 
  gemport 2 name Smartmeter unicast tcont 2 dir both
  gemport 2 traffic-limit upstream DOWN-1M downstream DOWN-1M 
  switchport mode hybrid vport 1
  switchport mode hybrid vport 2
  service-port 1 vport 1 user-vlan 673 vlan 673 
  service-port 2 vport 2 user-vlan 676 vlan 676 
!
end
OLT-ZTE-C320#show onu running config gpon-onu_1/1/1:3
pon-onu-mng gpon-onu_1/1/1:3
  service FTTH-Simprug gemport 1 vlan 673
  service Smartmeter gemport 2 vlan 676
  vlan port eth_0/1 mode tag vlan 673
  vlan port eth_0/2 mode tag vlan 676
  vlan port wifi_0/1 mode tag vlan 673
!

KURANGI KEPADATAN TRAFFIC MIKROTIK







di bawah Connection Tracking sedikit kurang nyambung sama kepadatan trafik hehe




Connection Tracking merupakan sebuah fitur yang digunakan untuk melihat informasi yang melewati router, masuk router, maupun keluar router seperti dst-address dan src-address yang sedang digunakan.


Status dalam connection Tracking :


Established : Paket data bagian dari yang sudah dikenali

New : Paket baru yang memulai koneksi

Related : Paket yang memulai koneksi baru tetapi sudah terkait dengan koneksi yang sudah ada sebelumnya.

Invalid : Paket tidak memiliki koneksi apapun

Untuk membuat rule connection tracking kita menggunakan connection state :


Established : Accept

Related : Accept

New : Passtrough

Invalid : Drop





Jika connection-tracking disable, maka fungsi berikut tidak bisa digunakan :
NATParameter P2P pada simple queueFirewall dengan parameter : 

connection-bytes
connection-mark
connection-type
connection-state
connection-limit
connection-rate
layer7-protocol
p2p
new-connection-mark
tarpit