SlideShare une entreprise Scribd logo
1  sur  127
BGP Alp ISIK
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
General information about  BGP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Basic  BGP   Topology OSPF 1 area 0 ebgp
IBGP Peering ,[object Object],[object Object],[object Object]
Update source loopback ,[object Object],[object Object],R2 R1 lo0 lo0 Bgp session
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
EBGP Peering ,[object Object],[object Object]
Network command ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],Next-hop Self
Route-Reflector ,[object Object],[object Object],55.55.55.55 R5 R4 R3 R1 ebgp ibgp ibgp 55.55.55.55 55.55.55.55 X 55.55.55.55 R5 R4 R3 R1 ebgp ibgp ibgp 55.55.55.55 55.55.55.55 RR
Route-reflector-client RR ibgp
Route-reflection with clusters ,[object Object],h R1 R4 R5 sw4 sw2 R3 SW3 SW1 R6 RR BB3 BB1 Clıuster id 150.1.1.1 Clıuster id 150.1.3.3 RR RR Clıuster id 150.1.5.5 R2 as200 as54 As 54
Route-Reflection with Clusters ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IBGP Confederations AS65012 AS65034 cbgp cbgp
IBGP Confederation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Authenticating BGP Peerings ,[object Object]
iBGP Synchronization ,[object Object],[object Object],[object Object],[object Object]
İnternet cloud igp igp BB1 BB2 CE1 CE2 C1 ebgp ebgp ibgp
[object Object],[object Object],[object Object],[object Object],[object Object]
BGP over GRE AS200 AS254 AS100 AS54 tunnel 10.0.0.2/24 10.0.0.4/24
[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Redistribute Internal AS100 AS54 AS54 Bgp to IGP RR Advertise 112.0.0.1/24 to bgp Advertise 112.0.0.1/24 to bgp
[object Object],[object Object]
BGP Redistribute Internal ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Peer Groups ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bgp best path selection criteria ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Best-path selection - Weight Weight 10
[object Object],[object Object],[object Object],[object Object],Best-path selection - Weight
Best Path Selection Local Preference Local-pref 103
Best Path Selection Local Preference ,[object Object],[object Object],[object Object],[object Object]
AS Path Each time a route pass through an AS, each AS information is added to prevent loop. we can modify the passed AS as well.
Best-path Selection As Path ,[object Object],[object Object]
Best-path Selection As Path AS path 10 20 30
Best-Path Selection Origin ,[object Object]
Best-Path Selection Origin Origin  with ?
[object Object],[object Object],[object Object],Best-Path Selection MED
Best-Path Selection MED Metric 10
MED Always compare cloud 5.5.5.5/32 metric 50 5.5.5.5/32
BGP Aggregation ,[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation 10.0.0.0 /24 10.0.1.0 /24 10.0.2.0 /24 10.0.3.0 /24 10.0.0.0 /22
BGP Aggregation Summary-only 10.0.0.0 /22
BGP Aggregation Summary-only Suppress-map 10.0.0.0 /22 10.0.2.0/24
BGP Aggregation Summary-only Unsuppress-map 10.0.0.0 /22 10.0.1.0/24 10.0.0.0 /22
BGP Aggregation AS-SET ,[object Object]
BGP Aggregation AS-SET 10.0.0.0 /22 {1,2,3,4} X No bgp
BGP Aggregation Advertise-Map Allowas-in 10.0.0.0 /22 {1,2,4} 10.0.0.0 /22 10.0.0.0 /22 x No bgp
Bgp communities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Communities no-export AS65012 cbgp ebgp 55.55.55.55/32  x No bgp AS65034 55.55.55.55/32  community 200:200 55.55.55.55/32  Send community  no export  55.55.55.55/32  Send community  no export
BGP Communities no-advertise AS65012 cbgp ebgp 55.55.55.55/32  x No bgp AS65034 55.55.55.55/32  community 200:200 55.55.55.55/32  Send community  no advertise  55.55.55.55/32  Send community  no export
BGP Communities local-as AS65012 cbgp ebgp 33.33.33.33/32 community 300:300 x No bgp AS65034 33.33.33.33/32  33.33.33.33/32  Send community  Local-as
 
[object Object]
BGP Bestpath Selection Weight
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection – Local Preference
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection AS Path Prepending
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection - Origin
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection - MED
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Filtering with prefix-list AS65012 cbgp ebgp 30.30.30.30/32 x No bgp AS65034 30.30.30.30/32
BGP Communities Catching AS60 Setting community 200:200 Sending communities Catching communities 200:200 Setting local-pref 200
BGP Communities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Communities – No - Advertise X X
BGP Communities – No - Advertise ,[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Communities – NO-Export X X X
BGP Communities – NO-Export ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Filtering with Prefix-List 222.22.2.0/24 X 0.0.0.0/0le 22
BGP Filtering with Prefix-List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Filtering with Standart Access-List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Filtering with Extended Access-List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Filtering with Maximum Prefix ,[object Object],[object Object]
BGP Dampening ,[object Object],[object Object],[object Object]
BGP Backdoor eigrp ebgp ebgp
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],BGP Backdoor
BGP Backdoor ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Soft Reconfiguration ,[object Object],[object Object],[object Object]
BGP Bestpath Selection – Maximum AS Limit ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation network 10.0.0.0 mask 255.255.255.0 network 10.0.1.0 mask 255.255.255.0 network 10.0.2.0 mask 255.255.255.0 network 10.0.3.0 mask 255.255.255.0 aggregate them
BGP Aggregation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP next-hop processing – manual modification ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation – Summary Only ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation – Suppress Map ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation – Unsuppress Map ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation - AS-Set ,[object Object],[object Object],[object Object]
BGP Aggregation – Attribute Map ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Aggregation - Advertise-map  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Regular Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Confederation 65508 65379 65146 200
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection – Always Compare MED Lo1 1.2.3.4/32 Lo1 1.2.3.4/32
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection – AS–Path Ignore ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Bestpath Selection – DMZ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Backdoor ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
****TCL to ping**** ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ip as-path access-list
ip as-path access-list  ,[object Object],[object Object],Traffic  doesn’t yet passed from AS 254 But it effects.
BGP Communities Local AS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Communities - Deleting Taggin with 254:100 200:254 200:123 Add tag 300:200 254:100 200:254 200:123
BGP Communities - Deleting ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Conditional Advertisement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Conditional Route Injection ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Regular Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Default Routing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Local AS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Dampening with Route-map ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Local AS Replace-AS/Dual-AS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Remove Private AS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Timers Tuning ,[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Fast Fallover ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Outbound Route Filtering ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP Next-hop Trigger ,[object Object],[object Object],[object Object]
BGP TTL Security ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BGP AllowAS in ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Useful commands 3 Carat “^” means begins with ; $ means end with the system “ .” any character including space “ _” matches begining of string, end of string, blank space  ^50_ means “50” “ [ ]” definines a range ; sample [1-9]567$

Contenu connexe

Tendances

Using BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsRowell Dionicio
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)Netwax Lab
 
Implementing Internet and MPLS BGP
Implementing Internet and MPLS BGPImplementing Internet and MPLS BGP
Implementing Internet and MPLS BGPPrivate
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGPAPNIC
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGPDuane Bodle
 
Equinix IP Address Renumbering in Singapore and Sydney
Equinix IP Address Renumbering in Singapore and SydneyEquinix IP Address Renumbering in Singapore and Sydney
Equinix IP Address Renumbering in Singapore and SydneyAPNIC
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
Enhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOL
Enhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOLEnhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOL
Enhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOLNutan Singh
 
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Nutan Singh
 

Tendances (20)

Part1
Part1Part1
Part1
 
Using BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet Connections
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)
 
Bgp
BgpBgp
Bgp
 
Implementing Internet and MPLS BGP
Implementing Internet and MPLS BGPImplementing Internet and MPLS BGP
Implementing Internet and MPLS BGP
 
B G P Part2
B G P  Part2B G P  Part2
B G P Part2
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
Bgp training
Bgp trainingBgp training
Bgp training
 
Juniper Bgp
Juniper BgpJuniper Bgp
Juniper Bgp
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
BGP
BGPBGP
BGP
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
 
Equinix IP Address Renumbering in Singapore and Sydney
Equinix IP Address Renumbering in Singapore and SydneyEquinix IP Address Renumbering in Singapore and Sydney
Equinix IP Address Renumbering in Singapore and Sydney
 
Bgp Toc
Bgp TocBgp Toc
Bgp Toc
 
BGP protocol presentation
BGP protocol  presentationBGP protocol  presentation
BGP protocol presentation
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Enhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOL
Enhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOLEnhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOL
Enhanced Interior Gateway Routing Protocol (EIGRP) || NETWORK PROTOCOL
 
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)
 
