Language:

Search

Tutorial GPON ZTE Integrasi CCTV dan Access Control untuk gedung (high rise building)

  • Share this:
post-title

Berhubung ini adalah project gue yang cukup panjang dan melelahkan akhirnya satu diantara sekian banyak project kantor gue yang harus gue abadikan di bawah ini ada beberapa pengertiannya

Skenario :
1. CCTV dan Access Control di setiap lantai seluruh gedung
2. Di satukan pada setiap ruang shaft (ruang kabel)
3. Lalu pada setiap 3 lantai terdapat rack server 12u dimana ODP tersedia
4. Dari ODP tersebut di pertemukan kabel optic yang mengarah pada ruang control (ruang server)
5. Di pertemukan melalui OLT
6. Dari OLT semua perangkat di pertemukan menggunakan kabel utp cat6
7. Di Switch Layer 2 dengan di buatkan VLAN
8. Masing-masing VLAN di peruntukkan sesuai device nya
9. Di port switch 1-10 terdapat VLAN 200 untuk CCTV
10. Di port switch 11-16 terdapat VLAN 300 untuk Access Control


Ada beberapa tahap,diantaranya adalah :

1. Add IP Address di tiap-tiap unit CCTV dan Access Control
2. Add IP Address tiap-tiap ONU
3. Register VLAN
4. Register ONU ke OLT
5. Setup VLAN di Switch L2 (Dasan)
7. Pada NVR add unit search by ip

Daftar IP nya :

10.1.1.5 ZTEG0x9001B2FE (gf cctv & access) *
10.3.1.6 ZTEG0x9001C047 (gf internet)

10.1.1.7 ZTEG0x9001B3D0 (p4 cctv) 
10.1.1.35 ZTEG0x9001B386 (p4 access)

10.1.1.8  ZTEG0x9001B1DE (lt1 cctv & access)
10.1.1.9  ZTEG0x9001B344 (lt1 internet&voip)
10.1.1.10 ZTEG0x9001B326 (lt1 iptv)

10.1.1.11 ZTEG0x9001B292 (lt4 cctv & access)
10.1.1.12 ZTEG0x9001B28A (lt4 internet&voip)
10.1.1.13 ZTEG0x9001B3E0 (lt4 iptv)

10.1.1.14 ZTEG0x9001B1FE (lt7 cctv&access)
10.1.1.15 ZTEG0x9001B2D0 (lt7 internet&voip)
10.1.1.16 ZTEG0x9001B2BA (lt7 iptv)

10.1.1.17 ZTEG0x9001B40E (lt10 cctv&access)
10.1.1.18 ZTEG0x9001B248 (lt10 internet&voip)
10.1.1.19 ZTEG0x9001B1FA (lt10 iptv)

10.1.1.20 ZTEG0x9001B200 (lt13 cctv&access)
10.1.1.21 ZTEG0x9001B3C6 (lt13 internet&voip)
10.1.1.22 ZTEG0x9001B27E (lt13 iptv)

10.1.1.23 ZTEG0x9001B33A (lt16 cctv&access)
10.1.1.24 ZTEG0x9001B3CE (lt16 internet&voip)
10.1.1.25 ZTEG0x9001B35A (lt16 iptv)

10.1.1.26 ZTEG0x9001B1EC (lt19 cctv&access)
10.1.1.27 ZTEG0x9001B342 (lt19 internet&voip)
10.1.1.28 ZTEG0x9001B3CA (lt19 iptv)

10.1.1.29 ZTEG0x9001B28E (lt22 cctv&access) *
10.1.1.30 ZTEG0x9001B276 (lt22 internet&voip)
1f0.1.1.31 ZTEG0x9001B294 (lt22 iptv)

10.1.1.32 ZTEG0x9001B4DA (lt25 cctv&access)
10.1.1.33 ZTEG0x9001B392 (lt25 internet&voip)
10.1.1.34 ZTEG0x9001B2B6 (lt25 iptv)

Baik, kita langsung lakukan register onu dulu, login melalui console

