Share Everything to Everyone

Tampilkan postingan dengan label CCNP. Tampilkan semua postingan
Tampilkan postingan dengan label CCNP. Tampilkan semua postingan

Senin, 29 Januari 2024

Border Gateway Protocol (Teori)

13.03 Posted by ROSYID'S BLOG No comments

BPG menggunakan TCP port 179 untuk komunikasi.

Dalam perspektif BGP, Autonomous System (AS) adalah sekumpulan router dalam satu kontrol organisasi.

Nomor AS awalnya terdiri dari 2 bytes (16 bit) kemudian diperlebar menjadi 4 bytes (32 bit).

Ada 2 blok nomor AS Private yang dapat digunakan oleh organisasi, yaitu ASN 64.512 - 65.534 untuk range AS 16 bit dan 4.200.000.000 – 4.294.967.294 untuk extended range AS 32 bit.

BGP menggunakan path attribute untuk menentukan jalur dan diklasifikasi menjadi berikut.

  • Well-known mandatory
  • Well-known discretionary
  • Optional transitive
  • Optional non-transitive

Path atribut yang wajib ada dalam setiap advertisement adalah Well-know mandatory.

Kemudian BGP session terbagi menjadi 2 type, yaitu :

1. iBGP (Internal BGP).

- Administrative Distance 200 dan Time-to-Live 255

2. eBGP (External BGP).

- Administrative Distance 20 dan Time-to-Live 1


Sabtu, 27 Januari 2024

OSPF Versi 3 (Teori)

23.32 Posted by ROSYID'S BLOG , No comments

OSPFv3 bisa digunakan pada IPv4 maupun IPv6, dan proses komunikasinya bergantung pada IPv6 link-local address sebagai sumber alamat. Pada OSPF versi ini menggunakan protocol number 89.

OSPFv3 kurang lebih sama dengan versi sebelumnya, namun memiliki beberapa pembaharuan seperti router-id yang harus manual ditulis di bawah konfigurasi ospf dan aktivasi interface ospf secara eksplisit harus ditulis di konfigurasi interface. Jika router-id tidak ditulis maka secara default akan terisi 0.0.0.0 dan tidak dapat membentuk OSPF Adjencies.

    (config-router)# router-id 192.168.1.1

    (config-if)# ospfv3 1 ipv6 area 0

Beberapa istilah LSA mengalamai perubahan seperti.

    Network Summary => Inter-Area Prefix

    ASBR Summary => Inter-Area Router

Agar dapat saling berkomunikasi, OSPv3 menggunakan alamat multicast tujuan sebagai berikut:

  • FF02::05 OSPv3 AllSPFRouters. Semua Router mengirim pesan OSPF Hello ke alamat ini, serta DR/BDR mengirim LSUpdate dan LSAck ke All Router.

  • FF02::06 OSPv3 AllDRouters. Digunakan DRothers mengirim LSUpdate dan LSAck ke DR/BDR.







Minggu, 26 Juni 2022

Create Modular QoS CLI (MQC)

00.53 Posted by ROSYID'S BLOG No comments

You wanna make QoS on your Router ? Just make using MQC.

The steps only create 3 items : Class-Map, Policy-Map, and then Apply to Interface.

Let's get into the CLI !!!


R1(config)#class-map match-any EMAIL
R1(config-cmap)#match protocol pop3
R1(config-cmap)#match protocol smtp
R1(config-cmap)#match protocol imap
R1(config-cmap)#match protocol exchange
R1(config-cmap)#exit

R1(config)#class-map VOICE
R1(config-cmap)#match protocol rtp audio
R1(config-cmap)#exit

R1(config)#class-map SCAVENGER
R1(config-cmap)#match protocol bittorrent
R1(config-cmap)#exit

R1(config)#policy-map DEMO
R1(config-pmap)#class EMAIL
R1(config-pmap-c)#bandwidth 512
R1(config-pmap-c)#random-detect dscp-based
R1(config-pmap-c)#random-detect ecn
R1(config-pmap-c)#exit

R1(config-pmap)#class VOICE
R1(config-pmap-c)#priority 256
R1(config-pmap-c)#exit

R1(config-pmap)#class SCAVENGER
R1(config-pmap-c)#police 128000 conform-action transmit exceed-action set-dscp-transmit default
R1(config-pmap-c)#exit
R1(config-pmap)#exit

R1(config)#int gig 0/2
R1(config-if)#service-policy output DEMO
R1(config-if)#end

R1#show class-map
R1#show policy-map interface gig 0/2


Reference : https://www.kwtrain.com/blog/mqc

Senin, 06 Juni 2022

GLBP in Router Cisco

21.22 Posted by ROSYID'S BLOG , No comments

OK Let's Start

Here are the minimal configuration to make GLBP on the Router.

R1#conf t
R1(config)#int gig 0/1
R1(config-if)#glbp 10 ip 10.1.1.1
R1(config-if)#glbp 10 priority 110
R1(config-if)#glbp 10 preempt
R1(config-if)#glbp 10 authentication md5 key-string $3cr3T

R2#conf t
R2(config)#int gig 0/1
R2(config-if)#glbp 10 ip 10.1.1.1
R2(config-if)#glbp 10 preempt
R2(config-if)#glbp 10 authentication md5 key-string $3cr3T

Done...!

 

GLBP is First Hop Redudancy from Cisco Propietary, and the default preemption is Disable. So, we need to explicit define to Enable. 

The higher priority make Router as Active, the lowest will make as Standby.