bgp(border gateway protocol)
bgp(border gateway protocol)bgp(border gateway protocol)
bgp(border gateway protocol)
 

En vedette

Windows Azure jumpstart
Windows Azure jumpstartWindows Azure jumpstart
Windows Azure jumpstartClint Edmonson
 
Peering through the Clouds - Cloud Architectures You Need to Master
Peering through the Clouds - Cloud Architectures You Need to MasterPeering through the Clouds - Cloud Architectures You Need to Master
Peering through the Clouds - Cloud Architectures You Need to MasterClint Edmonson
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureK.Mohamed Faizal
 
Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...
Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...
Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...ATI Tunisia
 
ISOC: IXPs Partnerships
ISOC: IXPs PartnershipsISOC: IXPs Partnerships
ISOC: IXPs PartnershipsATI Tunisia
 
Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview Michael Meagher
 
BGP Peering Strategy and Data
BGP Peering Strategy and DataBGP Peering Strategy and Data
BGP Peering Strategy and DataAPNIC
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesFebrian ‎
 
Azure Express Route
Azure Express RouteAzure Express Route
Azure Express RouteMustafa
 
BGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationAndy Davidson
 
Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Amazon Web Services
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceBertrand Duvivier
 

En vedette (20)

Bgp tutorial for ISP
Bgp tutorial for ISPBgp tutorial for ISP
Bgp tutorial for ISP
 
02 internet transit
02 internet transit02 internet transit
02 internet transit
 
04 internet peering
04 internet peering04 internet peering
04 internet peering
 
Cartoes de chocolate
Cartoes de chocolateCartoes de chocolate
Cartoes de chocolate
 
Windows Azure jumpstart
Windows Azure jumpstartWindows Azure jumpstart
Windows Azure jumpstart
 
Peering through the Clouds - Cloud Architectures You Need to Master
Peering through the Clouds - Cloud Architectures You Need to MasterPeering through the Clouds - Cloud Architectures You Need to Master
Peering through the Clouds - Cloud Architectures You Need to Master
 
Azure Overview
Azure Overview Azure Overview
Azure Overview
 
Microsoft Azure and IoT – how to use
Microsoft Azure and IoT – how to useMicrosoft Azure and IoT – how to use
Microsoft Azure and IoT – how to use
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
 
Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...
Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...
Hurricane Electric : IXPs, Global Networking and Partnership Opportunities: S...
 
ISOC: IXPs Partnerships
ISOC: IXPs PartnershipsISOC: IXPs Partnerships
ISOC: IXPs Partnerships
 
Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview Scott Guthrie's Windows Azure Overview
Scott Guthrie's Windows Azure Overview
 
BGP Peering Strategy and Data
BGP Peering Strategy and DataBGP Peering Strategy and Data
BGP Peering Strategy and Data
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
 
Azure Express Route
Azure Express RouteAzure Express Route
Azure Express Route
 
BGP Overview
BGP OverviewBGP Overview
BGP Overview
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
BGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing Optimisation
 
Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
 

Similaire à Bgp For Presentation

08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24legasu zemene
 
bgp features presentation routing protocle
bgp features presentation routing protoclebgp features presentation routing protocle
bgp features presentation routing protocleBadr Belhajja
 
Bgp 6 advanced transit as issues
Bgp 6   advanced transit as issuesBgp 6   advanced transit as issues
Bgp 6 advanced transit as issuesAuguste Behe
 
Cisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review NotesCisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review NotesDuane Bodle
 
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr WojciechowskiPLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr WojciechowskiPROIDEA
 
CCNP Route 642 902 BGP
CCNP Route 642 902 BGPCCNP Route 642 902 BGP
CCNP Route 642 902 BGPIT Tech
 
Cisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparationCisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparationCisco-642-902
 
BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR Bertrand Duvivier
 
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...PROIDEA
 

Similaire à Bgp For Presentation (20)

07.bgp
07.bgp07.bgp
07.bgp
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
 
bgp features presentation routing protocle
bgp features presentation routing protoclebgp features presentation routing protocle
bgp features presentation routing protocle
 
Bgp 6 advanced transit as issues
Bgp 6   advanced transit as issuesBgp 6   advanced transit as issues
Bgp 6 advanced transit as issues
 
Bgp attribute-case study
Bgp attribute-case studyBgp attribute-case study
Bgp attribute-case study
 
Bgp in-large-networks
Bgp in-large-networksBgp in-large-networks
Bgp in-large-networks
 
RR
RRRR
RR
 
Cisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review NotesCisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review Notes
 
Nxll11 bgp
Nxll11 bgpNxll11 bgp
Nxll11 bgp
 
Inter as vpn option c
Inter as vpn option c Inter as vpn option c
Inter as vpn option c
 
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr WojciechowskiPLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski
 
