hit counter script
Cisco ASR 9000 Series Configuration Manual

Cisco ASR 9000 Series Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Cisco ASR 9000 Series Aggregation Services Router Routing
Configuration Guide, Release 5.1.x
First Published: 2013-09-01
Last Modified: 2014-04-01
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
Text Part Number: OL-30423-03

Advertisement

Table of Contents
loading

Summary of Contents for Cisco ASR 9000 Series

  • Page 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x First Published: 2013-09-01 Last Modified: 2014-04-01 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 4-byte Autonomous System Number Format as-format Command BGP Configuration Configuration Modes Router Configuration Mode Router Address Family Configuration Mode Neighbor Configuration Mode Neighbor Address Family Configuration Mode Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 4: Table Of Contents

    BGP Cost Community Support for EIGRP MPLS VPN PE-CE with Back-door Links Adding Routes to the Routing Information Base BGP Best Path Algorithm Comparing Pairs of Paths Order of Comparisons Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 5 BGP Multi-Instance and Multi-AS BGP Prefix Origin Validation Based on RPKI Configuring RPKI Cache-server Configuring RPKI Prefix Validation Configuring RPKI Bestpath Computation BGP 3107 PIC Updates for Global Prefixes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 6 Configuring a Route Reflector for BGP Configuring BGP Route Filtering by Route Policy Configuring BGP Attribute Filtering Configuring BGP Next-Hop Trigger Delay Disabling Next-Hop Processing on BGP Updates Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 7 Configuring Domain Distinguisher Configuring BGP Permanent Network Configuring BGP Permanent Network How to Advertise Permanent Network Enabling BGP Unequal Cost Recursive Load Balancing Configuring VRF Dynamic Route Leaking Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 8 Differences in BFD in Cisco IOS XR Software and Cisco IOS Software BFD Multipath Sessions Support on nV Edge System BFD Modes of Operation BFD Packet Information Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x viii OL-30423-03...
  • Page 9 BFD Object Tracking How to Configure BFD BFD Configuration Guidelines Configuring BFD Under a Dynamic Routing Protocol or Using a Static Route Enabling BFD on a BGP Neighbor Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 10 Configuring BFD IPv6 Multihop for iBGP Neighbors Configuring BFD over MPLS Traffic Engineering LSPs Enabling BFD Parameters for BFD over TE Tunnels Configuring BFD Bring up Timeout Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 11 BFD Echo Mode Disable: Examples BFD Dampening: Examples BFD IPv6 Checksum: Examples BFD Peers on Routers Running Cisco IOS and Cisco IOS XR Software: Example Configuring BFD IPv6 Multihop: Examples BFD over MPLS TE LSPs: Examples BFD over MPLS TE Tunnel Head-end Configuration: Example...
  • Page 12 Configuring an EIGRP Authentication Keychain Configuring an Authentication Keychain for an IPv4/IPv6 Interface on a Default Configuring an Authentication Keychain for an IPv4/IPv6 Interface on a Nondefault Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 13 Multitopology IPv6 for IS-IS IS-IS Authentication Nonstop Forwarding Multi-Instance IS-IS Multiprotocol Label Switching Traffic Engineering Overload Bit on Router Overload Bit Configuration During Multitopology Operation IS-IS Overload Bit Avoidance Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03 xiii...
  • Page 14 Setting SPF Interval for a Single-Topology IPv4 and IPv6 Configuration Customizing Routes for IS-IS Configuring MPLS LDP IS-IS Synchronization Enabling Multicast-Intact Tagging IS-IS Interface Routes Setting the Priority for Adding Prefixes to the RIB Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 15 Area Border Routers Autonomous System Boundary Routers (ASBR) Interior Routers OSPF Process and Router ID Supported OSPF Network Types Route Authentication Methods for OSPF Plain Text Authentication Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 16 Label Distribution Protocol IGP Auto-configuration for OSPF OSPF Authentication Message Digest Management GTSM TTL Security Mechanism for OSPF Path Computation Element for OSPFv2 OSPF IP Fast Reroute Loop Free Alternate Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 17 Creating Multiple OSPF Instances (OSPF Process and a VRF) Configuring Multi-area Adjacency Configuring Label Distribution Protocol IGP Auto-configuration for OSPF Configuring LDP IGP Synchronization: OSPF Configuring Authentication Message Digest Management for OSPF Examples Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03 xvii...
  • Page 18 IPv6 Provider Edge IPv6 and IPv6 VPN Provider Edge Transport over MPLS RIB Quarantining Route and Label Consistency Checker How to Deploy and Monitor RIB Verifying RIB Configuration Using the Routing Table Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xviii OL-30423-03...
  • Page 19 In-bound RIP Traffic on an Interface Out-bound RIP Traffic on an Interface How to Implement RIP Enabling RIP Customizing RIP Control Routing Information Creating a Route Policy for RIP Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 20 ACL Support in RPL Prefix Sets rd-set Routing Policy Language Components Routing Policy Language Usage RPL Variables Routing Policy Configuration Basics Policy Definitions Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 21 Action Boolean Conditions apply Attach Points BGP Policy Attach Points Additional-Path Dampening Default Originate Neighbor Export Neighbor Import Network Redistribute Show BGP Table Policy Import Export Allocate-Label Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 22 IS-IS Policy Attach Points Redistribute Default-Information Originate Inter-area-propagate IS-IS Attributes and Operators EIGRP Policy Attach Points Default-Accept-In Default-Accept-Out Policy-In Policy-Out If-Policy-In If-Policy-Out Redistribute EIGRP Attributes and Operators Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxii OL-30423-03...
  • Page 23 Modifying a Routing Policy Using a Text Editor Configuration Examples for Implementing Routing Policy Routing Policy Definition: Example Simple Inbound Policy: Example Modular Inbound Policy: Example Use Wildcards For Routing Policy Sets Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03 xxiii...
  • Page 24 Route Convergence Monitoring and Diagnostics Configuring Route Convergence Monitoring and Diagnostics Route Convergence Monitoring and Diagnostics Prefix Monitoring Route Convergence Monitoring and Diagnostics OSPF Type 3/5/7 Link-state Advertisements Monitoring Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxiv OL-30423-03...
  • Page 25 Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs Enabling RCMD Monitoring for IS-IS Prefixes: Example Enabling RCMD Monitoring for OSPF Prefixes: Example Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs: Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 26 Contents Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxvi OL-30423-03...
  • Page 27: Obtaining Documentation And Submitting A Service Request

    From Release 6.1.2 onwards, Cisco introduces support for the 64-bit Linux-based IOS XR operating system. Extensive feature parity is maintained between the 32-bit and 64-bit environments. Unless explicitly marked otherwise, the contents of this document are applicable for both the environments. For more details on Cisco IOS XR 64 bit, refer to the Release Notes for Cisco ASR 9000 Series Routers, Release 6.1.2 document.
  • Page 28 Preface Obtaining Documentation and Submitting a Service Request Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxviii OL-30423-03...
  • Page 29 C H A P T E R New and Changed Routing Features This table summarizes the new and changed feature information for the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, and tells you where they are documented.
  • Page 30: Configuring Nonstop Forwarding Specific To Cisco For Ospf Version

    BGP Permanent Network, on page 73 Refer BGP Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for commands to configure BGP Permanent Network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 31 BFD Dampening. BFD over IRB This feature was Release 5.1 Implementing introduced. Bidirectional Forwarding Detection chapter. BFD over IRB, on page Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 32: Chapter

    345 Refer OSPFv3 Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for commands to configure OSPFv3 Sham Link Support for MPLS VPN. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 33 Refer BGP Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for information on the commands used for configuring Resilient Per-CE Label Allocation Mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 34: Chapter

    Refer BGP Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for information on the commands used for configuring User Defined Martian Check. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 35 Related Documents, on page 168 section of this module. To locate documentation for other commands that might appear while performing a configuration task, search online in the Cisco ASR 9000 Series Router software master command index. Feature History for Implementing BGP...
  • Page 36 The BGP-RIB Feedback Mechanism for Update Generation feature was added Release 4.3.1 The following features were supported • BGP VRF Dynamic Route Leaking The label-allocation-mode command is renamed the label mode command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 37 IDs required for each command. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Information About Implementing BGP To implement BGP, you need to understand the following concepts: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 38 Note For information on configuring BGP to distribute Multiprotocol Label Switching (MPLS) Layer 3 virtual private network (VPN) information, see the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide For information on BGP support for Bidirectional Forwarding Detection (BFD), see the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Configuration Guide and the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Command Reference.
  • Page 39 BGP Default Limits Cisco IOS XR BGP imposes maximum limits on the number of neighbors that can be configured on the router and on the maximum number of prefixes that are accepted from a peer for a given address family. This limitation safeguards the router from resource depletion caused by misconfiguration, either locally or on the remote neighbor.
  • Page 40 The BGP next-hop tracking feature allows you to specify that BGP routes are resolved using only next hops whose routes have the following characteristics: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 41 Reordered Address Family Processing The Cisco IOS XR software walks address family tables based on the numeric value of the address family. When a next-hop notification batch is received, the order of address family processing is reordered to the following order: •...
  • Page 42: Bgp Configuration

    RIB. The out keyword displays debug information about next-hop notifications sent to the RIB. See the BGP Debug Commands on Cisco ASR 9000 Series Aggregation Services Router module of Cisco ASR 9000 Series Aggregation Services Router Routing Debug Command Reference.
  • Page 43: Vrf Configuration Mode

    RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# VRF Configuration Mode The following example shows how to enter VPN routing and forwarding (VRF) configuration mode: RP/0/RSP0/CPU0:router(config)# router bgp 140 RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_A RP/0/RSP0/CPU0:router(config-bgp-vrf)# Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 44: Vrf Address Family Configuration Mode

    RP/0/RSP0/CPU0:router(config)# router bgp 666 RP/0/RSP0/CPU0:router(config-bgp)# Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 vrfvrf-instance Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 45 ◦ 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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 46: Configuring Resilient Per-Ce Label Allocation Mode Using A Route-Policy

    Example: RP/0/RSP0/CPU0:router(config-rpl)# set label mode per-ce RP/0/RSP0/CPU0:router(config-rpl)# Configures resilient per-ce label allocation mode. Step 4 Do one of the following: • end • commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 47: Vrf Neighbor Configuration Mode

    RP/0/RSP0/CPU0:router(config-bgp-vrf)# neighbor 11.0.1.2 RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)# VPNv4 Address Family Configuration Mode The following example shows how to enter VPNv4 address family configuration mode: RP/0/RSP0/CPU0:router(config)# router bgp 152 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 48: L2Vpn Address Family Configuration Mode

    Cisco IOS XR BGP uses a neighbor submode to make it possible to enter configurations without having to prefix every configuration with the neighbor keyword and the neighbor address: • Cisco IOS XR software has a submode available for neighbors in which it is not necessary for every command to have a “neighbor x.x.x.x” prefix: In Cisco IOS XR software, the configuration is as follows: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.23.1.2...
  • Page 49: Configuration Templates

    In addition, some part of the configuration of the neighbor group could be hidden if a session group or address family group was also being used. Configuration grouping has the following effects in Cisco IOS XR software: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 50: Template Inheritance Rules

    Template Inheritance Rules In Cisco IOS XR software, BGP neighbors or groups inherit configuration from other configuration groups. For address family-independent configurations: • Neighbors can inherit from session groups and neighbor groups.
  • Page 51 RP/0/RSP0/CPU0:router(config)# router bgp 150 RP/0/RSP0/CPU0:router(config-bgp)# session-group AS_2 RP/0/RSP0/CPU0:router(config-bgp-sngrp)# advertisement-interval 20 RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 52 Last read 00:00:00, hold time is 180, keepalive interval is 60 seconds Received 0 messages, 0 notifications, 0 in queue Sent 0 messages, 0 notifications, 0 in queue Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 53: Viewing Inherited Configurations

    The inheritance rules used when groups are inheriting configuration from other groups are the same as the rules given for neighbors inheriting from groups. Viewing Inherited Configurations You can use the following show commands to view BGP inherited configurations: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 54: Show Bgp Neighbors

    GROUP_3: RP/0/RSP0/CPU0:router# show bgp neighbors 192.168.0.1 configuration neighbor 192.168.0.1 remote-as 2 advertisement-interval 15 [n:GROUP_1 s:GROUP_2] ebgp-multihop 3 [n:GROUP_1] address-family ipv4 unicast next-hop-self [a:GROUP_3] route-policy POLICY_1 [a:GROUP_3] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 55: Show Bgp Af-Group

    [a:GROUP_2] The following example displays sample output from the show bgp af-group command using the users keyword: RP/0/RSP0/CPU0:router# show bgp af-group GROUP_2 users IPv4 Unicast: a:GROUP_1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 56: Show Bgp Session-Group

    The following is sample output from the show bgp session-group command with the inheritance keyword showing that the GROUP_1 session group inherits session parameters from the GROUP_3 and GROUP_2 session groups: RP/0/RSP0/CPU0:router# show bgp session-group GROUP_1 inheritance Session: s:GROUP_2 s:GROUP_3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 57: Show Bgp Neighbor-Group

    GROUP_2, which in turn inherits the setting from address family group GROUP_3: RP/0/RSP0/CPU0:router# show bgp neighbor-group GROUP_1 configuration neighbor-group GROUP_1 remote-as 1982 timers 30 90 [n:GROUP_2 s:GROUP_3] address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 58: No Default Address Family

    Labeled-unicast address families are supported under the same neighbor. For non-default VRF, both IPv4 Unicast and IPv4 Labeled-unicast address families are not supported under the same neighbor. However, the configuration is accepted on the Cisco ASR 9000 Series Router with the following error: bgp[1051]: %ROUTING-BGP-4-INCOMPATIBLE_AFI : IPv4 Unicast and IPv4 Labeled-unicast Address families together are not supported under the same neighbor.
  • Page 59: Routing Policy Enforcement

    St/PfxRcd 10.0.101.1 0 15:15:08 10.0.101.2 0 00:00:00 Idle Address Family: IPv4 Multicast ============================== BGP router identifier 10.0.0.1, local AS number 1 BGP generic scan interval 60 secs Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 60: Table Policy

    BGP policy accounting uses traffic indices that are set on BGP routes to track various counters. See the Implementing Routing Policy on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide for details on table policy use. See the Cisco Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
  • Page 61: Update Groups

    The cost community attribute is applied to internal routes by configuring the set extcommunity cost command in a route policy. See the Routing Policy Language Commands on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for information on the set extcommunity cost command.
  • Page 62: How Bgp Cost Community Influences The Best Path Selection Process

    Paths that are not configured with the cost community attribute are considered by the best-path selection Note process to have the default cost value (half of the maximum value [4294967295] or 2147483647). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 63: Cost Community Support For Aggregate Routes And Multipaths

    However, the component routes are configured with two different IDs. • 10.0.0.1 ◦ POI=IGP ◦ cost community ID=1 ◦ cost number=100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 64: Influencing Route Preference In A Multiexit Igp Network

    ASBR2. For example, the following configuration is applied to ASBR2: RP/0/RSP0/CPU0:router(config)# route-policy ISP2_PE1 RP/0/RSP0/CPU0:router(config-rpl)# set extcommunity cost (1:1) Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 65: Bgp Cost Community Support For Eigrp Mpls Vpn Pe-Ce With Back-Door Links

    BGP to consider the POI before any other comparison step. No configuration is required. This feature is enabled automatically for EIGRP VPN sites when Cisco IOS XR software is installed on a PE, CE, or back-door router.
  • Page 66: Adding Routes To The Routing Information Base

    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 67: Comparing Pairs Of Paths

    MED is compared if both paths were received from neighbors in the same AS; otherwise the MED comparison is skipped. However, this behavior is modified by certain configuration options, and there are also some corner cases to consider. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 68: Order Of Comparisons

    The second part of the BGP best-path algorithm implementation determines the order in which the paths should be compared. The order of comparison is determined as follows: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 69: Best Path Change Suppression

    39, as is the calculation of the MED value. 7 If all path parameters in Step 1 through Step 6 do not apply, the change can be suppressed. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 70: Administrative Distance

    An administrative distance is a rating of the trustworthiness of a routing information source. In general, the higher the value, the lower the trust rating. For information on specifying the administrative distance for BGP, see the BGP Commands module of the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference Normally, a route can be learned through more than one protocol.
  • Page 71: Multiprotocol Bgp

    IP multicast routes. BGP carries two sets of routes, one set for unicast routing and one set for multicast routing. The routes associated with multicast routing are used by the Protocol Independent Multicast (PIM) feature to build data distribution trees. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 72 Figure 5: Multicast BGP Environment, on page 45 illustrates a multiprotocol BGP environment with a separate unicast route and multicast route from Router A to Router B. Multiprotocol BGP allows these routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 73: Route Dampening

    Route flapping is a problem in an internetwork connected to the Internet, because a route flap in the Internet backbone usually involves many routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 74: Minimizing Flapping

    (routers A, B, and C). Without route reflectors, when Router A receives a route from an external neighbor, it must advertise it to both routers B and C. Routers B and C do not readvertise the iBGP learned Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 75 Figure 7: Simple BGP Model with a Route Reflector, on page 48 , Router B is configured as a route reflector. When the route reflector receives routes advertised from Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 76 (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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 77 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 78: Default Address Family For Show Commands

    Most of the show commands provide address family (AFI) and subaddress family (SAFI) arguments (see RFC 1700 and RFC 2858 for information on AFI and SAFI). The Cisco IOS XR software parser provides the ability to set the afi and safi so that it is not necessary to specify them while running a show command. The parser commands are: •...
  • Page 79: Bgp Keychains

    BGP. For detailed information on configuring MPLS VPN CSC with BGP, see the Implementing MPLS Layer 3 VPNs on Cisco ASR 9000 Series Router module of the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide. BGP Keychains BGP keychains enable keychain authentication between two BGP peers.
  • Page 80: Bgp Local Label Retention

    However, until all the internal peers of the primary PE reconverge to use the backup path as the new bestpath, the traffic continues to be forwarded to the primary PE with the local label that was allocated for the primary Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 81: Command Line Interface (Cli) Consistency For Bgp Commands

    The retain local-label command enables the retention of the local label until the network is converged. Command Line Interface (CLI) Consistency for BGP Commands From Cisco IOS XR Release 3.9.0 onwards, the Border Gateway Protocol (BGP) commands use disable keyword to disable a feature. The keyword inheritance-disable disables the inheritance of the feature properties from the parent level.
  • Page 82: Bgp Selective Multipath

    • For VPN prefixes, the PE paths are always eligible to be multipaths. For information on the maximum-paths and multipath commands, see the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
  • Page 83 Router R3 (3.3.3.3) is configured as a neighbor without the multipath option, and hence the routes from this router are not eligible to be chosen as multipaths. RP/0/RSP0/CPU0:router(config-bgp)# neighbor 1.1.1.1 RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# multipath RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 84: Accumulated Interior Gateway Protocol Attribute

    Using BGP policy accounting, you can account for traffic according to the route it traverses. Service providers can identify and account for all traffic by customer and bill accordingly. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 85: Ipv6 Unicast Routing On Cisco Asr 9000'S A9K-Sip-700

    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 86: Selective Vrf Download

    VRF routes, SVD increases scalability and reduces convergence problems in Layer 3 VPNs (L3VPNs). For more information on selective VRF download, see the Cisco white paper, Selective Virtual Routing and Forwarding Table Download: A solution to increase Layer3 VPN scale at this URL http://www.cisco.com/...
  • Page 87: Selective Vrf Download Disable

    Table 2: Total Tables and Routes Downloaded by Line Card Type Card Type Tables Downloaded Routes Downloaded Customer (o+Y) (o+Y)R Core Without SVD • n is the total number of VRFs present Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 88 "routes in all non-default" vrfs will have to be calculated and divided by the number of VRFs, to arrive at the Average Routes per VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 89: Bgp Accept Own

    InterAs-RR adds the ACCEPT-OWN community and modifies the set of RTs before sending the new Accept Own route to the attached PEs, including the originator, through intervening RRs. The route is modified via route-policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 90 Accept Own path from route-reflector 1 and a non-Accept Own path from route-reflector 2, and if the paths are otherwise identical, the Accept Own path is preferred. The import operates on the Accept Own path. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 91: Bgp Dmz Link Bandwidth For Unequal Cost Recursive Load Balancing

    BFD session between two addresses that may span multiple network hops. Cisco IOS XR Software BFD Multihop is based on RFC 5883. For more information on BFD Multihop, refer Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Configuration Guide and Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference.
  • Page 92: 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 93 Specifies a transport method for the RPKI cache. • transport ssh port port_number • ssh—Select ssh to connect to the RPKI cache using SSH. • transport tcp port port_number Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 94 Range for the refresh time is 15 to 3600 seconds. • refresh-time off Configure the off option to specify not to send serial-queries periodically. Example: RP/0/RSP0/CPU0:router(config-bgp-rpki-server)#refresh-time RP/0/RSP0/CPU0:router(config-bgp-rpki-server)#refresh-time Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 95: Configuring Rpki Prefix Validation

    • bgp origin-as validation disable • bgp origin-as validation time {off | prefix_validation_time 4. bgp origin-as validation signal ibgp 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 96: Configuring Rpki Bestpath Computation

    Perform this task to configure RPKI bestpath computation options. SUMMARY STEPS 1. configure 2. router bgp as-number 3. bgp bestpath origin-as use validity 4. bgp bestpath origin-as allow invalid 5. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 97: Bgp 3107 Pic Updates For Global Prefixes

    RFC 3107 allows filtering of Next-Hop Loops from OSPF and reduces labels advertised by LDP. This implementation significantly reduces OSPF and LDP database. The 3107 PIC implementation supports the following address-families with additional-path configuration. • address-family ipv4 unicast • address-family ipv6 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 98: Bgp Prefix Independent Convergence For Rib And Fib

    • 6 VPE Service Note L2VPN-VPWS service on 3107 BGP PIC is supported from Cisco IOS XR Release 5.1.3. BGP 3107 PIC Updates for Global Prefixes implementation uses a shared recursive Load Info (RLDI) forwarding object in place of a Light-Weight recursive (LW-RLDI) object. The RLDI is shared between multiple leaves, while the LW-RLDI is instantiated per leaf.
  • Page 99: Bgp Update Message Error Handling

    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 100: Bgp Error Handling And Attribute Filtering Syslog Messages

    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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 101: Bgp Permanent Network

    IPv4 or router address-family VPNv4 configuration mode. The show bgp, show bgp neighbors, and show bgp process performance-statistics commands display the information from update wait-install configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 102: Bgp Vrf Dynamic Route Leaking

    Hence, importing five to ten VRFs is ideal. User Defined Martian Check The Cisco IOS XR Software Release 5.1.0 allows disabling the Martian check for these IP address prefixes: • IPv4 address prefixes ◦...
  • Page 103: Resilient Per-Ce Label Allocation Mode

    BGP must be able to obtain a router identifier (for example, a configured loopback address). At least, one address family must be configured in the BGP router configuration and the same address family must also be configured under the neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 104 RP/0/RSP0/CPU0:router(config-rpl)# endif Step 3 (Optional) Ends the definition of a route policy and exits end-policy route policy configuration mode. Example: RP/0/RSP0/CPU0:router(config-rpl)# end-policy Step 4 commit Step 5 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 105 Step 13 route-policy route-policy-name { in | out } (Optional) Applies the specified policy to inbound IPv4 unicast routes. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-policy drop-as-1234 in Step 14 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 106: Configuring Multiple Bgp Instances For A Specific Autonomous System

    The confederation maintains the next hop and local preference information, and that allows you to retain a single Interior Gateway Protocol (IGP) for all autonomous systems. To the outside world, the confederation looks like a single autonomous system. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 107: Resetting An Ebgp Session Immediately Upon Link Failure

    By default, if a link goes down, all BGP sessions of any directly adjacent external peers are immediately reset. Use the bgp fast-external-fallover disable command to disable automatic resetting. Turn the automatic reset back on using the no bgp fast-external-fallover disable command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 108: Logging Neighbor Changes

    Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 123 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 109: Changing The Bgp Default Local Preference Value

    Step 2 router bgp as-number Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 110: Configuring The Med Metric For Bgp

    (routes that were received with no MED attribute). Example: RP/0/RSP0/CPU0:router(config-bgp)# default metric 10 Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 111: Configuring Bgp Weights

    IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 Step 4 remote-as as-number Creates a neighbor and assigns a remote autonomous system number to it. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 2002 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 112: Tuning The Bgp Best-Path Calculation

    Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 126 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 113: Indicating Bgp Back-Door Routes

    1. configure 2. router bgp as-number 3. address-family { ipv4 | ipv6 } unicast 4. network { ip-address / prefix-length | ip-address mask } backdoor 5. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 114: Configuring Aggregate Addresses

    4. aggregate-address address/mask-length [ as-set ] [ as-confed-set ] [ summary-only ] [ route-policy route-policy-name ] 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 115: Redistributing Ibgp Routes Into Igp

    BGP routes into the IP routing table. Redistributing iBGP routes into IGPs may cause routing loops to form within an autonomous system. Use Caution this command with caution. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 116: Redistributing Prefixes Into Multiprotocol Bgp

    This task shows how to inject prefixes from another routing protocol into multiprotocol BGP. Specifically, prefixes that are redistributed into multiprotocol BGP using the redistribute command are injected into the unicast database, the multicast database, or both. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 117 • redistribute connected [ metric metric-value ] [ route-policy route-policy-name ] • redistribute eigrp process-id [ match { external | internal }] [ metric metric-value ] [ route-policy route-policy-name ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 118: Configuring Bgp Route Dampening

    • redistribute static [ metric metric-value ] [ route-policy route-policy-name ] Example: RP/0/RSP0/CPU0:router(config-bgp-af)# redistribute ospf 110 Step 5 commit Configuring BGP Route Dampening Perform this task to configure and monitor BGP route dampening. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 119 | all | labeled-unicast } | vpnv4 unicast [ rd rd-address ] | vrf { vrf-name | all } [ ipv4 { unicast | labeled-unicast } | ipv6 unicast ]] dampening ip-address / mask-length Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 120 | all { unicast | multicast | all | labeled-unicast } | vpnv4 unicast [ rd rd-address ] | vrf { vrf-name | all } [ ipv4 { unicast | labeled-unicast } | ipv6 unicast ]] route-policy route-policy-name Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 121 [ rd rd-address ] | vrf { vrf-name | all } [ ipv4 { unicast | labeled-unicast } | ipv6 unicast ]] route-policy route-policy-name Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 122 RP/0/RSP0/CPU0:router# clear bgp dampening should never be used during normal functioning of the system. For example, use clear bgp ipv4 unicast dampening prefix x.x.x./y Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 123: Applying Policy When Updating The Routing Table

    Perform this task to apply a routing policy to routes being installed into the routing table. Before You Begin See the Implementing Routing Policy on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide (this publication) for a list of the supported attributes and operations that are valid for table policy filtering.
  • Page 124: Setting Bgp Administrative Distance

    Perform this task to configure BGP neighbor groups and apply the neighbor group configuration to a neighbor. A neighbor group is a template that holds address family-independent and address family-dependent configurations associated with the neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 125 Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 126 Example: RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# route-policy drop-as-1234 in Step 9 Exits the current configuration mode. exit Example: RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# exit Step 10 exit Exits the current configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 127: Configuring A Route Reflector For Bgp

    1. configure 2. router bgp as-number 3. bgp cluster-id cluster-id 4. neighbor ip-address 5. remote-as as-number 6. address-family { ipv4 | ipv6 } unicast 7. route-reflector-client 8. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 128: Configuring Bgp Route Filtering By Route Policy

    Example: RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-reflector-client Step 8 commit Configuring BGP Route Filtering by Route Policy Perform this task to configure BGP routing filtering by route policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 129 Configuring BGP Route Filtering by Route Policy Before You Begin See the Implementing Routing Policy on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide (this publication) for a list of the supported attributes and operations that are valid for inbound and outbound neighbor policy filtering.
  • Page 130: Configuring Bgp Attribute Filtering

    Step 2 router bgp as-number Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 131: Configuring Bgp Next-Hop Trigger Delay

    Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 132: Disabling Next-Hop Processing On Bgp Updates

    3. neighbor ip-address 4. remote-as as-number 5. address-family { ipv4 | ipv6 } unicast 6. next-hop-self 7. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 133: Configuring Bgp Community And Extended-Community Advertisements

    If the send-community-ebgp command is configured for a neighbor group or address family group, all neighbors using the group inherit the configuration. Configuring the command specifically for a neighbor overrides inherited values. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 134 {labeled-unicast | mvpn | unicast}} with one of the specified address family sub mode identifiers. IPv6 address family mode supports these sub modes: Example: • labeled-unicast RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv6 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 135: Configuring The Bgp Cost Community

    RIB. To enable users to determine an exit point after partial comparison, the cost community is defined to tie-break equal paths during the best-path selection process. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 136 | ipv4 tunnel | ipv4 mdt | ipv6 unicast | ipv6 multicast | vpnv4 unicast | vpnv6 unicast } • route-policy route-policy-name { in | out } 8. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 137 | vpnv4 unicast } redistribute ospf process-id [ match { external [ 1 | 2 ] | internal | nssa-external [ 1 | 2 ]}] [ metric metric-value ] [ route-policy route-policy-name ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 138: Configuring Software To Store Updates From A Neighbor

    If the neighbor is not route refresh capable, the neighbor must be reset to relearn received routes using the clear bgp soft command. See the Resetting Neighbors Using BGP Inbound Soft Reset, on page 127. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 139 Example: or filtered. This allows a “soft clear” to be performed after the inbound RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# policy is changed. soft-reconfiguration inbound always Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 140: Configuring A Vpn Routing And Forwarding Instance In Bgp

    Layer 3 VRFs can be configured on the line card. See the Software Entitlement on Cisco ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide for more information on advanced IP licencing.
  • Page 141 PEs. The remote PEs import them into VRFs which have import RTs that match these exported route target Example: communities. RP/0/RSP0/CPU0:routerr(config-vrf-af)# export route-target 123;234 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 142: Configuring The Route Distinguisher

    Enters BGP configuration mode allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp Step 3 bgp router-id ip-address Configures a fixed router ID for the BGP-speaking router. Example: RP/0/RSP0/CPU0:router(config-bgp)# bgp router-id 10.0.0.0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 143: Configuring Pe-Pe Or Pe-Rr Interior Bgp Sessions

    To enable BGP to carry VPN reachability information between provider edge (PE) routers you must configure the PE-PE interior BGP (iBGP) sessions. A PE uses VPN information carried from the remote PE router to Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 144 Step 3 address-family vpnv4 unicast Enters VPN address family configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp)# address-family vpvn4 unicast Step 4 exit Exits the current configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 145 Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# update-source gigabitEthernet 0/1/5/0 Step 12 address-family vpnv4 unicast Enters VPN neighbor address family configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family vpvn4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 146: Communities

    2. router bgp as-number 3. address-family vpnv4 unicast 4. retain route-target { all | route-policy route-policy-name } 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 147: Configuring Bgp As A Pe-Ce Protocol

    Configuring BGP as a PE-CE Protocol Perform this task to configure BGP on the PE and establish PE-CE communication using BGP. This task can be performed in both VRF and non-VRF configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 148 BGP routing process. Example: RP/0/RSP0/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/RSP0/CPU0:router(config-bgp)# vrf vrf_pe_2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 149 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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 150 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 151: Redistribution Of Igps To Bgp

    Even if Interior Gateway Protocols (IGPs) are used as the PE-CE protocol, the import logic happens through BGP. Therefore, all IGP routes have to be imported into the BGP VRF table. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 152 Example: To see a list of all the possible keywords and arguments for this command, use the CLI help (?). RP/0/RSP0/CPU0:router(config-vrf)# address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 153: Configuring Keychains For Bgp

    If a keychain is configured for a neighbor group or a session group, a neighbor using the group inherits Note the keychain. Values of commands configured specifically for a neighbor override inherited values. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 154: Disabling A Bgp Neighbor

    Configures keychain-based authentication. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# keychain kych_a Step 6 commit Disabling a BGP Neighbor Perform this task to administratively shut down a neighbor session without removing the configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 155: 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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 156: Resetting Neighbors Using Bgp Outbound Soft Reset

    | all | tunnel } | vpnv4 unicast | vrf { vrf-name | all } { ipv4 unicast | ipv6 unicast } { * | ip-address | as as-number | external } clear bgp { ipv4 | ipv6} { unicast | labeled-unicast } soft [ in [ prefix-filter ] | ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 157: Resetting Neighbors Using Bgp Hard Reset

    • The ip-address argument specifies the address of the graceful ] soft [ in [ prefix-filter ] | out ] clear bgp { ipv4 neighbor to be reset. | ipv6} { unicast | labeled-unicast } Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 158: Clearing Caches, Tables, And Databases

    Step 2 clear bgp external Clears all external peers. Example: RP/0/RSP0/CPU0:router# clear bgp external Step 3 Clears all BGP neighbors. clear bgp * Example: RP/0/RSP0/CPU0:router# clear bgp * Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 159: Displaying System And Network Statistics

    Displays routes that match the specified autonomous system path regular expression. Example: RP/0/RSP0/CPU0:router# show bgp regexp "^3 " Step 4 show bgp Displays entries in the BGP routing table. Example: RP/0/RSP0/CPU0:router# show bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 160: Displaying Bgp Process Information

    Displays the status of all BGP connections. show bgp summary Example: RP/0/RSP0/CPU0:router# show bgp summary Displaying BGP Process Information Perform this task to display specific BGP process information. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 161 Example: RP/0/RSP0/CPU0:router# show bgp processes detail Step 6 show bgp summary Displays the status of all BGP connections. Example: RP/0/RSP0/CPU0:router# show bgp summary Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 162: Monitoring Bgp Update Groups

    [ neighbor ip-address | process-id.index [ • The process-id.index argument selects a particular update group summary | performance-statistics ]] to display and is specified as follows: process ID (dot) index. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 163: Configuring Bgp Nonstop Routing

    BGP routing processes. Example: RP/0/RSP0/CPU0:router(config)# router bgp Step 3 Activates BGP Nonstop routing. BGP supports 5000 NSR Note Example: sessions. RP/0/RSP0/CPU0:router(config-bgp)# nsr Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 164: Installing Primary Backup Path For Prefix Independent Convergence (Pic)

    Use the additional-paths selection command with an Note appropriate route-policy to calculate backup paths and to enable Prefix Independent Convergence (PIC) Example: functionality. RP/0/RSP0/CPU0:router(config-bgp-af)# additional-paths selection route-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 165: Retaining Allocated Local Label For Primary Path

    Retains the previously allocated local label for the primary path on the primary PE for 10 minutes after reconvergence. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# retain local-label 10 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 166: Configuring Bgp Additional Paths

    Step 3 if conditional-expression then action-statement else Decides the actions and dispositions for the given route. Example: RP/0/RSP0/CPU0:router (config-rpl)#if community matches-any (*) then set path-selection all advertise else Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 167: Configuring Ibgp Multipath Load Sharing

    Configures additional paths selection capability for a prefix. Example: RP/0/RSP0/CPU0:router(config-bgp-af)#additional-paths selection route-policy add_path_policy Step 11 commit Configuring iBGP Multipath Load Sharing Perform this task to configure the iBGP Multipath Load Sharing: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 168: Originating Prefixes With Aigp

    • The route is a static route redistributed into BGP. The value assigned is the value of next hop to the route or as set by a route-policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 169 RP/0/RSP0/CPU0:router(config-bgp)# address-family ipv4 unicast Step 7 redistribute ospf osp route-policy plcy_namemetric value Allows the redistribution of AiBGP metric into OSPF. Example: RP/0/RSP0/CPU0:router(config-bgp-af)#redistribute ospf osp route-policy aigp_policy metric 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 170: Configuring Bgp Accept Own

    Allows sessions to use the primary IP address from a specific interface as the local address when forming a session with a neighbor. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)#update-source Loopback0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 171: Configuring Bgp Link-State

    Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 172: Configuring Domain Distinguisher

    To configure unique identifier four-octet ASN, perform these steps: SUMMARY STEPS 1. configure 2. router bgp as-number 3. address-family link-state link-state 4. domain-distinguisher unique-id 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 173: Configuring Bgp Permanent Network

    5. end-policy 6. router bgp as-number 7. address-family { ipv4 | ipv6 } unicast 8. permanent-network route-policy route-policy-name 9. commit 10. show bgp {ipv4 | ipv6} unicast prefix-set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 174 { ipv4 | ipv6 } unicast Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. Example: RP/0/RSP0/CPU0:router(config-bgp)# address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 175: How To Advertise Permanent Network

    Command or Action Purpose Step 1 configure Step 2 router bgp as-number Specifies the autonomous system number and enters the BGP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# router bgp 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 176: Enabling Bgp 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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 177 • ebgp maximum : Consider only eBGP paths for multipath. • ibgp maximum [ unequal-cost ]: Consider load balancing between iBGP learned paths. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 178: Configuring 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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 179 • export to default-vrf—configures import from RP/0/RSP0/CPU0:router(config-vrf-af)#export to default-vrf route-policy rpl_dynamic_route_export non-default-VRF to default VRF. The paths imported from the default-VRF are advertised to other PEs. Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 180: Enabling Selective Vrf Download

    Enters administration EXEC mode. Example: RP/0/RSP0/CPU0:router# admin Step 2 Enters Administrative configuration configure mode. Example: RP/0/RSP0/CPU0:router(admin)#configure Step 3 svd platform enable Enables selective VRF download. Example: RP/0/RSP0/CPU0:router(admin-config)#svd platform enable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 181 Customer Facing Not Interested What to Do Next After enabling SVD using the svd platform enable command, do not use the selective-vrf-download disable to turn off SVD. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 182: Disabling Selective Vrf Download

    Example: RP/0/RSP0/CPU0:router#show svd state Selective VRF Download (SVD) Feature State: SVD Configuration State Unsupported SVD Operational State Unsupported Step 6 admin Enters administrator mode. Example: RP/0/RSP0/CPU0:router#admin Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 183: Configuring Resilient Per-Ce Label Allocation Mode

    Perform this task to configure resilient per-ce label allocation mode under VRF address family. Resilient per-CE 6PE label allocation is not supported on CRS-1 and CRS-3 routers, but supported only Note on CRS-X routers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 184 {ipv4 | ipv6} unicast Example: RP/0/RSP0/CPU0:router(config-bgp-vrf)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-vrf-af)# Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. Step 5 label mode per-ce Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 185: Configuring Resilient Per-Ce Label Allocation Mode Using A Route-Policy

    Perform this task to configure resilient per-ce label allocation mode using a route-policy. Resilient per-CE 6PE label allocation is not supported on CRS-1 and CRS-3 routers, but supported only Note on CRS-X routers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 186 RP/0/RSP0/CPU0:router(config-rpl)# set label mode per-ce RP/0/RSP0/CPU0:router(config-rpl)# Configures resilient per-ce label allocation mode. Step 4 Do one of the following: • end • commit Example: RP/0/RSP0/CPU0:router(config-rpl)# end RP/0/RSP0/CPU0:router(config-rpl)# commit Saves configuration changes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 187: Configuration Examples For Implementing Bgp

    (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 else drop Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 188: Displaying Bgp Update Groups: Example

    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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 189: Bgp Neighbor Configuration: Example

    666. router bgp 6001 bgp confederation identifier 666 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 190 6001 6002 exit address-family ipv4 unicast neighbor 171.19.232.57 remote-as 6001 exit address-family ipv4 unicast neighbor 171.19.232.55 remote-as 6002 exit address-family ipv4 unicast neighbor 192.168.200.200 remote-as 701 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 191: Bgp Route Reflector: Example

    The following example shows how to enable BGP NSR: configure router bgp 120 The following example shows how to disable BGP NSR: configure router bgp 120 no nsr Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 192: Primary Backup Path Installation: Example

    The following is a sample configuration for originating prefixes with the AiGP metric attribute: route-policy aigp-policy set aigp-metric 4 set aigp-metric igp-cost end-policy router bgp 100 address-family ipv4 unicast network 10.2.3.4/24 route-policy aigp-policy redistribute ospf osp1 metric 4 route-policy aigp-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 193: Bgp Accept Own Configuration: Example

    BGP Unequal Cost Recursive Load Balancing: Example This is a sample configuration for unequal cost recursive load balancing: interface Loopback0 ipv4 address 20.20.20.20 255.255.255.255 interface MgmtEth0/RSP0/CPU0/0 ipv4 address 8.43.0.10 255.255.255.0 interface TenGigE0/3/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 194 20.20.20.20 address-family ipv4 unicast maximum-paths eibgp 8 redistribute connected neighbor 11.11.11.12 remote-as 200 dmz-link-bandwidth address-family ipv4 unicast route-policy pass-all in route-policy pass-all out neighbor 11.11.12.12 remote-as 200 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 195: Vrf Dynamic Route Leaking Configuration: Example

    VRF Dynamic Route Leaking Configuration: Example These examples show how to configure VRF dynamic route leaking: Import Routes from default-VRF to non-default-VRF vrf vrf_1 address-family ipv6 unicast import from default-vrf route-policy rpl_dynamic_route_import Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 196: Resilient Per-Ce Label Allocation Mode Configuration: Example

    RP/0/RSP0/CPU0:router(config)# route-policy route1 RP/0/RSP0/CPU0:router(config-rpl)# set label mode per-ce RP/0/RSP0/CPU0:router(config-rpl)# end Where to Go Next For detailed information about BGP commands, see Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference Additional References The following sections provide references related to implementing BGP.
  • Page 197 Avoid BGP Best Path Transitions from One External to Another, by Enke Chen, Srihari Sangli draft-ietf-idr-as4bytes-12.txt BGP Support for Four-octet AS Number Space, by Quaizar Vohra, Enke Chen Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 198 Capabilities Advertisement with BGP-4 RFC 4271 A Border Gateway Protocol 4 (BGP-4) RFC 4364 BGP/MPLS IP Virtual Private Networks (VPNs) RFC 4724 Graceful Restart Mechanism for BGP Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 199 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 200 Implementing BGP Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 201: Chapter 3 Implementing Bfd

    C H A P T E R Implementing BFD This module describes the configuration of bidirectional forwarding detection (BFD) on the Cisco ASR 9000 Series Router. Bidirectional forwarding detection (BFD) provides low-overhead, short-duration detection of failures in the path between adjacent forwarding engines. BFD allows a single mechanism to be used for failure detection over any media and at any protocol layer, with a wide range of detection times and overhead.
  • Page 202 • BFD over Logical Bundle Release 4.3.1 Support for these features was added: • BFD over MPLS Traffic Engineering LSPs • BFD over Pseudowire Head-end • BFD over Satellite Interfaces Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 203: Prerequisites For Implementing Bfd

    Cisco IOS XR IP Unicast Routing Core Bundle image is required. • Interior Gateway Protocol (IGP) is activated on the router if you are using IS-IS or OSPF. • On the Cisco ASR 9000 Series Router, each line card supporting BFD must be able to perform the following tasks: ◦...
  • Page 204: Restrictions For Implementing Bfd

    Series Aggregation Services Router Routing Configuration Guide and Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference • BFD over GRE feature is not supported on Cisco ASR 9000 Series SPA Interface Processor-700. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
  • Page 205: Information About Bfd

    • In Cisco IOS XR software, BFD is an application that is configured under a dynamic routing protocol, such as an OSPF or BGP instance. This is not the case for BFD in Cisco IOS software, where BFD is only configured on an interface.
  • Page 206: Bfd Multipath Sessions Support On Nv Edge System

    Static Route. • A router running BFD in Cisco IOS software can designate a router running BFD in Cisco IOS XR software as its peer using the bfd neighbor command; the Cisco IOS XR router must use dynamic routing or a static route back to the Cisco IOS router to establish the peer relationship. See the Peers on Routers Running Cisco IOS and Cisco IOS XR Software: Example.
  • Page 207: Bfd Packet Information

    BFD Packet Intervals on Physical Interfaces When BFD is running over physical interfaces, echo mode is used only if the configured interval is less than two seconds. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 208: Bfd Packet Intervals On Bundle Member Links

    So, if the system transmits one additional echo packet beyond the multiplier count without receipt of any echo packets, echo failure is detected and the neighbor is declared down (See Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 209: Echo Failure Detection Examples

    BFD will not declare a neighbor down as long as any echo packet continues to be received within the multiplier window and resets the counter to zero. Beginning in Cisco IOS XR 4.0.1, you can configure BFD to measure this latency for non-bundle interfaces. For more information, see...
  • Page 210: Interfaces

    BFD echo packet (using the standard multiplier counter scheme as described in Echo Packet Failure Detection In Asynchronous Mode) before the BFD session is declared down. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 211: Echo Packet Latency

    Echo Packet Latency In Cisco IOS XR software releases prior to Cisco IOS XR 4.0.1, BFD only detects an absence of receipt of echo packets, not a specific delay for TX/RX of a particular echo packet. In some cases, receipt of BFD echo...
  • Page 212: Bfd For Ipv4

    Cisco IOS XR software supports bidirectional forwarding detection (BFD) singlehop and multihop for both IPv4 and IPv6. In BFD for IPv4 single-hop connectivity, Cisco IOS XR software supports both asynchronous mode and echo mode over physical numbered Packet-over-SONET/SDH (POS) and Gigabit Ethernet links, as follows: •...
  • Page 213: Enabling Bfd On A Static Route

    Note specifically stated. • Cisco IOS XR software supports BFD Version 0 and Version 1. BFD sessions are established using either version, depending upon the neighbor. BFD Version 1 is the default version and is tried initially for session creation.
  • Page 214 Enables BFD fast-detection on the specified IPV4 unicast destination bfd fast-detect address prefix and on the forwarding next-hop address. Example: RP/0/RSP0/CPU0:router(config-static-vrf)# address-family ipv4 unicast 0.0.0.0/0 2.6.0.2 Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 215: Bfd For Ipv6

    Implementing BFD BFD for IPv6 BFD for IPv6 Cisco IOS XR software supports bidirectional forwarding detection (BFD) for both IPv4 and IPv6. Bidirectional forwarding detection (BFD) for IPv6 supports the verification of live connectivity on interfaces that use IPv6 addresses.
  • Page 216: Bfd Over Member Links On Link Bundles

    A BFD member link is “IIR Active” if the link is in LACP distributing state and the BFD session is up. • A BFD member link is “IIR Attached” when the BFD session is down, unless a LACP state transition is received. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 217 If so, then the bundle is placed, or remains, in DOWN state. Once the number of active links reaches the minimum threshold then the bundle returns to UP state. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 218: Bfd Multipath Sessions

    Cisco ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration Guide. For more information on GRE, see Implementing MPLS Layer 2 VPNs module in Cisco ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration Guide BFD for MultiHop Paths BFD multihop (BFD-MH) is a BFD session between two addresses that are not on the same subnet.
  • Page 219: Setting Up Bfd Multihop

    LSP Ping messages, BFD can be deployed for faster detection of data plane failure for a large number of LSPs. The BFD over MPLS TE LSPs implementation in Cisco IOS XR Software is based on RFC 5884: Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs). LSP Ping is an existing mechanism for detecting MPLS data plane failures and for verifying the MPLS LSP data plane against the control plane.
  • Page 220: Bidirectional Forwarding Detection Over Generic Routing Encapsulation

    Implementing BFD Bidirectional Forwarding Detection over Generic Routing Encapsulation in pure RFC5880 fashion. These platforms include products of other vendors, as well as other Cisco products running Cisco IOS or Cisco Nexus OS software. BLB is a multipath (MP) single-hop session. BLB requires limited knowledge of the bundle interfaces on which the sessions run;...
  • Page 221: Bfd Over Pseudowire Headend

    VLAN header. If the router is configured for routing a Layer 3 (network layer) protocol, it will terminate the VLAN and MAC layers at the interface on which a frame arrives. The MAC Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 222: Bfd Over Bundle Per-Member Link

    BFD over Bundle (BoB) Per-Member Link Mode is a standard-based fast failure detection of link aggregation (LAG) member links that is interoperable between different platforms. This provides an option to choose the per-member link mode to use either Cisco or IETF standard. This feature is supported only on Cisco ASR 9000 Enhanced Ethernet Line Card.
  • Page 223: Bfd Dampening

    Implementing BFD BFD Dampening • A BFD session on the member interfaces can belong to only one mode (Cisco or IETF mode). Mix of the modes within the same bundle is not supported. BFD Dampening Bidirectional Forwarding Detection (BFD) is a mechanism used by routing protocols to quickly realize and communicate the reachability failures to their neighbors.
  • Page 224: Bfd Object Tracking

    • FRR/TE, FRR/IP, and FRR/LDP using BFD is supported on POS interfaces and Ethernet interfaces. • To establish a BFD neighbor in Cisco IOS XR software, BFD must either be configured under a dynamic routing protocol, or using a static route.
  • Page 225: Configuring Bfd Under A Dynamic Routing Protocol Or Using A Static Route

    SUMMARY STEPS 1. configure 2. router bgp autonomous-system-number 3. bfd minimum-interval milliseconds 4. bfd multiplier multiplier 5. neighbor ip-address 6. remote-as autonomous-system-number 7. bfd fast-detect 8. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 226 In the example in Step 5, the IP address 172.168.40.24 was set up RP/0/RSP0/CPU0:router(config-bgp-nbr)# bfd as the BGP peer. In this example, BFD is enabled between the fast-detect local networking devices and the neighbor 172.168.40.24. Step 8 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 227: Enabling Bfd For Ospf On An Interface

    • To configure BFD for IS-IS or MPLS-TE, enter the Note corresponding configuration mode. For example, for MPLS-TE, enter MPLS-TE configuration mode. Step 4 bfd minimum-interval milliseconds Sets the BFD minimum interval. Range is 15-30000 milliseconds. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 228: Enabling Bfd For Ospfv3 On An Interface

    The following procedures describe how to configure BFD for OSPFv3 on an interface. The steps in the procedure are common to the steps for configuring BFD on IS-IS, and MPLS-TE; only the command mode differs. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 229 Sets the BFD multiplier. This example sets the BFD multiplier to 7. Example: RP/0/RSP0/CPU0:router(config-ospfv3)# bfd multiplier 7 Step 5 area area-id Configures an OSPFv3 area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 230: Enabling Bfd On A Static Route

    2. router static 3. address-family ipv4 unicast address nexthop bfd fast-detect [minimum-interval interval] [multiplier multiplier] 4. vrf vrf-name 5. address-family ipv4 unicast address nexthop bfd fast-detect 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 231 Enables BFD fast-detection on the specified IPV4 unicast destination bfd fast-detect address prefix and on the forwarding next-hop address. Example: RP/0/RSP0/CPU0:router(config-static-vrf)# address-family ipv4 unicast 0.0.0.0/0 2.6.0.2 Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 232: Configuring Bfd On Bundle Member Links

    (A.B.C.D). RP/0/RSP0/CPU0:router(config-if)# bfd address-family ipv4 destination 10.20.20.1 Step 4 commit Enabling BFD Sessions on Bundle Members To enable BFD sessions on bundle member links, complete these steps: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 233: Configuring The Minimum Thresholds For Maintaining An Active Bundle

    DOWN state. Once the number of active links or available bandwidth reaches one of the minimum thresholds, then the bundle returns to the UP state. To configure minimum bundle thresholds, complete these steps: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 234: Bundle

    Failure Detection. To configure the minimum transmission interval and failure detection times for BFD asynchronous mode control and echo packets on bundle member links, complete these steps: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 235 30 default is 3. • Although the command allows you Note to configure a minimum of 2, the supported minimum is 3. Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 236: Bundle

    If the SCN is not received after that period of time, the BFD session is declared down. The range Example: is 60 to 3600. (In Cisco IOS XR Releases 4.0 and 4.0.1, the available RP/0/RSP0/CPU0:router(config-if)# minimum is 30, but is not recommended.)
  • Page 237: Enabling Echo Mode To Test The Forwarding Path To A Bfd Peer

    ID. Beginning in Cisco IOS XR release 3.9.0 and later, you can use the echo ipv4 source command in BFD or interface BFD configuration mode to specify the IP address that you want to use as the echo packet source address.
  • Page 238: Specifying The Echo Packet Source Address On An Individual Interface Or Bundle

    Enters BFD interface configuration mode for a specific interface or bundle. In BFD interface configuration mode, you can specify an IPv4 address on an individual interface or Example: bundle. RP/0/RSP0/CPU0:router(config-bfd)# interface gigabitEthernet 0/1/5/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 239: Configuring Bfd Session Teardown Based On Echo Latency Detection

    Configuring BFD Session Teardown Based on Echo Latency Detection Beginning in Cisco IOS XR 4.0.1, you can configure BFD sessions on non-bundle interfaces to bring down a BFD session when it exceeds the configured echo latency tolerance. To configure BFD session teardown using echo latency detection, complete the following steps.
  • Page 240: Delaying Bfd Session Startup Until Verification Of Echo Path And Latency

    Delaying BFD Session Startup Until Verification of Echo Path and Latency Beginning in Cisco IOS XR Release 4.0.1, you can verify that the echo packet path is working and within configured latency thresholds before starting a BFD session on non-bundle interfaces.
  • Page 241: Disabling Echo Mode

    You can disable echo mode for BFD on the entire router, or for a particular interface. Disabling Echo Mode on a Router To disable echo mode globally on the router complete the following steps: DETAILED STEPS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 242: Disabling Echo Mode On An Individual Interface Or Bundle

    The following procedures describe how to disable echo mode on an interface or bundle . SUMMARY STEPS 1. configure 2. bfd 3. interface type interface-path-id 4. echo disable 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 243: Minimizing Bfd Session Flapping Using Bfd Dampening

    Enters BFD configuration mode. Example: RP/0/RSP0/CPU0:router(config)# bfd Step 3 dampening [bundle-member] {initial-wait | Specifies delays in milliseconds for BFD session startup to maximum-wait | secondary-wait} milliseconds control flapping. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 244: Enabling And Disabling Ipv6 Checksum Support

    1. configure 2. bfd 3. ipv6 checksum [disable] 4. commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 Enters BFD configuration mode. Example: RP/0/RSP0/CPU0:router(config)# bfd Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 245: Or Bundle

    Enters BFD configuration mode. Example: RP/0/RSP0/CPU0:router(config)# bfd Step 3 interface type interface-path-id Enters BFD interface configuration mode for a specific interface or bundle. Example: RP/0/RSP0/CPU0:router(config-bfd)# interface gigabitEthernet 0/1/5/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 246: Clearing And Displaying Bfd Counters

    Verifies that the BFD counters for IPv4 packets, interface-path-id] location node-id IPv6 packets, or all packets have been cleared. Example: RP/0/RSP0/CPU0:router# show bfd counters all packet location 0/3/cpu0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 247: Blb

    • inherit—Use the inherit keyword to configure • bundle coexistence bob-blb logical "inherited" coexistence mode. • logical—Use the logical keyword to configure "logical" coexistence mode. Example: RP/0/RSP0/CPU0:router(config-bfd)#bundle coexistence bob-blb inherit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 248: Configuring Bfd Ipv6 Multihop

    Enters BGP configuration mode. Example: RP/0/RSP0/CPU0:router(config)# router bgp 65001 Step 4 neighbor ip-address ebgp-multihop ttl-value Enables multihop peerings with external BGP (eBGP) neighbors. Example: RP/0/RSP0/CPU0:router(config-bgp)#neighbor 21:1:1:1:1:1:1:2 ebgp-multihop 255 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 249: Configuring Bfd Ipv6 Multihop For Ibgp Neighbors

    RP/0/RSP0/CPU0:router(config)#router bgp 65001 Step 4 neighbor ip-address bfd fast-detect Specifies IP address of the iBGP neighbor and enables BFD fast detection. Example: RP/0/RSP0/CPU0:router(config-bgp)#neighbor 21:1:1:1:1:1:1:2 Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 250: Configuring Bfd Over Mpls Traffic Engineering Lsps

    Hello interval range is 100 to 30000 milliseconds. Default Example: hello interval is 100 milliseconds RP/0/RSP0/CPU0:router(config-if)#bfd minimum-interval 2000 Step 5 bfd multiplier number Configures BFD multiplier detection. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 251: Configuring Bfd Bring Up Timeout

    Enables the time interval (in seconds) to wait for the BFD session to come up. Example: Bring up timeout range is 6 to 3600 seconds. Default bring RP/0/RSP0/CPU0:router(config-if)#bfd up timeout interval is 60 seconds. bringup-timeout 2400 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 252: Configuring Bfd Dampening For Te Tunnels

    The initial-wait bring up delay time interval range is 1 to 518400000 Example: milliseconds. Default initial-wait interval is 16000 milliseconds. RP/0/RSP0/CPU0:router(config-if)#bfd This option brings up the TE tunnel with the previous dampening initial-wait 360000 Note signaled bandwidth. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 253: Configuring Periodic Lsp Ping Requests

    1. configure 2. interface tunnel-te interface-number 3. Use one of these commands: • bfd lsp-ping interval 300 4. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 254: Configuring Bfd At The Tail End

    Perform these tasks to configure BFD at the tail end. SUMMARY STEPS 1. configure 2. mpls traffic-eng bfd lsp tailminimum-interval milliseconds 3. mpls traffic-eng bfd lsp tailmultiplier number 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 255: Configuring Bfd Over Lsp Sessions On Line Cards

    Purpose Step 1 configure Step 2 Enters BFD configuration mode. Example: RP/0/RSP0/CPU0:router(config)# bfd Step 3 multipath include location node-id Configures BFD multiple path on specific line card. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 256: Configuring Bfd Object Tracking

    RP/0/RSP0/CPU0:router(config)# track track1 Step 3 type bfdrtr rate tx-rate tx_rate - time in msec at which the BFD should probe the remote entity Example: RP/0/RSP0/CPU0:router(config-track)# type bfdrtr rate 4 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 257: Configuration Examples For Configuring Bfd

    The following example shows how to enable BFD for OSPF on a Gigabit Ethernet interface: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#router ospf 0 RP/0/RSP0/CPU0:router(config-ospf)#area 0 RP/0/RSP0/CPU0:router(config-ospf-ar)#interface gigabitEthernet 0/3/0/1 RP/0/RSP0/CPU0:router(config-ospf-ar-if)#bfd fast-detect RP/0/RSP0/CPU0:router(config-ospf-ar-if)#commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 258: Bfd Over Static Routes: Examples

    RP/0/RSP0/CPU0:router#show run router static address-family ipv6 unicast BFD on Bundled VLANs: Example The following example shows how to configure BFD on bundled VLANs: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#multipath include location 0/0/CPU0 RP/0/RSP0/CPU0:router(config-bfd)#exit RP/0/RSP0/CPU0:router#configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 259: Bfd On Bundle Member Links: Examples

    83 bfd address-family ipv4 mul 3 ipv4 address 192.168.2.1/30 bundle minimum-active links 1 interface Bundle-Ether3 bfd address-family ipv4 destination 192.168.3.2 bfd address-family ipv4 fast-detect Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 260: Echo Packet Source Address: Examples

    The following example shows how to specify the IP address 10.10.10.1 as the source address for BFD echo packets on an individual Packet-over-SONET (POS) interface: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#interface pos 0/1/0/0 RP/0/RSP0/CPU0:router(config-bfd-if)#echo ipv4 source 10.10.10.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 261: Echo Latency Detection: Examples

    “Required Min Echo RX Interval” value in the last control packet: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#echo startup validate force BFD Echo Mode Disable: Examples The following example shows how to disable echo mode on a router: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 262: Bfd Dampening: Examples

    RP/0/RSP0/CPU0:router(config-bfd)#interface gigabitethernet 0/1/0/0 RP/0/RSP0/CPU0:router(config-bfd-if)#ipv6 checksum The following example shows how to disable echo mode for BFD sessions on an individual interface: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#interface gigabitethernet 0/1/0/0 RP/0/RSP0/CPU0:router(config-bfd-if)#ipv6 checksum disable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 263: Bfd Peers On Routers Running Cisco Ios And Cisco Ios Xr Software: Example

    IOS software, and use the bfd neighbor command to designate the IP address 192.0.2.1 of an interface as its BFD peer on Router 2. Router 2 is running Cisco IOS XR software and uses the router static command and address-family ipv4 unicast command to designate the path back to Router 1’s interface with IP address 192.0.2.2.
  • Page 264: Bfd Over Mpls Te Lsps: Examples

    Where to Go Next BFD is supported over multiple platforms. For more detailed information about these commands, see the related chapters in the corresponding Cisco IOS XR Routing Command Reference and Cisco IOS XR MPLS Command Reference for your platform at: http://www.cisco.com/en/US/products/ps5845/prod_command_reference_list.html...
  • Page 265: Related Documents

    To locate and download MIBs using Cisco IOS XR software, use the Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu: http://cisco.com/public/sw-center/netmgmt/ cmtk/mibs.shtml Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 266: Technical Assistance

    Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 267: Implementing Eigrp

    • Multiprotocol Label Switching (MPLS) Layer 3 Virtual Private Network (VPN) • Site of Origin (SoO) Support For more information about EIGRP on the Cisco IOS XR software and complete descriptions of the EIGRP Note commands listed in this module, see the EIGRP Commands chapter in the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference.
  • Page 268: Prerequisites For Implementing Eigrp

    AAA administrator for assistance. Restrictions for Implementing EIGRP The following restrictions are employed when running EIGRP on this version of Cisco IOS XR software: • • The characters allowed for EIGRP process name are @ . # : - _ only.
  • Page 269: Eigrp Features

    Neighbor discovery or neighbor recovery is achieved with low overhead by periodically sending small hello packets. As long as hello packets are received, the Cisco IOS XR software can determine that a neighbor is alive and functioning. After this status is determined, the neighboring routers can exchange routing information.
  • Page 270: Eigrp Configuration Grouping

    IP routing protocols. EIGRP Configuration Grouping Cisco IOS XR software groups all EIGRP configuration under router EIGRP configuration mode, including interface configuration portions associated with EIGRP. To display EIGRP configuration in its entirety, use the show running-config router eigrp command.
  • Page 271: Eigrp Interfaces

    EIGRP domain. If many connected prefixes need to be advertised, then the redistribution of connected routes with the appropriate policy should be used instead. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 272: Redistribution For An Eigrp Process

    The following configuration is applied to ROUTER-B. However, the metric weights command is not applied and the default K values are used. The default K values are 1, 0, 1, 0, and 0. hostname ROUTER-B! Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 273: Goodbye Message

    RP/0/RSP0/CPU0:Mar 13 09:13:17:eigrp[163]:%ROUTING-EIGRP-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.0.0.20 (GigabitEthernet0/6/0/0) is down: Interface Goodbye received A Cisco router that runs a software release that does not support the goodbye message can misinterpret the message as a K-value mismatch and display the following message: RP/0/RSP0/CPU0:Mar 13 09:13:17:eigrp[163]:%ROUTING-EIGRP-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.0.0.20 (GigabitEthernet0/6/0/0) is down: K-value mismatch...
  • Page 274 Router-A and Router-D. Both routers have floating summary routes configured on the interfaces connected to Router-C. If the connection between Router-E and Router-C fails, the network Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 275: Split Horizon For An Eigrp Process

    For these situations, including networks in which you have EIGRP configured, you may want to disable split horizon. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 276: Adjustment Of Hello Interval And Hold Time For An Eigrp Process

    The stub router depends on the distribution router to send the proper updates to all peers. This figure shows a simple hub-and-spoke configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 277: Route Policy Options For An Eigrp Process

    EIGRP context). At least one new line must precede the definition of a route policy or prefix set. A new line must appear at the end of a logical unit of policy expression and may not appear anywhere else. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 278: Eigrp Layer 3 Vpn Pe-Ce Site-Of-Origin

    SoO value from the topology table is used when the route is redistributed into BGP. • A received route from a CE router does not contain a SoO value: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 279: Route Manipulation Using Soo Match Condition

    With this feature added, PE1 can increase the metric while advertising routes to CE1. Configuration: /*SoO tag is assigned on PE2 router*/ router(config)#interface GigabitEthernet0/0/0/11 router (config-if)#site-of-origin 33.33.33.33:33 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 280: Eigrp V4/V6 Authentication Using Keychain

    Message Digest 5 (MD5) authentication. The EIGRP routing authentication uses the Cisco IOS XR software security keychain infrastructure to store and retrieve secret keys and to authenticate incoming and outgoing traffic on a per-interface basis.
  • Page 281: Eigrp Multi-Instance

    This task enables EIGRP routing and establishes an EIGRP routing process. Before You Begin Although you can configure EIGRP before you configure an IP address, no EIGRP routing occurs until at least one IP address is configured. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 282 172.20.1.1 configuration. Step 5 default-metric bandwidth delay reliability (Optional) Sets metrics for an EIGRP process. loading mtu Example: RP/0/RSP0/CPU0:router(config-eigrp-af)# default-metric 1000 100 250 100 1500 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 283: Configuring Route Summarization For An Eigrp Process

    You can configure a summary aggregate address for a specified interface. If any more specific routes are in the routing table, EIGRP advertises the summary address from the interface with a metric equal to the minimum of all more specific routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 284 RP/0/RSP0/CPU0:router(config-eigrp)# address-family ipv4 Step 4 route-policy name out Applies a routing policy to updates advertised to or received from an EIGRP neighbor. Example: RP/0/RSP0/CPU0:router(config-eigrp-af)# route-policy FILTER_DEFAULT out Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 285: Redistributing Routes For Eigrp

    8. maximum-prefix maximum [ threshold ] [[ dampened ] [ reset-time minutes ] [ restart minutes ] [ restart-count number ] | [ warning-only]] 9. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 286 Limits the number of prefixes that are accepted under reset-time minutes ] [ restart minutes ] [ restart-count an address family by EIGRP. number ] | [ warning-only]] Example: RP/0/RSP0/CPU0:router(config-eigrp-af)# maximum-prefix 50000 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 287: Creating A Route Policy And Attaching It To An Eigrp Process

    42 100 200 100 1200 Step 4 end-policy Ends the definition of a route policy and exits route-policy configuration mode. Example: RP/0/RSP0/CPU0:router(config-rpl)# end-policy Step 5 commit Step 6 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 288: Configuring Stub Routing For An Eigrp Process

    4. stub [ receive-only | {[ connected ] [ redistributed ] [ static ] [ summary ]}] 5. commit 6. show eigrp [ ipv4 ] neighbors [ as-number ] [ detail ] [ type interface-path-id | static ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 289: Configuring Eigrp As A Pe-Ce Protocol

    RP/0/RSP0/CPU0:router# show eigrp neighbors detail Configuring EIGRP as a PE-CE Protocol Perform this task to configure EIGRP on the provider edge (PE) and establish provider edge-to-customer edge (PE-CE) communication using EIGRP. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 290 Configures an EIGRP routing process to run within the VRF instance. Example: Note You must configure the autonomous system under VRF configuration to bring-up the RP/0/RSP0/CPU0:router(config-eigrp-vrf-af)# VRF interface. autonomous-system 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 291: Redistributing Bgp Routes Into Eigrp

    BGP, metrics may not be added to the BGP prefix as extended communities; for example, if EIGRP is not running on the other router. In this case, EIGRP is redistributed into BGP with a “no-metrics” option. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 292 Step 6 route-policy route-policy-name { in | out } Applies a routing policy to updates advertised to or received from an EIGRP neighbor. Example: RP/0/RSP0/CPU0:router(config-eigrp-vrf-af)# route-policy policy_A in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 293: Monitoring Eigrp Routing

    | detail-links | pending | summary | zero-successors ] 14. show eigrp [ as-number ] [ vrf { vrf | all }] [ ipv4 ] traffic DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 294 [ as-number ] [ vrf { vrf | all }][ ipv4 ] interfaces Displays information about interfaces [ type interface-path-id ] [ detail ] configured for EIGRP. Example: RP/0/RSP0/CPU0:router# show eigrp interfaces detail Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 295: Configuring An Eigrp Authentication Keychain

    Perform this task to configure an authentication keychain for an IPv4/IPv6 interface on a default VRF. SUMMARY STEPS 1. configure 2. router eigrp as-number 3. address-family { ipv4 | ipv6 } 4. interface type interface-path-id 5. authentication keychain keychain-name 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 296: Configuring An Authentication Keychain For An Ipv4/Ipv6 Interface On A Nondefault Vrf

    SUMMARY STEPS 1. configure 2. router eigrp as-number 3. vrf vrf-name 4. address-family { ipv4 | ipv6 } 5. interface type interface-path-id 6. authentication keychain keychain-name 7. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 297: Vrf

    The following example shows how to configure EIGRP with a policy that filters incoming routes. This is a typical configuration for a router that has just one neighbor, but advertises other connected subnets. router eigrp 144 address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 298: Configuring An Eigrp Stub Operation: Example

    172.16.6.11 maximum-prefix 450 70 default-metric 200000 10000 195 10 1500 log-neighbor-changes log-neighbor-warnings redistribute maximum-prefix 350 70 redistribute bgp 1.65500 route-policy SITE_1_POLICY interface GigabitEthernet 0/4/0/5 neighbor 10.22.1.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 299: Configuring An Eigrp Authentication Keychain: Example

    ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide MIB Reference Cisco ASR 9000 Series Aggregation Services Router MIB Specification Guide. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 300 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 301: Chapter 5 Implementing Is-Is

    (IEC) 10589 and RFC 1995, and adds the standard extensions for single topology and multitopology IS-IS for IP Version 6 (IPv6). This module describes how to implement IS-IS (IPv4 and IPv6) on your Cisco IOS XR network. Currently, only default VRF is supported. VPNv4, VPNv6 and VPN routing and forwarding (VRF) address Note families, L3VPN and Multicast will be supported in a future release.
  • Page 302: Information About Implementing Is-Is

    Key Features Supported in the Cisco IOS XR IS-IS Implementation The Cisco IOS XR implementation of IS-IS conforms to the IS-IS Version 2 specifications detailed in RFC 1195 and the IPv6 IS-IS functionality based on the Internet Engineering Task Force (IETF) IS-IS Working Group draft-ietf-isis-ipv6.txt document.
  • Page 303: Is-Is Configuration Grouping

    Reference. IS-IS Configuration Grouping Cisco IOS XR groups all of the IS-IS configuration in router IS-IS configuration mode, including the portion of the interface configurations associated with IS-IS. To display the IS-IS configuration in its entirety, use the show running router isis command. The command output displays the running configuration for all configured IS-IS instances, including the interface assignments and interface attributes.
  • Page 304: Interface Address Family Configuration Mode

    See the Network Stack IPv4 and IPv6 Commands on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router IP Addresses and Services Command Reference.
  • Page 305: Limit Lsp Flooding

    In the absence of a configured refresh interval, the software adjusts the LSP refresh interval, if necessary, to prevent the LSPs from timing out. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 306: Single-Topology Ipv6 Support

    Single-Topology IPv6 Support Single-Topology IPv6 Support Single-topology IPv6 support on Cisco IOS XR software software allows IS-IS for IPv6 to be configured on interfaces along with an IPv4 network protocol. All interfaces must be configured with the identical set of network protocols, and all routers in the IS-IS area (for Level 1 routing) or the domain (for Level 2 routing) must support the identical set of network layer protocols on all interfaces.
  • Page 307: Nonstop Forwarding

    Nonstop Forwarding On Cisco IOS XR software, NSF minimizes the amount of time a network is unavailable to its users following a route processor (RP) failover. The main objective of NSF is to continue forwarding IP packets and perform a graceful restart following an RP failover.
  • Page 308: Multi-Instance Is-Is

    Implementing IS-IS Multi-Instance IS-IS If you configure IETF NSF on the Cisco IOS XR router and a neighbor router does not support IETF NSF, Note the affected adjacencies flap, but nonstop forwarding is maintained to all neighbors that do support IETF NSF.
  • Page 309: Overload Bit Configuration During Multitopology Operation

    You can force a default route into an IS-IS routing domain. Whenever you specifically configure redistribution of routes into an IS-IS routing domain, the Cisco IOS XR software does not, by default, redistribute the default route into the IS-IS routing domain. The default-information originate command generates a default route into IS-IS, which can be controlled by a route policy.
  • Page 310: Is-Is Support For Route Tags

    The multicast-intact feature provides the ability to run multicast routing (PIM) when IGP shortcuts are configured and active on the router. Both OSPFv2 and IS-IS support the multicast-intact feature. MPLS TE and IP multicast coexistence is supported in Cisco IOS XR software by using the mpls traffic-eng multicast-intact IS-IS or OSPF router command.
  • Page 311: Mpls Label Distribution Protocol Igp Synchronization

    LDP IS-IS synchronization is supported with IS-IS NSF only if LDP graceful restart is also enabled over the interface. If IS-IS NSF is not enabled, the LDP synchronization state is not retained across restarts and failovers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 312: Label Distribution Protocol Igp Auto-Configuration

    IPFRR LFA. IPFRR LFA is different from Multiprotocol Label Switching (MPLS) as it is applicable to networks using conventional IP routing and forwarding. See Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide for information on configuring MPLS IPFRR.
  • Page 313: Unequal Cost Multipath Load-Balancing For Is-Is

    This task explains how to enable IS-IS and configure the routing level for an area. Configuring the routing level in Step 4 is optional, but is highly recommended to establish the proper level Note of adjacencies. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 314 The software learns about destinations inside its area only. Any packets containing destinations outside the area are sent to the nearest level-1-2 router in the area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 315: Configuring Single Topology For Is-Is

    You may configure the metric style in the address-family ipv6 stanza, but it is ignored in this case. If only IPv6 is enabled and single topology is configured, then the metric style is configured in the address-family ipv6 stanza. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 316 Specifies an IPv6 network assigned to the interface and enables IPv6 • ipv6 address ipv6-address { / processing on the interface with the eui-64 keyword. prefix-length | link-local } • ipv6 enable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 317 • To specify more than one area address, specify additional NETs. Although the area address portion of the NET differs, the system ID portion of the NET must match exactly for all of the configured items. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 318 [ instance instance-id ] interface [ (Optional) Displays information about the IS-IS interface. type interface-path-id ] [ detail ] [ level { 1 | 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 319: Configuring Multitopology Routing

    (RPL), only topologies under multicast SAFI can be configured globally. Information About Multitopology Routing Configuring multitopology networks requires the following tasks: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 320: Configuring A Global Topology And Associating It With An Interface

    Step 6 Repeat Step 4 and Step 5 until you have specified all the interface — instances you want to associate with your topologies. Example: RP/0/RSP0/CPU0:router(config-if-af)# interface Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 321: Enabling An Is-Is Topology

    Step 3 address-family { ipv4 | ipv6 } multicast topology Associates an IS-IS topology ID with the named topo-name topology. Example: RP/0/RSP0/CPU0:router(config-isis)# address-family ipv4 multicast topology green Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 322: Placing An Interface In A Topology In Is-Is

    Creates a network entity title for the configured isis interface. Example: RP/0/RSP0/CPU0:router(config-isis)# net netname Step 4 interface type interface-path-id Enters isis interface configuration submode and creates an interface instance. Example: RP/0/RSP0/CPU0:router(config-isis)# interface gigabitethernet 0/3/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 323: Configuring A Routing Policy

    Services Router Routing Command Reference. RP/0/RSP0/CPU0:router(config-rpl-if)# if source in (10.10.10.10) then RP/0/RSP0/CPU0:router(config-rpl-if-2)# set rpf-topology ipv4 multicast topology greentable RP/0/RSP0/CPU0:router(config-rpl-if-2)# else RP/0/RSP0/CPU0:router(config-rpl-if-else-2)# set rpf-topology ipv4 multicast topology bluetable RP/0/RSP0/CPU0:router(config-rpl-if-else-2)# endif RP/0/RSP0/CPU0:router(config-rpl-if)# endif Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 324: Configuring Multitopology For Is-Is

    To configure options for both levels, use the command twice. For example: RP/0/RSP0/CPU0:router(config-isis)# lsp-refresh-interval 1200 level 2 RP/0/RSP0/CPU0:router(config-isis)# lsp-refresh-interval 1100 level 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 325 (Optional) Sets the time between regeneration of LSPs that contain different sequence numbers Example: • The refresh interval should always be set lower than the max-lsp-lifetime command. RP/0/RSP0/CPU0:router(config-isis)# lsp-refresh-interval 10800 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 326 Step 10 lsp-interval milliseconds [ level { 1 | 2 }] (Optional) Configures the amount of time between each LSP sent on an interface. Example: RP/0/RSP0/CPU0:router(config-isis-if)# lsp-interval 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 327 RP/0/RSP0/CPU0:router# show isis database level 1 Step 18 show isis [ instance instance-id ] lsp-log [ level (Optional) Displays LSP log information. { 1 | 2 }] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 328: Configuring Nonstop Forwarding For Is-Is

    1 Configuring Nonstop Forwarding for IS-IS This task explains how to configure your router with NSF that allows the Cisco IOS XR software to resynchronize the IS-IS link-state database with its IS-IS neighbors after a process restart. The process restart could be due to an: •...
  • Page 329 • Verify that “nsf” appears in the IS-IS configuration of the NSF-aware device. RP/0/RSP0/CPU0:router# show running-config router isis isp • This example shows the contents of the configuration file for the “isp” instance only. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 330: Configuring Authentication For Is-Is

    • The level 2 keywords set a password for authentication in the backbone (the Level 2 area). • The send-only keyword adds authentication to LSP and sequence number protocol data units (SNPs) when Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 331: Configuring Keychains For Is-Is

    3. l sp-password keychain keychain-name [ level { 1 | 2 }] [ send-only ] [ snp send-only ] 4. interface type interface-path-id 5. h ello-password keychain keychain-name [ level { 1 | 2 }] [ send-only ] 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 332: Configuring Mpls Traffic Engineering For Is-Is

    Traffic Engineering on Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide Before You Begin Your network must support the MPLS Cisco IOS XR software feature before you enable MPLS TE for IS-IS on your router. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
  • Page 333 { 1 | 2 } Configures a router running IS-IS to flood MPLS TE link information into the indicated IS-IS level. Example: RP/0/RSP0/CPU0:router(config-isis-af)# mpls traffic-eng level 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 334: Tuning Adjacencies For Is-Is

    The options configurable in the interface submode apply only to that interface. By default, the values are applied to both Level 1 and Level 2. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 335 Step 3 log adjacency changes Generates a log message when an IS-IS adjacency changes state (up or down). Example: RP/0/RSP0/CPU0:router(config-isis)# log adjacency changes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 336 RP/0/RSP0/CPU0:router# show isis instance isp adjacency Step 11 show isis adjacency-log (Optional) Displays a log of the most recent adjacency state transitions. Example: RP/0/RSP0/CPU0:router# show isis adjacency-log Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 337: Setting Spf Interval For A Single-Topology Ipv4 And Ipv6 Configuration

    SPF calculations. The reseed interval enables a periodic running of the full SPF to ensure that the iSFP state remains synchronized. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 338 • The SPF interval does not apply to the running of the ISPF because that algorithm runs immediately on receiving a changed LSP. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 339: Customizing Routes For Is-Is

    • summary-prefix ipv6-prefix / prefix-length [ level { 1 | 2 }] 8. maximum-paths route-number 9. distance weight [ address / prefix-length [ route-list-name ]] 10. set-attached-bit 11. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 340 { 1 | 2 }] • This example specifies an IPv4 address and mask. • summary-prefix ipv6-prefix / prefix-length [ level { 1 | 2 }] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 341: Configuring Mpls Ldp Is-Is Synchronization

    1. configure 2. router isis instance-id 3. interface type interface-path-id 4. address-family ipv4 unicast 5. mpls ldp sync [ level { 1 | 2 }] 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 342: Enabling Multicast-Intact

    This optional task describes how to enable multicast-intact for IS-IS routes that use IPv4 and IPv6 addresses. SUMMARY STEPS 1. configure 2. router isis instance-id 3. address-family { ipv4 | ipv6 } [ unicast | multicast ] 4. mpls traffic-eng multicast-intact 5. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 343: Tagging Is-Is Interface Routes

    7. address-family { ipv4 | ipv6 } [ unicast ] 8. tag tag 9. commit 10. show isis [ ipv4 | ipv6 | afi-all ] [ unicast | safi-all ] route [ detail ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 344 Step 8 tag tag Sets the value of the tag to associate with the advertised connected route. Example: RP/0/RSP0/CPU0:router(config-isis-if-af)# tag 3 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 345: Setting The Priority For Adding Prefixes To The Rib

    [ transition ] [ level { 1 | 2 }] Configures a router to generate and accept only wide-link metrics in the Level 1 area. Example: RP/0/RSP0/CPU0:router(config-isis-af)# metric-style wide level 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 346: Configuring Ip/Ldp Fast Reroute

    • fast-reroute per-link lfa-candidate interface type interface-path-id { level { 1 | 2 }} • fast-reroute per-prefix lfa-candidate interface type interface-path-id { level { 1 | 2 }} 10. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 347 • fast-reroute per-link { level { 1 | 2 }} level 2. • fast-reroute per-prefix { level { 1 | 2 }} Example: RP/0/RSP0/CPU0:router(config-isis-if-af)#fast-reroute per-link level 1 RP/0/RSP0/CPU0:router(config-isis-if-af)#fast-reroute per-prefix level 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 348: Configuring Is-Is Overload Bit Avoidance

    Configuring IS-IS Overload Bit Avoidance This task describes how to activate IS-IS overload bit avoidance. Before You Begin The IS-IS overload bit avoidance feature is valid only on networks that support the following Cisco IOS XR features: • MPLS • IS-IS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
  • Page 349: Isis Link Group

    A and C. If a link between B and C fails, you can raise the offset to 20, and thus traffic is routed back to B. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 350: Configure Link Group Profile

    A link-group is only active after the minimum-members and Note offset-metric are configured in the profile. The revert-members is default to minimum-members if it is not configured. Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 351 LSP Rexmit Queue Size: Level-2 Adjacency Count: LSP Pacing Interval: 33 ms PSNP Entry Queue Size: CLNS I/O Protocol State: MTU: 1497 SNPA: 0026.9829.af19 Layer-2 MCast Groups Membership: All ISs: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 352: Configure Link Group Interface

    7. show isis interface DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 router isis instance-id Enters IS-IS configuration submode. Example: RP/0/RSP0/CPU0:router(config)# router isis purple Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 353: Configuration Examples For Implementing Is-Is

    This configuration allows POS interface 0/3/0/0 to form adjacencies for both IPv4 and IPv6 addresses. router isis isp net 49.0000.0000.0001.00 address-family ipv6 unicast single-topology interface POS0/3/0/0 address-family ipv4 unicast address-family ipv6 unicast exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 354: Configuring Multitopology Is-Is For Ipv6: Example

    2 level 2 interface GigabitEthernet 0/3/0/0 address-family ipv4 unicast router isis 2 is-type level-1 net 49.0002.0001.0001.0002.00 address-family ipv4 unicast -attached -bit interface GigabitEthernet 0/1/0/0 address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 355: Tagging Routes: Example

    The following example shows how to deactivate IS-IS overload bit avoidance: config no mpls traffic-eng path-selection ignore overload Where to Go Next To implement more IP routing protocols, see the following document modules in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide: • Implementing OSPF • Implementing BGP •...
  • Page 356: Additional References

    Restart Signaling for IS-IS, by M. Shand and Les Ginsberg Draft-ietf-isis-igp-p2p-over-lan-05.txt Point-to-point operation over LAN in link-state routing protocols, by Naiming Shen Draft-ietf-rtgwg-ipfrr-framework-06.txt IP Fast Reroute Framework, by M. Shand and S. Bryant Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 357 IS-IS Mesh Groups RFC 3277 IS-IS Transient Blackhole Avoidance RFC 3373 Three-Way Handshake for IS-IS Point-to-Point Adjacencies RFC 3567 IS-IS Cryptographic Authentication RFC 4444 IS-IS Management Information Base Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 358 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 359: Chapter 6 Implementing Ospf

    OSPF Version 3 (OSPFv3) expands on OSPF Version 2, providing support for IPv6 routing prefixes. This module describes the concepts and tasks you need to implement both versions of OSPF on your Cisco ASR 9000 Series Router . The term “OSPF" implies both versions of the routing protocol, unless otherwise noted.
  • Page 360: Prerequisites For Implementing Ospf

    • Configuration tasks for OSPFv3 assume that you are familiar with IPv6 addressing and basic configuration. See the Implementing Network Stack IPv4 and IPv6 on Cisco ASR 9000 Series Router module of the Cisco ASR 9000 Series Aggregation Services Router IP Addresses and Services Configuration Guide for information on IPv6 routing and addressing.
  • Page 361: Information About Implementing Ospf

    On broadcast and nonbroadcast multiaccess (NBMA) networks, the designated router (DR) or backup DR performs the LSA flooding. On point-to-point networks, flooding simply exits an interface directly to a neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 362: Key Features Supported In The Cisco Ios Xr Software Ospf Implementation

    Key Features Supported in the Cisco IOS XR Software OSPF Implementation The Cisco IOS XR Software implementation of OSPF conforms to the OSPF Version 2 and OSPF Version 3 specifications detailed in the Internet RFC 2328 and RFC 2740, respectively.
  • Page 363: Comparison Of Cisco Ios Xr Software Ospfv3 And Ospfv2

    With CLI inheritance support, you need not explicitly configure a parameter for an area or interface. In Cisco IOS XR Software, the parameters of interfaces in the same area can be exclusively configured with a single command, or parameter values can be inherited from a higher hierarchical level—such as from the area configuration level or the router ospf configuration levels.
  • Page 364: Ospf Routing Components

    When OSPF routing is within an area, it is called intra-area routing. This routing limits the amount of link-state information flood into the network, reducing routing Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 365: Backbone Area

    An area border routers (ABR) is a router with multiple interfaces that connect directly to networks in two or more areas. An ABR runs a separate copy of the OSPF algorithm and maintains separate routing data for each Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 366: Autonomous System Boundary Routers (Asbr)

    ASBRs can import external routing information from other protocols like BGP and redistribute them as AS-external (ASE) Type 5 LSAs to the OSPF network. If the Cisco IOS XR router is an ASBR, you can configure it to advertise VIP addresses for content as autonomous system external routes. In this way, ASBRs flood information about external networks to routers within the OSPF network.
  • Page 367: Supported Ospf Network Types

    • Broadcast networks (Gigabit Ethernet) • Point-to-multipoint You can configure your Cisco IOS XR network as either a broadcast or an NBMA network. Using this feature, you can configure broadcast networks as NBMA networks when, for example, you have routers in your network that do not support multicast addressing.
  • Page 368: Authentication Strategies

    On broadcast and NBMA networks all neighboring routers have an adjacency. Designated Router (DR) for OSPF On point-to-point and point-to-multipoint networks, the Cisco IOS XR software floods routing updates to immediate neighbors. No DR or backup DR (BDR) exists; all routing information is flooded to each router.
  • Page 369: Default Route For Ospf

    ◦ LSAs are flooded throughout all transit areas. ◦ LSAs are not flooded into stub areas from the backbone. ◦ LSAs are not originated by routers into their connected stub areas. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 370: Link-State Advertisement Types For Ospfv3

    LSAs and network LSAs. The Options field in certain LSAs (router LSAs, network LSAs, interarea-router LSAs, and link LSAs) has been expanded to 24 bits to provide support for OSPF in IPv6. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 371: Virtual Link And Transit Area For Ospf

    OSPF. However, the particular subnet will continue to be advertised to OSPF neighbors. Use the passive command in appropriate mode to suppress the sending of OSPF protocol operation on an interface. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 372: Ospfv2 Sham Link Support For Mpls Vpn

    If the backdoor links between the sites are used only for backup purposes, default route selection over the backbone link is not acceptable as it creates undesirable traffic flow. To establish the desired path selection Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 373: Ospfv3 Sham Link Support For Mpls Vpn

    If the route to the remote endpoint exists, sham link interface is brought up. If the route to the remote endpoint of the sham-link is removed from the VRF RIB, OSPFv3 receives redistribution callback and brings the sham link down. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 374: Graceful Restart Procedure Over The Sham-Link

    ◦ Unmatched prefixes, including /32s, are placed in a low-priority queue. • If both high-priority and medium-priority route policies are specified, and no maps are specified for critical priority: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 375: Route Redistribution For Ospf

    The chosen interval is within the boundary of the user-specified value ranges. If network topology is unstable, SPF throttling calculates SPF scheduling intervals to be longer until topology becomes stable. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 376: Nonstop Forwarding For Ospf Version 2

    Nonstop Forwarding for OSPF Version 2 Cisco IOS XR Software NSF for OSPF Version 2 allows for the forwarding of data packets to continue along known routes while the routing protocol information is being restored following a failover. With NSF, peer networking devices do not experience routing flaps.
  • Page 377: Graceful Shutdown For Ospfv3

    RIB that it has converged, either for the purpose of terminating the graceful restart (for any reason) or because it has completed the graceful restart. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 378: Helper Mode

    (LSAs), immediately bringing down local OSPFv3-supported interfaces, and clearing the Link State Database (LSDB). The non-local LSDB entries are removed by OSPFv3, These are not flooded (MaxAged). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 379: Protocol Restoration

    • A graceful restart does not occur upon the first-time startup of a router. • OSPFv3 neighbor information and database information are not check-pointed. • An OSPFv3 process rebuilds adjacencies after it restarts. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 380: Warm Standby And Nonstop Routing For Ospf Version 2

    It is recommended to set the hello timer interval to the default of 10 seconds. OSPF sessions may flap Note during switchover if hello-interval timer configured is less then default value. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 381: Warm Standby For Ospf Version 3

    The only restriction on the number of paths to the same destination is controlled by the maximum-paths (OSPF) command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 382: Multi-Area Adjacency For Ospf Version 2

    Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) auto-configuration simplifies the procedure to enable LDP on a set of interfaces used by an IGP instance, such as OSPF. LDP IGP auto-configuration can Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 383: Ospf Authentication Message Digest Management

    This allows LDP to receive all OSPF interfaces minus the ones explicitly disabled. See Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide for information on configuring LDP IGP auto-configuration. OSPF Authentication Message Digest Management All OSPF routing protocol exchanges are authenticated and the method used can vary depending on how authentication is configured.
  • Page 384: Ospf Ip Fast Reroute Loop Free Alternate

    Management Information Base (MIB) for OSPFv3 Cisco IOS XR supports full MIBs and traps for OSPFv3, as defined in RFC 5643. The RFC 5643 defines objects of the Management Information Base (MIB) for use with the Open Shortest Path First (OSPF) Routing Protocol for IPv6 ( OSPF version 3).
  • Page 385: Vrf-Lite Support For Ospfv2

    UCMP computation happens only after the primary SPF and route calculation is completed. There would be a configurable delay (default delay is 100 ms) from the time primary route calculation is completed and UCMP Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 386: How To Implement Ospf

    6. Repeat Step 5 for each interface that uses OSPF. 7. log adjacency changes [ detail ] [ enable | disable ] 8. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 387 Level 5 in the logging console command. The logging console command controls which severity level of messages are sent to the console. By default, all severity level messages are sent. Step 8 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 388: Configuring Stub And Not-So-Stubby Area Types

    The process-name argument is any alphanumeric Note Example: string no longer than 40 characters. RP/0/RSP0/CPU0:router(config)# router ospf 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 389 • For example, the no nssa default-information-originate form of the command RP/0/RSP0/CPU0:router(config-ospf-ar)# nssa changes the NSSA area into a normal area that inadvertently brings down the existing adjacencies in that area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 390: Configuring Neighbors For Nonbroadcast Networks

    Before You Begin Configuring NBMA networks as either broadcast or nonbroadcast assumes that there are virtual circuits from every router to every router or fully meshed network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 391 • router ospf process-name • router ospfv3 process-name Enables OSPFv3 routing for the specified routing process and places the router in router ospfv3 configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 392 • In this example, the interface inherits the nonbroadcast network type and the hello and dead intervals from the areas because RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/2/0/0 the values are not set at the interface level. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 393 • In this example, the interface inherits the nonbroadcast network type and the hello and dead intervals from the areas because RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/3/0/1 the values are not set at the interface level. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 394: Configuring Authentication At Different Hierarchical Levels For Ospf Version

    This task explains how to configure MD5 (secure) authentication on the OSPF router process, configure one area with plain text authentication, and then apply one interface with clear text (null) authentication. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 395 Enables OSPF routing for the specified routing process and places the router in router configuration mode. Example: The process-name argument is any Note alphanumeric string no longer than 40 RP/0/RSP0/CPU0:router(config)# router ospf 1 characters. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 396 RP/0/RSP0/CPU0:router(config-ospf)# area 1 area 1000 or area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address notation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 397: Controlling The Frequency That The Same Lsa Is Originated Or Accepted For Ospf

    This task explains how to tune the convergence time of OSPF routes in the routing table when many LSAs need to be flooded in a very short time interval. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 398 Sets how often self-originated LSAs should be refreshed, in seconds. Example: • The default is 1800 seconds for both OSPF and OSPFv3. RP/0/RSP0/CPU0:router(config-ospf)# timers lsa refresh 1800 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 399: Creating A Virtual Link With Md5 Authentication To Area 0 For Ospf

    • Before configuring your virtual link for OSPF Version 2, you must decide whether to configure plain text authentication, MD5 authentication, or no authentication (which is the default). Your decision determines whether you need to perform additional tasks related to authentication. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 400 If you decide to configure plain text authentication or no authentication, see the authentication command Note provided in OSPF Commands on Cisco ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. SUMMARY STEPS 1.
  • Page 401 • The key-id argument is a number in the Example: range from 1 to 255. The key argument is RP/0/RSP0/CPU0:router(config-ospf-ar-vl)#message-digest-key an alphanumeric string of up to 16 4 md5 yourkey Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 402: Examples

    Index 0/2/3, retransmission queue length 0, number of retransmission 1 First 0(0)/0(0)/0(0) Next 0(0)/0(0)/0(0) Last retransmission scan length is 1, maximum is 1 Last retransmission scan time is 0 msec, maximum is 0 msec Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 403: Summarizing Subnetwork Lsas On An Ospf Abr

    • router ospf process-name • router ospfv3 process-name Enables OSPFv3 routing for the specified routing process and places the router in router ospfv3 configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 404 4004:f000::/32 advertise Step 6 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the area. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/2/0/3 Step 7 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 405: Redistribute Routes Into Ospf

    This task redistributes routes from an IGP (could be a different OSPF process) into OSPF. Before You Begin For information about configuring routing policy, see Implementing Routing Policy on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide. SUMMARY STEPS 1.
  • Page 406 10.1.0.0 255.255.0.0 • This command is optional. If you do not specify it, each route is included in the link-state database and advertised in LSAs. RP/0/RSP0/CPU0:router(config-router)# summary-prefix 2010:11:22::/32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 407: Configuring Ospf Shortest Path First Throttling

    8. Do one of the following: • show ospf [ process-name ] • show ospfv3 [ process-name ] DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 408 Do one of the following: (Optional) Displays SPF throttling timers. • show ospf [ process-name ] • show ospfv3 [ process-name ] Example: RP/0/RSP0/CPU0:router# show ospf 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 409: Examples

    OSPF NSF requires that all neighbor networking devices be NSF aware, which happens automatically after you install the Cisco IOS XR software image on the router. If an NSF-capable router discovers that it has non-NSF-aware neighbors on a particular network segment, it disables NSF capabilities for that segment.
  • Page 410 NSF restart mechanism on the • nsf cisco enforce global interfaces of detected non-NSF neighbors and allow NSF neighbors to function properly. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 411: Configuring Ospf Version 2 For Mpls Traffic Engineering

    For a description of the MPLS TE tasks and commands that allow you to configure the router to support tunnels, configure an MPLS tunnel that OSPF can use, and troubleshoot MPLS TE, see Implementing MPLS Traffic Engineering on Cisco ASR 9000 Series Router module of the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide...
  • Page 412 • We recommend that loopback interfaces be used for MPLS TE router ID because they are more stable than physical interfaces. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 413: Examples

    0/3/0/0 exists and MPLS TE is not configured: show route ospf 1 11.0.0.0/24 [110/15] via 0.0.0.0, 3d19h, tunnel-te1 192.168.0.12/32 [110/11] via 11.1.0.2, 3d19h, GigabitEthernet0/3/0/0 192.168.0.13/32 [110/6] via 0.0.0.0, 3d19h, tunnel-te1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 414 Priority 2 : 3125000 Priority 3 : 3125000 Priority 4 : 3125000 Priority 5 : 3125000 Priority 6 : 3125000 Priority 7 : 3125000 Affinity Bit :0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 415: Configuring Ospfv3 Graceful Restart

    Specifies a maximum duration for a graceful restart. graceful-restart lifetime • The default lifetime is 95 seconds. Example: • The range is 90 to 3600 seconds. RP/0/RSP0/CPU0:router(config-ospfv3)# graceful-restart lifetime 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 416: Displaying Information About Graceful Restart

    Graceful Restart enabled, last GR 11:12:26 ago (took 6 secs) Area BACKBONE(0) Number of interfaces in this area is 1 SPF algorithm executed 1 times Number of LSA 6. Checksum Sum 0x0268a7 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 417: Configuring An Ospfv2 Sham Link

    • Configure a loopback interface that belongs to VRF and assign a IPv4 address with the host mask to it. • Configure the sham link under the area submode. Enabling OSPF, on page 358 for information on these OSPF configuration prerequisites. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 418 Step 5 Saves configuration changes. When you issue the end command, the system prompts Example: you to commit changes: RP/0/RSP0/CPU0:router(config-if)# end Uncommitted changes found, commit them before exiting(yes/no/cancel)?[cancel]: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 419 IPv4 address notation, such as RP/0/RSP0/CPU0:router(config-ospf-vrf)# area 0 area 1000 or area 0.0.3.232. However, you must choose one form or the other for an area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 420: Enabling Nonstop Routing For Ospfv2

    Enable OSPF routing for the specified routing process. In this example, the OSPF instance is called isp. Step 3 Example: RP/0/RSP0/CPU0:router(config-ospf)# nsr Enable NSR for the OSPFv2 process. Step 4 commit Commit your configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 421: Enabling Nonstop Routing For Ospfv3

    4. Use one of these commands: • router ospf ospf-name • router ospfv3 ospfv3-name 5. spf prefix-priority route-policy route-policy name 6. commit 7. show rpl route-policy route-policy name detail Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 422 Step 7 show rpl route-policy route-policy name detail Displays the set SPF prefix priority. Example: RP/0/RSP0/CPU0:router#show rpl route-policy ospf-spf-priority detail prefix-set ospf-critical-prefixes 66.0.0.0/16 end-set route-policy ospf-spf-priority Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 423: Enabling Multicast-Intact For Ospfv2

    RP/0/RSP0/CPU0:router(config-ospf)# mpls traffic-eng multicast-intact Step 4 commit Associating Interfaces to a VRF This task explains how to associate an interface with a VPN Routing and Forwarding (VRF) instance. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 424 Step 5 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the VRF. Example: RP/0/RSP0/CPU0:router(config-ospf-vrf-ar)# interface GigabitEthernet 0/0/0/0 Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 425: Configuring Ospf As A Provider Edge To Customer Edge (Pe-Ce) Protocol

    [ metric metric-value ] [ metric-type type-value ] [ match { external [ 1 | 2 ] }] [ tag tag-value ] route-policy policy-name] • This command causes the router to become an ASBR by definition. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 426 RP/0/RSP0/CPU0:router(config-ospf-vrf)# domain-id type 0105 value 1AF234 Step 10 domain-tag tag Specifies the OSPF VRF domain tag. • The valid range for tag is 0 to Example: 4294967295. RP/0/RSP0/CPU0:router(config-0spf-vrf)# domain-tag 234 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 427: Creating Multiple Ospf Instances (Ospf Process And A Vrf)

    IPv4 address notation, such as area RP/0/RSP0/CPU0:router(config-ospf)# area 0 1000 or area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address notation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 428: Configuring Multi-Area Adjacency

    OPSF point-to-point type using the network point-to-point command to enable the interface for a multi-area adjacency. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 429 IPv4 address notation, such as area 1000 or RP/0/RSP0/CPU0:router(config-ospf)# area 1 area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address notation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 430: Configuring Label Distribution Protocol Igp Auto-Configuration For Ospf

    Enables LDP IGP interface auto-configuration for an OSPF mpls ldp auto-config instance. Example: • Optionally, this command can be configured for an area of an OSPF instance. RP/0/RSP0/CPU0:router(config-ospf)# mpls ldp auto-config Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 431: Configuring Ldp Igp Synchronization: Ospf

    • mpls ldp sync • area area-id mpls ldp sync • area area-id interface name mpls ldp sync Example: RP/0/RSP0/CPU0:router(config-ospf)# mpls ldp sync Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 432: Configuring Authentication Message Digest Management For Ospf

    A valid keychain must be configured before this task can be attempted. To learn how to configure a keychain and its associated attributes, see the Implementing Key Chain Management on Cisco ASR 9000 Series Router module of the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide.
  • Page 433: Examples

    Backup Designated router (ID) 1.1.1.1, Interface address 100.10.10.1 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:02 Index 3/3, flood queue length 0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 434: Configuring Generalized Ttl Security Mechanism (Gtsm) For Ospf

    2. router ospf process-name 3. router-id { router-id } 4. log adjacency changes [ detail | disable ] 5. nsf { cisco [ enforce global ] | ietf [ helper disable ]} 6. timers throttle spf spf-start spf-hold spf-max-wait 7. area area-id 8.
  • Page 435 We recommend using the IPv4 address notation. Step 8 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the area. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEternet0/5/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 436: Examples

    Suppress hello for 0 neighbor(s) Multi-area interface Count is 0 Verifying OSPF Configuration and Operation This task explains how to verify the configuration and operation of OSPF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 437 { ospf | ospfv3 } [ process-name ] [ area-id ] flood-list (Optional) Displays a list of OSPF LSAs waiting interface type interface-path-id to be flooded over an interface. Example: RP/0/RSP0/CPU0:router# show ospf 100 flood-list interface GigabitEthernet 0/3/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 438 { ospf | ospfv3 }[ process-name ] statistics [ neighbor [ (Optional) Clears the OSPF statistics of neighbor state transitions. type interface-path-id ] [ ip-address ]] Example: RP/0/RSP0/CPU0:router# clear ospf 100 statistics Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 439: Configuring Ip Fast Reroute Loop-Free Alternate

    GigabitEternet0/5/0/0 Step 5 fast-reroute per-link { enable | disable } Enables or disables per-link LFA computation for the interface. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)#fast-reroute per-link enable Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 440: Excluding An Interface From Ip Fast Reroute Per-Link Computation

    Excludes an interface from IP fast reroute per-link interface-path-id computation. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)# fast-reroute per-link exclude interface GigabitEternet0/5/0/1 Step 6 commit Enabling OSPF Interaction with SRMS Server To enable OSPF interaction with SRMS server: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 441 SR labels for all prefixes. sr-prefer prefix-list foo The following example shows how OSPF advertises local mapping entries using area-flooding scope. ipv4 prefix-list foo permit 2.2.2.2/32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 442: Configuration Examples For Implementing Ospf

    Cisco IOS XR Software for OSPF Version 2 Configuration: Example The following example shows how an OSPF interface is configured for an area in Cisco IOS XR Software. area 0 must be explicitly configured with the area command and all interfaces that are in the range from 10.1.2.0 to 10.1.2.255 are bound to area 0.
  • Page 443: Cli Inheritance And Precedence For Ospf Version 2: Example

    The following example shows the hierarchical CLI structure of Cisco IOS XR software: In Cisco IOS XR software, OSPF areas must be explicitly configured, and interfaces configured under the area configuration mode are explicitly bound to that area. In this example, interface 10.1.2.0/24 is bound to area 0 and interface 10.1.3.0/24 is bound to area 1.
  • Page 444: Mpls Te For Ospf Version 2: Example

    The following example shows how to configure the OSPF portion of MPLS TE. However, you still need to build an MPLS TE topology and create an MPLS TE tunnel. See the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guidefor information.
  • Page 445: Abr Stub Area For Ospfv3: Example

    Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 446: Route Redistribution For Ospfv3: Example

    This example shows how to set up a virtual link to connect the backbone through area 1 for the OSPFv3 topology that consists of areas 0 and 1 and virtual links 10.0.0.217 and 10.0.0.212: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 447: Virtual Link Configured With Md5 Authentication For Ospf Version 2: Example

    ABR2 router-id 10.10.5.5 area 0 area 1 authentication message-digest message-digest-key 100 md5 0 cisco interface GigabitEthernet 0/9/0/1 virtual-link 10.10.10.10 area 3 interface Loopback 0 interface GigabitEthernet 0/9/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 448: Vpn Backbone And Sham Link Configured For Ospf Version 2: Example

    2.22.2.22 area 0 interface Loopback0 interface GigabitEthernet0/2/0/3 router bgp 10 bgp router-id 2.2.2.1 bgp graceful-restart restart-time 300 bgp graceful-restart address-family ipv4 unicast redistribute connected address-family vpnv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 449: Where To Go Next

    GigabitEthernet0/2/0/3 Where to Go Next To configure route maps through the RPL for OSPF Version 2, see Implementing Routing Policy on Cisco ASR 9000 Series Router module. To build an MPLS TE topology, create tunnels, and configure forwarding over the tunnel for OSPF Version 2;...
  • Page 450 OSPF Stub Router Advertisement RFC 3509 Alternative Implementations of OSPF Area Border Routers RFC 3623 Graceful OSPF Restart RFC 3630 Traffic Engineering (TE) Extensions to OSPF Version Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 451 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 452 Implementing OSPF Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 453 This module describes how to implement and monitor RIB on Cisco IOS XR network. For more information about RIB on the Cisco IOS XR software and complete descriptions of RIB commands Note listed in this module, see the Additional References section of this module.
  • Page 454: Implementing And Monitoring Rib

    AAA administrator for assistance. • RIB is distributed with the base Cisco IOS XR software; as such, it does not have any special requirements for installation. The following are the requirements for base software installation: ◦...
  • Page 455: Rib Administrative Distance

    In Cisco IOS XR software, RIB tables support multicast and unicast routing. The default routing tables for Cisco IOS XR software RIB are the unicast RIB tables for IPv4 routing and the multicast-unicast RIB tables for IPv6 routing. For multicast routing, routing protocols insert unicast routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
  • Page 456: Rib Statistics

    RIB, which is populated by protocol clients with data to be sent to the Forwarding Information Base (FIB). For detailed information about configuring 6PE and 6VPE over MPLS, see Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.
  • Page 457: Route And Label Consistency Checker

    The scan is run immediately and the results are published right away. LCC performs on-demand scan on the LSD, where as RCC performs it per VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 458: How To Deploy And Monitor Rib

    IPv4 unicast routing table, which can result in an extensive list, depending on RP/0/RSP0/CPU0:router# show route ipv4 unicast the configuration of the network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 459: Verifying Networking And Routing Problems

    Displays the best-local address to use for | safi-all ] best-local ip-address [ standby ] return packets from the given destination. Example: RP/0/RSP0/CPU0:router# show route ipv4 unicast best-local 192.168.1.11/8 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 460: Disabling Rib Next-Hop Dampening

    Disabling RIB Next-hop Dampening Perform this task to disable RIB next-hop dampening. SUMMARY STEPS 1. router rib 2. address-family { ipv4 | ipv6 } next-hop dampening disable 3. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 461: Configuring Rcc And Lcc

    2. Use one of these commands. • clear rcc {ipv4 | ipv6} unicast [all] [prefix/mask] [vrf vrf-name] log • clear lcc {ipv4 | ipv6} unicast [all] [prefix/mask] [vrf vrf-name] log Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 462: Enabling Rcc And Lcc Background Scan

    RP/0/RSP0/CPU0:router#show lcc ipv6 unicast log Enabling RCC and LCC Background Scan Perform this task to run a background scan for Route Consistency Checker (RCC) and Label Consistency Checker (LCC). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 463 • show lcc {ipv4| ipv6} unicast [summary | scan-id • scan-id scan-id-value—Displays details about a scan-id-value] specific scan. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 464: Bgp-Rib Feedback Mechanism For Update Generation

    Configuration Examples for RIB Monitoring RIB is not configured separately for the Cisco IOS XR system. RIB computes connectivity of the router with other nodes in the network based on input from the routing protocols. RIB may be used to monitor and troubleshoot the connections between RIB and its clients, but it is essentially used to monitor routing connectivity between the nodes in a network.
  • Page 465: Output Of Show Route Backup Command: Example

    The following is sample output from the show route connected command: show route connected 10.2.210.0/24 is directly connected, 1d21h, Ethernet0 172.20.16.0/24 is directly connected, 1d21h, ATM4/0.1 10.6.100.0/24 is directly connected, 1d21h, Loopback1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 466: Output Of Show Route Local Command: Example

    Known via "static", distance 200, metric 0, candidate default path Installed Aug 18 00:59:04.448 Directly connected nexthops 172.29.52.1, via MgmtEth0/RSP0 /CPU0/0 Route metric is 0 172.29.52.1, via MgmtEth0/RP1/CPU0/0 Route metric is 0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 467: Enabling Rcc And Lcc: Example

    For additional information on the protocols that interact with RIB, you may want to see the following publications: • Implementing MPLS Layer 3 VPNs in Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide • Implementing BGP in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide •...
  • Page 468: Additional References

    MIBs Link — To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 469 Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 470 Implementing and Monitoring RIB Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 471: Implementing Rip

    • Multiprotocol Label Switching (MPLS) Layer 3 Virtual Private Network (VPN) • Site of Origin (SoO) Support Note For more information about RIP on the Cisco IOS XR software and complete descriptions of the RIP commands listed in this module, see the Related Documents, on page 462 section of this module.
  • Page 472: Prerequisites For Implementing Rip

    Only RIP Version 2 (RIP v2), as specified in RFC 2453, is supported on Cisco IOS XR software and, by default, the software only sends and receives RIP v2 packets. However, you can configure the software to send, or receive, or both, only Version 1 packets or only Version 2 packets or both version type packets per interface.
  • Page 473: Split Horizon For Rip

    The total result is to minimize disruptions to end users of the network in situations in which quick recovery is essential. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 474: Route Redistribution For Rip

    • To communicate among a mixed-router vendor environment. Basically, you might use a protocol specific to Cisco in one portion of your network and use RIP to communicate with devices other than Cisco devices. Further, route redistribution gives a company the ability to run different routing protocols in work groups or areas in which each is particularly effective.
  • Page 475: Routing Policy Options For Rip

    Authentication using keychain in Cisco IOS XR Routing Information Protocol (RIP) provides mechanism to authenticate all RIP protocol traffic on RIP interface, based keychain authentication. This mechanism uses the Cisco IOS XR security keychain infrastructure to store and retrieve secret keys and use it to authenticate in-bound and out-going traffic on per-interface basis.
  • Page 476: In-Bound Rip Traffic On An Interface

    (for authentication) with its peers. The keychain provides a secure mechanism to handle the keys and rollover based on the lifetime. The Cisco IOS XR keychain infrastructure takes care of the hit-less rollover of the secret keys in the keychain.
  • Page 477: Out-Bound Rip Traffic On An Interface

    This task enables RIP routing and establishes a RIP routing process. Before You Begin Although you can configure RIP before you configure an IP address, no RIP routing occurs until at least one IP address is configured. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 478 • Both RIP v1 and RIP v2 Step 7 send version { 1 | 2 | 1 2 } (Optional) Configures an interface to send packets that are: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 479: Customizing Rip

    Configures a RIP routing process. Example: RP/0/RSP0/CPU0:router(config)# router Step 3 (Optional) Enables automatic route summarization of subnet routes auto-summary into network-level routes. Example: • By default, auto-summary is disabled. RP/0/RSP0/CPU0:router(config-rip)# auto-summary Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 480 If split horizon is disabled on a serial interface (and that interface is attached to a packet-switched network), you must disable split horizon for all networking devices in any relevant multicast groups on that network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 481: Control Routing Information

    2. router rip 3. neighbor ip-address 4. interface type interface-path-id 5. passive-interface 6. exit 7. interface type interface-path-id 8. route-policy { in | out } 9. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 482 { in | out } (Optional) Applies a routing policy to updates advertised to or received from a RIP neighbor. Example: RP/0/RSP0/CPU0:router(config-rip-if)# route-policy out Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 483: Creating A Route Policy For Rip

    (Optional) Sets the RIP metric attribute. Example: RP/0/RSP0/CPU0:router(config-rpl)# set rip metric Step 4 Ends the definition of a route policy and exits end-policy route-policy configuration mode. Example: RP/0/RSP0/CPU0:router(config-rpl)# end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 484: Configuring Rip Authentication Keychain

    Perform this task to configure a RIP authentication keychain for IPv4 interface on a non-default VRF. Before You Begin All keychains need to be configured in Cisco IOS XR keychain database using configuration commands described in Implementing Keychain Management module of Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide before they can be applied to a RIP interface/VRF.
  • Page 485 • authentication keychain keychain-name mode text authentication mode • text—Clear text authentication mode Example: RP/0/RSP0/CPU0:router(config-rip-if)#authentication keychain key1 mode md5 RP/0/RSP0/CPU0:router(config-rip-if)#authentication keychain key1 mode text Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 486: Configuring Rip Authentication Keychain For Ipv4 Interface On Default Vrf

    Perform this task to configure a RIP authentication keychain for IPv4 interface (on the default VRF). Before You Begin All keychains need to be configured in Cisco IOS XR keychain database using configuration commands described in Implementing Keychain Management module of Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide before they can be applied to a RIP interface/VRF.
  • Page 487: Configuration Examples For Implementing Rip

    The following example shows how to configure basic RIP on the PE with two VPN routing and forwarding (VRF) instances. router rip interface GigabitEthernet0/6/0/0 vrf vpn0 interface GigabitEthernet0/6/0/2 vrf vpn1 interface GigabitEthernet0/6/0/3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 488: Adjusting Rip Timers For Each Vrf Instance: Example

    5 end-policy router rip vrf vpn0 interface GigabitEthernet0/6/0/2 redistribute connected default-metric 3 vrf vpn1 interface GigabitEthernet0/6/0/3 redistribute bgp 100 route-policy ripred redistribute static default-metric 3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 489: Configuring Route Policies For Rip: Example

    In other words, no updates are sent out of an interface except to neighbors configured explicitly. router rip interface GigabitEthernet0/6/0/0 passive-interface interface GigabitEthernet0/6/0/2 neighbor 172.17.0.1 neighbor 172.18.0.5 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 490: Controlling Rip Routes: Example

    MPLS VPN support for RIP feature information Implementing MPLS Traffic Engineering on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 491 Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu: http://cisco.com/public/sw-center/netmgmt/cmtk/ mibs.shtml RFCs RFCs Title RFC 2453 RIP Version 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 492 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 493: Chapter 9 Implementing Routing Policy

    Note For more information about routing policy on the Cisco IOS XR software and complete descriptions of the routing policy commands listed in this module, see the Related Documents, on page 551 section of this module.
  • Page 494: Prerequisites For Implementing Routing Policy

    Open Shortest Path First (OSPF) must be configured in your network. Restrictions for Implementing Routing Policy These restrictions apply when working with Routing Policy Language implementation on Cisco IOS XR software: • An individual policy definition of up to 1000 statements are supported. The total number of statements within a policy can be extended to 4000 statements using hierarchical policy constructs.
  • Page 495: Information About Implementing Routing Policy

    Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 496: Routing Policy Language Structure

    ...element-entry), where element-entry is an entry of an item appropriate to the type of usage such as a prefix or a community value. The following is an example using an inline community set: route-policy sample-inline if community matches-any ([10..15]:100) then set local-preference 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 497: As-Path-Set

    AS path ends with either the autonomous system (AS) number 42 or 127. To remove the named AS path set, use the no as-path-set aset1 command-line interface (CLI) command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 498: Community-Set

    Thus, the following policy matches all communities in which the autonomous system part of the community is 123: community-set cset3 123:* end-set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 499: Extcommunity-Set

    Exit from this submode igp: Cost Community with IGP as point of insertion pre-bestpath: Cost Community with Pre-Bestpath as point of insertion show Show partial RPL configuration Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 500 Discard RPL definition and return to top level config dfa-regex DFA style regular expression end-set End of set definition exit Exit from this submode ios-regex Traditional IOS style regular expression show Show partial RPL configuration Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 501 Discard RPL definition and return to top level config dfa-regex DFA style regular expression end-set End of set definition exit Exit from this submode ios-regex Traditional IOS style regular expression show Show partial RPL configuration Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 502: Prefix-Set

    The address is required, but the other three parts are optional. The address is a standard dotted-decimal IPv4 or colon-separated hexadecimal IPv6 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 503 32, the maximum length of an IPv4 prefix. For IPv6, the minimum length must be less than 128, the maximum length of an IPv6 prefix. The maximum length must be equal to or greater than the minimum length. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 504: Acl Support In Rpl Prefix Sets

    Third, it tracks which attach points are using which policies so that when policies are modified the appropriate clients are properly updated with the new policies relevant to them. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 505: Routing Policy Language Usage

    '_22_', ios-regex '_33_' end-set route-policy ignore_path_as if as-path in ignore_path then drop else pass endif end-policy router bgp 2 neighbor 10.0.1.2 address-family ipv4 unicast policy ignore_path_as in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 506 192.168.0.0/16 ge 16 end-set route-policy quickstart-remarks # Handle routes to RFC1918 networks if destination in rfc1918 then # Set the community such that we do not export the route Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 507: Rpl Variables

    ‘1234.5’ then apply drop-everything else pass endif end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 508: Parameterization

    Note that the policy hierarchy is always maintained, Thus, if the definition of param-example changes, then the behavior of origin_10 and origin_20 changes to match. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 509: Parameterization At Attach Points

    In the following example, the globalparam argument, which makes use of the global parameters gbpathtype and glbtag, is defined for a nonparameterized policy. route-policy globalparam if path-type is $glbpathtype then set tag $glbtag endif end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 510: Semantics Of Policy Application

    This example is trivial, but the feature is not. It is possible to write a policy that effectively changes the value for an attribute. For example: set med 8 if community matches-any cs1 then set local-preference 122 if community matches-any cs2 then set med 12 endif endif Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 511: When Attributes Are Modified

    Applied (nested) policies implement this disposition as though the applied policy were pasted into the point where it is applied. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 512: Control Flow

    200 set community (2:666) additive pass end-policy The pass statement is not required and can be removed to represent the equivalent policy in another way. Note Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 513: Policy Verification

    Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 514: Verification Of Attribute Comparisons And Actions

    If a policy modifies a route, by default the policy accepts the route. RPL provides a statement to force the opposite—the drop statement. If a policy matches a route and executes a drop, the policy does not accept the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 515 The first pass statement is executed, but is then immediately overridden by the drop statement. The second pass statement never gets executed. route-policy DROP-EXAMPLE Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 516: Action

    In its simplest form, an if statement uses a conditional expression to decide which actions or dispositions should be taken for the given route. For example: if as-path in as-path-set-1 then Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 517: Boolean Conditions

    Parentheses may be used to group compound conditions to override precedence or to improve readability. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 518 Interior Gateway Protocol (IGP), then the inner compound condition is true. Otherwise, the evaluation moves on to test the value of the origin attribute Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 519: Apply

    The following sections describe the protocol attach points, including information on the attributes (commands) and operations that are valid for each attach point. See Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for more information on the attributes and operations.
  • Page 520: Bgp Policy Attach Points

    The following policy generates and sends a default-route to the BGP neighbor 10.0.0.1 if any routes that match 10.0.0.0/8 ge 8 le 32 are present in the RIB. route-policy sample-originate if rib-has-route in (10.0.0.0/8 ge 8 le 32) then pass Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 521: Neighbor Export

    3:100 have their local preference set to 100 and their community tag set to 2:666. All other routes received from this peer have their local preference set to 200 and their community tag set to 2:200. route-policy sample_import Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 522: Network

    10 then set ospf cost 100 elseif tag eq 20 then set ospf cost 200 else drop endif end-policy router ospf 1 redistribute isis instance_10 policy OSPF-redist Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 523: Show Bgp

    10.0.0.0/8 is advertised to 10.0.101.2 Path info: neighbor:10.0.1.2 neighbor router id:10.0.1.2 valid external best Attributes after inbound policy was applied: next hop:10.0.1.2 MET ORG AS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 524: Import

    BGP policy accounting uses traffic indices that are set on BGP routes to track various counters. See the Implementing Routing Policy on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide for details on table policy use. See the Cisco...
  • Page 525: Export

    The following example shows how to configure a route policy that passes the prefix 0.0.0.0 with prefix length 0. Label allocation happens only if prefix 0.0.0.0 exists. route-policy label_policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 526: Retain Route-Target

    The attribute setting actions supported are for pass and drop. This example shows label mode selection at VPNv4 AF (address family) level and at VRF IPv4 AF level: route-policy set_label_mode set label-mode per-prefix end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 527: Neighbor-Orf

    BGP for specific prefixes. The route policy is applied on RIB routes. Typically, route policies are used in conjunction with next-hop tracking to monitor non-BGP routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 528: Clear-Policy

    8; therefore, the debug output shows up only for that prefix. route-policy policy_b if destination in (10.0.0.0/8) then pass else drop endif end-policy debug bgp update policy_b Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 529: Bgp Attributes And Operators

    This table summarizes the BGP attributes and operators per attach points. Table 6: BGP Attributes and Operators Attach Point Attribute Match additional-paths path-selection — community matches-every — is-empty matches-any Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 530 — 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 — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 531 — 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 — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 532 Dampening, on page 492) destination — local-preference is, ge, le, eq — is, eg, ge, le — next-hop — origin — source — debug destination — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 533 `peeras' extcommunity cost set additive extcommunity rt extcommunity soo local-preference set + set-assign igp next-hop set-to-peer-address set-to-self origin rib-has-route Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 534 — matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le next-hop — origin — source — weight — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 535 — matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le next-hop set peer address set destination vrf origin — source — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 536 — community is-empty — matches-any matches-every destination — label — local-preference is, ge, le, eq — is, eg, ge, le — next-hop — origin — source — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 537 — — evpn-route-type — etag evpn-originator — evpn-gateway — extcommunity cost — set additive extcommunity rt is-empty matches-any additive matches-every delete-in matches-within delete-not-in delete-all Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 538 — as-path-unique-length is, ge, le, eq — communitycommunity is-empty with ‘peeras’ matches-any set additive matches-every delete-in delete-not-in delete-all destination — — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 539 + set - set max-unreachable set igp-cost next-hop set self origin path-type — — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 540 — local-preference — — set+ set- next-hop origin — route-type — is, ge, le, eq — weight — next-hop destination — protocol is,in — source — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 541 — — 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 542 — extcommunity rt is-empty — matches-any matches-every matches-within extcommunity soo is-empty — matches-any matches-every matches-within is, eg, ge, le — next-hop — origin — source — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 543: Default-Information Originate

    OSPF link-state database, which is done by evaluating the attached policy. If any routes in the local RIB pass the policy, then the default route is inserted into the link-state database. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 544: Rpl - If Prefix Is-Best-Path/Is-Best-Multipath

    Path. BGP can signal the best path and the entire path equivalent to the best path. This is in accordance to the BGP multi-path rules and all backup paths. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 545: Ospf Policy Attach Points

    10 then set ospf cost 100 elseif tag eq 20 then set ospf cost 200 else drop endif end-policy router ospf 1 redistribute isis instance_10 policy OSPF-redist Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 546: Area-In

    .105.7.0/24, 10 .105.13.0/24) then drop endif if destination in (10 .105.3.0/24, 10 .105.7.0/24, 10 .105.13.0/24) then pass endif end-policy router ospf 1 area 1 route-policy OSPF-area-out out Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 547: Spf Prefix-Priority

    — — rib-has-route — redistribute destination — metric-type — ospf-metric — next-hop — mpls-label route-has-label — rib-metric is, le, ge, eq route-type — is, eq, ge, le Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 548: Distribute-List In

    OSPFv3 Policy Attach Points This section describes each of the OSPFv3 policy attach points and provides a summary of the OSPFv3 attributes and operators. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 549: Default-Information Originate

    1 redistribute bgp 15 policy OSPFv3-redist OSPFv3 Attributes and Operators This table summarizes the OSPFv3 attributes and operators per attach points. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 550: Is-Is Policy Attach Points

    10 then set isis-metric 100 elseif tag eq 20 then set isis-metric 200 else drop endif end-policy router isis instance_10 address-family ipv4 unicast redistribute isis 1 policy ISIS-redist Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 551: Default-Information Originate

    1 into level 2 policy isis-propagate IS-IS Attributes and Operators This table summarizes the IS-IS attributes and operators per attach points. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 552: Eigrp Policy Attach Points

    This section describes each of the EIGRP policy attach points and provides a summary of the EIGRP attributes and operators. Default-Accept-In The default-accept-in attach point allows you to set and reset the conditional default flag for EIGRP routes by evaluating the attached policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 553: Default-Accept-Out

    The policy-out attach point allows you to filter and modify outbound EIGRP routes. This policy is applied to all interfaces for which there is no interface outbound route policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 554: If-Policy-In

    (100.1.1.0/24) then set eigrp-metric 5000000 4000 150 30 2000 else set tag 200 endif end-policy router eigrp 100 address-family ipv4 redistribute rip route-policy redistribute-rip Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 555: Eigrp Attributes And Operators

    — eigrp-metric — add, set is, eq, ge, le policy-out destination — next-hop — protocol is, in — eigrp-metric — add, set is, eq, ge, le Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 556: Rip Policy Attach Points

    RIP database. The following example shows how to inject OSPF routes into RIP: route-policy redist-ospf set rip-metric 5 end-policy router rip redistribute ospf 1 route-policy redist-ospf Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 557: Global-Inbound

    The following example shows how to filter outbound RIP routes that match the route policy for interface 0/2/0/1: router rip interface GigabitEthernet0/2/0/1 route-policy rip-out out RIP Attributes and Operators This table summarizes the RIP attributes and operators per attach points. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 558 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 559: Pim Policy Attach Points

    The following text editors are available on Cisco IOS XR software for editing RPL policies: • Nano (default) • Emacs • Vim Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 560: Editing Routing Policy Configuration Elements Using The Nano Editor

    == MicroEMACS 3.8b () == rpl_edit.139281 == Parsing. 83 bytes parsed in 1 sec (82)bytes/sec Committing. 1 items committed in 1 sec (0)items/sec Updating. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 561: Editing Routing Policy Configuration Elements Using The Vim Editor

    Editing Routing Policy Language set elements Using XML RPL supports editing set elements using XML. Entries can be appended, prepended, or deleted to an existing set without replacing it through XML. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 562: Hierarchical Policy Conditions

    Boolean operators along with various other matching statements. Apply Condition Policies Apply Condition policies, which Cisco IOS XR RPL supports, allow usage of a route-policy within an "if" statement of another route-policy. Consider route-policy configurations Parent, Child A, and Child B: route-policy Child A if destination in (10.10.0.0/16) then...
  • Page 563: Behavior Of Pass/Drop/Done Rpl Statements For Simple Hierarchical Policies

    Else FALSE-PATH : if hierarchical_policy_condition returns FALSE then this path will be executed. End-if CONTINUE-PATH : Irrespective of the TRUE/FALSE this path will be executed. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 564: Nested Wildcard Apply Policy

    (1:1) additive endif end-policy route-policy service_policy_customer_b if destination in prfx_set_customer_b then set extcommunity rt (1:1) additive endif Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 565: Wildcards For Route Policy Sets

    This completes the configuration of routing policy with wildcards for prefix sets. For detailed information on prefix sets, see prefix-set, on page 474. Use Wildcards for AS-Path Sets Use the following example to configure a routing policy with wildcards for AS-path sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 566 470. Use Wildcards for Extended Community Sets Use the following example to configure a routing policy with wildcards for extended community sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 567 RP/0/RSP0/CPU0:router(config-rpl)# end-policy 3 Commit your configuration. RP/0/RSP0/CPU0:router(config)# commit 4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 rd-set rd_set_demo 10.0.0.1/8:77, 10.0.0.2:888, 65000:777 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 568 4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 ospf-area-set ospf_area_set_demo1 10.0.0.1, 3553 end-set ospf-area-set ospf_area_set_demo2 20.0.0.2, 3673 end-set route-policy use_ospf_area_set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 569: Vrf Import Policy Enhancement

    • BGP may crash either due to large scale RPL configuration changes, or during consecutive RPL changes. To avoid BGP crash, wait until there are no messages in the BGP In/Out queue before committing further changes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 570: Attaching A Routing Policy To A Bgp Neighbor

    4. address-family { ipv4 unicast | ipv4 multicast | ipv4 labeled-unicast | ipv4 tunnel | ipv4 mdt | ipv6 unicast | ipv6 multicast | ipv6 labeled-unicast | vpnv4 unicast | vpnv6 unicast } 5. route-policy policy-name { in | out } 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 571: Modifying A Routing Policy Using A Text Editor

    This task explains how to modify an existing routing policy using a text editor. See Editing Routing Policy Configuration Elements, on page 531 for information on text editors. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 572 • To display the contents of a named AS path set, community set, or extended community set, replace the prefix-set keyword with Example: as-path-set , community-set , or extcommunity-set , respectively. RP/0/RSP0/CPU0:router# show rpl prefix-set prefixset1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 573: Configuration Examples For Implementing Routing Policy

    2:999 to the list in the route. prefix-set too-specific 0.0.0.0/0 ge 25 le 32 end-set prefix-set rfc1918 10.0.0.0/8 le 32, 172.16.0.0/12 le 32, 192.168.0.0/16 le 32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 574: Modular Inbound Policy: Example

    ([100..666]:[100..999]) then set med 444 set local-preference 200 set community (no-export) additive endif end-policy route-policy in-101 apply common-inbound if community matches-any ([101..200]:201) then Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 575: Use Wildcards For Routing Policy Sets

    This completes the configuration of routing policy with wildcards for prefix sets. For detailed information on prefix sets, see prefix-set, on page 474. Use Wildcards for AS-Path Sets Use the following example to configure a routing policy with wildcards for AS-path sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 576 470. Use Wildcards for Extended Community Sets Use the following example to configure a routing policy with wildcards for extended community sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 577 RP/0/RSP0/CPU0:router(config-rpl)# end-policy 3 Commit your configuration. RP/0/RSP0/CPU0:router(config)# commit 4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 rd-set rd_set_demo 10.0.0.1/8:77, 10.0.0.2:888, 65000:777 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 578 4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 ospf-area-set ospf_area_set_demo1 10.0.0.1, 3553 end-set ospf-area-set ospf_area_set_demo2 20.0.0.2, 3673 end-set route-policy use_ospf_area_set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 579: Vrf Import Policy Configuration: Example

    Getting Started Guide Standards Standards Title No new or modified standards are supported by this — feature, and support for existing standards has not been modified by this feature. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 580 Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 581: Chapter 1 0 Implementing Static Routes

    Static routes are user-defined routes that cause packets moving between a source and a destination to take a specified path. Static routes can be important if the Cisco IOS XR software cannot build a route to a particular destination. They are useful for specifying a gateway of last resort to which all unroutable packets are sent.
  • Page 582: Prerequisites For Implementing Static Routes

    Static routes have a default administrative distance of 1. A low number indicates a preferred route. By default, static routes are preferred to routes learned by routing protocols. Therefore, you can configure an administrative Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 583: Directly Connected Routes

    However, a recursive static route that has been inserted in the routing table may become self-recursive as a result of some transient change in the network learned through a dynamic routing protocol. If this occurs, the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 584: Fully Specified Static Routes

    An IPv4 or IPv6 static VRF route is the same as a static route configured for the default VRF. The IPv4 and IPV6 address families are supported in each VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 585: How To Implement Static Routes

    Step 3 vrf vrf-name Example: RP/0/RSP0/CPU0:router(config-static)# vrf vrf_A (Optional) Enters VRF configuration mode. If a VRF is not specified, the static route is configured under the default VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 586: Configure Floating Static Route

    5. prefix mask [vrf vrf-name ] { ip-address | interface-type interface-instance } [ distance ] [ description text ] [ tag tag ] [ permanent ] 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 587: Configure Static Routes Between Pe-Ce Routers

    201. configure router static address-family ipv6 unicast 2001:0DB8::/32 2001:0DB8:3000::1 201 Configure Static Routes Between PE-CE Routers This task explains how to configure static routing between PE-CE routers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 588 [vrf vrf-name ] { ip-address | interface-type interface- path-id } [ distance ] [ description text ] [ tag tag ] [ permanent ] Example: RP/0/RSP0/CPU0:router(config-static-vrf-afi)# 2001:0DB8::/32 2001:0DB8:3000::1 201 Configures an administrative distance of 201. Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 589: Change Maximum Number Of Allowable Static Routes

    DETAILED STEPS Step 1 configure Step 2 router static Example: RP/0/RSP0/CPU0:router(config)# router static Enters static route configuration mode. Step 3 maximum path { ipv4 | ipv6 } value Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 590: Associate Vrf With A Static Route

    5. prefix mask [vrf vrf-name ] {next-hop ip-address | interface-name } {path-id } [ distance ] [ description text ] [ tag tag ] [ permanent ] 6. commit DETAILED STEPS Step 1 configure Step 2 router static Example: RP/0/RSP0 /CPU0:router(config)# router static Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 591: Enabling Object Tracking For Static Routes

    • vrf vrf-name address-family { ipv4 | ipv6} unicast 4. ip-address / length [vrf vrf-name] {next-hop | type interface-path-id} track object-name 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 592: Configuration Examples

    For example, if it is required to discard all traffic to prefix 2001:0DB8:42:1/64, the following static route would be defined: configure router static address-family ipv6 unicast 2001:0DB8:42:1::/64 null 0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 593: Configuring A Fixed Default Route: Example

    Aggregation Services Router Routing Command guidelines, and examples Reference MPLS Layer 3 VPN configuration: configuration Cisco ASR 9000 Series Aggregation Services Router concepts, task, and examples MPLS Configuration Guide Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 594 Registered Cisco.com users can log in from this page to access more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 595: Chapter 1 1 Implementing Rcmd

    SPF runs and time taken to provision routes and LDP labels across all LCs on the router. RCMD is a tool that collects and reports data related to routing convergence. Highlights of the RCMD mechanism are: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 596: Configuring Route Convergence Monitoring And Diagnostics

    7. node node-name 8. protocol 9. priority 10. disable 11. leaf-network number 12. threshold value 13. storage-location 14. diagnostics directory-path-name 15. diagnostics-size 16. reports directory-path-name 17. reports-size Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 597 RP/0/RSP0/CPU0:router(config-rcmd-proto)#priority critical • High-Set to monitor route convergence for RP/0/RSP0/CPU0:router(config-rcmd-proto-prio)# high priority routes • Medium-Set to monitor route convergence for medium priority routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 598 /disk0:/rcmd/ or <tftp-location>/rcmd/ Example: RP/0/RSP0/CPU0:router(config-rcmd-store)#reports /disck0:/rcmd Step 17 Specify a maximum size for the reports directory. reports-size Set the size in %. Range is 5%-80%. Example: RP/0/RSP0/CPU0:router(config-rcmd-store)#reports-size 8 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 599: Route Convergence Monitoring And Diagnostics Prefix Monitoring

    Before You Begin To enable monitoring of individual prefixes, first configure a prefix-list using the {ipv4 | ipv6} prefix-list command. Then, use this prefix list with the prefix-list command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 600: Enable Rcmd Monitoring For Ospf Prefixes

    Before You Begin To enable monitoring of individual prefixes, first configure a prefix-list using the {ipv4 | ipv6} prefix-list command. Then, use this prefix list with the prefix-list command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 601: Enabling Rcmd Monitoring For Type 3/5/7 Ospf Lsas

    10 permit 2001:db8::/32 router ospf 100 monitor-convergence prefix-list ospf_monitor Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs Perform this task to enable RCMD monitoring for type 3/5/7 OSPF LSAs. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 602: Enabling Rcmd Monitoring For Is-Is Prefixes: Example

    Enabling RCMD Monitoring for OSPF Prefixes: Example This example shows how to enable RCMD monitoring for individual OSPF prefixes: ipv6 prefix-list ospf_monitor 10 permit 2001:db8::/32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 603: Enabling Rcmd Monitoring For Type 3/5/7 Ospf Lsas: Example

    Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs: Example This example shows how to enable tracking of prefix monitoring for OSPF external LSAs and summary routes: router ospf 100 monitor-convergence track-external-routes track-summary-routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
  • Page 604 Implementing RCMD Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs: Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...

Table of Contents

Save PDF