en (masukin passwd)
show run interface gpon-olt_1/1/1
Building configuration...
interface gpon-olt_1/1/1
  no shutdown
  linktrap disable
  onu 1 type ZTEG-F821 sn ZTEG9001B2FE
  onu 2 type ZTEG-F821 sn ZTEG9001C047
  onu 3 type ZTEG-F821 sn ZTEG9001B3D0
  onu 4 type ZTEG-F821 sn ZTEG9001B386
  onu 5 type ZTEG-F821 sn ZTEG9001B1DE
  onu 6 type ZTEG-F821 sn ZTEG9001B344
  onu 7 type ZTEG-F821 sn ZTEG9001B292
  onu 8 type ZTEG-F821 sn ZTEG9001B28A
!
end
onu (nmr urut) type ZTEG-F821 sn ZTEG9001B386
contoh :
onu 4 type ZTEG-F821 sn ZTEG9001B386
conf t

interface gpon-onu_1/1/1:2

description ONU-F821-P4-Acc
tcont 1 name GPON-MNG profile UP-5M
tcont 2 name CCTV profile UP-20M
tcont 3 name ENTRYPASS profile UP-5M
gemport 1 name GPON-MNG tcont 1
gemport 1 traffic-limit downstream DOWN-5M
gemport 2 namne CCTV tcont 2
gemport 2 traffic-limit downstream DOWN-20M
gemport 3 name ENTRYPASS tcont 3
gemport 3 traffic-limit downstream DOWN-5M
switchport mode hybrid vport 1
switchport mode hybrid vport 2
switchport mode hybrid vport 3
service-port 1 vport 1 user-vlan 100 vlan 100
service-port 2 vport 2 user-vlan 200 vlan 200
service-port 3 vport 3 user-vlan 300 vlan 300

conf t

pon-onu-mng gpon-onu_1/1/1:2

flow 2 switch switch_0/1
flow 3 switch switch_0/1
flow 4 switch switch_0/1
flow mode 1 tag-filter vlan-filter untag-filter discard
flow mode 2 tag-filter vlan-filter untag-filter discard
flow mode 3 tag-filter vlan-filter untag-filter discard
flow mode 4 tag-filter vlan-filter untag-filter discard
flow 1 pri 0 vlan 100
flow 2 pri 0 vlan 200
flow 3 pri 0 vlan 300
gemport 1 flow 1
gemport 2 flow 2
gemport 3 flow 3
switchport-bind switch_0/1 iphost 1
vlan-filter-mode iphost 1 tag-filter vlan-filter untag-filter discard
vlan-filter iphost 1 pri 1 vlan 100

Kita lakukan juga register di olt nya :

manajemen vlan 100
ip 10.1.1.x
subnet 255.255.252.0

vlan 200
ip 10.2.1.x
subnet 255.255.255.0
ip start gf 10.1.1.5

data -> vlan 300
ip 10.3.1.x
subnet 255.255.252.0
ip start gf 10.3.1.5


voice -> vlan 400
ip 10.4.1.x
subnet 255.255.252.0

ip onu cctv&access dari GF star 10.1.1.5
subnet 255.255.252.0

setelah set ip di onu

step 1 
Gold-Coast-OLT-1#show gpon onu uncfg
OnuIndex                 Sn                  State
---------------------------------------------------------------------
gpon-onu_1/1/2:1         ZTEG9001B33A        unknown
gpon-onu_1/1/2:2         ZTEG9001B40E        unknown
gpon-onu_1/1/2:3         ZTEG9001B200        unknown
gpon-onu_1/1/3:1         ZTEG9001B28E        unknown


step 2 
Gold-Coast-OLT-1(config)#interface gpon-olt_1/1/2 (port)
Gold-Coast-OLT-1(config-if)#onu 1 type ZTEG-F821 sn ZTEG9001B33A
.[Successful]
Gold-Coast-OLT-1(config-if)#onu 2 type ZTEG-F821 sn ZTEG9001B40E
.[Successful]
Gold-Coast-OLT-1(config-if)#onu 3 type ZTEG-F821 sn ZTEG9001B200
.[Successful]

BUAT CEK REGISTER ONU
Gold-Coast-OLT-1#show running-config interface gpon-olt_1/1/2
Building configuration...
interface gpon-olt_1/1/2
  no shutdown
  linktrap disable
  onu 1 type ZTEG-F821 sn ZTEG9001B33A
  onu 2 type ZTEG-F821 sn ZTEG9001B40E
  onu 3 type ZTEG-F821 sn ZTEG9001B200