CCNP Route 642 902 BGP
CCNP Route 642 902 BGPCCNP Route 642 902 BGP
CCNP Route 642 902 BGP
 
BGP Loop Prevention
BGP Loop Prevention BGP Loop Prevention
BGP Loop Prevention
 
Cisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparationCisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparation
 
BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR
 
EBGP MultiHop
EBGP MultiHopEBGP MultiHop
EBGP MultiHop
 
B G P Part2
B G P  Part2B G P  Part2
B G P Part2
 
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
 
Bgp
BgpBgp
Bgp
 
Bgp
BgpBgp
Bgp
 

Plus de Alp isik

Ine Multicast
Ine MulticastIne Multicast
Ine MulticastAlp isik
 
Mpls Presentation Ine
Mpls Presentation IneMpls Presentation Ine
Mpls Presentation IneAlp isik
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified EngAlp isik
 
Ospf Cisco
Ospf CiscoOspf Cisco
Ospf CiscoAlp isik
 
Eigrp Basics
Eigrp BasicsEigrp Basics
Eigrp BasicsAlp isik
 

Plus de Alp isik (12)

Mpls TE
Mpls TEMpls TE
Mpls TE
 
Ipv6
Ipv6Ipv6
Ipv6
 
Ine Multicast
Ine MulticastIne Multicast
Ine Multicast
 
Mpls Presentation Ine
Mpls Presentation IneMpls Presentation Ine
Mpls Presentation Ine
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
 
Ospf Cisco
Ospf CiscoOspf Cisco
Ospf Cisco
 
Eigrp Basics
Eigrp BasicsEigrp Basics
Eigrp Basics
 
Alp Stp
Alp StpAlp Stp
Alp Stp
 
Ipv6 Alp
Ipv6 AlpIpv6 Alp
Ipv6 Alp
 
Ospf
OspfOspf
Ospf
 
Vrrp Alp
Vrrp AlpVrrp Alp
Vrrp Alp
 
802.1x
802.1x802.1x
802.1x
 

Bgp For Presentation

