BGP Advanced Features and Enhancements
|
|
- Dinah Hensley
- 8 years ago
- Views:
Transcription
1 BGP Advanced Features and Enhancements George Wu TCOM610 Conditional Route Injection Network: originate route into BGP if there is corresponding routes in IP routing table Aggregate-address: inject route into BGP if there is corresponding more specific routes in BGP table Route-distribute: distribute routes into BGP table from other routing protocols Conditional route inject: inject any route into BGP based on pre-set conditions (more specific of aggregated routes etc) Used to inject more specific into BGP based on existence of aggregated route or originate default route based on certain route existence 1
2 Conditional Route Injection bgp inject-map ORIGINATE exist-map LEARNED_PATH route-map LEARNED_PATH permit sequence-number match ip address prefix-list ROUTE match ip route-source prefix-list ROUTE_SOURCE -- route must come from this source route-map ORIGINATE permit 10 show ip bgp injected-paths bgp inject-map {inject-map-name} exist-map {exist-mapname}[copy-attributes] Example router bgp 109! Inject twp more specifics based on existence of aggregate bgp inject-map ORIGINATE exist-map LEARNED_PATH! route-map LEARNED_PATH permit 10 match ip address prefix-list ROUTE match ip route-source prefix-list ROUTE_SOURCE! route-map ORIGINATE permit 10 set ip address prefix-list ORIGINATED_ROUTES set community 14616:555 additive! ip prefix-list ROUTE permit /24! ip prefix-list ORIGINATED_ROUTES permit /25 ip prefix-list ORIGINATED_ROUTES permit /25! ip prefix-list ROUTE_SOURCE permit /32 2
3 Example Inject default to BGP neighbor based on existence of certain routes router bgp 100 neighbor INT-DEFAULT default-originate routemap CONDITIONS ip prefix-list CONDITIONS permit /16 ip prefix-list CONDITIONS permit /16 ip prefix-list CONDITIONS permit /16 Load-Balancing If multiple routes from different protocols, choose the one with the lowest administrative distance (static < ebgp < OSPF < ibgp) Connected = 0, static = 1, ebgp = 20, EIGRP = 90, OSPF = 100, ISIS = 115, eeigrp = 170, ibgp = 200 Some protocols support unequal load-balancing (IGRP, EIGRP), while others support equal-cost load-balancing (ISIS, OSPF) up to certain limit Load-balancing could be either per-packet (not preferred due to out of order packets) or per destination (per flow) 3
4 BGP Load-balancing BGP usually only picks one best route according to BGP decision process If multiple ebgp links over two same routers: use loopback address peering and static route pointing to loopback address If multiple ebgp links over different routes (but still one router on one side): use ebgp multi-path (maximum-path n) Multi-homed to same ISP over multiple routers: use route-policy to achieve load-sharing (as-path prepend and set local-pref) Multi-homed to multi-providers: use route-policy to achieve load-sharing BGP multi-path load-balancing BGP usually pick one best route and use that route for routing E-BGP multi-path: a local router learns the same prefix from two ebgp peerings over the same external AS, it will usually pick the lowest route-id route; but with ebgp-multipath, it will loadbalancing over two prefix I-BGP multi-path: all BGP attributes are the same except next-hop; BGP-RR will void this setting since RR will only advertise one best route Also apply to MPLS-VPN case 4
5 BGP multi-path commands maximum-paths ibgp maximum-number maximum-paths eibgp number-of-paths Router# show ip bgp BGP routing table entry for /24, version 119 Paths:(6 available, best #1) Multipath:iBGP Flag:0x820 Advertised to non peer-group peers: (metric 11) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, multipath, best Originator: , Cluster list: (metric 11) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, multipath Originator: , Cluster list: (metric 11) from ( ) Origin IGP, metric 0, localpref 100, valid, internal, multipath Originator: , Cluster list: BGP link bandwidth Advertise the bandwidth of an autonomous system exit link as an extended community This feature supports both internal BGP (ibgp), external BGP (ebgp) multi-path load balancing, and multi-path load balancing in Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs). Link bandwidth extended community indicates the preference of an autonomous system exit link in terms of bandwidth Feature available for directly connected peers only (no ebgp multi-hop) Requires BGP multi-path load-balancing To achieve unequal cost load-balancing over multiple links 5
6 BGP Policy Update BGP is stateful and build on top of TCP BGP only exchanges full routing table at the beginning and incremental updates afterwards What if you or your BGP neighbor change routing policy over an established sessions? Deny some of the existing routes Raise local-pref for some routes Attach new community for some routes Old Approach: you have to clear the BGP sessions and re-establish session from the beginning again for the new policy to take effect Cause network BGP instability Increase router load What is best time to clear the session? Time-zone difference BGP soft reset Hard reset invalidates the cache and results in a negative impact on the network performance when the information in the cache becomes unavailable. A hard reset is also disruptive because active BGP sessions are torn down. A soft reset, which is performed on a per-neighbor basis, does not clear the BGP session and facilitates the application of new policies. There are two methods of performing a soft reset: A dynamic inbound soft reset is used to generate inbound updates from a neighbor. An outbound soft reset is used to send a new set of updates to a neighbor. both BGP peers must support the soft route refresh capability 6
7 Soft reset commands clear ip bgp * ip-address peer-group-name peer-asn soft in clear ip bgp * address peer-group-name peer-asn soft out neighbor ip-address peer-group-name softreconfiguration inbound router bgp 100 neighbor remote-as 200 neighbor soft-reconfiguration inbound BGP Capability Negotiations BGP speaker receives an OPEN message with one or more unrecognized Optional Parameters, the speaker must terminate BGP peering MAY include an Optional Parameter, called Capabilities. Optional Parameter carried by the OPEN message If not supported, may terminate peering or establish without the optional capability Known Capability parameters: MP-BGP extension (AFI/SAFI), Route Refresh, Outbound Route Filtering 7
8 Capability Parameters Capability Code (1 octet) Capability Length (1 octet) Capability Value (variable) new Error Subcode Unsupported Capability (7) Route-refresh capability BGP speaker uses BGP Capabilities Advertisement [BGP- CAP]. This capability is advertised using the Capability code 2 and Capability length 0. BGP speaker is capable of receiving and properly handling the ROUTE-REFRESH message should advertise the Route Refresh Capability to the peer using BGP Capabilities advertisement BGP speaker shall re-advertise to that peer the Adj-RIB- Out of the <AFI, SAFI> carried in the message, based on its outbound route filtering policy. 8
9 Route-refresh messages Type: 5 - ROUTE-REFRESH Message Format: One <AFI, SAFI> encoded as AFI Res. SAFI AFI - Address Family Identifier (16 bit). Res. - Reserved (8 bit) field. Should be set to 0 by the sender and ignored by the receiver. SAFI - Subsequent Address Family Identifier (8 bit). Max-prefix Configure max-prefix limit from a peer To protect accidental mis-configuration or malicious attacks neighbor {ip-address peer-group-name} {maximumprefix maximum [threshold]} [restart restart-intervalmins] [warning-only] Default threshold: 75% of the max-prefix Router will try to re-establish BGP session after the configured minutes. Default: to stay down forever You may want to enable warning-only to notify engineers to correct the problem rather than shutting down the session 9
10 Max-prefix example router bgp 101 neighbor maximum-prefix 500 warning-only router bgp 101 neighbor maximum-prefix 2000 restart 30 Configuration commands neighbor ip-address dmzlink-bw router bgp 100 no synchronization bgp log-neighbor-changes neighbor remote-as 200 neighbor dmzlink-bw neighbor remote-as 200 neighbor dmzlink-bw maximum-paths 6 10
11 BGP dampening (RFC2439) Provide a mechanism capable of reducing router processing load caused by instability the BGP decision process and adding/removing forwarding entries To prevent sustained routing oscillations without sacrificing route convergence time for generally well behaved routes Two approaches: use timer adjustment or route damping BGP Timer Approach Timer approach: no space overhead slow down every s route s convergence (even good behaved routes) Need very long timer (minutes or hours) to effectively reduce flapping route s churn Timers associated with BGP route advertisement: MinRouteAdvertisementInterval timer: 30 seconds MinASOriginationInterval timer: 15 seconds Short timers combined with route damping and BGP update packing provides good performance 11
12 BGP Route Flap & Damping Keep state info for every route Require more space per route and more processing overhead How to distinguish well-behaved route and flapping routes? Tolerable to wait for packing if large amount of updates received in a short time Hold time for flapping route should be proportional to the expectation of the route s future stability Use a route s history to predicate its future behavior If a route with stable history make some quick transitions it is okay; but if for extended time, it should be suppressed Route Instability BGP specification originally cited fixed timers as a method to control frequent route changes and to better pack updates MinRouteAdvertisementInterval - 30 seconds MinASOriginationInterval - 15 seconds This had the bad side effect of delaying convergence, and also relied upon your peer to do the right thing neighbor (ip-address peer-group-name) advertisementinterval seconds default is 30 seconds for EBGP, 5 seconds for IBGP 12
13 Route damping algorithm Each route is assigned a figure of merit The merit is increased for each time that route flaps The routes with high value of merit over threshold are suppressed The merit is decreased exponentially (and by a computationally efficient algorithm) Control by half-life time If the merit is down to certain reuse threshold, the flapped routes will be reused again BGP Damping Parameters 13
14 Parameters Parameters cutoff threshold reuse threshold maximum hold down time decay half life while reachable decay half life while unreachable decay memory limit (used to limit internal array sizes) Default Parameters Defaults penalty - default 1000 half-life - default 15 minutes, the number of minutes it takes for the penalty to decay by 1/2 suppress limit - default 2000, If a route is suppressed the penalty must decay to this value to be unsuppressed reuse limit - default 750, If a route is suppressed the penalty must decay to this value to be unsuppressed maximum suppress time (mins) - default 4 x half-life, The maximum number of minutes a route may be suppressed Example bgp dampening
15 Damping Parameters Calculated parameters: max-penalty The maximum penalty a route may have that will allow the penalty to decay to reuse-limit within max-suppress-time max-penalty = reuse-limit * 2^(max-suppress-time/half-life) If half-life is 30, reuse-limit is 800, and max-suppress-time is 60 then the max-penalty would be If we allowed the penalty to reach 3201 it would be impossible for the penalty to decay to 800 within 60 minutes. IOS will generate a warning message if the max-penalty is above 20,000 or less than the suppress-limit. Configuring BGP Damping router bgp 1000 bgp dampening [half-life reuse suppress max-suppresstime] [route-map map] for global BGP route damping parameters set dampening (in route-map configuration, to selectively apply dampening show ip bgp dampened-paths show ip bgp flap-statistics clear ip bgp dampening (in CLI) clear ip bgp flap-statistics 15
16 BGP Damping A route can only be suppressed when receiving an advertisement. Not when receiving a WITHDRAW. Attribute changes count as a flap (1/2). In order for a route to be suppressed the following must be true: The penalty must be greater than the suppress-limit An advertisement for the route must be received while the penalty is greater than the suppress-limit A route will not automatically be suppressed if the suppresslimit is 1000 and the penalty reaches The route will only be suppressed if an advertisement is received while the penalty is decaying from 1200 down to Damping Example Small suppress window: Half-life of 30 minutes, reuse-limit of 800, suppresslimit of 3000, and max-suppress-time of 60 max-penalty is 3200 Advertisement must be received while penalty is decaying from 3200 down to 3000 for the route to be suppressed A 3 min 45 second (rough numbers) window exist for an advertisement to be received while decaying from 3200 to
17 Example II No window: Half-life of 30 minutes, reuse-limit of 750, suppresslimit of 3000, and max-suppress-time of 60 max-penalty = 750 * 2^(60/30) = 3000 Here the max-penalty is equal to the suppress-limit The penalty can only go as high as The decay begins immediately, so the penalty will be lower than 3000 by the time an advertisement is received. A route could consistently flap several times a minute and never be suppressed Damping in route-map Use this in a route map configuration to modify dampening parameters based on the match clauses Useful to damp specific peers Useful to damp differently based on address length The same parameters as bgp dampening command 17
18 Clearing Damping Stats Clearing the flap statistics on a route... clear ip bgp flap-statistics [(regexp regexp) (filter-list list) )(address mask)] clear ip bgp address flap-statistics Parameters regexp is an aspath regexp filter-list is an aspath list number address and mask can identify an address to be cleared Show flap stats Displaying the BGP flap statistics show ip bgp flap-statistics [(regexp regexp) (filter-list list) (address mask [longer])] Parameters regexp - aspath regexp filter-list - as path access-list address/mask longer - do the more specifics, too 18
19 Example router bgp 1239 bgp dampening route-map flap-dampen ip as-path access-list 77 deny ˆ$ ip as-path access-list 77 deny ˆ617[4-7]_ ip as-path access-list 77 permit.* access-list 119 permit ip any access-list 124 permit ip any route-map flap-dampen permit 10 match ip address 124 match as-path 77 set dampening route-map flap-dampen permit 20 match ip address 119 match as-path 77 set dampening route-map flap-dampen permit 30 match as-path 77 set dampening Damping or not? Turn on damping might cause flapping routes not reachable for extended time If routers can handle the overhead of flapping routes, why do you need to turn on damping? If damped, cause outages for those routes Might be best to do selective damping on perpeer base Don t damp customer routes, only damp peer routes? 19
20 MP-BGP (RFC2858) Current BGP-4 is used to advertise IPv4 address reachability only Extends BGP for multiple network layer protocols (IPv6, multicast, MPLS-VPN, CLNS etc) Introduce optional non-transitive attributes (MP_REACH_NLRI, MP_UNREACH_NLRI) Introduce new BGP peer capability to determine if a peer supports MP-BGP extensions; Exchange of MP-NRLI must be exchanged at session set-up New Attributes One or more of triples: (AFI, SubAFI, NRLI) MP_REACH_NLRI is used to advertise a feasible route to a peer advertise the NL address as the next hop to the destinations listed in the NLRI report the Subnetwork Points of Attachment (SNPAs) within the local system MP_UNREACH_NLRI is used to withdraw multiple unfeasible routes 20
21 MP-BGP Reachability Attributes AFI (2 octets) Sub AFI (1 octet) Len of Next Hop NetAddress (1 octet) Next Hop NetAddress (variable) Number of SNPAs (1 octet) Len of 1 st NPA(1 octet) First SNPA (variable). Length of Last SNPA (1 octet) Last SNPA (variable) Network Layer Reachability Information (variable) AFI: IP=1, IPv6=2, IPX=11 Sub AFI: Unicast=1, Multicast=2, Uni/Multi=3, Label=4, VPN=128 MP-BGP Unreacability Attributes Address Family Identifier (2 octets) Subsequent Address Family Identifier (1 octet) Withdrawn Routes as NRLI (variable) NRLI Encoding: Length (1 octet) Prefix (variable)
22 NRLI Encoding Length: length in bits of the address prefix. A length of zero indicates a prefix that matches all addresses Prefix: address prefix followed by enough trailing bits to make the end of the field fall on an octet boundary. Note that the value of trailing bits is irrelevant Example: /23: len=23, prefix=210.8 MP-BGP Update 22
23 Next-Hop V2 draft-lefaucheur-mp-nh-01cisco draft to use MP-BGP for different NRLI reachability In [MP-BGP], the SAFI field is used to further qualify the semantics of the NLRI (e.g. unicast, multicast, label, VPN...). SAFI field could potentially be used to also convey the Network Layer Protocol of the next hop information (currently next-hop must have the same AFI) NEXT_HOP-v2 attribute (Type Code TBD ): to contain AFI/SAFI/length etc To be used for cases like IPv4 VPNs over IPv6 Core, IPv4 over IPv6 Core, L2 VPNs over IPv6, IPv4 VPNs over IPv4 with Tunnel Encaps MPLS L3-VPN RFC2547 specifies L3-BGP MPLS VPN Follows Peer to Peer VPN model Provides full-mesh connectivity among the same VPN sites Possible to handle hub-spoke and complicated VPN topology Handle overlapping IPv4 address among different VPNs Introduce new attributes: RD: Route Distinguisher VPNv4 address family RT: Route Target Label 23
24 Route Distinguisher (RD) To differentiate /8 in VPN-A from /8 in VPN-B Total 64-bit quantity Configured as ASN:Index or IPADDR:Index format Purely to make a route unique Unique route is now RD:Ipaddr (96 bits) plus a mask on the IPAddr portion So customers don t see each others routes Route Target! ip vrf red rd 1:1 route-target export 1:1 route-target import 1:1 To control policy about who sees what routes 64-bit quantity (2 bytes type, 6 bytes value) Carried as an extended BGP community Typically written as ASN:Index Each VRF imports and exports one or more RTs Exported RTs are carried in VPNv4 BGP Imported RTs are local to the box A PE that imports an RT installs that route in its routing table 24
25 VPNv4 In BGP for IP, 32-bit address + mask makes a unique announcement In BGP for MPLS-VPN, (64-bit RD + 32-bit address) + 32-bit mask makes a unique announcement Since the route encoding is different, use a different address family in BGP VPNv4 = VPN routes for IPv4 As opposed to IPv4 or IPv6 or multicast-rpf, etc VPNv4 announcement carries a label with the route If you want to reach this unique address, get me packets with this label on them CE VPN Operations Paris BGP, OSPF, RIPv2 update /24,NH=CE-1 PE-1 VPN-v4 update: RD:1:27: /24, Next-hop=PE-1 RT=VPN-A Label=(28) Service Provider Network PE-2 London CE PE routers translate into VPN-V4 route Assigns an RD, SOO (if configured) and RT based on configuration Re-writes Next-Hop attribute (to PE loopback) Assigns a label based on VRF and/or interface Sends MP-BGP update to all PE neighbors 25
26 CE VPN Operations Paris VPN-v4 update is translated into IPv4 address and put into VRF VPN-A as RT=VPN- A and optionally advertised to any attached sites CE London BGP, OSPF, RIPv2 update /24,NH=CE-1 PE-1 VPN-v4 update: RD:1:27: /24, Next-hop=PE-1 RT=VPN-A Label=(28) Service Provider Network PE-2 Receiving PE routers translate to IPv4 Insert the route into the VRF identified by the RT attribute (based on PE configuration) The label associated to the VPN-V4 address will be set on packets forwarded towards the destination L3VPN Operations Regular IP packets between PE and CE Label switching within the provider networks label stack Outer label: get this packet to the egress PE Inner label: get this packet to the egress CE MPLS Core forward packets based on top label Outer label is from LDP/RSVP, Inner label is from BGP Core does not run VPNv4 BGP! VPNv4 IBGP peering is established between PE routers only CE does not know it s in an MPLS-VPN Separate IPv4 BGP peering and VPNv4 MP-BGP peering 26
MPLS VPN Route Target Rewrite
The feature allows the replacement of route targets on incoming and outgoing Border Gateway Protocol (BGP) updates Typically, Autonomous System Border Routers (ASBRs) perform the replacement of route targets
More informationConfiguring BGP. Cisco s BGP Implementation
Configuring BGP This chapter describes how to configure Border Gateway Protocol (BGP). For a complete description of the BGP commands in this chapter, refer to the BGP s chapter of the Network Protocols
More informationExam Name: BGP + MPLS Exam Exam Type Cisco Case Studies: 3 Exam Code: 642-691 Total Questions: 401
Question: 1 Every time a flap occurs on a route, the route receives A. 750 per-flap penalty points which are user configurable B. 1500 per-flap penalty points which are user configurable C. 200 per-flap
More informationno aggregate-address address mask [as-set] [summary-only] [suppress-map map-name] [advertise-map map-name] [attribute-map map-name]
BGP Commands Use the commands in this chapter to configure and monitor Border Gateway Protocol (BGP). For BGP configuration information and examples, refer to the Configuring BGP chapter of the Network
More informationInternet inter-as routing: BGP
Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability
More informationBGP Multipath Load Sharing for Both ebgp and ibgp in an MPLS-VPN
BGP Multipath Load Sharing for Both ebgp and ibgp in an MPLS-VPN The BGP Multipath Load Sharing for ebgp and ibgp feature allows you to configure multipath load balancing with both external BGP (ebgp)
More informationMultihomed BGP Configurations
Multihomed BGP Configurations lvaro Retana Cisco IOS Deployment and Scalability 1 genda General Considerations Multihomed Networks Best Current Practices 2 The Basics General Considerations 3 General Considerations
More informationIntroduction Inter-AS L3VPN
Introduction Inter-AS L3VPN 1 Extending VPN services over Inter-AS networks VPN Sites attached to different MPLS VPN Service Providers How do you distribute and share VPN routes between ASs Back- to- Back
More informationMPLS VPN. Agenda. MP-BGP VPN Overview MPLS VPN Architecture MPLS VPN Basic VPNs MPLS VPN Complex VPNs MPLS VPN Configuration (Cisco) L86 - MPLS VPN
MPLS VPN Peer to Peer VPN s Agenda MP-BGP VPN Overview MPLS VPN Architecture MPLS VPN Basic VPNs MPLS VPN Complex VPNs MPLS VPN Configuration (Cisco) CE-PE OSPF Routing CE-PE Static Routing CE-PE RIP Routing
More informationHow To Understand Bg
Table of Contents BGP Case Studies...1 BGP4 Case Studies Section 1...3 Contents...3 Introduction...3 How Does BGP Work?...3 ebgp and ibgp...3 Enabling BGP Routing...4 Forming BGP Neighbors...4 BGP and
More informationFor internal circulation of BSNLonly
E3-E4 E4 E&WS Overview of MPLS-VPN Overview Traditional Router-Based Networks Virtual Private Networks VPN Terminology MPLS VPN Architecture MPLS VPN Routing MPLS VPN Label Propagation Traditional Router-Based
More informationIPv6 over MPLS VPN. Contents. Prerequisites. Document ID: 112085. Requirements
IPv6 over MPLS VPN Document ID: 112085 Contents Introduction Prerequisites Requirements Components Used Conventions Configure Network Diagram VRF Configuration Multiprotocol BGP (MP BGP) Configuration
More informationPresentation_ID. 2001, Cisco Systems, Inc. All rights reserved.
1 Session Number BGP Feature Update 12.0S July 2003 Mike Pennington mpenning@cisco.com Cisco Systems - Denver, CO 2 Overview Overview Definition of Terms BGP Convergence optimization Issues w/ Static peer-groups
More informationMPLS VPN Implementation
MPLS VPN Implementation Overview Virtual Routing and Forwarding Table VPN-Aware Routing Protocols VRF Configuration Tasks Configuring BGP Address families Configuring BGP Neighbors Configuring MP-BGP Monitoring
More informationMPLS VPN - Route Target Rewrite
MPLS VPN - Route Target Rewrite The MPLS VPN - Route Target Rewrite feature allows the replacement of route targets on incoming and outgoing Border Gateway Protocol (BGP) updates. Typically, autonomous
More informationUsing the Border Gateway Protocol for Interdomain Routing
CHAPTER 12 Using the Border Gateway Protocol for Interdomain Routing The Border Gateway Protocol (BGP), defined in RFC 1771, provides loop-free interdomain routing between autonomous systems. (An autonomous
More informationBGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth
The Border Gateway Protocol (BGP) Link Bandwidth feature is used to advertise the bandwidth of an autonomous system exit link as an extended community. This feature is configured for links between directly
More informationGateway of last resort is 192.208.10.5 to network 192.208.10.0
RTB#sh ip bgp BGP table version is 14, local router ID is 203.250.15.10 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP,? - incomplete Network
More informationBGP4 Case Studies/Tutorial
BGP4 Case Studies/Tutorial Sam Halabi-cisco Systems The purpose of this paper is to introduce the reader to the latest in BGP4 terminology and design issues. It is targeted to the novice as well as the
More informationMPLS. Cisco MPLS. Cisco Router Challenge 227. MPLS Introduction. The most up-to-date version of this test is at: http://networksims.com/i01.
MPLS Cisco MPLS MPLS Introduction The most up-to-date version of this test is at: http://networksims.com/i01.html Cisco Router Challenge 227 Outline This challenge involves basic frame-mode MPLS configuration.
More informationBGP Advanced Routing in SonicOS
BGP Advanced Routing in SonicOS Document Scope This document provides an overview of SonicWALL s implmenetation of Border Gateway protocol (BGP), how BGP operates, and how to configure BGP for your network.
More informationAdvanced BGP Policy. Advanced Topics
Advanced BGP Policy George Wu TCOM690 Advanced Topics Route redundancy Load balancing Routing Symmetry 1 Route Optimization Issues Redundancy provide multiple alternate paths usually multiple connections
More informationBGP Link Bandwidth. Finding Feature Information. Contents
The BGP (Border Gateway Protocol) Link Bandwidth feature is used to advertise the bandwidth of an autonomous system exit link as an extended community. This feature is configured for links between directly
More informationBGP Best Path Selection Algorithm
BGP Best Path Selection Algorithm Document ID: 13753 Contents Introduction Prerequisites Requirements Components Used Conventions Why Routers Ignore Paths How the Best Path Algorithm Works Example: BGP
More informationBGP Terminology, Concepts, and Operation. Chapter 6 2007 2010, Cisco Systems, Inc. All rights reserved. Cisco Public
BGP Terminology, Concepts, and Operation 1 IGP versus EGP Interior gateway protocol (IGP) A routing protocol operating within an Autonomous System (AS). RIP, OSPF, and EIGRP are IGPs. Exterior gateway
More informationAPNIC elearning: BGP Basics. Contact: training@apnic.net. erou03_v1.0
erou03_v1.0 APNIC elearning: BGP Basics Contact: training@apnic.net Overview What is BGP? BGP Features Path Vector Routing Protocol Peering and Transit BGP General Operation BGP Terminology BGP Attributes
More informationMPLS-based Layer 3 VPNs
MPLS-based Layer 3 VPNs Overall objective The purpose of this lab is to study Layer 3 Virtual Private Networks (L3VPNs) created using MPLS and BGP. A VPN is an extension of a private network that uses
More informationMPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre
The feature overcomes the requirement that a carrier support multiprotocol label switching (MPLS) by allowing you to provide MPLS connectivity between networks that are connected by IP-only networks. This
More informationRouting Protocol - BGP
Routing Protocol - BGP BGP Enterprise Network BGP ISP AS 3000 AS 2000 BGP is using between Autonomous Systems BGP(cont.) RFC 1771(BGPv4) Support CIDR Transfer the AS information to reach destination Using
More informationIntroduction to BGP. Cisco ISP Workshops. 2003, Cisco Systems, Inc. All rights reserved.
Introduction to BGP Cisco ISP Workshops 1 Border Gateway Protocol Routing Protocol used to exchange routing information between networks exterior gateway protocol RFC1771 work in progress to update draft-ietf-idr-bgp4-18.txt
More informationSimple Multihoming. ISP/IXP Workshops
Simple Multihoming ISP/IXP Workshops 1 Why Multihome? Redundancy One connection to internet means the network is dependent on: Local router (configuration, software, hardware) WAN media (physical failure,
More informationInternet inter-as routing: BGP
Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate the reachability
More informationUPDATE = [Withdrawn prefixes (Optional)] + [Path Attributes] + [NLRIs].
Table of Contents Introduction...1 MP-BGP Overview...1 VPNv4 Prefixes and EIGRP Extended Communities...3 VPNv4 Prefixes and Redistribution...4 Race Condition 1: Backdoor Link preferred by EIGRP...8 BGP
More informationNotice the router names, as these are often used in MPLS terminology. The Customer Edge router a router that directly connects to a customer network.
Where MPLS part I explains the basics of labeling packets, it s not giving any advantage over normal routing, apart from faster table lookups. But extensions to MPLS allow for more. In this article I ll
More informationWhy Is MPLS VPN Security Important?
MPLS VPN Security An Overview Monique Morrow Michael Behringer May 2 2007 Future-Net Conference New York Futurenet - MPLS Security 1 Why Is MPLS VPN Security Important? Customer buys Internet Service :
More informationAnalyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP
Telfor Journal, Vol. 2, No. 1, 2010. 13 Analyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP Aleksandar Cvjetić and Aleksandra Smiljanić Abstract The paper analyzes implementations
More informationIntroducing Basic MPLS Concepts
Module 1-1 Introducing Basic MPLS Concepts 2004 Cisco Systems, Inc. All rights reserved. 1-1 Drawbacks of Traditional IP Routing Routing protocols are used to distribute Layer 3 routing information. Forwarding
More informationConfiguring BGP. The Cisco BGP Implementation
Configuring BGP This chapter describes how to configure Border Gateway Protocol (BGP). For a complete description of the BGP commands in this chapter, refer to the BGP s chapter of the Cisco IOS IP Reference,
More informationConfiguring Route Maps and Policy-Based Routing
C H A P T E R 2 Configuring Route Maps and Policy-Based Routing Perhaps one of the most colorful descriptions for route maps is that route maps are like duct tape for the network not necessarily because
More informationBGP Basics. BGP Uses TCP 179 ibgp - BGP Peers in the same AS ebgp - BGP Peers in different AS's. 64512-65535 Private BGP ASN. BGP Router Processes
BGP Basics BGPv4 - RFC 4271 - IPv6 support Path vector routing protocol EGP Routing between AS'es Classless Transit Area - Area used to reach other areas. Requires full routing table (no default routes).
More informationBGP Support for Next-Hop Address Tracking
The feature is enabled by default when a supporting Cisco software image is installed. BGP next-hop address tracking is event driven. BGP prefixes are automatically tracked as peering sessions are established.
More informationMPLS Implementation MPLS VPN
MPLS Implementation MPLS VPN Describing MPLS VPN Technology Objectives Describe VPN implementation models. Compare and contrast VPN overlay VPN models. Describe the benefits and disadvantages of the overlay
More informationImplementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software
Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software The MPLS VPNs over IP Tunnels feature lets you deploy Layer 3 Virtual Private Netwk (L3VPN) services, over an IP ce netwk, using L2TPv3 multipoint
More informationChapter 6: Implementing a Border Gateway Protocol Solution for ISP Connectivity
: Implementing a Border Gateway Protocol Solution for ISP Connectivity CCNP ROUTE: Implementing IP Routing ROUTE v6 1 Objectives Describe basic BGP terminology and operation, including EBGP and IBGP. Configure
More informationBSCI Module 6 BGP. Configuring Basic BGP. BSCI Module 6
Configuring Basic BGP BSCI Module 6 BSCI Module 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 BSCI Module 6 BGP An AS is a collection of networks under a single technical administration.
More informationModule 12 Multihoming to the Same ISP
Module 12 Multihoming to the Same ISP Objective: To investigate various methods for multihoming onto the same upstream s backbone Prerequisites: Module 11 and Multihoming Presentation The following will
More informationInter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:
Border Gateway Protocol Exterior routing protocols created to: control the expansion of routing tables provide a structured view of the Internet by segregating routing domains into separate administrations
More informationHow To Import Ipv4 From Global To Global On Cisco Vrf.Net (Vf) On A Vf-Net (Virtual Private Network) On Ipv2 (Vfs) On An Ipv3 (Vv
BGP Support for IP Prefix Import from Global Table into a VRF Table The BGP Support for IP Prefix Import from Global Table into a VRF Table feature introduces the capability to import IPv4 unicast prefixes
More informationConfiguring MPLS Hub-and-Spoke Layer 3 VPNs
CHAPTER 23 This chapter describes how to configure a hub-and-spoke topology for Multiprotocol Layer Switching (MPLS) Layer 3 virtual private networks (VPNs) on Cisco NX-OS devices. This chapter includes
More informationThis feature was introduced. This feature was integrated in Cisco IOS Release 12.2(11)T.
BGP Link Bandwidth The Border Gateway Protocol (BGP) Link Bandwidth feature is used to advertise the bandwidth of an autonomous system exit link as an extended community. This feature is configured for
More informationJUNOS Secure BGP Template
JUNOS Secure BGP Template Version 1.92, 03/30/2005 Stephen Gill E-mail: gillsr@cymru.com Published: 04/25/2001 Contents Credits... 2 Introduction... 2 Template... 4 References... 10 Credits Rob Thomas
More informationHow To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2
61200860L1-29.4E March 2012 Configuration Guide Configuring Border Gateway Protocol in AOS for Releases Prior to 18.03.00/R10.1.0 This guide only addresses BGP in AOS data products using AOS firmware prior
More informationBorder Gateway Protocol (BGP)
Border Gateway Protocol (BGP) Petr Grygárek rek 1 Role of Autonomous Systems on the Internet 2 Autonomous systems Not possible to maintain complete Internet topology information on all routers big database,
More informationBGP Attributes and Path Selection
BGP Attributes and Path Selection ISP Workshops Last updated 29 th March 2015 1 BGP Attributes BGP s policy tool kit 2 What Is an Attribute?... Next Hop AS Path MED...... p Part of a BGP Update p Describes
More informationModule 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur
Module 7 Routing and Congestion Control Lesson 4 Border Gateway Protocol (BGP) Specific Instructional Objectives On completion of this lesson, the students will be able to: Explain the operation of the
More information- Border Gateway Protocol -
1 Border Gateway Protocol (BGP) - Border Gateway Protocol - BGP is a standardized exterior gateway protocol (EGP), as opposed to RIP, OSPF, and EIGRP which are interior gateway protocols (IGP s). BGP Version
More informationRFC 2547bis: BGP/MPLS VPN Fundamentals
White Paper RFC 2547bis: BGP/MPLS VPN Fundamentals Chuck Semeria Marketing Engineer Juniper Networks, Inc. 1194 North Mathilda Avenue Sunnyvale, CA 94089 USA 408 745 2001 or 888 JUNIPER www.juniper.net
More informationSimple Multihoming. ISP Workshops. Last updated 30 th March 2015
Simple Multihoming ISP Workshops Last updated 30 th March 2015 1 Why Multihome? p Redundancy n One connection to internet means the network is dependent on: p Local router (configuration, software, hardware)
More informationBorder Gateway Protocol Best Practices
Border Gateway Protocol Best Practices By Clifton Funakura The Internet has grown into a worldwide network supporting a wide range of business applications. Many companies depend on the Internet for day-to-day
More informationBGP overview BGP operations BGP messages BGP decision algorithm BGP states
BGP overview BGP operations BGP messages BGP decision algorithm BGP states 1 BGP overview Currently in version 4. InterAS (or Interdomain) routing protocol for exchanging network reachability information
More information--BGP 4 White Paper Ver.1.0-- BGP-4 in Vanguard Routers
BGP-4 in Vanguard Routers 1 Table of Contents Introduction to BGP... 6 BGP terminology... 6 AS (Autonomous system):... 6 AS connection:... 6 BGP Speaker:... 6 BGP Neighbor/Peer:... 7 BGP Session:... 7
More informationExterior Gateway Protocols (BGP)
Exterior Gateway Protocols (BGP) Internet Structure Large ISP Large ISP Stub Dial-Up ISP Small ISP Stub Stub Stub Autonomous Systems (AS) Internet is not a single network! The Internet is a collection
More informationThe ISP Column. An Introduction to BGP the Protocol
The ISP Column An occasional column on things Internet May 2006 Geoff Huston An Introduction to BGP the Protocol Routing in the Internet is divided into two parts fine-grained topological detail of connected
More informationExamination. IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491
Examination IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491 Date: December 15 2009 14:00 18:00 1. No help material is allowed - You
More informationHow To Make A Network Secure
1 2 3 4 -Lower yellow line is graduate student enrollment -Red line is undergradate enrollment -Green line is total enrollment -2008 numbers are projected to be near 20,000 (on-campus) not including distance
More informationIntroduction to MPLS-based VPNs
Introduction to MPLS-based VPNs Ferit Yegenoglu, Ph.D. ISOCORE ferit@isocore.com Outline Introduction BGP/MPLS VPNs Network Architecture Overview Main Features of BGP/MPLS VPNs Required Protocol Extensions
More information- Multiprotocol Label Switching -
1 - Multiprotocol Label Switching - Multiprotocol Label Switching Multiprotocol Label Switching (MPLS) is a Layer-2 switching technology. MPLS-enabled routers apply numerical labels to packets, and can
More informationHP Networking BGP and MPLS technology training
Course overview HP Networking BGP and MPLS technology training (HL046_00429577) The HP Networking BGP and MPLS technology training provides networking professionals the knowledge necessary for designing,
More informationBGP Multihoming. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability
Why Multihome? BGP Multihoming ISP/IXP Redundancy One connection to internet means the network is dependent on: Local router (configuration, software, hardware) WN media (physical failure, carrier failure)
More informationBGP FORGOTTEN BUT USEFUL FEATURES. Piotr Wojciechowski (CCIE #25543)
BGP FORGOTTEN BUT USEFUL FEATURES Piotr Wojciechowski (CCIE #25543) ABOUT ME Senior Network Engineer MSO at VeriFone Inc. Previously Network Solutions Architect at one of top polish IT integrators CCIE
More informationBGP Operations and Security. Training Course
BGP Operations and Security Training Course Training Services RIPE NCC April 2016 Schedule 09:00-09:30 11:00-11:15 13:00-14:00 15:30-15:45 17:30 Coffee, Tea Break Lunch Break End BGP Operations and Security
More informationImplementing MPLS VPNs over IP Tunnels
Implementing MPLS VPNs over IP Tunnels The MPLS VPNs over IP Tunnels feature lets you deploy Layer 3 Virtual Private Netwk (L3VPN) services, over an IP ce netwk, using L2TPv3 multipoint tunneling instead
More informationIMPLEMENTING CISCO MPLS V3.0 (MPLS)
IMPLEMENTING CISCO MPLS V3.0 (MPLS) COURSE OVERVIEW: Multiprotocol Label Switching integrates the performance and traffic-management capabilities of data link Layer 2 with the scalability and flexibility
More informationBGP: Frequently Asked Questions
BGP: Frequently Asked Questions Document ID: 5816 Contents Introduction How do I configure BGP? How do I configure BGP with the use of a loopback address? What is the order of preference of attributes
More informationAMPLS - Advanced Implementing and Troubleshooting MPLS VPN Networks v4.0
Course Outline AMPLS - Advanced Implementing and Troubleshooting MPLS VPN Networks v4.0 Module 1: MPLS Features Lesson 1: Describing Basic MPLS Concepts Provide an overview of MPLS forwarding, features,
More informationAPNIC elearning: BGP Attributes
APNIC elearning: BGP Attributes Contact: training@apnic.net erou04_v1.0 Overview BGP Attributes Well-known and Optional Attributes AS Path AS Loop Detection ibgp and ebgp Next Hop Next Hop Best Practice
More informationImplementing Cisco MPLS
Implementing Cisco MPLS Course MPLS v2.3; 5 Days, Instructor-led Course Description This design document is for the refresh of the Implementing Cisco MPLS (MPLS) v2.3 instructor-led training (ILT) course,
More informationMPLS Inter-AS VPNs. Configuration on Cisco Devices
MPLS Inter-AS VPNs Configuration on Cisco Devices (C) Herbert Haas 2005/03/11 1 #1: Back-to-Back VRF ip vrf blue rd 1:1 route-target both 1:1 address-family ipv4 vrf blue neighbor 1.1.1.2 activate ip vrf
More informationTextbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.
Course: NET 251 Building Scalable Internetworks Credits: 3 Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual. Course Description: In this course,
More informationApplication Note: Securing BGP on Juniper Routers
Application Note: Securing BGP on Juniper Routers Version 1.92, 03/30/2005 Stephen Gill E-mail: gillsr@cymru.com Published: 06/16/2002 Contents Introduction Introduction... 2 Assumptions... 3 Topology...
More informationDD2491 p2 2011. MPLS/BGP VPNs. Olof Hagsand KTH CSC
DD2491 p2 2011 MPLS/BGP VPNs Olof Hagsand KTH CSC 1 Literature Practical BGP: Chapter 10 MPLS repetition, see for example http://www.csc.kth.se/utbildning/kth/kurser/dd2490/ipro1-11/lectures/mpls.pdf Reference:
More informationBGP-4 Case Studies. Nenad Krajnovic. e-mail: krajko@etf.bg.ac.yu
BGP-4 Case Studies Nenad Krajnovic e-mail: krajko@etf.bg.ac.yu Today topics load balancing over multiple links multihoming to a single provider multihoming to different providers following defaults inside
More informationDeploying MPLS-based IP VPNs Rajiv Asati Distinguished Engineer BRKMPL-2102
Deploying MPLS-based IP VPNs Rajiv Asati Distinguished Engineer BRKMPL-2102 Abstract This session describes the implementation of IP Virtual Private Networks (IP VPNs) using MPLS. It is the most common
More informationBell Aliant. Business Internet Border Gateway Protocol Policy and Features Guidelines
Bell Aliant Business Internet Border Gateway Protocol Policy and Features Guidelines Effective 05/30/2006, Updated 1/30/2015 BGP Policy and Features Guidelines 1 Bell Aliant BGP Features Bell Aliant offers
More informationConfiguring BGP Services
Part No. 314721-C Rev 00 May 2004 4655 Great America Parkway Santa Clara, CA 95054 Passport 8000 Series Software Release 3.7 *314721-C Rev 00* 2 Copyright 2003 Nortel Networks All rights reserved. May
More informationPRASAD ATHUKURI Sreekavitha engineering info technology,kammam
Multiprotocol Label Switching Layer 3 Virtual Private Networks with Open ShortestPath First protocol PRASAD ATHUKURI Sreekavitha engineering info technology,kammam Abstract This paper aims at implementing
More informationLab 4.2 Challenge Lab: Implementing MPLS VPNs
Lab 4.2 Challenge Lab: Implementing MPLS VPNs Learning Objectives Configure Open Shortest Path First (OSPF) and Enhanced Interior Gateway Routing Protocol (EIGRP) on a router Enable MPLS on a router Verify
More informationHow Routers Forward Packets
Autumn 2010 philip.heimer@hh.se MULTIPROTOCOL LABEL SWITCHING (MPLS) AND MPLS VPNS How Routers Forward Packets Process switching Hardly ever used today Router lookinginside the packet, at the ipaddress,
More informationbasic BGP in Huawei CLI
basic BGP in Huawei CLI BGP stands for Border Gateway Protocol. It is widely used among Internet Service Providers to make core routing decisions on the Internet. The current BGP version is BGP-4 defined
More informationChapter 49 Border Gateway Protocol version 4 (BGP-4)
Chapter 49 Border Gateway Protocol version 4 (BGP-4) Introduction... 1-3 Overview of BGP-4... 1-3 BGP Operation... 1-5 BGP Attributes... 1-6 BGP Route Selection... 1-8 Classless Inter-domain Routing (CIDR)
More informationIntroduction to Routing
Introduction to Routing How traffic flows on the Internet Philip Smith pfs@cisco.com RIPE NCC Regional Meeting, Moscow, 16-18 18 June 2004 1 Abstract Presentation introduces some of the terminologies used,
More informationBGP Multihoming Techniques
BGP Multihoming Techniques Philip Smith 26th July - 4th August 2006 Karachi 1 Presentation Slides Available on ftp://ftp-eng.cisco.com /pfs/seminars/sanog8-multihoming.pdf And on the SANOG8
More information> Border Gateway Protocol (BGP-4) Technical Configuration Guide. Ethernet Routing Switch. Engineering
Ethernet Routing Switch 8600 Engineering > Border Gateway Protocol (BGP-4) Technical Configuration Guide Enterprise Solution Engineering Document Date: November, 2007 Document Number: NN48500-538 Document
More informationConfiguring a Basic MPLS VPN
Configuring a Basic MPLS VPN Help us help you. Please rate this document. Contents Introduction Conventions Hardware and Software Versions Network Diagram Configuration Procedures Enabling Configuring
More informationIPv6 over IPv4/MPLS Networks: The 6PE approach
IPv6 over IPv4/MPLS Networks: The 6PE approach Athanassios Liakopoulos Network Operation & Support Manager (aliako@grnet.gr) Greek Research & Technology Network (GRNET) III Global IPv6 Summit Moscow, 25
More informationJNCIA Juniper Networks Certified Internet Associate
JNCIA Juniper Networks Certified Internet Associate Study Guide - Chapter 8 by Joseph M. Soricelli with John L. Hammond, Galina Diker Pildush, Thomas E. Van Meter, and Todd M. Warble This book was originally
More informationBorder Gateway Protocol (BGP-4)
Vanguard Applications Ware IP and LAN Feature Protocols Border Gateway Protocol (BGP-4) Notice 2008 Vanguard Networks 25 Forbes Blvd Foxboro, MA 02035 Phone: (508) 964 6200 Fax: (508) 543 0237 All rights
More informationBGP Multihoming Techniques
BGP Multihoming Techniques Philip Smith SANOG 12 6th-14th August 2008 Kathmandu 1 Presentation Slides Available on ftp://ftp-eng.cisco.com /pfs/seminars/sanog12-multihoming.pdf And on the
More informationUnderstanding Route Redistribution & Filtering
Understanding Route Redistribution & Filtering When to Redistribute and Filter PAN-OS 5.0 Revision B 2013, Palo Alto Networks, Inc. www.paloaltonetworks.com Contents Overview... 3 Route Redistribution......
More information