!
end
Gold-Coast-OLT-1#show running-config interface gpon-olt_1/1/3
Building configuration...
interface gpon-olt_1/1/3
  no shutdown
  linktrap disable
  onu 1 type ZTEG-F821 sn ZTEG9001B28E
!
end
Gold-Coast-OLT-1#show running-config interface gpon-olt_1/1/1
Building configuration...
interface gpon-olt_1/1/1
  no shutdown
  linktrap disable
  onu 1 type ZTEG-F821 sn ZTEG9001B2FE
  onu 2 type ZTEG-F821 sn ZTEG9001C047
  onu 3 type ZTEG-F821 sn ZTEG9001B3D0
  onu 4 type ZTEG-F821 sn ZTEG9001B386
  onu 5 type ZTEG-F821 sn ZTEG9001B1DE
  onu 6 type ZTEG-F821 sn ZTEG9001B344
  onu 7 type ZTEG-F821 sn ZTEG9001B292
  onu 8 type ZTEG-F821 sn ZTEG9001B28A
!
end

interface gpon-onu_1/1/2:2
description (nama desc)

Gold-Coast-OLT-1#conf t
%Info 20272: Enter configuration commands, one per line. End with CTRL/Z.
Gold-Coast-OLT-1(config)#interface gpon-onu_1/1/2:1
Gold-Coast-OLT-1(config-if)
  Gold-Coast-OLT-1(config-if)tcont 1 name ACCESS-DOOR profile 5M
  Gold-Coast-OLT-1(config-if)tcont 2 name CCTV profile 10M
  Gold-Coast-OLT-1(config-if)tcont 3 name Management-Vlan profile 5M
  Gold-Coast-OLT-1(config-if)gemport 1 name ACCESS-DOOR tcont 1
  Gold-Coast-OLT-1(config-if)gemport 1 traffic-limit downstream DOWN-5M
  Gold-Coast-OLT-1(config-if)gemport 2 name CCTV tcont 2
  Gold-Coast-OLT-1(config-if)gemport 2 traffic-limit downstream DOWN-10M
  Gold-Coast-OLT-1(config-if)gemport 3 name Managemenet-Vlan tcont 3
  Gold-Coast-OLT-1(config-if)gemport 3 traffic-limit downstream DOWN-5M
  Gold-Coast-OLT-1(config-if)switchport mode hybrid vport 1
  Gold-Coast-OLT-1(config-if)switchport mode hybrid vport 2
  Gold-Coast-OLT-1(config-if)switchport mode hybrid vport 3
  Gold-Coast-OLT-1(config-if)service-port 1 vport 1 user-vlan 200 vlan 200
  Gold-Coast-OLT-1(config-if)service-port 2 vport 2 user-vlan 300 vlan 300
  Gold-Coast-OLT-1(config-if)service-port 3 vport 3 user-vlan 100 vlan 100
  
  
  Gold-Coast-OLT-1(config)#interface gpon-onu_1/1/2:2
Gold-Coast-OLT-1(config-if)#show this
interface gpon-onu_1/1/2:2
  description lt10 cctvaksespunya
  sn-bind enable sn
  tcont 1 name ACCESS-DOOR profile 5M
  tcont 2 name CCTV profile 10M
  tcont 3 name Management-Vlan profile 5M
  gemport 1 name ACCESS-DOOR tcont 1
  gemport 1 traffic-limit downstream DOWN-5M
  gemport 2 name CCTV tcont 2
  gemport 2 traffic-limit downstream DOWN-10M
  gemport 3 name Managemenet-Vlan tcont 3
  gemport 3 traffic-limit downstream DOWN-5M
  switchport mode hybrid vport 1
  switchport mode hybrid vport 2
  switchport mode hybrid vport 3
  service-port 1 vport 1 user-vlan 200 vlan 200
  service-port 2 vport 2 user-vlan 300 vlan 300
  service-port 3 vport 3 user-vlan 100 vlan 100
!


