RSS

Configure BGP routing di juniper

p2p

Belajar cofigurasi Juniper

Set IP address di em0 di router A

[sourcecode language="css"]
set interface em0 unit 0 family inet address 10.10.10.1/24
[/sourcecode]

Set IP address di em0 di router B


[sourcecode language="css"]
set interface em0 unit 0 family inet address 10.10.10.2/24
[/sourcecode]
Membuat AS number di router A

[sourcecode language="css"]
set routing-options autonomous-system 100
[/sourcecode]

Membuat AS number di router B

[sourcecode language="css"]
set routing-options autonomous-system 200
[/sourcecode]





Set Protocol BGP di router A

[sourcecode language="css"]
set protocols bgp group to-routerB type external neighbor 10.10.10.2
set protocols bgp group to-routerB neighbor 10.10.10.2 local-as 100
set protocols bgp group to-routerB neighbor 10.10.10.2 local-address 10.10.10.1
set protocols bgp group to-routerB neighbor 10.10.10.2 peer-as 200
[/sourcecode]

Set Protocol BGP di router B

[sourcecode language="css"]
set protocols bgp group to-routerB type external neighbor 10.10.10.1
set protocols bgp group to-routerB neighbor 10.10.10.1 local-as 200
set protocols bgp group to-routerB neighbor 10.10.10.1 local-address 10.10.10.2
set protocols bgp group to-routerB neighbor 10.10.10.1 peer-as 100
[/sourcecode]





Set Protocol direct di router A(untuk membaca table route yang terhubung ke interface p2p)

[sourcecode language="css"]
set policy-options policy-statement to-routerB term 10 from protocol direct
set policy-options policy-statement to-routerB term 10 then accept
set policy-options policy-statement to-routerB term default then reject
[/sourcecode]

Untuk melempar Prefix di router A

[sourcecode language="css"]
set protocols bgp group to-routerB neighbor 10.10.10.2 export to-routerB

[/sourcecode]





Set Protocol direct di router B(untuk membaca table route yang terhubung ke interface p2p)

[sourcecode language="css"]
set policy-options policy-statement to-routerA term 10 from protocol direct
set policy-options policy-statement to-routerA term 10 then accept
set policy-options policy-statement to-routerA term default then reject
[/sourcecode]

Untuk melempar Prefix di router B

[sourcecode language="css"]
set protocols bgp group to-routerA neighbor 10.10.10.1 export to-routerA

[/sourcecode]





Set Protocol static ROuter A

[sourcecode language="css"]
set routing-options static route 1.1.1.0/24 next-hop 10.10.10.2

[/sourcecode]

Set Protocol static ROuter B

[sourcecode language="css"]
set routing-options static route 2.2.2.0/24 next-hop 10.10.10.1

[/sourcecode]




Untuk mengecek prefix yang kita terima dari router B

[sourcecode language="css"]
routerA# run sh route receive-protocol bgp 10.10.10.2

[/sourcecode]

Untuk mengecek prefix yang kita advertise ke lawan

[sourcecode language="css"]
routerA# run sh route advertising-protocol bgp 10.10.10.2

[/sourcecode]


========================================================

Perintah perintah di juniper

aktifkan telnetset system service telnet

memberi userset system login user evon authen plain-text-password
set system login user evon class super-user

memberi agar tampilan GUI di browser
set system service web-management http interface em3.0

cara hapus user
delete system login user evon

membuat password root
set system root-authen plain-text-password

shutdown juniper
run request system power-off terus yes

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 komentar:

Posting Komentar