Basic config BDCOM S2510-B Ethernet Switch

  • setting hostname
    hostname [name of switch]
  • vlan configuration
    vlan 10
    name Management
  • telnet configuration
    line vty 0 4
    login authentication default
    login authorization default
  • time & ntp configuration
    clocktime coniguration
    Time-zone WIB 7
    ntp server [ip ntp server]
  • lldp configuration (show of neighborship devices)
    lldp run
  • ip configuration
    interface Vlan 10
    ip address 10.11.12.13 255.255.255.0
  • interface configuration
    interface GigabitEthernet0/9

    description  Port Trunk
    switchport mode trunk

    switchport trunk vlan-allowed [all / x]

    interface GigabitEthernet0/1
    description Port Access
    switchport mode access
    switchport pvid (vlan id)
  • ip routing
    ip default-gateway
  • banner message
     text ****************************************
     text *      User Access Verification     *
     text *      Login authentication    *
     text ****************************************
  • save configuration
    write
  • QnQ port configuration
    interface GigaEthernet0/1
    description “Port access to user ”
    switchport pvid 200

    interface GigaEthernet0/9
    description “Port trunk to POP”
    switchport trunk vlan-allowed 10,200

    switchport mode dot1q-tunnel-uplink

 

Cara menghapus log session telnet di cisco

Remote login router cisco paling mudah ya pake telnet. Telnet sering digunakan untuk akses ke router dengan cepat. Telnet biasa diatur oleh seorang admin jaringan dengan maximal session yang akan di allow. Ketika session login habis mungkin karena serangan dari network luar (attacker) maka user yang seharusnya bisa masuk akan terputus dan selalu gagal remote login ke router tersebut. Disini clear line vty saja gak ampuh, untuk menghapus session pada remote login dengan telnet.

Biasanya dalam keadaan seperti ini ip management masih bisa di ping namun untuk remote login dengan telnet tidak bisa, solusinya harus di console langsung pada perangkatnya.

Berikut cara clear seasson yg ampuh dengan clear tcp tcb, sebelumnya lakukan show users terlebih dahulu untuk melihat ip address user yang masih nge chace, setelah didapatkan user yg dimaksud lakukan show tcp brief. Pilih local address yg sesuai dengan ip address user yg nge chace sebelumnya dan terahir lakukan clear tcp tcb [index tcb]

#show tcp brief 
TCB Local Address Foreign Address (state)
00526094 x.x.x.x x.x.x.x.55875 TIMEWAIT
007B2F8C x.x.x.x x.x.x.x.62886 ESTAB
007370F4 x.x.x.x x.x.x.x.56058 TIMEWAIT
007340D4 x.x.x.x x.x.x.x.55728 TIMEWAIT

#clear tcp tcb 007B2F8C

[Troubleshooting] Inter-VLAN Routing menggunakan Switch Layer 3

PC antar vlan bisa saling komunikasi menggunakan switch layer 3

Just create interface VLAN that is used as client gateway, assign IP address appropriate witch VLAN prefix as client gateway. Activate routing with ‘ip routing’ command.

Troubleshooting berikut ini akan memecahkan masalah bagaimana PC antar vlan bisa saling komunikasi menggunakan switch layer 3. Untuk file Ticket 3.pkt bisa download disini.

TestIDN3.JPG
Ticket 3- InterVLAN Routing

Alokasi IP Address :
– PC 0 : 10.10.10.10/24 gw 10.10.10.1
– PC 1 : 10.10.10.11/24 gw 10.10.10.1
– PC 2 : 20.20.20.10/24 gw 20.20.20.1
– PC 3 : 20.20.20.11/24 gw 20.20.20.1

Alokasi VLAN :
– VLAN 10  : PC0 & PC1
– VLAN 20  : PC2 & PC3

Checklis Konfigurasi yang sudah sesuai (tidak perlu dirubah):
– Semua PC sudah sesuai alokasi IP Addressnya

Konfigurasi yang belum sesuai :
– Switch L3, show running-config Continue reading “[Troubleshooting] Inter-VLAN Routing menggunakan Switch Layer 3”

[Troubleshooting] VLAN

Soal :
Pastikan pc yang vlannya sama bisa test ping

Untuk troubleshooting kali ini terkait VLAN, dengan soal “Pastikan PC yang vlan nya sama bisa test PING”

Sebelumnya Download terlebih dahulu file .pkt disini.

TestIDN1
Ticket 1 – VLAN

Alokasi IP Address :

PC 0 : 10.10.10.1/24
PC 1 : 20.20.20.1/24
PC2 : 10.10.10.2/24
PC 3 : 20.20.20.2/24

Group VLAN :

VLAN 10 : PC 0 & PC 2
VLAN 20 : PC 1 & PC 3

Konfigurasi pada Switch0

[ Sudah benar – Tidak perlu dimodifikasi konfigurasinya]

Continue reading “[Troubleshooting] VLAN”