CARA LIAT KONFIGURASI gpon-onu_1/1/2:2
Gold-Coast-OLT-1#show onu running config gpon-onu_1/1/2:2
pon-onu-mng gpon-onu_1/1/2:2
  flow 2 switch switch_0/1
  flow 3 switch switch_0/1
  flow 4 switch switch_0/1
  flow mode 1 tag-filter vlan-filter untag-filter discard
  flow mode 2 tag-filter vlan-filter untag-filter discard
  flow mode 3 tag-filter vlan-filter untag-filter discard
  flow mode 4 tag-filter vlan-filter untag-filter discard
  flow 1 pri 1 vlan 200
  flow 1 pri 4 vlan 200
  flow 2 pri 1 vlan 300
  flow 3 pri 1 vlan 100
  gemport 1 flow 1
  gemport 2 flow 2
  gemport 3 flow 3
  switchport-bind switch_0/1 iphost 1
  vlan-filter-mode iphost 1 tag-filter vlan-filter untag-filter discard
  vlan-filter iphost 1 pri 1 vlan 100
!

  
!

 

 

show vlan summary
enable zxr10
conf t gpon onu state
show gpon onu uncfg

pon
  onu-type ZTEG-F821 gpon description 24ETH-48POTS
  onu-type ZTEG-F821 gpon max-tcont 40
  onu-type ZTEG-F821 gpon max-switch-perslot 32
  onu-type ZTEG-F821 gpon max-flow-perswitch 200
  onu-type ZTEG-F821 gpon max-iphost 3
  onu-type-if ZTEG-F821 eth_0/1
  onu-type-if ZTEG-F821 eth_0/2
  onu-type-if ZTEG-F821 eth_0/3
  onu-type-if ZTEG-F821 eth_0/4
  onu-type-if ZTEG-F821 eth_0/5
  onu-type-if ZTEG-F821 eth_0/6
  onu-type-if ZTEG-F821 eth_0/7
  onu-type-if ZTEG-F821 eth_0/8
  onu-type-if ZTEG-F821 eth_0/9
  onu-type-if ZTEG-F821 eth_0/10
  onu-type-if ZTEG-F821 eth_0/11
  onu-type-if ZTEG-F821 eth_0/12
  onu-type-if ZTEG-F821 eth_0/13
  onu-type-if ZTEG-F821 eth_0/14
  onu-type-if ZTEG-F821 eth_0/15
  onu-type-if ZTEG-F821 eth_0/16
  onu-type-if ZTEG-F821 eth_0/17
  onu-type-if ZTEG-F821 eth_0/18
  onu-type-if ZTEG-F821 eth_0/19
  onu-type-if ZTEG-F821 eth_0/20
  onu-type-if ZTEG-F821 eth_0/21
  onu-type-if ZTEG-F821 eth_0/22
  onu-type-if ZTEG-F821 eth_0/23
  onu-type-if ZTEG-F821 eth_0/24
  onu-type-if ZTEG-F821 pots_0/3
  onu-type-if ZTEG-F821 pots_0/4
  onu-type-if ZTEG-F821 pots_0/5
  onu-type-if ZTEG-F821 pots_0/6
  onu-type-if ZTEG-F821 pots_0/7
  onu-type-if ZTEG-F821 pots_0/8
  onu-type-if ZTEG-F821 pots_0/9
  onu-type-if ZTEG-F821 pots_0/10
  onu-type-if ZTEG-F821 pots_0/11
  onu-type-if ZTEG-F821 pots_0/12
  onu-type-if ZTEG-F821 pots_0/13
  onu-type-if ZTEG-F821 pots_0/14
  onu-type-if ZTEG-F821 pots_0/15
  onu-type-if ZTEG-F821 pots_0/16
  onu-type-if ZTEG-F821 pots_0/17
  onu-type-if ZTEG-F821 pots_0/18
  onu-type-if ZTEG-F821 pots_0/19
  onu-type-if ZTEG-F821 pots_0/20
  onu-type-if ZTEG-F821 pots_0/21
  onu-type-if ZTEG-F821 pots_0/22
  onu-type-if ZTEG-F821 pots_0/23
  onu-type-if ZTEG-F821 pots_0/24
  onu-type-if ZTEG-F821 pots_0/25
  onu-type-if ZTEG-F821 pots_0/26
  onu-type-if ZTEG-F821 pots_0/27
  onu-type-if ZTEG-F821 pots_0/28
  onu-type-if ZTEG-F821 pots_0/29
  onu-type-if ZTEG-F821 pots_0/30
  onu-type-if ZTEG-F821 pots_0/31
  onu-type-if ZTEG-F821 pots_0/32
  onu-type-if ZTEG-F821 pots_0/33
  onu-type-if ZTEG-F821 pots_0/34
  onu-type-if ZTEG-F821 pots_0/35
  onu-type-if ZTEG-F821 pots_0/36
  onu-type-if ZTEG-F821 pots_0/37
  onu-type-if ZTEG-F821 pots_0/38
  onu-type-if ZTEG-F821 pots_0/39
  onu-type-if ZTEG-F821 pots_0/40
  onu-type-if ZTEG-F821 pots_0/41
  onu-type-if ZTEG-F821 pots_0/42
  onu-type-if ZTEG-F821 pots_0/43
  onu-type-if ZTEG-F821 pots_0/44
  onu-type-if ZTEG-F821 pots_0/45
  onu-type-if ZTEG-F821 pots_0/46
  onu-type-if ZTEG-F821 pots_0/47
  onu-type-if ZTEG-F821 pots_0/48
  uncfg-onu-display-info model sn pw

