hit counter script
Cisco NCS 5500 Series Configuration Manual

Cisco NCS 5500 Series Configuration Manual

Bgp configuration ios xr
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR
Release 6.2.x
First Published: 2017-07-14
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883

Advertisement

Table of Contents
loading

Summary of Contents for Cisco NCS 5500 Series

  • Page 1 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x First Published: 2017-07-14 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
  • Page 3: Table Of Contents

    Command BGP Multi-Instance and Multi-AS Configure Multiple BGP Instances for a Specific Autonomous System BGP Routing Domain Confederation Configure Routing Domain Confederation for BGP BGP Additional Paths BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 4 Configure BGP Cost Community Configure BGP Community and Extended-Community Advertisements Redistribute iBGP Routes into IGP Redistribute IGPs to BGP Update Groups Monitor BGP Update Groups L3VPN iBGP PE-CE BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 5 Resilient Per-CE Label Allocation Mode Configure Resilient Per-CE Label Allocation Mode Under VRF Address Family Configure Resilient Per-CE Label Allocation Mode Using Route-Policy BGP VRF Dynamic Route Leaking BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 6 BGP Error Handling and Attribute Filtering Syslog Messages BGP-RIB Feedback Mechanism for Update Generation Use-defined Martian Check EVPN Virtual Private Wire Service (VPWS) C H A P T E R 3 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 7 Configuring EVPN-VPWS: Example BGP-based VPWS Autodiscovery C H A P T E R 4 Configuring VPWS with BGP Autodiscovery and Signaling VPWS with BGP Autodiscovery and BGP Signaling BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 8 Contents BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x viii...
  • Page 9: Changes To This Document

    What's New in Cisco Product Documentation. To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's New in Cisco Product Documentation RSS feed. RSS feeds are a free service.
  • Page 10 Preface Obtaining Documentation and Submitting a Service Request BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 11: New And Changed Bgp Features

    Table 2: BGP Features Added or Modified in IOS XR Release 6.2.x Feature Description Changed in Release Where Documented DMZ Link Bandwidth The feature was introduced. Release 6.2.2 DMZ Link Bandwidth Over EBGP Peer, on page 87 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 12 New and Changed BGP Features New and Changed BGP Features BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 13: Implementing Bgp

    Keepalive packets are sent to ensure that the connection is alive between the BGP peers and notification packets are sent in response to error or special conditions. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 14: Enable Bgp Routing

    12. address-family { ipv4 | ipv6 } unicast 13. route-policy route-policy-name { in | out } 14. commit DETAILED STEPS Step 1 configure Step 2 route-policy route-policy-name BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 15 To see a list of all the possible keywords and arguments for this command, use the CLI help (?). Step 9 exit Example: RP/0/RP0/CPU0:router(config-bgp-af)# exit Exits the current configuration mode. Step 10 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 16 (destination in static) then set next-hop 10.1.0.1 else drop endif end-policy route-policy set_next_hop_agg_v6 set next-hop 2003::121 end-policy route-policy set_next_hop_static_v6 if (destination in static) then set next-hop 2011::121 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 17: Adjust Bgp Timers

    Perform this task to set the timers for BGP neighbors. SUMMARY STEPS 1. configure 2. router bgp as-number 3. timers bgp keepalive hold-time 4. neighbor ip-address 5. timers keepalive hold-time 6. commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 18: Change Bgp Default Local Preference Value

    Perform this task to set the default local preference value for BGP paths. SUMMARY STEPS 1. configure 2. router bgp as-number 3. bgp default local-preference value 4. commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 19: Configure Med Metric For Bgp

    RP/0/RP0/CPU0:router(config)# router bgp 120 Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 default-metric value BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 20: Configure Bgp Weights

    RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Step 4 remote-as as-number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 21: Tune Bgp Best-Path Calculation

    (AS) and not among all paths. BGP Best Path Algorithm, on page 130 provides additional conceptual details. Perform this task to change the default BGP best-path calculation behavior. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 22 RP/0/RP0/CPU0:router(config-bgp)# bgp bestpath med confed Enables BGP software to compare MED values for paths learned from confederation peers. Step 6 bgp bestpath as-path ignore Example: RP/0/RP0/CPU0:router(config-bgp)# bgp bestpath as-path ignore BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 23: Set Bgp Administrative Distance

    IP routing table. Perform this task to specify the use of administrative distances that can be used to prefer one class of route over another. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 24: Indicate Bgp Back-Door Routes

    Perform this task to set the administrative distance on an external Border Gateway Protocol (eBGP) route to that of a locally sourced BGP route, causing it to be less preferred than an Interior Gateway Protocol (IGP) route. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 25 { ip-address / prefix-length | ip-address mask } backdoor Example: RP/0/RP0/CPU0:router(config-bgp-af)# network 172.20.0.0/16 Configures the local router to originate and advertise the specified network. Step 5 commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 26: Configure Aggregate Addresses

    Although BGP treats network 160.10.0.0 as a local entry, it does not advertise network 160.10.0.0 as it normally would advertise a local entry. Configure Aggregate Addresses Perform this task to create aggregate entries in a BGP routing table. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 27 • The summary-only keyword filters all more specific routes from updates. • The route-policy route-policy-name keyword and argument specify the route policy used to set the attributes of the aggregate route. Step 5 commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 28: Autonomous System Number Formats In Bgp

    • Mechanism to achieve higher prefix scale (especially on a RR) by having different instances carrying different BGP tables. • Improved BGP convergence under certain scenarios. • All BGP functionalities including NSR are supported for all the instances. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 29: Configure Multiple Bgp Instances For A Specific Autonomous System

    RP/0/RSP0/CPU0:router(config-bgp)# bgp router-id 10.0.0.0 Configures a fixed router ID for the BGP-speaking router (BGP instance). You must manually configure unique router ID for each BGP Note instance. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 30: Bgp Routing Domain Confederation

    RP/0/RP0/CPU0:router# router bgp 120 Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 bgp confederation identifier as-number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 31 6002 6003 exit address-family ipv4 unicast neighbor 171.16.232.55 remote-as 6002 exit address-family ipv4 unicast neighbor 171.16.232.56 remote-as 6003 exit address-family ipv4 unicast neighbor 171.19.69.1 remote-as 777 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 32 666. The internal division of the autonomous system into multiple autonomous systems is not known to the peers external to the confederation. router bgp 701 address-family ipv4 unicast neighbor 172.16.232.56 remote-as 666 exit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 33: Bgp Additional Paths

    7. address-family {ipv4 {unicast } | ipv6 {unicast | l2vpn vpls-vpws | vpnv4 unicast | vpnv6 unicast } 8. additional-paths receive 9. additional-paths send 10. additional-paths selection route-policy route-policy-name 11. commit DETAILED STEPS Step 1 configure Step 2 route-policy route-policy-name Example: RP/0/RP0/CPU0:router (config)#route-policy add_path_policy BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 34 Configures send capability of multiple paths for a prefix to the capable peers . Step 10 additional-paths selection route-policy route-policy-name Example: RP/0/RP0/CPU0:router(config-bgp-af)#additional-paths selection route-policy add_path_policy Configures additional paths selection capability for a prefix. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 35: Bgp Maximum Prefix

    Consequently, an NSR switchover results in inconsistent BGP tables. • The discard extra paths configuration cannot co-exist with the soft reconfig configuration. Perform this task to configure BGP maximum-prefix discard extra paths. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 36 Configures discard extra paths to discard extra paths when the maximum prefix limit is exceeded. Step 6 commit The following example shows how to configure discard extra paths feature for the IPv4 address family: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# router bgp 10 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 37: Bgp Best-External Path

    If the best path is an eBGP path, then best–external path calculation is not required. The procedure to determine the best–external path is as follows: 1 Determine the best path from the entire set of paths available for a prefix. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 38: Configure Best-External Path Advertisement

    Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 Do one of the following • address-family { vpnv4 unicast | vpnv6 unicast } • vrfvrf-name{ipv4 unicast|ipv6 unicast} BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 39: Bgp Local Label Retention

    2. router bgp as-number 3. address-family { vpnv4 unicast | vpnv6 unicast } 4. retain local-label minutes 5. commit DETAILED STEPS Step 1 configure Step 2 router bgp as-number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 40: Ibgp Multipath Load Sharing

    Multipath Load Sharing Reference, on page 141 provides additional details. Configure iBGP Multipath Load Sharing Perform this task to configure the iBGP Multipath Load Sharing: BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 41 Multipath Loadsharing Configuration: Example The following is a sample configuration where 30 paths are used for loadsharing: router bgp 100 address-family ipv4 multicast maximum-paths ibgp 30 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 42: Route Dampening

    3. address-family { ipv4 | ipv6 } unicast 4. bgp dampening [ half-life [ reuse suppress max-suppress-time ] | route-policy route-policy-name ] 5. commit DETAILED STEPS Step 1 configure Step 2 router bgp as-number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 43: Routing Policy Enforcement

    ‘black hole’ where BGP advertises routes to neighbors that BGP does not install in its global routing table and forwarding table. Perform this task to apply a routing policy to routes being installed into the routing table. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 44 In the following example, for an eBGP neighbor, if all routes should be accepted and advertised with no modifications, a simple pass-all policy is configured: RP/0/RP0/CPU0:router(config)# route-policy pass-all RP/0/RP0/CPU0:router(config-rpl)# pass RP/0/RP0/CPU0:router(config-rpl)# end-policy RP/0/RP0/CPU0:router(config)# commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 45: Configure Bgp Neighbor Group And Neighbors

    After specifying the neighbor group name using the neighbor group command, you can assign options to the neighbor group. All commands that can be configured under a specified neighbor group can be configured under a neighbor. Note BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 46 To see a list of all the possible keywords and arguments for this command, use the CLI help (?). Step 4 exit Example: RP/0/RP0/CPU0:router(config-bgp-af)# exit Exits the current configuration mode. Step 5 neighbor-group name Example: RP/0/RP0/CPU0:router(config-bgp)# neighbor-group nbr-grp-A BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 47 Step 12 use neighbor-group group-name Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# use neighbor-group nbr-grp-A (Optional) Specifies that the BGP neighbor inherit configuration from the specified neighbor group. Step 13 remote-as as-number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 48: Disable Bgp Neighbor

    Disable BGP Neighbor Perform this task to administratively shut down a neighbor session without removing the configuration. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 49: Resetting Neighbors Using Bgp Inbound Soft Reset

    REFRESH request to the neighbor if the neighbor has advertised the ROUTE_REFRESH capability. To determine whether the neighbor has advertised the ROUTE_REFRESH capability, use the show bgp neighbors command. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 50: Resetting Neighbors Using Bgp Outbound Soft Reset

    If an outbound soft reset is triggered, BGP resends all routes for the address family to the given neighbors. To determine whether the neighbor has advertised the ROUTE_REFRESH capability, use the show bgp neighbors command. SUMMARY STEPS 1. show bgp neighbors BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 51: Reset Neighbors Using Bgp Hard Reset

    } [ graceful ] soft [ in [ prefix-filter ] | out ] clear bgp { ipv4 | ipv6} { unicast | labeled-unicast } Example: RP/0/RP0/CPU0:router# clear bgp ipv4 unicast 10.0.0.3 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 52: Configure Software To Store Updates From Neighbor

    4. address-family { ipv4 | ipv6 } unicast 5. soft-reconfiguration inbound [ always] 6. commit DETAILED STEPS Step 1 configure Step 2 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 120 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 53: Log Neighbor Changes

    In this model, an iBGP peer is configured to be a route reflector responsible for passing iBGP learned routes to a set of iBGP neighbors. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 54: Configure Route Reflector For Bgp

    The bgp cluster-id command is used to configure the cluster ID when the cluster has more than one route reflector. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 55 { ipv4 | ipv6 } unicast Example: RP/0/RP0/CPU0:router(config-nbr)# address-family ipv4 unicast Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 56: Configure Bgp Route Filtering By Route Policy

    6. address-family { ipv4 | ipv6 } unicast 7. route-policy route-policy-name { in | out } 8. commit DETAILED STEPS Command or Action Purpose Step 1 configure BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 57: Configure Bgp Attribute Filtering

    The BGP Attribute Filter checks integrity of BGP updates in BGP update messages and optimizes reaction when detecting invalid attributes. BGP Update message contains a list of mandatory and optional attributes. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 58 Specifies a single or a range of attribute codes and an associated action. The allowed actions are: • Treat-as-withdraw— Considers the update message for withdrawal. The associated IPv4-unicast or MP_REACH NLRIs, if present, are withdrawn from the neighbor's Adj-RIB-In. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 59: Bgp Next Hop Tracking

    Example: RP/0/RP0/CPU0:router(config)# router bgp 120 Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 60: Disable Next-Hop Processing On Bgp Updates

    5. address-family { ipv4 | ipv6 } unicast 6. next-hop-self 7. commit DETAILED STEPS Step 1 configure Step 2 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 120 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 61: Bgp Cost Community

    BGP receives multiple paths to the same destination and it uses the best-path algorithm to decide which is the best path to install in RIB. To enable users to determine an exit point after partial comparison, the cost BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 62 • neighbor ip-address remote-as as-number • route-policy route-policy-name { in | out } 8. commit 9. show bgp ip-address DETAILED STEPS Step 1 configure Step 2 route-policy name BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 63 • redistribute static [ metric metric-value ] [ route-policy route-policy-name ] • network { ip-address/prefix-length | ip-address mask } [ route-policy route-policy-name ] • neighbor ip-address remote-as as-number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 64: Configure Bgp Community And Extended-Community Advertisements

    5. address-family{ipv4 {labeled-unicast | unicast | mdt | | mvpn | rt-filter | tunnel} | ipv6 {labeled-unicast | mvpn | unicast}} 6. Use one of these commands: • send-community-ebgp • send-extended-community-ebgp 7. commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 65 IPv4 address family mode supports these sub modes: • labeled-unicast • mdt • mvpn • rt-filter • tunnel • unicast Step 6 Use one of these commands: • send-community-ebgp BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 66: Redistribute Ibgp Routes Into Igp

    RP/0/RP0/CPU0:router(config)# router bgp 120 Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 bgp redistribute-internal BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 67: Redistribute Igps To Bgp

    • redistribute static [ metric metric-value ] [ route-policy route-policy-name ] 6. commit DETAILED STEPS Step 1 configure Step 2 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 120 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 68: Update Groups

    The BGP Update Groups feature contains an algorithm that dynamically calculates and optimizes update groups of neighbors that share outbound policies and can share the update messages. The BGP Update Groups BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 69: Monitor Bgp Update Groups

    EXEC mode: show bgp update-group Update group for IPv4 Unicast, index 0.1: Attributes: Outbound Route map:rm Minimum advertisement interval:30 Messages formatted:2, replicated:2 Neighbors in this update group: 10.0.101.92 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 70: L3Vpn Ibgp Pe-Ce

    L3VPN iBGP PE-CE can be enabled on the neighbor, neighbor-group, or session-group. To configure L3VPN iBGP PE-CE, follow these steps: Before You Begin The CE must be an internal BGP peer. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 71 The following example shows how to configure L3VPN iBGP PE-CE: R1(config-bgp-vrf-nbr)#neighbor 10.10.10.1 ? . . . internal-vpn-client Preserve iBGP CE neighbor path in ATTR_SET across VPN core . . . BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 72 Aggregator: 304 34.3.3.3 Atomic Aggregator Community: 1:60042 2:41661 3:47008 4:9280 5:39778 6:1069 7:15918 8:8994 9:52701 10:10268 11:26276 12:8506 13:7131 14:65464 15:14304 16:33615 17:54991 18:40149 19:19401 Extended community: RT:100:1 RT:1.1.1.1:1] BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 73: Flow-Tag Propagation

    This task applies flow-tag to a specified interface. The packets are matched based on the flow-tag assigned to the source address of the incoming packets. Note You will not be able to enable both QPPB and flow tag feature simultaneously on an interface. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 74 RP/0/RSP0/CPU0:ASR9K-0#show running-config class-map type traffic flowMatch36 Thu Feb 12 01:52:04.838 UTC class-map type traffic match-any flowMatch36 match flow-tag 36 end-class-map BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 75: Bgp Keychains

    RP/0/RP0/CPU0:router(config)# router bgp 120 Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 neighbor ip-address BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 76: Bgp Nonstop Routing

    BGP NSR back on if it has been disabled. Disable BGP Nonstop Routing Perform this task to disable BGP Nonstop Routing (NSR): SUMMARY STEPS 1. configure 2. router bgp as-number 3. nsr disable 4. commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 77: Re-Enable Bgp Nonstop Routing

    1. configure 2. router bgp as-number 3. no nsr disable 4. commit DETAILED STEPS Step 1 configure Step 2 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 120 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 78: Accumulated Interior Gateway Protocol Attribute

    • The route is an interior gateway protocol (iGP) route redistributed into border gateway protocol (BGP). The value assigned to the AiGP attribute is the value of iGP next hop to the route or as set by a route-policy. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 79 Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 6 address-family {ipv4 | ipv6} unicast Example: RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 unicast BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 80: Configure Bgp Accept Own

    VRFs. Note BGP Accept Own is supported only for VPNv4 and VPNv6 address families in neighbor configuration mode. Perform this task to configure BGP Accept Own: BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 81 Specifies the address family as VPNv4 or VPNv6 and enters neighbor address family configuration mode. Step 7 accept-own [inheritance-disable] Example: RP/0/RP0/CPU0:router(config-bgp-nbr-af)#accept-own Enables handling of self-originated VPN routes containing Accept_Own community. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 82 5 InterAS-RR1 attaches RT2 to prefix X on the inbound and ACCEPT_OWN community on the outbound and advertises prefix X to IntraAS-RR31. 6 IntraAS-RR31 advertises X to PE11. 7 PE11 installs X in Service VRF as (RD2:X,RT1, RT2, ACCEPT_OWN). BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 83: Bgp Link-State

    Note IGPs do not use BGP LS data from remote peers. BGP does not download the received BGP LS data to any other component on the router. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 84: Configure Bgp Link-State

    Configures the remote AS for the CE neighbor. Step 5 address-family link-state link-state Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# address-family link-state link-state Distributes BGP link-state information to the specified neighbor. Step 6 commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 85: Configure Domain Distinguisher

    A permanent network is used to define a set of prefixes as permanent, that is, there is only one BGP advertisement or withdrawal in upstream BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 86: Configure Bgp Permanent Network

    7. address-family { ipv4 | ipv6 } unicast 8. permanent-network route-policy route-policy-name 9. commit 10. show bgp {ipv4 | ipv6} unicast prefix-set DETAILED STEPS Step 1 configure Step 2 prefix-set prefix-set-name BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 87 { ipv4 | ipv6 } unicast Example: RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 unicast Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. Step 8 permanent-network route-policy route-policy-name BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 88: Advertise Permanent Network

    Step 1 configure Step 2 router bgp as-number Example: RP/0/RP0/CPU0:router(config)# router bgp 100 Specifies the autonomous system number and enters the BGP configuration mode. Step 3 neighbor ip-address BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 89 {ipv4 | ipv6} unicast neighbor ip-address Example: RP/0/RP0/CPU0:routershow bgp ipv4 unicast neighbor 10.255.255.254 (Optional) Displays whether the neighbor is capable of receiving BGP permanent networks. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 90: Enable Bgp Unequal Cost Recursive Load Balancing

    When eiBGP is applied, eBGP or iBGP load balancing cannot be configured; however, eBGP and iBGP load balancing can coexist. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 91 11:11:0:3::11/64 interface TenGigE0/3/0/3 bandwidth 5000000 ipv4 address 11.11.14.11 255.255.255.0 ipv6 address 11:11:0:4::11/64 interface TenGigE0/3/0/4 bandwidth 4000000 ipv4 address 11.11.15.11 255.255.255.0 ipv6 address 11:11:0:5::11/64 interface TenGigE0/3/0/5 bandwidth 3000000 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 92 11.11.14.12 remote-as 200 dmz-link-bandwidth address-family ipv4 unicast route-policy pass-all in route-policy pass-all out neighbor 11.11.15.12 remote-as 200 dmz-link-bandwidth address-family ipv4 unicast BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 93: Dmz Link Bandwidth For Unequal Cost Recursive Load Balancing

    Multiprotocol Interior BGP (MP-iBGP) session (either IPv4 or VPNv4), the remote PE automatically does load balancing if the maximum-paths command is enabled. Unequal cost recursive load balancing happens across maximum eight paths only. Note BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 94: Enable Bgp Unequal Cost Recursive Load Balancing

    When eiBGP is applied, eBGP or iBGP load balancing cannot be configured; however, eBGP and iBGP load balancing can coexist. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 95 11:11:0:3::11/64 interface TenGigE0/3/0/3 bandwidth 5000000 ipv4 address 11.11.14.11 255.255.255.0 ipv6 address 11:11:0:4::11/64 interface TenGigE0/3/0/4 bandwidth 4000000 ipv4 address 11.11.15.11 255.255.255.0 ipv6 address 11:11:0:5::11/64 interface TenGigE0/3/0/5 bandwidth 3000000 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 96 11.11.14.12 remote-as 200 dmz-link-bandwidth address-family ipv4 unicast route-policy pass-all in route-policy pass-all out neighbor 11.11.15.12 remote-as 200 dmz-link-bandwidth address-family ipv4 unicast BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 97: Dmz Link Bandwidth Over Ebgp Peer

    This extended community is meant for load balancing over multi-paths. However, Cisco IOS-XR enables advertising of the DMZ link bandwidth to an eBGP peer, or receiving the DMZ link bandwidth by an eBGP peer. This feature also gives the user the option to send the bandwidth unchanged, or take the accumulated bandwidth over all the egress links and advertise that to the upstream eBGP peer.
  • Page 98: Sending And Receiving Dmz Link Bandwidth Extended Community Over Ebgp Peer

    Step 5 exit ip-address Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# exit Exits the neighbor configuration mode and enters into BGP configuration mode. Step 6 neighbor ip-address BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 99 Advertised to update-groups (with more than one peer): Advertised to peers (in unique update groups): 20.0.0.1 11.1.0.2 from 11.1.0.2 (11.1.0.2) Origin incomplete, metric 20, localpref 100, valid, external, best, group-best BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 100: Bgp Prefix Origin Validation Based On Rpki

    Perform this task to configure Resource Public Key Infrastructure (RPKI) cache-server parameters. Configure the RPKI cache-server parameters in rpki-server configuration mode. Use the rpki server command in router BGP configuration mode to enter into the rpki-server configuration mode BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 101 Example: RP/0/RP0/CPU0:router(config-bgp)#rpki server 10.2.3.4 Enters rpki-server configuration mode and enables configuration of RPKI cache parameters. Step 4 Use one of these commands: • transport ssh port port_number BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 102 Configures the time BGP waits to keep routes from a cache after the cache session drops. Set purge time in seconds. Range for the purge time is 30 to 360 seconds. Step 9 Use one of these commands. • refresh-time time • refresh-time off BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 103: Configure Rpki Prefix Validation

    2. router bgp as-number 3. Use one of these commands. • rpki origin-as validation disable • rpki origin-as validation time {off | prefix_validation_time 4. origin-as validity signal ibgp 5. commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 104 RP/0/RP0/CPU0:router(config-bgp)#rpki origin-as validity signal ibgp Enables the iBGP signaling of validity state through an extended-community. This can also be configured in global address family submode. Step 5 commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 105: Configure Rpki Bestpath Computation

    "invalid" paths from that specific neighbor or neighbor address family to be considered as bestpath candidates. The neighbor must be an eBGP neighbor. This configuration takes effect only when the rpki bestpath use origin-as validity configuration is enabled. Step 5 commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 106: Resilient Per-Ce Label Allocation Mode

    2. router bgpas-number 3. vrfvrf-instance 4. address-family {ipv4 | ipv6} unicast 5. label-mode per-ce 6. Do one of the following: • end • commit DETAILED STEPS Step 1 configure BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 107 RP/0/RP0/CPU0:router(config-bgp-vrf-af)# label-mode per-ce RP/0/RP0/CPU0:router(config-bgp-vrf-af)# Configures resilient per-ce label allocation mode. Step 6 Do one of the following: • end • commit Example: RP/0/RP0/CPU0:router(config-bgp-vrf-af)# end RP/0/RP0/CPU0:router(config-bgp-vrf-af)# commit Saves configuration changes. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 108: Configure Resilient Per-Ce Label Allocation Mode Using Route-Policy

    Perform this task to configure resilient per-ce label allocation mode using a route-policy. SUMMARY STEPS 1. configure 2. route-policypolicy-name 3. set label-mode per-ce 4. Do one of the following: • end • commit DETAILED STEPS Step 1 configure BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 109 ◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 110: Bgp Vrf Dynamic Route Leaking

    VRF to default VRF. Before You Begin A route-policy is mandatory for configuring dynamic route leaking. Use the route-policy route-policy-name command in global configuration mode to configure a route-policy. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 111 PE. However, the paths are still advertised to the CEs. • export to default-vrf—configures import from non-default-VRF to default VRF. The paths imported from the default-VRF are advertised to other PEs. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 112: Configuring A Vpn Routing And Forwarding Instance In Bgp

    Define Virtual Routing and Forwarding Tables in Provider Edge Routers Perform this task to define the VPN routing and forwarding (VRF) tables in the provider edge (PE) routers. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 113 (Optional) Provides finer control over what gets imported into a VRF. This import filter discards prefixes that do not match the specified policy-name argument. Step 6 import route-target [ as-number : nn | ip-address : nn ] BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 114: Configure Route Distinguisher

    RD setup, where the non-best multipath will be installed if the best multipath is invalid to be installed in RIB. Perform this task to configure the RD. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 115 RD generation. Having a single router ID also helps in checkpointing RD information for BGP graceful restart, because it is expected to be stable across reboots. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 116: Configure Pe-Pe Or Pe-Rr Interior Bgp Sessions

    The PE-PE, PE-route reflector (RR) iBGP sessions are defined to all PE and RR routers that participate in the VPNs configured in the PE router. Perform this task to configure PE-PE iBGP sessions and to configure global VPN options on a PE. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 117 RP/0/RP0/CPU0:router(config-bgp)# address-family vpvn4 unicast Enters VPN address family configuration mode. Step 4 exit Example: RP/0/RP0/CPU0:router(config-bgp-af)# exit Exits the current configuration mode. Step 5 neighbor ip-address Example: RP/0/RP0/CPU0:router(config-bgp)# neighbor 172.16.1.1 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 118 Allows iBGP sessions to use the primary IP address from a specific interface as the local address when forming an iBGP session with a neighbor. Step 12 address-family vpnv4 unicast Example: RP/0/RP0/CPU0:router(config-bgp-nbr)# address-family vpvn4 unicast Enters VPN neighbor address family configuration mode. Step 13 route-policy route-policy-name in BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 119: Configure Bgp As Pe-Ce Protocol

    Specifies a routing policy for an outbound route. The policy can be used to filter routes or modify route attributes. Step 15 commit Configure BGP as PE-CE Protocol Perform this task to configure BGP on the PE and establish PE-CE communication using BGP. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 120 BGP routing process. Example: RP/0/RP0/CPU0:router(config)# router bgp 120 Step 3 vrf vrf-name Enables BGP routing for a particular VRF on the PE router. Example: RP/0/RP0/CPU0:router(config-bgp)# vrf vrf_pe_2 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 121 The PE advertises only one label for the aggregate. Because component prefixes could have different next hops to CEs, an additional lookup has to be performed during data forwarding. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 122 PE router. If the prefix is looped back to the site-of-origin 234:111 same site, the PE detects this and does not send the update to the BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 123: Resetting An Ebgp Session Immediately Upon Link Failure

    Following is a sample configuration to increase the eBGP sessions: RP/0/RP0/CPU0:router#configure RP/0/RP0/CPU0:router(config)#lpts pifib hardware police location 0/2/CPU0 RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#flow bgp configured rate 4000 RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#flow bgp known rate 4000 RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#flow bgp default rate 4000 RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#commit BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 124: Selective Fib Download

    Therefore, the global internet routes are not programmed in the hardware of the LOW-FIB scale line card. • MPLS labels are programmed on both the HIGH-FIB scale and LOW-FIB scale line cards. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 125 In the per-CE mode, the VPN-label is assigned per CE. The VPN-label lookup on the core facing line card (LOW-FIB scale line card) results in the next-hop to the HIGH-FIB line card, which is connected to the CE. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 126: Configuring Selective Fib Download

    • show controllers npu resources [all | encap | exttcamipv4 | exttcamipv6 | lem | lpm] location location */Routing Information Base/* Router#show route 150.0.2.0/24 Routing entry for 150.0.2.0/24 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 127: Information About Implementing Bgp

    : 1018789 (49 %) (Prefix Count: 1018789) ipmcroute (0 %) (Prefix Count: 0) Information about Implementing BGP To implement BGP, you need to understand the following concepts: BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 128: Bgp Router Identifier

    The following default limits are used if the user does not configure the maximum number of prefixes for the address family: ◦ 512K (524,288) prefixes for IPv4 unicast ◦ 128K (131,072) prefixes for IPv6 unicast ◦ 512K (524,288) prefixes for VPNv4 unicast BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 129: Bgp Attributes And Operators

    BGP Attributes and Operators This table summarizes the BGP attributes and operators per attach points. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 130 — extcommunity cost — set additive local-preference is, ge, le, eq is, eg, ge, le setset +set - next-hop origin source — suppress-route — suppress-route weight — BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 131 — origin — source — clear-policy as-path — is-local length neighbor-is originates-from passes-through unique-length as-path-length is, ge, le, eq — as-path-unique-length is, ge, le, eq — BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 132 — is, eg, ge, le — next-hop — origin — source — debug destination — default originate — set + set - rib-has-route — BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 133 — matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le set + set - BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 134 Implementing BGP Information about Implementing BGP Attach Point Attribute Match next-hop set peer address origin route-aggregated route-aggregated source — weight — BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 135 — matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 136 + set - set max-unreachable set igp-cost next-hop set self origin path-type — — route-aggregated route-aggregated — source — unsuppress-route — unsuppress-route vpn-distinguisher — neighbor-orf orf-prefix BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 137 — local-preference — — set+ set- next-hop origin — route-type — is, ge, le, eq — weight — next-hop destination — protocol is,in — source — BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 138 — — set+ set- next-hop origin — mpls-label route-has-label — route-type — is, eq, ge, le — weight — retain-rt extcommunity rt is-empty — matches-any matches-every matches-within BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 139 This table summarizes which operations are valid and where they are valid. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 140: Bgp Best Path Algorithm

    BGP routers typically receive multiple paths to the same destination. The BGP best-path algorithm determines the best path to install in the IP routing table and to use for forwarding traffic. This section describes the Cisco IOS XR software implementation of BGP best-path algorithm, as specified in Section 9.1 of the Internet Engineering Task Force (IETF) Network Working Group draft-ietf-idr-bgp4-24.txt document.
  • Page 141 • If the AS path starts with an AS_SEQUENCE, then the neighbor AS is the first AS number in the sequence, and the MED is compared with other paths that have the same neighbor AS. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 142: Order Of Comparisons

    Each path is compared with the best-so-far, and if it is better, it becomes the new best-so-far and is compared with the next path in the group. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 143: Best Path Change Suppression

    Update Groups feature introduces an algorithm that dynamically calculates BGP update group membership based on outbound routing policies. This feature does not require any configuration by the network operator. Update group-based message generation occurs automatically and independently. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 144: Bgp Update Group

    • Next hop becomes unconnected • Next hop becomes a local address • Next hop becomes a nonlocal address Note Reachability and recursed metric events trigger a best-path recalculation. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 145 If the nexthop policy is not configured and neither the IPv6 neighbor interface nor the IPv6 update source interface is configured, the next hop is the IPv4 mapped IPv6 address. Scoped IPv4/VPNv4 Table Walk BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 146: Bgp Nonstop Routing Reference

    RIB. The out keyword displays debug information about next-hop notifications sent to the RIB. BGP Nonstop Routing Reference BGP NSR provides nonstop routing during the following events: BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 147 • NSR statistics display using show commands • XML schema support • Auditing mechanisms to verify state synchronization between active and standby instances • CLI commands to enable and disable NSR BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 148: Bgp Route Reflectors Reference

    Figure 3: Simple BGP Model with a Route Reflector, on page 139 , Router B is configured as a route reflector. When the route reflector receives routes advertised from BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 149 (nonclient peers). A route reflector reflects routes between these two groups. The route reflector and its client peers form a cluster. The nonclient peers must be fully meshed with each other, but the BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 150 A route reflector can be configured to have other route reflectors in a client group or nonclient group. In a simple configuration, the backbone could be divided into many clusters. Each route BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 151: Ibgp Multipath Load Sharing Reference

    Even if the criteria are met and multiple paths are considered multipaths, the BGP speaking router designates one of the multipaths as the best path and advertises this best path to its neighbors. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 152: L3Vpn Ibgp Pe-Ce Reference

    The service provider that uses the segment of the backbone network is called the customer carrier. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 153: Per Vrf And Per Ce Label For Ipv6 Provider Edge

    An IPv6 unicast address is an identifier for a single interface, on a single node. A packet that is sent to a unicast address is delivered to the interface identified by that address. Cisco IOS XR software supports the following IPv6 unicast address types: •...
  • Page 154: Remove And Replace Private As Numbers From As Path In Bgp

    The BGP UPDATE message error handling changes BGP behavior in handling error UPDATE messages to avoid session reset. Based on the approach described in IETF IDR I-D:draft-ietf-idr-error-handling, the Cisco IOS XR BGP UPDATE Message Error handling implementation classifies BGP update errors into various categories based on factors such as, severity, likelihood of occurrence of UPDATE errors, or type of attributes.
  • Page 155: Bgp Error Handling And Attribute Filtering Syslog Messages

    FIB, before BGP sends out updates to neighbors, use the update wait-install command in router address-family IPv4 or router address-family VPNv4 configuration mode. The show bgp, show bgp neighbors, BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 156: Use-Defined Martian Check

    The solution allows disabling the Martian check for these IP address prefixes: • IPv4 address prefixes ◦ 0.0.0.0/8 ◦ 127.0.0.0/8 ◦ 224.0.0.0/4 • IPv6 address prefixes ◦ :: ◦ ::0002 - ::ffff ◦ ::ffff:a.b.c.d ◦ fe80:xxxx ◦ ffxx:xxxx BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 157: Chapter 3 Evpn Virtual Private Wire Service (Vpws)

    The architecture for EVPN VPWS is that the PEs run Multi-Protocol BGP in control-plane. The following image describes the EVPN-VPWS configuration: • The VPWS service on PE1 requires the following three elements to be specified at configuration time: BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 158: Configuring L2Vpn Evpn Address Family Under Bgp

    Example: RP/0/RP0/CPU0:router# configure Enters the Global Configuration mode. Step 2 router bgp autonomous-system-number Example: RP/0/RP0/CPU0:router(config)# router bgp 100 Enters router configuration mode for the specified routing process. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 159: Configuring Evpn-Vpws

    3. l2vpn 4. xconnect group group-name 5. p2p xconnect-name 6. interface type interface-path-id 7. neighbor evpn evi vpn-idtarget ac-id source ac-id 8. Use the commit or end command. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 160 RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# interface TenGigE0/1/0/2 Specifies the interface type and instance. Step 7 neighbor evpn evi vpn-idtarget ac-id source ac-id Example: RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# neighbor evpn evi 100 target 12 source 10 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 161: Configuring Evpn-Vpws: Example

    The following example shows how to configure EVPN-VPWS service. RP/0/RP0/CPU0:router# configure RP/0/RP0/CPU0:router(config)# l2vpn RP/0/RP0/CPU0:router(config-l2vpn)# xconnect group evpn-vpws RP/0/RP0/CPU0:router(config-l2vpn-xc)# p2p evpn1 RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# interface TenGigE0/1/0/12 RP/0/RP0/CPU0:router(config-l2vpn-xc-p2p)# neighbor evpn evi 100 target 12 source 10 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 162 EVPN Virtual Private Wire Service (VPWS) Configuring EVPN-VPWS: Example BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 163: Chapter 4 Bgp-Based Vpws Autodiscovery

    Configuring VPWS with BGP Autodiscovery and Signaling, page 153 • VPWS with BGP Autodiscovery and BGP Signaling, page 156 Configuring VPWS with BGP Autodiscovery and Signaling Perform this task to configure BGP-based autodiscovery and signaling. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 164 Enters configuration mode for the named xconnect group. Step 4 mp2mp vpws-domain name Example: RP/0/RP0/CPU0:router(config-l2vpn-xc)# mp2mp mp1 Enters configuration mode for the named vpws domain. Step 5 vpn-id vpn-id BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 165 Enables BGP signaling, and enters the BGP signaling configuration submode where BGP signaling parameters are configured. Step 11 ce-id { number} Example: RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp-ad-sig)# ce-id 10 Specifies the local Customer Edge Identifier. Step 12 Use the commit or end command. BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 166: Vpws With Bgp Autodiscovery And Bgp Signaling

    100 l2 encapsulation vlan autodiscovery bgp rd auto route-target 2.2.2.2:100 ! Signaling attributes signaling-protocol bgp ce-id 2 interface GigabitEthernet0/1/0/2.1 remote-ce-id 1 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 167 Group gr1, XC mp1.1:2, state is up; Interworking none Local CE ID: 1, Remote CE ID: 2, Discovery State: Advertised AC: GigabitEthernet0/1/0/1.1, state is up Type VLAN; Num Ranges: 1 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 168 16060 nolabel Route Distinguisher: 3.3.3.3:32770 (default for vrf gr1:mp1) *> 1:1/32 0.0.0.0 nolabel 16030 *>i2:1/32 1.1.1.1 16045 nolabel *>i3:1/32 1.1.1.1 16060 nolabel Processed 5 prefixes, 5 paths BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 169 L2 Encapsulation: VLAN Auto Discovery: BGP, state is Advertised (Service Connected) Route Distinguisher: (auto) 1.1.1.1:32775 Import Route Targets: 2.2.2.2:100 Export Route Targets: 2.2.2.2:100 Signaling protocol:BGP CE Range:10 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 170 Next Hop Rcvd Label Local Label Route Distinguisher: 1.1.1.1:32775 (default for vrf gr1:mp1) *>i1:1/32 3.3.3.3 16030 nolabel *> 2:1/32 0.0.0.0 nolabel 16045 *> 3:1/32 0.0.0.0 nolabel 16060 BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 171 BGP-based VPWS Autodiscovery VPWS with BGP Autodiscovery and BGP Signaling Route Distinguisher: 3.3.3.3:32770 *>i1:1/32 3.3.3.3 16030 nolabel Processed 4 prefixes, 4 paths BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...
  • Page 172 BGP-based VPWS Autodiscovery VPWS with BGP Autodiscovery and BGP Signaling BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x...

Table of Contents