Notes de l'éditeur

  1. EBGP TTL is 1 by default. Synchronization causes rib failures, in order to get rid of rib failure, “bgp suppress-inactive” can be configured.
  2. R1 router bgp 100 neighbor 2.2.2.2 disable-connected-check R2 router bgp 200 neighbor 1.1.1.1 disable-connected-check
  3. MD5 is Default.
  4. R4 (AS100), BB3 (AS54) ile ebgp komşuluk kursun; R2(AS200), BB2(AS254) ile ebgp komşuluk kursun. R4 ile R2 ebgp konuşsun. Diğer routerlar bgp unaware. Configuring a tunel between R2 ve R4 . IGP is configured between R2 - R4 ;
  5. R2; before changing next hop Rack1R2(config-router)#do sh ip bgp BGP table version is 17, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 155.1.146.4 0 100 54 i *> 28.119.17.0/24 155.1.146.4 0 100 54 i *> 112.0.0.0 155.1.146.4 0 100 54 50 60 i *> 113.0.0.0 155.1.146.4 0 100 54 50 60 i *> 114.0.0.0 155.1.146.4 0 100 54 i *> 115.0.0.0 155.1.146.4 0 100 54 i *> 116.0.0.0 155.1.146.4 0 100 54 i *> 117.0.0.0 155.1.146.4 0 100 54 i *> 118.0.0.0 155.1.146.4 0 100 54 i *> 119.0.0.0 155.1.146.4 0 100 54 i *> 150.1.2.0/24 0.0.0.0 0 32768 i *> 150.1.4.0/24 155.1.146.4 0 0 100 i *> 205.90.31.0 192.10.1.254 0 0 254 ? *> 220.20.3.0 192.10.1.254 0 0 254 ? *> 222.22.2.0 192.10.1.254 0 0 254 ? After next-hop modified Rack1R2(config-router)#do sh ip bgp BGP table version is 28, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 10.0.0.4 0 100 54 i *> 28.119.17.0/24 10.0.0.4 0 100 54 i *> 112.0.0.0 10.0.0.4 0 100 54 50 60 i *> 113.0.0.0 10.0.0.4 0 100 54 50 60 i *> 114.0.0.0 10.0.0.4 0 100 54 i *> 115.0.0.0 10.0.0.4 0 100 54 i *> 116.0.0.0 10.0.0.4 0 100 54 i *> 117.0.0.0 10.0.0.4 0 100 54 i *> 118.0.0.0 10.0.0.4 0 100 54 i *> 119.0.0.0 10.0.0.4 0 100 54 i *> 150.1.2.0/24 0.0.0.0 0 32768 i *> 150.1.4.0/24 10.0.0.4 0 0 100 i *> 205.90.31.0 192.10.1.254 0 0 254 ? *> 220.20.3.0 192.10.1.254 0 0 254 ? *> 222.22.2.0 192.10.1.254 0 0 254 ?
  6. In order to sent bgp information over tunnel; configured a route-map bind to neighbor as next hop is the tunnel IP. Rack1R2(config-router)#do ping 112.0.0.1 sour lo0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 112.0.0.1, timeout is 2 seconds: Packet sent with a source address of 150.1.2.2 !!!!! Rack1R2(config-router)#do trace 112.0.0.1 sour lo0 Type escape sequence to abort. Tracing the route to 112.0.0.1 1 10.0.0.4 56 msec 20 msec 20 msec 2 204.12.1.254 20 msec 20 msec 20 msec 3 172.16.4.1 36 msec * 52 msec
  7. RR’de next-hop-self komutu çalışmaz; route map ile next hop’u set etmeliyiz.
  8. R1 de distance’ı yazmasaydık SW4’ten BB route’larına ulaşmaya calısırken routing loop olusacaktı; R1 de IGP, IBGP’yi preempt yapacaktı ve R1; R3 e paketi gonderecekti; R3 ise Route-reflectoru R1 olduğundan paketi geri R1 e gonderecekti. At R4 similiar R6 router bgp 100 no synchronization bgp log-neighbor-changes network 155.1.146.0 mask 255.255.255.0 aggregate-address 155.1.0.0 255.255.0.0 neighbor 155.1.146.1 remote-as 100 neighbor 155.1.146.1 next-hop-self neighbor 204.12.1.254 remote-as 54 no auto-summary
  9. BGP Mandotory Attributes ---------------- AS-Path Origin Next Hop If everything are same check the router-id, lowest one wins
  10. SW1 de yapacağımız configurasyon ile AS300 den AS54’e giden trafik çıkış noktası olarak R3 u kullansın. AS300den AS254’e giden trafik R6’yı çıkış noktası kabul etsin. Bizim çıkışımızı etkilediğinden sadece upload trafiğiyle ilgili manupulasyon yapabiliriz. Local route’larımızın değeri max değer olan 32768 gorunur.
  11. Rack1SW1(config-router)#do sh ip bgp BGP table version is 46, local router ID is 155.1.7.7 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 28.119.16.0/24 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i * 28.119.17.0/24 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i *> 112.0.0.0 155.1.67.6 0 100 54 50 60 i * 155.1.37.3 0 200 100 54 50 60 i *> 113.0.0.0 155.1.67.6 0 100 54 50 60 i * 155.1.37.3 0 200 100 54 50 60 i * 114.0.0.0 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i * 115.0.0.0 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i * 116.0.0.0 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i * 117.0.0.0 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i * 118.0.0.0 155.1.67.6 0 100 54 i Network Next Hop Metric LocPrf Weight Path *> 155.1.37.3 120 200 100 54 i * 119.0.0.0 155.1.67.6 0 100 54 i *> 155.1.37.3 120 200 100 54 i *> 155.1.0.0 155.1.67.6 0 0 100 i * 155.1.37.3 0 200 100 i *> 205.90.31.0 155.1.67.6 110 100 200 254 ? * 155.1.37.3 0 200 254 ? *> 220.20.3.0 155.1.67.6 110 100 200 254 ? * 155.1.37.3 0 200 254 ? *> 222.22.2.0 155.1.67.6 110 100 200 254 ? * 155.1.37.3 0 200 254 ?
  12. R6’da yapacağımız configurasyon ile AS100 içersinden AS254’e geçiş AS300 uzerinden olsun. Local pref ile sadece upload yonundeki trafik ile oynayabiliriz. Rack1R6(config-router)#do sh ip bgp BGP table version is 32, local router ID is 150.1.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 54.1.1.254 0 54 i * i 204.12.1.254 0 100 0 54 i *> 28.119.17.0/24 54.1.1.254 0 54 i * i 204.12.1.254 0 100 0 54 i * i112.0.0.0 204.12.1.254 0 100 0 54 50 60 i *> 54.1.1.254 0 0 54 50 60 i * i113.0.0.0 204.12.1.254 0 100 0 54 50 60 i *> 54.1.1.254 0 0 54 50 60 i * i114.0.0.0 204.12.1.254 0 100 0 54 i *> 54.1.1.254 0 0 54 i * i115.0.0.0 204.12.1.254 0 100 0 54 i *> 54.1.1.254 0 0 54 i * i116.0.0.0 204.12.1.254 0 100 0 54 i *> 54.1.1.254 0 0 54 i * i117.0.0.0 204.12.1.254 0 100 0 54 i *> 54.1.1.254 0 0 54 i * i118.0.0.0 204.12.1.254 0 100 0 54 i Network Next Hop Metric LocPrf Weight Path *> 54.1.1.254 0 0 54 i * i119.0.0.0 204.12.1.254 0 100 0 54 i *> 54.1.1.254 0 0 54 i *> 155.1.0.0 0.0.0.0 32768 i * i 155.1.146.4 0 100 0 i s> 155.1.146.0/24 0.0.0.0 0 32768 i *> 205.90.31.0 155.1.67.7 200 0 300 200 254 ? *> 220.20.3.0 155.1.67.7 200 0 300 200 254 ? *> 222.22.2.0 155.1.67.7 200 0 300 200 254 ?
  13. Rack1R4#sh ip bgp BGP table version is 40, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 204.12.1.254 0 0 54 i *> 28.119.17.0/24 204.12.1.254 0 0 54 i *> 112.0.0.0 204.12.1.254 0 54 50 60 i *> 113.0.0.0 204.12.1.254 0 54 50 60 i *> 114.0.0.0 204.12.1.254 0 54 i *> 115.0.0.0 204.12.1.254 0 54 i *> 116.0.0.0 204.12.1.254 0 54 i *> 117.0.0.0 204.12.1.254 0 54 i *> 118.0.0.0 204.12.1.254 0 54 i *> 119.0.0.0 204.12.1.254 0 54 i *> 155.1.0.0 0.0.0.0 32768 i s> 155.1.146.0/24 0.0.0.0 0 32768 i * 205.90.31.0 155.1.45.5 0 200 254 ? *>i 155.1.67.7 0 200 0 300 200 254 ? * 220.20.3.0 155.1.45.5 0 200 254 ? *>i 155.1.67.7 0 200 0 300 200 254 ? * 222.22.2.0 155.1.45.5 0 200 254 ? Network Next Hop Metric LocPrf Weight Path *>i 155.1.67.7 0 200 0 300 200 254 ?
  14. Rack1R6(config-router)#do sh ip bgp BGP table version is 24, local router ID is 150.1.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 54.1.1.254 0 54 i * i 204.12.1.254 0 100 0 54 i *> 28.119.17.0/24 54.1.1.254 0 54 i * i 204.12.1.254 0 100 0 54 i *> 112.0.0.0 54.1.1.254 0 0 54 50 60 i * i 204.12.1.254 0 100 0 54 50 60 i *> 113.0.0.0 54.1.1.254 0 0 54 50 60 i * i 204.12.1.254 0 100 0 54 50 60 i *> 114.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 115.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 116.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 117.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 118.0.0.0 54.1.1.254 0 0 54 i Network Next Hop Metric LocPrf Weight Path * i 204.12.1.254 0 100 0 54 i *> 119.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 155.1.0.0 0.0.0.0 32768 i * i 155.1.146.4 0 100 0 i s> 155.1.146.0/24 0.0.0.0 0 32768 i *> 205.90.31.0 155.1.67.7 0 300 200 254 ? *> 220.20.3.0 155.1.67.7 0 300 200 254 ? *> 222.22.2.0 155.1.67.7 0 300 200 254 ?
  15. AS200’de yapacağımız config ile AS100’den AS254’e giden trafik AS300’ü secsin. download ile oynayabiliriz. Rack1R6(config-router)#do sh ip bgp BGP table version is 24, local router ID is 150.1.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 54.1.1.254 0 54 i * i 204.12.1.254 0 100 0 54 i *> 28.119.17.0/24 54.1.1.254 0 54 i * i 204.12.1.254 0 100 0 54 i *> 112.0.0.0 54.1.1.254 0 0 54 50 60 i * i 204.12.1.254 0 100 0 54 50 60 i *> 113.0.0.0 54.1.1.254 0 0 54 50 60 i * i 204.12.1.254 0 100 0 54 50 60 i *> 114.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 115.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 116.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 117.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 118.0.0.0 54.1.1.254 0 0 54 i Network Next Hop Metric LocPrf Weight Path * i 204.12.1.254 0 100 0 54 i *> 119.0.0.0 54.1.1.254 0 0 54 i * i 204.12.1.254 0 100 0 54 i *> 155.1.0.0 0.0.0.0 32768 i * i 155.1.146.4 0 100 0 i s> 155.1.146.0/24 0.0.0.0 0 32768 i *> 205.90.31.0 155.1.67.7 0 300 200 254 ? *> 220.20.3.0 155.1.67.7 0 300 200 254 ? *> 222.22.2.0 155.1.67.7 0 300 200 254 ?
  16. Rack1R4# sh ip bgp regexp _254$ BGP table version is 61, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 205.90.31.0 155.1.45.5 0 200 254 i *> 220.20.3.0 155.1.45.5 0 200 254 i *> 222.22.2.0 155.1.45.5 0 200 254 i Rack1R6#sh ip bgp regexp _254$ BGP table version is 39, local router ID is 150.1.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 205.90.31.0 155.1.67.7 0 300 200 254 ? *>i 155.1.45.5 0 100 0 200 254 i * 220.20.3.0 155.1.67.7 0 300 200 254 ? *>i 155.1.45.5 0 100 0 200 254 i * 222.22.2.0 155.1.67.7 0 300 200 254 ? *>i 155.1.45.5 0 100 0 200 254 i
  17. AS200’de yapacağımız config ile AS100’den AS254’e giden trafik R4-R5 arasındaki yolu tercih etsin.
  18. AS100’de yapacağımız configurasyon ile AS200’den AS54’e giden trafik R4- R5 yolunu izlesin, MED ile oynayarak.
  19. Default metric 0; kucuk olan tercih edilir. Rack1R3(config-router)#do show ip bgp regexp _54$ BGP table version is 23, local router ID is 150.1.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i28.119.16.0/24 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i *>i28.119.17.0/24 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i *>i114.0.0.0 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i *>i115.0.0.0 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i *>i116.0.0.0 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i *>i117.0.0.0 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i Network Next Hop Metric LocPrf Weight Path * 155.1.13.1 50 0 100 54 i *>i118.0.0.0 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i *>i119.0.0.0 155.1.45.4 0 100 0 100 54 i * 155.1.37.7 0 300 100 54 i * 155.1.13.1 50 0 100 54 i
  20. Niye varlar : prefix’leri gruplamaya yararlar; böylelikle içeride ki cihazlarda tek tek prefix list yazıp; filtreleme ya da modify etmek yerine belirli community’lere belirli ozellikler atayabiliriz.
  21. AS 200 de yapacağımız config ile eBGP community 200:200 ile taglanmış prefix’leri local-pref 200 yapsın. R1’de yapacağımız config ile AS200’un AS60 dan gelen prefix’ler için R3 uzerinden R1’i tercih etsinler. Ne yaptık : R1’ de AS60’ları yakalayıp, community değerini 200:200 yaptık ve bunu R3 komşuluğuna yolladık. R3’te bu 200:200 community’sini yakalayıp; local-prefini 200 yaptık. Community değerini sh ip bgp 112.0.0.0 da doğru düzgün görebilmek için “ip bgp-community new-format “ configure ettik. Rack1R3#sh ip bgp 112.0.0.0 BGP routing table entry for 112.0.0.0/8, version 48 Paths: (2 available, best #1, table Default-IP-Routing-Table) Flag: 0x9C0 Advertised to update-groups: 3 4 5 100 54 50 60 155.1.13.1 from 155.1.13.1 (150.1.1.1) Origin IGP, localpref 200, valid, external, best Community: 200:200 300 100 54 50 60 155.1.37.7 from 155.1.37.7 (155.1.7.7) Origin IGP, localpref 100, valid, external
  22. R2’de yapacağımız configurasyon ile AS254’ten öğrendiği prefix’leri hicbir peer’ına advertise etmesin. Prefix filtering kullanma. Rack1R3#sh ip bgp regexp _254$
  23. R2 dekii configurasyonu modifiye edelim ki AS254 route’ları AS200 de dolaşabilsin ama AS200 dışına çıkmasın. Rack1SW3#sh ip bgp regexp _254$ Rack1SW3# Rack1R3#sh ip bgp regexp _254$ BGP table version is 51, local router ID is 150.1.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i205.90.31.0 192.10.1.254 0 100 0 254 ? *>i 192.10.1.254 0 100 0 254 ? * i220.20.3.0 192.10.1.254 0 100 0 254 ? *>i 192.10.1.254 0 100 0 254 ? * i222.22.2.0 192.10.1.254 0 100 0 254 ? *>i 192.10.1.254 0 100 0 254 ? Rack1R3#sh ip bgp 205.90.31.0 BGP routing table entry for 205.90.31.0/24, version 49 Paths: (2 available, best #2, table Default-IP-Routing-Table, not advertised to EBGP peer) Advertised to update-groups: 3 5 254 192.10.1.254 (metric 2560512256) from 155.1.0.5 (150.1.5.5) Origin incomplete, metric 0, localpref 100, valid, internal Originator: 150.1.2.2, Cluster list: 150.1.5.5 254, (Received from a RR-client) 192.10.1.254 (metric 2560512256) from 155.1.23.2 (150.1.2.2) Origin incomplete, metric 0, localpref 100, valid, internal, best Community: no-export
  24. before Rack1R2#sh ip bgp regexp _254$ BGP table version is 25, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 205.90.31.0 192.10.1.254 0 0 254 ? *> 220.20.3.0 192.10.1.254 0 0 254 ? *> 222.22.2.0 192.10.1.254 0 0 254 ? After Rack1R2#sh ip bgp regexp _254$ BGP table version is 26, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 205.90.31.0 192.10.1.254 0 0 254 ? *> 220.20.3.0 192.10.1.254 0 0 254 ?
  25. R2 de yapacağımız prefix-list ile BB2’den 222.22.2.0/24 i almasın, bunu direk neighbor’a yazsın. R4 te yazacağımız prefix-list ile BB3’ten /22 den buyuk prefixleri almasın. Bunu route-map ile neighbor’a yazalım.
  26. R2 den BB2’den 222.22.2.0’ı almasın, direk neighbor’a yaz. R4’te ilk octetinde cift sayı varsa almasın bunu route-map ile yapalım.
  27. R4 te 3. octeti cift olan ve /22 den buyuk olan BB3’ten gelen prefixleri almasın, bunu direk neighbor’a uygulayalım.
  28. R6, BB1’den 20 den fazla prefix öğrenirse, komşuluğu düşürsün. R6; BB1’den 16dan fazla prefix almaya başladığında warning mesaj atsın. Peering düştükten sonra 3 dakika içinde tekrar kurmaya çalışsın. SW1’de R3’ten 20’den fazla prefix aldığında warning mesajı üretsin.
  29. R1’de lo1 yarat ip adresi 1.1.1.1/24 olsun. Bgp’ye redistribute et. AS200 router’larını, network’te osilasyon olduğunda advertisement’ları suppress edecek şekilde ayarla. Prefix sırada iki kez flap ettiğinde ; advertisement 5 dakika sonra gelsin.
  30. Attention that ‘network 2.2.2.2 .... Backdoor’ command has configured at R1 router; while 2.2.2.2 prefix is at R2.
  31. R4 BB3’ten gelen butun prefixleri; inbound filterlardan bağımsız olarak kabul etsin.
  32. It makes AS 100 only get the routes from neighbor originated AS’s. AS100’ün sadece komşu AS’lerde üretilen AS’lerden prefix almasını sağlayalım.
  33. Rack1R2(config-router)#do sh ip bgp BGP table version is 91, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0/24 0.0.0.0 0 32768 i *> 10.0.0.0/22 0.0.0.0 32768 i *> 10.0.1.0/24 0.0.0.0 0 32768 i *> 10.0.2.0/24 0.0.0.0 0 32768 i *> 10.0.3.0/24 0.0.0.0 0 32768 i
  34. Rack1R1#sh ip bgp BGP table version is 59, local router ID is 150.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i28.119.16.0/24 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i * i28.119.17.0/24 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i * i112.0.0.0 155.1.146.6 0 100 0 54 50 60 i *>i 155.1.146.4 0 100 0 54 50 60 i * i113.0.0.0 155.1.146.6 0 100 0 54 50 60 i *>i 155.1.146.4 0 100 0 54 50 60 i * i114.0.0.0 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i * i115.0.0.0 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i * i116.0.0.0 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i * i117.0.0.0 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i * i118.0.0.0 155.1.146.6 0 100 0 54 i Network Next Hop Metric LocPrf Weight Path *>i 155.1.146.4 0 100 0 54 i * i119.0.0.0 155.1.146.6 0 100 0 54 i *>i 155.1.146.4 0 100 0 54 i *> 150.1.1.0/24 0.0.0.0 0 32768 i * i150.1.2.0/24 155.1.23.2 0 100 0 200 i *>i 155.1.0.5 0 100 0 200 i *>i150.1.3.0/24 155.1.0.3 0 100 0 i *>i150.1.4.0/24 155.1.146.4 0 100 0 i *>i150.1.5.0/24 155.1.0.5 0 100 0 i *>i150.1.6.0/24 155.1.146.6 0 100 0 i *>i150.1.7.0/24 155.1.67.7 0 100 0 i *>i150.1.8.0/24 155.1.58.8 0 100 0 i *>i150.1.9.0/24 155.1.79.9 0 100 0 i *>i150.1.10.0/24 155.1.108.10 0 100 0 i * i205.90.31.0 155.1.23.2 0 100 0 200 254 ? *>i 155.1.0.5 0 100 0 200 254 ? * i220.20.3.0 155.1.23.2 0 100 0 200 254 ? *>i 155.1.0.5 0 100 0 200 254 ? * i222.22.2.0 155.1.23.2 0 100 0 200 254 ? *>i 155.1.0.5 0 100 0 200 254 ?
  35. Rack1R2(config-router)#do sh ip bgp BGP table version is 95, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path s> 10.0.0.0/24 0.0.0.0 0 32768 i *> 10.0.0.0/22 0.0.0.0 32768 i s> 10.0.1.0/24 0.0.0.0 0 32768 i s> 10.0.2.0/24 0.0.0.0 0 32768 i s> 10.0.3.0/24 0.0.0.0 0 32768 i
  36. R2’de yapacağımız modification ile summary-route ile birlikte 10.0.2.0/24 route’unu da advertise etsin.
  37. R3 ve R5 te yapacağımız config ile AS100 ve AS54 route’ları 10.0.1.0/24 e AS300 uzerinden gitsin. Rack1R3(config-router)#do sh ip bgp BGP table version is 112, local router ID is 150.1.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path s>i10.0.0.0/24 155.1.23.2 0 100 0 i * i10.0.0.0/22 155.1.0.5 0 100 0 i *> 0.0.0.0 32768 i Rack1R6#sh ip bgp BGP table version is 109, local router ID is 150.1.6.6 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.0.0/22 155.1.67.7 0 300 200 i *>i 155.1.13.3 0 100 0 200 i *> 10.0.1.0/24 155.1.67.7 0 300 200 i
  38. R1de 112.0.0.0/24 119.0.0.0/24’ü aggrege edelim. Bu yeni prefix AS54’e gitmesin, bunun için filtering uygulamayalım. Rack1R4#sh ip bgp BGP table version is 96, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0/22 155.1.13.3 0 100 0 200 i *> 155.1.45.5 0 0 200 i *>i10.0.1.0/24 155.1.67.7 0 100 0 300 200 i *> 28.119.16.0/24 204.12.1.254 0 0 54 i *> 28.119.17.0/24 204.12.1.254 0 0 54 i *> 112.0.0.0 204.12.1.254 0 54 50 60 i *>i112.0.0.0/5 155.1.146.1 0 100 0 {54,50,60} i *> 113.0.0.0 204.12.1.254 0 54 50 60 i BB3#sh ip bgp BGP table version is 102, local router ID is 31.3.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i10.0.0.0/22 172.16.4.1 0 100 0 100 200 i *> 204.12.1.4 0 100 200 i *> 10.0.1.0/24 204.12.1.4 0 100 300 200 i * i 172.16.4.1 0 100 0 100 300 200 i *> 28.119.16.0/24 0.0.0.0 0 32768 i *> 28.119.17.0/24 0.0.0.0 0 32768 i *>i112.0.0.0 172.16.4.1 0 100 0 i *>i113.0.0.0 172.16.4.1 0 100 0 i *>i114.0.0.0 172.16.4.1 0 100 0 i *>i115.0.0.0 172.16.4.1 0 100 0 i *>i116.0.0.0 172.16.4.1 0 100 0 i *>i117.0.0.0 172.16.4.1 0 100 0 i *>i118.0.0.0 172.16.4.1 0 100 0 i *>i119.0.0.0 172.16.4.1 0 100 0 i * i150.1.77.0/24 172.16.4.1 0 100 0 100 300 i *> 204.12.1.4 0 100 300 i * i155.1.0.0 172.16.4.1 0 100 0 100 i Network Next Hop Metric LocPrf Weight Path *> 204.12.1.4 0 0 100 i * i205.90.31.0 172.16.4.1 0 100 0 100 200 254 ? *> 204.12.1.4 0 100 200 254 ? * i220.20.3.0 172.16.4.1 0 100 0 100 200 254 ? *> 204.12.1.4 0 100 200 254 ? * i222.22.2.0 172.16.4.1 0 100 0 100 200 254 ? *> 204.12.1.4 0 100 200 254 ?
  39. BB3’ten gelen 112.0.0.0/24 u no-export community’si ile tag’la; bunu AS100 boyunca ilet. R1 de yapacağımız summary prefix ile AS300 ve AS200 e gitmesini sağla. Sadece prefix’lerden birinde dahi no-export olduğundan aggrege edilirken hepsini etkiliyor. Attribute-map ile metric No-export : komşu AS’lere iletmez. Rack1R4#sh ip bgp neighb 155.1.45.5 adv BGP table version is 22, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 10.0.0.0/22 155.1.45.5 0 0 200 i *>i10.0.1.0/24 155.1.67.7 0 100 0 300 200 i *> 28.119.16.0/24 204.12.1.254 0 0 54 i *> 28.119.17.0/24 204.12.1.254 0 0 54 i *>i112.0.0.0/5 155.1.146.1 0 100 0 {54,50,60} i *> 113.0.0.0 204.12.1.254 0 54 50 60 i *> 114.0.0.0 204.12.1.254 0 54 i 112.0.0.0/8 yok.
  40. R4 ve R6 da bu 222.22.x li routeları aggrege edip, AS 300 de max AS path bilgisinin tutulmasının yanı sıra aggregate route’unun da install edilmesini istiyoruz. AS-SET’i konfigure ettiğimizde, specific route’ların olduğu AS’lere summary route’u göndermeyiz; Advertise-map yaptığıız prefix’in olduğu AS’ e summary prefix’i gönderebiliriz.
  41. Rack1R1(config-router)#do sh ip bgp BGP table version is 32, local router ID is 150.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i28.119.16.0/24 54.1.1.254 0 100 0 54 i * i28.119.17.0/24 54.1.1.254 0 100 0 54 i * i112.0.0.0 54.1.1.254 0 100 0 54 50 60 i * i113.0.0.0 54.1.1.254 0 100 0 54 50 60 i * i114.0.0.0 54.1.1.254 0 100 0 54 i * i115.0.0.0 54.1.1.254 0 100 0 54 i * i116.0.0.0 54.1.1.254 0 100 0 54 i * i117.0.0.0 54.1.1.254 0 100 0 54 i * i118.0.0.0 54.1.1.254 0 100 0 54 i * i119.0.0.0 54.1.1.254 0 100 0 54 i *> 150.1.1.0/24 0.0.0.0 0 32768 i *> 150.1.2.0/24 155.1.0.2 0 100 0 (65508) 200 i * 155.1.23.2 0 100 0 (65379) 200 i * 150.1.3.0/24 155.1.0.3 0 100 0 (65508 65379) i *> 155.1.13.3 0 100 0 (65379) i *>i150.1.4.0/24 155.1.146.4 0 100 0 i *> 150.1.5.0/24 155.1.0.5 0 100 0 (65508) i Network Next Hop Metric LocPrf Weight Path *>i150.1.6.0/24 155.1.146.6 0 100 0 i *> 150.1.7.0/24 155.1.37.7 0 100 0 (65379) i *> 150.1.8.0/24 155.1.58.8 0 100 0 (65508) i *> 150.1.9.0/24 155.1.79.9 0 100 0 (65379) i *> 150.1.10.0/24 155.1.108.10 0 100 0 (65508) i *> 205.90.31.0 155.1.0.2 0 100 0 (65508) 200 254 ? * 155.1.23.2 0 100 0 (65379) 200 254 ? *> 220.20.3.0 155.1.0.2 0 100 0 (65508) 200 254 ? * 155.1.23.2 0 100 0 (65379) 200 254 ? *> 222.22.2.0 155.1.0.2 0 100 0 (65508) 200 254 ? * 155.1.23.2 0 100 0 (65379) 200 254 ?
  42. Next-hop bilgisi değişmez bu yüzden gerekli modificasyonlar yapılmalı.
  43. SW3 ve R6’da lo1 1.2.3.4/32 oluşturup bgp’ye advertise ettik; MED değeri ile oynayarak SW3 teki prefixin tercih edilmesini sağlayalım. Rack1R5(config-router)#do sh ip bgp BGP table version is 60, local router ID is 150.1.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 1.2.3.4/32 155.1.45.4 120 0 100 300 i *>i 155.1.37.7 90 100 0 300 i Rack1R2(config-router)#do sh ip bgp BGP table version is 62, local router ID is 150.1.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * i1.2.3.4/32 155.1.37.7 90 100 0 300 i *>i 155.1.37.7 90 100 0 300 i
  44. **** Farklı AS’lerden gelen prefix’leri med karsılastıramaz, karsılastırması için bgp always-compare-med yazdık.
  45. AS200’den AS54’e giden trafic AS300’ü secsin; AS-path prepend kullanma.
  46. At R1 Router bgp 100 maximum-path ibgp 2 bgp dmzlink-bw At R4 similiar at R6 Router bgp 100 bgp dmzlink-bw neighbor 155.1.146.1 send-community extended neighbor 204.12.1.254 dmzlink-bw Load share’i dengelemek için R6’nın BB bağlantısına olan bw’si ile oynadık; Paylaşılan bw’yi gormek için “show ip route 112.0.0.0” a baktık.
  47. SW1’de lo1 ip address 150.1.77.77 yaptık ve bgp’ye advertise ettik. AS100 AS300 arasındaki bgp peeringi kapattık; R1 ve R4’un bu yeni subnet’i eBGP yerine EIRRP’den öğrenmesini sağlayalım.
  48. R1 ve R4 bgp 100 confederasyonunda, 65014 subconfederasyonunda bulunsun, R6 da 65006’da bulunsun. R4’te lo0’ı advertise et ama sadece R1 alsın, R6 alamasın. Rack1R4(config-router)#do sh ip bgp neighb 155.1.146.6 adv BGP table version is 16, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 204.12.1.254 0 0 54 i *> 28.119.17.0/24 204.12.1.254 0 0 54 i *> 112.0.0.0 204.12.1.254 0 54 50 60 i *> 113.0.0.0 204.12.1.254 0 54 50 60 i *> 114.0.0.0 204.12.1.254 0 54 i *> 115.0.0.0 204.12.1.254 0 54 i *> 116.0.0.0 204.12.1.254 0 54 i *> 117.0.0.0 204.12.1.254 0 54 i *> 118.0.0.0 204.12.1.254 0 54 i *> 119.0.0.0 204.12.1.254 0 54 i *> 155.1.0.0 0.0.0.0 32768 i
  49. Rack1R4(config-router)#do sh ip bgp 150.1.4.4 BGP routing table entry for 150.1.4.0/24, version 16 Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised outside local AS) Advertised to update-groups: 2 Local 0.0.0.0 from 0.0.0.0 (150.1.4.4) Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best Community: local-AS Rack1R1(config-router)#do sh ip bgp 150.1.4.0 BGP routing table entry for 150.1.4.0/24, version 15 Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised outside local AS, RIB-failure(17)) Not advertised to any peer Local 155.1.146.4 from 155.1.146.4 (150.1.4.4) Origin IGP, metric 0, localpref 100, valid, confed-internal, best Community: local-AS
  50. R2 de 254:100 200:254 ve 200:123 ekleyelim. AS 300’e gelelim; 300:200ü AS100’e giderken ekleyelim; AS300 de 200: x ile başlayanları kaldıralım. Rack1R2(config)#do sh ip bgp 222.22.2.0 BGP routing table entry for 222.22.2.0/24, version 15 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x820 Advertised to update-groups: 3 254 192.10.1.254 from 192.10.1.254 (222.22.2.1) Origin incomplete, metric 0, localpref 100, valid, external, best Community: 200:123 200:254 254:200
  51. Rack1R6# sh ip bgp 222.22.2.0 BGP routing table entry for 222.22.2.0/24, version 24 Paths: (3 available, best #2, table Default-IP-Routing-Table) Advertised to update-groups: 2 3 (65014) 200 254 155.1.45.5 (metric 27283200) from 155.1.146.4 (150.1.4.4) Origin incomplete, metric 0, localpref 100, valid, confed-external (65014) 200 254 155.1.13.3 (metric 27283200) from 155.1.146.1 (150.1.1.1) Origin incomplete, metric 0, localpref 100, valid, confed-external, best 300 200 254 155.1.67.7 from 155.1.67.7 (155.1.7.7) Origin incomplete, localpref 100, valid, external Community: 200:123 200:254 254:200
  52. R3’te yapacağımız config ile butun AS254 route’larını AS300’den alsın; R1-R3 arasındaki link down olursa AS300’den AS254’e olan trafik AS200’den gecsin. Neighbor <IP> advertise-map MAP1 {non-exist | exist-map} MAP2 MAP1 local bgp table da olmalı; MAP2 ise track edeceğimiz bgp table daki prefix olmalı. Yaptığımız configurasyon ile R3’ten AS254’u eğer R3’ten R1’e ulaşamıyorsak, SW1’e advertise ederiz. Rack1R3#sh ip bgp nei 155.1.37.7 adv BGP table version is 13, local router ID is 150.1.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 28.119.16.0/24 155.1.13.1 0 100 54 i *> 28.119.17.0/24 155.1.13.1 0 100 54 i *> 112.0.0.0 155.1.13.1 0 100 54 50 60 i *> 113.0.0.0 155.1.13.1 0 100 54 50 60 i *> 114.0.0.0 155.1.13.1 0 100 54 i *> 115.0.0.0 155.1.13.1 0 100 54 i *> 116.0.0.0 155.1.13.1 0 100 54 i *> 117.0.0.0 155.1.13.1 0 100 54 i *> 118.0.0.0 155.1.13.1 0 100 54 i *> 119.0.0.0 155.1.13.1 0 100 54 i *> 155.1.0.0 155.1.13.1 0 100 i *> 155.1.13.0/24 0.0.0.0 0 32768 i
  53. R2’de 4 yeni lo 10.0.0.1 /24 so on bgp ye advertise edelim. R4 ve R6 dan yapacağımız config ile AS54 ten 10.0.1.0/24 e gidrken R4’ten; 10.0.2.0/24 e giderken R6dan gecsin. R4 ve R6 dan specific route’lar R1’e gitmesin, SW1’de de loop’u engelle.
  54. R1 – R6 arasında lo1 x.x.x.x/32 ip adresiyle ver. BGP’ye dağıt. SW1 de yapacağımız AS-Path access-list ile AS300’un transit AS olmasını engelleyelim. R5 te yapacağımız local preference ile AS200, AS54te genere edilmiş route’lar için R4’ e AS54’te genere edilmemiş (AS54u transit kullanan) R3’e yollasın.. R3’te yapacağımız config ile AS254’ten ogrendiğimiz route’lar R1’e advertise edilmesin.
  55. R2; R3 ve R5 e default route origine etsin. Bu default route; eğer R2’nin BB2’ye bağlantısı düşerse yollanmasın.
  56. AS100 deki routerlar, AS id lerini 146, yapmak istiyor, R4 ve R6 yeni AS numarasını kullanırken R1 eski AS numarasını kullansın; R1, R4, R6 da herhangi bir değişiklik yapılmayacak ve networkte kesintiye sebep olmayacak.
  57. BGP Dampening sadece AS100 de origine edilmiş route’lara uygulansın. Herbir panaltı default1000 poan. Default olarak bu ceza poanı 2000’i aştığında route suppress edilir. Default suppression half-life time is 15 min. Max half-life 4 * half-life. 7.5 dakika sonra ceza poanı azalmaya başlar ve her 5 saniyede exponential olarak azalır. Ceza poanı 750 nin altına dustuğunde route tekrar gonderilmeye başlar.
  58. R1’de AS146 de yer alsın R4 ve R6 ya route-reflector olsun. Butun external AS’ler bu AS146’dan unawere olsun. R5, R4 ile peer olsun AS146yı kullanarak. At R6 --------------------- router bgp 146 no synchronization bgp log-neighbor-changes network 155.1.146.0 mask 255.255.255.0 aggregate-address 155.1.0.0 255.255.0.0 summary-only neighbor 54.1.1.254 remote-as 54 neighbor 54.1.1.254 local-as 100 no-prepend replace-as neighbor 155.1.67.7 remote-as 300 neighbor 155.1.67.7 local-as 100 no-prepend replace-as neighbor 155.1.146.1 remote-as 146 no auto-summary Bakarken 146 yı gormeyiz.
  59. SW1 ve SW3’u private AS 65089 da kur ve peeringlerini ayarla. SW1’de Lo1 7.7.7.7/24 yarat ve bgp’ye advertise et. AS100 ve AS200 bu prefix’i AS254 ve AS54 ‘e advertise ederken AS numarasını kessin.
  60. R2’de bgp process’ini configure edlim, conditional route-advertisement’ı 20 sec yapsın. R2, BB2’ye routing update’lerini hemen gondersin. R2; session deactivation’ı no session activite varken 15 saniyede gerçgerçekleştirsin.
  61. Fiziksel bir interface gittiğinde eBGP peering session’ı deactive etme ozelliğini disable edelim . R3’un butun peering session’larını fast peering deactivation için configure edelim.
  62. R3 ve R5 te yapacağımız filtering ile R1 ve R4’ün 112.0.0.0/8 ve 114.0.0.0/8 routelarını advertise etmesini engelleyelim.
  63. R3; IGP prefix değiştikten 30 saniye sonra BGP prefix next-hop’u da değiştirsin.
  64. R3, TCP paketlerini eBGP’den sadece 1 hop’tan uzaksa alsın .
  65. R2 ve SW2 2.2.2.0/24 ve 8.8.8.0/24 networklerini BGP’ye advertise etsin. AS 200 router’larında yapacağımız config ile AS 200 partioned olursa; geri kalan parcalar AS100 u transit olarak kullanıp, connectivityi sağlasın.