show run


-=olt 2=-


enable  
conf t
pon 

pon
  onu-type ZTEG-F821 gpon description 24ETH-48POTS
  onu-type ZTEG-F821 gpon max-tcont 40
  onu-type ZTEG-F821 gpon max-switch-perslot 32
  onu-type ZTEG-F821 gpon max-flow-perswitch 200
  onu-type ZTEG-F821 gpon max-iphost 3
  onu-type-if ZTEG-F821 eth_0/1
  onu-type-if ZTEG-F821 eth_0/2
  onu-type-if ZTEG-F821 eth_0/3
  onu-type-if ZTEG-F821 eth_0/4
  onu-type-if ZTEG-F821 eth_0/5
  onu-type-if ZTEG-F821 eth_0/6
  onu-type-if ZTEG-F821 eth_0/7
  onu-type-if ZTEG-F821 eth_0/8
  onu-type-if ZTEG-F821 eth_0/9
  onu-type-if ZTEG-F821 eth_0/10
  onu-type-if ZTEG-F821 eth_0/11
  onu-type-if ZTEG-F821 eth_0/12
  onu-type-if ZTEG-F821 eth_0/13
  onu-type-if ZTEG-F821 eth_0/14
  onu-type-if ZTEG-F821 eth_0/15
  onu-type-if ZTEG-F821 eth_0/16
  onu-type-if ZTEG-F821 eth_0/17
  onu-type-if ZTEG-F821 eth_0/18
  onu-type-if ZTEG-F821 eth_0/19
  onu-type-if ZTEG-F821 eth_0/20
  onu-type-if ZTEG-F821 eth_0/21
  onu-type-if ZTEG-F821 eth_0/22
  onu-type-if ZTEG-F821 eth_0/23
  onu-type-if ZTEG-F821 eth_0/24
  onu-type-if ZTEG-F821 pots_0/3
  onu-type-if ZTEG-F821 pots_0/4
  onu-type-if ZTEG-F821 pots_0/5
  onu-type-if ZTEG-F821 pots_0/6
  onu-type-if ZTEG-F821 pots_0/7
  onu-type-if ZTEG-F821 pots_0/8
  onu-type-if ZTEG-F821 pots_0/9
  onu-type-if ZTEG-F821 pots_0/10
  onu-type-if ZTEG-F821 pots_0/11
  onu-type-if ZTEG-F821 pots_0/12
  onu-type-if ZTEG-F821 pots_0/13
  onu-type-if ZTEG-F821 pots_0/14
  onu-type-if ZTEG-F821 pots_0/15
  onu-type-if ZTEG-F821 pots_0/16
  onu-type-if ZTEG-F821 pots_0/17
  onu-type-if ZTEG-F821 pots_0/18
  onu-type-if ZTEG-F821 pots_0/19
  onu-type-if ZTEG-F821 pots_0/20
  onu-type-if ZTEG-F821 pots_0/21
  onu-type-if ZTEG-F821 pots_0/22
  onu-type-if ZTEG-F821 pots_0/23
  onu-type-if ZTEG-F821 pots_0/24
  onu-type-if ZTEG-F821 pots_0/25
  onu-type-if ZTEG-F821 pots_0/26
  onu-type-if ZTEG-F821 pots_0/27
  onu-type-if ZTEG-F821 pots_0/28
  onu-type-if ZTEG-F821 pots_0/29
  onu-type-if ZTEG-F821 pots_0/30
  onu-type-if ZTEG-F821 pots_0/31
  onu-type-if ZTEG-F821 pots_0/32
  onu-type-if ZTEG-F821 pots_0/33
  onu-type-if ZTEG-F821 pots_0/34
  onu-type-if ZTEG-F821 pots_0/35
  onu-type-if ZTEG-F821 pots_0/36
  onu-type-if ZTEG-F821 pots_0/37
  onu-type-if ZTEG-F821 pots_0/38
  onu-type-if ZTEG-F821 pots_0/39
  onu-type-if ZTEG-F821 pots_0/40
  onu-type-if ZTEG-F821 pots_0/41
  onu-type-if ZTEG-F821 pots_0/42
  onu-type-if ZTEG-F821 pots_0/43
  onu-type-if ZTEG-F821 pots_0/44
  onu-type-if ZTEG-F821 pots_0/45
  onu-type-if ZTEG-F821 pots_0/46
  onu-type-if ZTEG-F821 pots_0/47
  onu-type-if ZTEG-F821 pots_0/48
  uncfg-onu-display-info model sn pw
