Skip to main content

Basic Juniper OS

 Konfigurasi VLAN di Switch Juniper 


Mari kita konfigurasi beberapa VLAN di EX 2200 Juniper switch. Diagram di bawah menunjukkan dua EX 2200 switch. Kami akan membuat dua VLAN di kedua switch dan mengkonfigurasi port trunk antara switch ini.

Konfigurasi VLAN pada Juniper Switch







Konfigurasi vlan 10 sebagai Marketing dan vlan 20 sebagai Finance pada kedua switch. Mulailah dengan saklar A.

root @ PemulaA # set vlans marketing vlan-id 10 (Perintah ini akan membuat VLAN bernama maeketing dengan VLAN-ID dari 10)
root @ PemulaA# set vlans finance vlan-id 20 (Perintah ini akan membuat VLAN bernama keuangan dengan VLAN-ID dari 20)

root @ PemulaA # commit

Konfigurasi sama pada switch B,

root @ PemulaB # set VLAN marketing vlan-id 10
root @ PemulaB # set VLAN keuangan vlan-id 20
root @ PemulaB # commit

Untuk melihat VLAN yang telah dibuat perintah berikut,
root @ PemulaA # run acara VLAN
root @ PemulaB # run acara VLAN

Membuat interface ge-0/0/11 dan ge-0/0/12 member VLAN
[edit interface ge-0/0/11 ]
root @ PemulaA # set unit 0 family ethernet-switching vlan members marketing

[edit interface ge-0/0/12]
root @ PemulaA # set unit 0 family ethernet-switching vlan members finance

[edit interface ge-0/0/12 ]
root @ PemulaA # commit

Lakukan hal yang sama di Switch 2,
[edit interface ge-0/0/11]
root @ PemulaB # set unit 0 family ethernet-switching vlan members marketing
[edit interface ge-0/0/12]
root @ MustBeGeekB # set unit 0 family ethernet-switching vlan members finance

[edit interface ge-0/0/12]
root @ PemulaB # commit

Issue "show VLAN" perintah untuk melihat VLAN dan interface anggotanya pada kedua switch

root @ PemulaB> show VLAN

Ketika telah dikonfigurasi nama VLAN, ID dan penempatan port untuk VLAN. Sekarang mengkonfigurasi trunk port untuk tag VLAN. Untuk mengkonfigurasi port sebagai Trunk, masukkan perintah berikut di kedua switch,

[edit interface ge-0/0/10]
root @ PemulaA # set unit 0 family ethernet-switching port-mode trunk

[edit interface ge-0/0/10 ]
root @ PemulaA # set unit 0 family ethernet-switching vlan members all (semua vLAN akan melewati trunk ini, tetapi tidak akan melewati frame untagged)

[edit interface ge-0/0/10]
root @ PemulaA # set unit 0 family ethernet-switching native-vlan-id 10 (perintah ini akan memungkinkan switch untuk menerima frame untagged)



Lakukan sama pada Switch B

[edit interface ge-0/0/10]
root @ PemulaB # set unit 0 family ethernet-switching port-mode trunk

[edit interface ge-0/0/10]

root @ MustBeGeekB # set unit 0 family ethernet-switching vlan members all (semua vLAN akan melewati trunk ini, tapi tidak dapat melewati frame untagged)

[edit interface ge- 0/0/10]

root @ PemulaB # set unit 0 family ethernet-switching native-vlan-id 10 (perintah ini sekarang akan memungkinkan untagged VLAN)

Untuk melihat informasi dari VLAN Native

root@ PemulaA> show VLAN native

Untuk menampilkan daftar Ethernet interface switch,

root @ PemulaA> show ethernet-switching interface

Comments

Popular posts from this blog

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...

CLI Populer di OLT GPON ZTE

  ## cek onu belum terdaftar ZTE C300 # show gpon onu uncfg interface gpon-olt_1/9/1 onu 1 type ZTE-F609 sn ZTEGC86CCB88 exit ## Config interface onu yang baru interface gpon-onu_1/9/1:1   name NAME   description DESCRIPTION   sn-bind enable sn   tcont 1 name HSI profile 100M   tcont 2 name HOT profile 100M   gemport 1 name HSI unicast tcont 1 dir both   gemport 1 traffic-limit upstream UP100M downstream DW100M   gemport 2 name HOT unicast tcont 2 dir both   gemport 2 traffic-limit upstream UP100M downstream DW100M   switchport mode hybrid vport 1   switchport mode hybrid vport 2   service-port 1 vport 1 user-vlan 1200 vlan 1200   pppoe-plus enable sport 1   pppoe-plus trust true replace sport 1 exit ## config onu pon-onu-mng gpon-onu_1/9/1:1   service HSI type internet gemport 1 cos 0 vlan 1200   wan-ip 1 mode pppoe username PPPoE_USERNAME password PPPoeE_PASSWORD vlan-profile PPPoE host 1   secur...

Seting Switch Huawei

  1. Cara Console Switch Huawei Pada switch huawei biasanya default user name adalah  admin  dan default password adalah  admin@huawei.com . Tetapi pada switch huawei seri S5735 ini tidak memiliki default username dan password. Berikut adalah langkah-langkah  cara console switch huawei  : Siapkan kabel console Instal driver kabel console pada laptop Hubungkan switch ke laptop dengan kabel console Cek COM Port kabel console Jalankan aplikasi Putty Pada saat kita terhubung lewat console untuk pertama kalinya, maka akan diminta untuk membuat password baru. Tampilannya kurang lebih seperti berikut: An initial password is required for the first login via the console. Set a password and keep it safe. Otherwise you will not be able to login via the console. Please configure the login password (8-16) Enter Password: Confirm Password: Warning: The authentication mode was changed to password authentication and the user level was chan con0 at the first user logi...