exit
vlan 100
name management_vlan
exit
vlan 200
name cctv
exit
vlan 300
name internet
exit 
vlan 400
name voip
exit
vlan 500
name iptv
exit
gpon
profile tcont 5M type 1 fixed 5120
profile tcont 10M type 1 fixed 10240
profile tcont 15M type 1 fixed 15360
profile tcont 30M type 1 fixed 30720
profile tcont 50M type 1 fixed 51200
profile tcont 100M type 1 fixed 102400

profile traffic DOWN-5M sir 5120 pir 5120
profile traffic DOWN-10M sir 10240 pir 10240
profile traffic DOWN-15M sir 10240 pir 15360
profile traffic DOWN-30M sir 10240 pir 30720
profile traffic DOWN-50M sir 10240 pir 51200
profile traffic DOWN-100M sir 10240 pir 102400
write
show run
conf t
interface gpon-olt_1/1/1
no shut
exit
interface gpon-olt_1/1/2
no shut 
exit
interface gpon-olt_1/1/3
no shut
exit
interface gpon-olt_1/1/4
no shut
exit
interface gpon-olt/1/1/5
no shut
exit
show gpon onu uncfg

 
 
Kita tambahkan juga untuk Turnstille tarikan utp cat6 front desk Lt. GT pemindahan access di pintu tangga cctv basement 

manajemen vlan 100, ip 10.1.1.x
subnet 255.255.255.252.0

vlan 200, ip 10.2.1.x subnet 255.255.255.0

data/inet, vlan 300, ip 10.3.1.x
subnet 255.255.252.0

voip,vlan 400, ip 10.4.1.x
subnet 255.255.252.0

urutannya mulai onu pertama di lt.GF, utk management
mulai 10.1.1.5 subnet 255.255.252.0


gpon
profile tcont 5M type 1 fixed 5120
profile tcont 10M type 1 fixed 10240
profile tcont 15M type 1 fixed 15360
profile tcont 30M type 1 fixed 30720
profile tcont 50M type 1 fixed 51200
profile tcont 100M type 1 fixed 102400

profile traffic DOWN-5M sir 5120 pir 5120
profile traffic DOWN-10M sir 10240 pir 10240
profile traffic DOWN-15M sir 10240 pir 15360
profile traffic DOWN-30M sir 10240 pir 30720
profile traffic DOWN-50M sir 10240 pir 51200
profile traffic DOWN-100M sir 10240 pir 102400

[NOTE]: User "admin" logout with console

######################################################################
#                                                                    #
#                      Welcome to ZTE F821                           #
#                                                                    #
#                  Press Return to get started                       #
#                                                                    #
#                 Copyright 2005-2017 , ZTE Co.,Ltd.                 #
#                                                                    #
######################################################################
Login:admin
Password:


[NOTE]: User "admin" login with console
ZXAN>en
Please input password:

ZXAN# sho w
Error: Bad command

ZXAN# show run
end
configure vlan database
  vlan 100
end
configure
 nvram boot-ftptype FTP
end
configure interface inband-vlan 100
  ip address 172.168.16.12 255.255.255.0 name "ZTESUBNET"
end
configure
 ip route 0.0.0.0 0.0.0.0 172.168.16.1 name "ZTEROUTE"
  pon sn gpon ZTEG0x9001B1FE
  pon password epon ZTEZTE
  pon onu-register-protect mode 60min
 topi
 exit
end
configure interface gei_0/5/1
   flowcontrol disable
end


show card


no ip route 0.0.0.0

no vlan 100
The vlan 100 is a management vlan!

vlan 500

name management_data

exit

interface inband-vlan 500


exi

no vlan 500

vlan 100

name Management_CCTV_Access

exi

int inband-vlan 100

ip addr 172.16.1.8 255.255.255.0

exi

ip route 0.0.0.0 0.0.0.0 172.16.1.1

wri

show run

configure vlan database
  vlan 100
end
configure vlan 100
  name "Management_CCTV_Access"
end
configure
 nvram boot-ftptype FTP
end
configure interface inband-vlan 100
  ip address 172.16.1.8 255.255.255.0 name "ZTESUBNET"
end
configure
 ip route 0.0.0.0 0.0.0.0 172.16.1.1 name "ZTEROUTE"
  pon sn gpon ZTEG0x9001B1FE
  pon password epon ZTEZTE
  pon onu-register-protect mode 60min
 topi
 exit
end


===== add ip =====

admin
admin
en
admin
conf
vlan 100
name management_data
exit
interface inband-vlan 100
ip addr 10.1.1.5 255.255.252.0
exit
ip route 0.0.0.0 0.0.0.0 10.1.1.1
exit
write

Oke, sekarang untuk OLT agar kesemuanya ter integrasi, Switch L2 bisa ketemu di OLT dan mengakomodasi CCTV dan akses kontrol, juga lift

ZXAN# conf vlan database

ZXAN(vlan)# vlan 200,300

ZXAN(vlan)# exi

ZXAN# configure

ZXAN(config)# vlan 200

ZXAN(config-vlan)# name VLAN_CCTV

ZXAN(config-vlan)# exi

ZXAN(config)# vlan 300

ZXAN(config-vlan)# name VLAN_ACCard

ZXAN(config-vlan)# exi

ZXAN(config)# interface gei_0/5/1

ZXAN(config-if)# switchport vlan 200,300 tag
100%

ZXAN(config-if)# forward unknown-multicast flood

ZXAN(config-if)# exi

ZXAN(config)# exi

ZXAN# show interface fe
 fei_0/2
 fei_0/3
 fei_0/4

ZXAN# show interface fei_0/3/1 port-status (1-8)
Port  AdminStatus LinkStatus TxRate(Mbps)
-----------------------------------------------------------------
3/1   enable      up         100M

ZXAN# show interface fei_0/4/1 port-status (1-8)
Port  AdminStatus LinkStatus TxRate(Mbps)
-----------------------------------------------------------------
4/1   enable      up         100M

ZXAN# configure

ZXAN(config)# interface range fe
 fei_0/2
 fei_0/3
 fei_0/4

ZXAN(config)# interface range fei_0/3/1-5

ZXAN(config-if)# switchport vlan 200 untag
100%

ZXAN(config-if)# qos trust cos

ZXAN(config-if)# switchport default vlan 200

ZXAN(config-if)# exi

ZXAN(config)# interface range fei_0/4/1-3

ZXAN(config-if)# switchport vlan 300 untag
100%

ZXAN(config-if)# qos trust cos

ZXAN(config-if)# switchport default vlan 300

ZXAN(config-if)# exi

ZXAN(config)# exi

ZXAN# write
     

Yang di satukan vlan nya lt p4,4,10,16 & 22 


 


 

Armin

Armin

IT Dev, SEO & Digital Marketing Specialist with 7+ years experience, Coder, Sys Admin, Designer, Blogger