Cisco ASR 9000 Series Routing Configuration Manual
Cisco ASR 9000 Series Routing Configuration Manual

Cisco ASR 9000 Series Routing 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.3.x
First Published: 2015-01-12
Last Modified: 2015-09-03
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:

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.3.x First Published: 2015-01-12 Last Modified: 2015-09-03 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 Autonomous System Number Formats in BGP 2-byte Autonomous System Number Format 4-byte Autonomous System Number Format as-format Command BGP Configuration Configuration Modes Router Configuration Mode Router Address Family Configuration Mode Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 4: Table Of Contents

    Influencing Route Preference in a Multiexit IGP Network BGP Cost Community Support for EIGRP MPLS VPN PE-CE with Back-door Links Adding Routes to the Routing Information Base BGP DMZ Aggregate Bandwidth Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 5 Selective VRF Download Line Card Roles and Filters in Selective VRF Download Selective VRF Download Disable Calculating Routes Downloaded to Line Card with or without SVD BGP Accept Own Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 6 Changing the BGP Default Local Preference Value Configuring the MED Metric for BGP Configuring BGP Weights Tuning the BGP Best-Path Calculation Indicating BGP Back-door Routes Configuring Aggregate Addresses Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 7 Bring Router or Link Back into Service Show Command Outputs to Verify BGP Graceful Maintenance L3VPN iBGP PE-CE L3VPN iBGP PE-CE Overview Restrictions for L3VPN iBGP PE-CE Configuring L3VPN iBGP PE-CE Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 8 Configuring iBGP Multipath Load Sharing Originating Prefixes with AiGP Configuring BGP Accept Own Configuring BGP Link-State Configuring BGP Link-state Configuring Domain Distinguisher Configuring BGP Permanent Network Configuring BGP Permanent Network Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x viii...
  • Page 9 Configuring Resilient Per-CE Label Allocation Mode Using a Route-Policy: Example Where to Go Next Additional References Implementing BGP Flowspec C H A P T E R 3 BGP Flow Specification Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 10 BFD Modes of Operation BFD Packet Information BFD Source and Destination Ports BFD Packet Intervals and Failure Detection BFD Packet Intervals on Physical Interfaces BFD Packet Intervals on Bundle Member Links Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 11 Configuring BFD Under a Dynamic Routing Protocol or Using a Static Route Enabling BFD on a BGP Neighbor Enabling BFD for OSPF on an Interface Enabling BFD for OSPFv3 on an Interface Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 12 Configuring BFD IPv6 Multihop for eBGP Neighbors 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.3.x...
  • Page 13 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 14 Configuring EIGRP as a PE-CE Protocol Redistributing BGP Routes into EIGRP Monitoring EIGRP Routing Configuring an EIGRP Authentication Keychain Configuring an Authentication Keychain for an IPv4/IPv6 Interface on a Default Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 15 Interface Address Family Configuration Mode IS-IS Interfaces Multitopology Configuration IPv6 Routing and Configuring IPv6 Addressing Limit LSP Flooding Flood Blocking on Specific Interfaces Mesh Group Configuration Maximum LSP Lifetime and Refresh Interval Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 16 Enabling an IS-IS Topology Placing an Interface in a Topology in IS-IS Configuring a Routing Policy Configuring Multitopology for IS-IS Controlling LSP Flooding for IS-IS Configuring Nonstop Forwarding for IS-IS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 17 Key Features Supported in the Cisco IOS XR Software OSPF Implementation Comparison of Cisco IOS XR Software OSPFv3 and OSPFv2 OSPF Hierarchical CLI and CLI Inheritance OSPF Routing Components Autonomous Systems Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xvii...
  • Page 18 ECMP and OSPFv3 Sham-link OSPF SPF Prefix Prioritization Route Redistribution for OSPF OSPF Shortest Path First Throttling Nonstop Forwarding for OSPF Version 2 Graceful Shutdown for OSPFv3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xviii...
  • Page 19 Redistribute Routes into OSPF Configuring OSPF Shortest Path First Throttling Examples Configuring Nonstop Forwarding Specific to Cisco for OSPF Version 2 Configuring OSPF Version 2 for MPLS Traffic Engineering Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 20 Virtual Link Configured Through Area 1 for OSPFv3: Example Virtual Link Configured with MD5 Authentication for OSPF Version 2: Example VPN Backbone and Sham Link Configured for OSPF Version 2: Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 21 Output of show route next-hop Command: Example Enabling RCC and LCC: Example Where to Go Next Additional References Implementing RIP C H A P T E R 9 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 22 Implementing Routing Policy C H A P T E R 1 0 Prerequisites for Implementing Routing Policy Restrictions for Implementing Routing Policy Information About Implementing Routing Policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xxii...
  • Page 23 Default Drop Disposition Control Flow Policy Verification Range Checking Incomplete Policy and Set References Attached Policy Modification Verification of Attribute Comparisons and Actions Policy Statements Remark Disposition Action Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xxiii...
  • Page 24 RPL - if prefix is-best-path/is-best-multipath OSPF Policy Attach Points Default-Information Originate Redistribute Area-in Area-out SPF Prefix-priority OSPF Attributes and Operators Distribute-list in OSPFv3 Policy Attach Points Default-Information Originate Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xxiv...
  • Page 25 Editing Routing Policy Configuration Elements Using the Emacs Editor Editing Routing Policy Configuration Elements Using the Vim Editor Editing Routing Policy Configuration Elements Using CLI Editing Routing Policy Language set elements Using XML Hierarchical Policy Conditions Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 26 Information About Implementing Static Routes Static Route Functional Overview Default Administrative Distance Directly Connected Routes Recursive Static Routes Fully Specified Static Routes Floating Static Routes Default VRF Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xxvi...
  • Page 27 C H A P T E R 1 3 Information about Data Plane Security Source RLOC Decapsulation Filtering EID Instance Membership Distribution Map-Server Membership Gleaning and Distribution Decapsulation Filtering on (P)xTRs Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xxvii...
  • Page 28 Enable Source RLOC-based Decapsulation Filtering Create, Maintain and Distribute Decapsulation Filter Lists Add or Override Decapsulation Filter List Reset LISP TCP Reliable Transport Session Verify Data Plane Security Configurations Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x xxviii...
  • Page 29: 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 30 Preface Obtaining Documentation and Submitting a Service Request Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 31 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 32: Configuring Nonstop Forwarding Specific To Cisco For Ospf Version

    Basis, on page 252 LISP Data plane RLOC This feature was Release 5.3.0 Implementing LISP Data security introduced. Plane Security chapter IPv6 RLOC Implementing Data Plane Security, on page 657 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 33 Echo Timer This feature was Release 5.3.0 Echo Timer configuration introduced. for BFD on Bundle Interfaces chapter Echo Timer configuration for BFD on Bundle Interfaces, on page 247 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 34 New and Changed Routing Features New and Changed Routing Feature Information Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 35 Related Documents, on page 198 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.3.x...
  • 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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • 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 There is currently no way to control which prefixes are deleted. For detailed configuration steps, see Configuring Discard Extra Paths, on page Restrictions These restrictions apply to the discard extra paths feature: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 40 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 41 The trigger delay is address family dependent. 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.3.x...
  • Page 42 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 43: 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 44: Neighbor 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.3.x...
  • Page 45: Vrf Address Family Configuration Mode

    Example: 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.3.x...
  • Page 46 ◦ 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.3.x...
  • Page 47: 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.3.x...
  • Page 48: 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.3.x...
  • Page 49: 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 50: 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.3.x...
  • Page 51: 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 52 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.3.x...
  • Page 53 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.3.x...
  • Page 54: 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.3.x...
  • Page 55: 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.3.x...
  • Page 56: Show Bgp Af-Group

    [a:GROUP_2] send-extended-community-ebgp [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.3.x...
  • Page 57: 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.3.x...
  • Page 58: 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.3.x...
  • Page 59: 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 60: Routing Policy Enforcement

    InQ OutQ Up/Down 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.3.x...
  • Page 61: 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...
  • Page 62: 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 63: 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.3.x...
  • Page 64: 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.3.x...
  • Page 65: 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.3.x...
  • Page 66: 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 67: Adding Routes To The Routing Information Base

    • The next-hop attribute set to next-hop-self. The next-hop attribute for all routes advertised to the specified neighbor to the address of the local router. • There is no out-bound policy configured that might change the dmz-link bandwidth value. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 68: Configuring Bgp Dmz Aggregate Bandwidth: Example

    3(ebgp multipath) with LB value 50 When best path is advertised to R3, send aggregated dmz-link bandwidth value of 310; aggregated value of paths 1, 2 and 3. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 69: Configuring Policy-Based Link Bandwidth: Example

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

    When calculating the length of the AS path, confederation segments are ignored, and AS sets count as 1. Note eiBGP specifies internal and external BGP multipath peers. eiBGP allows simultaneous use of internal Note and external paths. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 71 13 If the paths have different cluster lengths, the path with the shorter cluster length is selected. If a path was not received with a cluster list attribute, it is considered to have a cluster length of 0. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 72: Order Of Comparisons

    4 If the paths have different weights, local preferences, origins, or IGP metrics to their next hops, then the change cannot be suppressed. Note that all these values are calculated using the rules in Comparing Pairs of Paths, on page Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 73: 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 74: 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.3.x...
  • Page 75 Figure 5: Multicast BGP Environment, on page 46 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.3.x...
  • Page 76: 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.3.x...
  • Page 77: 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.3.x...
  • Page 78 Figure 7: Simple BGP Model with a Route Reflector, on page 49 , 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.3.x...
  • Page 79 (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.3.x...
  • Page 80 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.3.x...
  • Page 81: Rpl - If Prefix Is-Best-Path/Is-Best-Multipath

    You can install the paths in the forwarding table that are not advertised to the peers. The RR route reflector finds out the best-path and multi-path. This way the route Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 82: 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 83: Mpls Vpn Carrier Supporting Carrier

    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. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 84: Bgp Keychains

    See the Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide for information on keychain management. BGP is able to use the keychain to implement hitless key rollover for authentication. Key rollover specification is time based, and in the event of clock skew between the peers, the rollover process is impacted.
  • Page 85: Bgp Local Label Retention

    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 86: Bgp Additional Paths

    Even if the criteria are met and multiple paths are considered multipaths, the BGP speaking router will still designate one of the multipaths as the best path and advertise this best path to its neighbors. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 87: Bgp Selective Multipath

    • BGP selective multipath does not impact best path calculations. A best path is always included in the set of multipaths. • 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. Topology A sample topology to illustrate the configuration used in this section is shown in the following figure.
  • Page 88: Accumulated Interior Gateway Protocol Attribute

    The routes/labels are then advertised using LSPs. The next hop for the route is changed at each ABR to local router which removes the need to leak OSPF routes across area boundaries. The bandwidth available on each Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 89: Per Vrf And Per Ce Label For Ipv6 Provider Edge

    An IPv6 unicast address is an identifier for a single interface, on a single node. A packet that is sent to a unicast address is delivered to the interface identified by that address. Cisco IOS XR software supports the following IPv6 unicast address types: •...
  • Page 90: Ipv6 Urpf Support On Cisco Asr 9000'S A9K-Sip-700

    IP source addresses into a network by discarding IP packets that lack a verifiable IP source address. Unicast RPF does this by doing a reverse lookup in the Cisco Express Forwarding (CEF) table. Therefore, uRPF is possible only if CEF is enabled on the router.
  • Page 91: 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 92: Selective Vrf Download Disable

    The total number of VRFs present (n) can be found by using the show cef tables summary location node-id command on the RSP card. RP/0/RSP0/CPU0:router#show cef tables summary location 0/rsp0/cpu0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 93: Bgp Accept Own

    BGP speaker detects prefixes that are self-originated through the self-origination check (ORIGINATOR_ID, NEXTHOP/MP_REACH_NLRI) and drops the received updates. However, with the Accept Own community present in the update, the BGP speaker handles the route. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 94 • VPNv4 unicast and VPNv6 unicast address families are enabled between the PE and RR neighbors and IPv4 and IPv6 are enabled between PE and CE neighbors. The Accept Own configuration works as follows: 1 CE1 originates prefix X. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 95: 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 96: 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.3.x...
  • Page 97 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.3.x...
  • Page 98 Configures the time BGP waits for a response after sending a serial or reset query. Set • response-time time response-time in seconds. Range for the response time is 15 to 3600 seconds. • response-time off Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 99: Configuring Rpki Prefix Validation

    Step 2 router bgp as-number 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 100: Configuring Rpki Bestpath Computation

    1. configure 2. router bgp as-number 3. bgp bestpath origin-as use validity 4. bgp bestpath origin-as allow invalid 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 101: Bgp 3107 Pic Updates For Global Prefixes

    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 • address-family vpnv4 unicast • address-family vpnv6 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 102: Bgp Prefix Independent Convergence For Rib And Fib

    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 103: Bgp Attribute Filtering

    ROUTING-BGP-3-MALFORM_UPDATE is printed on the console. This is rate limited to 1 message per minute across all neighbors. For malformed packets that result in actions "Discard Attribute" (A5) or "Local Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 104: Bgp Link-State

    The permanent paths is always advertised to peers having the advertise Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 105: Bgp-Rib Feedback Mechanism For Update Generation

    (Global VRF) and any other non-default VRF, to provide connectivity between a global and a VPN host. The import process installs the Internet route in a VRF table or a VRF route in the Internet table, providing connectivity. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 106: User Defined Martian Check

    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 107: Resilient Per-Ce Label Allocation Mode

    Information Base (MuRIB). This MuRIB will be populated with routes that are specific to multicast, and are not used by unicast forwarding. The PE-CE BGP prefixes are advertised using SAFI-2, the PE-PE routes are advertised using SAFI-129. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 108: Bgp Monitoring Protocol

    Once a BGP peer that is already being monitored is in the “ESTAB” state, speaker sends a “peer-up” message for that peer to the BMP server. After the BGP peer Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 109: How To Implement Bgp

    If the neighbor is configured as an external BGP (eBGP) peer, you must configure an inbound and outbound Note route policy on the neighbor using the route-policy command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 110 Step 6 router bgp as-number 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 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 111: Configuring Multiple Bgp Instances For A Specific Autonomous System

    Step 14 commit Configuring Multiple BGP Instances for a Specific Autonomous System Perform this task to configure multiple BGP instances for a specific autonomous system. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 112: Configuring A Routing Domain Confederation For Bgp

    Interior Gateway Protocol (IGP) for all autonomous systems. To the outside world, the confederation looks like a single autonomous system. SUMMARY STEPS 1. configure 2. router bgp as-number 3. bgp confederation identifier as-number 4. bgp confederation peers as-number 5. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 113: Resetting An Ebgp Session Immediately Upon Link Failure

    Following is a sample configuration to increase the eBGP sessions: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#lpts pifib hardware police location 0/2/CPU0 RP/0/RSP0/CPU0:router(config-pifib-policer-per-node)#flow bgp configured rate 4000 RP/0/RSP0/CPU0:router(config-pifib-policer-per-node)#flow bgp known rate 4000 RP/0/RSP0/CPU0:router(config-pifib-policer-per-node)#flow bgp default rate 4000 RP/0/RSP0/CPU0:router(config-pifib-policer-per-node)#commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 114: Logging Neighbor Changes

    Step 4 neighbor ip-address Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 115: Changing The Bgp Default Local Preference Value

    Sets the default local preference value from the default of 100, making it either a more preferable path (over 100) or less preferable path (under 100). Example: RP/0/RSP0/CPU0:router(config-bgp)# bgp default local-preference 200 Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 116: Configuring The Med Metric For Bgp

    Before You Begin Note The clear bgp command must be used for the newly configured weight to take effect. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 117 CLI help (?). RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast Step 6 weight weight-value Assigns a weight to all routes learned through the neighbor. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# weight 41150 Step 7 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 118: Tuning The Bgp Best-Path Calculation

    Step 5 bgp bestpath med confed Enables BGP software to compare MED values for paths learned from confederation peers. Example: RP/0/RSP0/CPU0:router(config-bgp)# bgp bestpath med confed Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 119: Indicating Bgp Back-Door Routes

    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-bgp)# address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 120: Configuring Aggregate Addresses

    Creates an aggregate address. The path advertised for this route is an as-set ] [ as-confed-set ] [ summary-only ] [ autonomous system set consisting of all elements contained in all paths that are being summarized. route-policy route-policy-name ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 121: Redistributing Ibgp Routes Into Igp

    Redistributing iBGP routes into IGPs may cause routing loops to form within an autonomous system. Use Caution this command with caution. SUMMARY STEPS 1. configure 2. router bgp as-number 3. bgp redistribute-internal 4. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 122: Configuring Discard Extra Paths

    Step 3 neighbor ip-address Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.0.0.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 123: Configuring Per Neighbor Tcp Mss

    11. remote-as as-number 12. use neighbor-group group-name 13. address-family ipv4 unicast 14. commit DETAILED STEPS Command or Action Purpose Step 1 configure Enters Global Configuration mode. Example: RP/0/RSP0/CPU0:router# configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 124 Step 10 neighbor ip-address Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.0.0.2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 125: Disabling Per Neighbor Tcp Mss

    Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# Step 14 commit Disabling Per Neighbor TCP MSS Perform this task to disable TCP MSS for a particular neighbor under neighbor group. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 126 Exits router address family configuration mode, and returns exit to BGP configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# exit Step 5 neighbor-group name Enters neighbor group configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group n1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 127 1.0 to 65535.65535. Step 12 use neighbor-group group-name Specifies that the BGP neighbor inherit configuration from the specified neighbor group. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group n1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 128: 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.3.x...
  • Page 129 • 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.3.x...
  • Page 130: 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.3.x...
  • Page 131 | 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.3.x...
  • Page 132 | 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.3.x...
  • Page 133 | all { unicast | multicast | all | labeled-unicast } | vpnv4 route policy. 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.3.x...
  • Page 134 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.3.x...
  • Page 135: 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 136: 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.3.x...
  • Page 137 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 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 138 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.3.x...
  • Page 139: 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.3.x...
  • Page 140: 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.3.x...
  • Page 141 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 142: 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.3.x...
  • Page 143: Configuring Bgp Next-Hop Trigger Delay

    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 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 144: Disabling Next-Hop Processing On Bgp Updates

    2. router bgp as-number 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.3.x...
  • Page 145: 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.3.x...
  • Page 146 {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.3.x...
  • Page 147: 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.3.x...
  • Page 148 | 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.3.x...
  • Page 149 | 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.3.x...
  • Page 150: 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 152. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 151 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.3.x...
  • Page 152: Bgp Persistence

    The BGP persistence feature is supported only on the following AFIs: • VPNv4 and VPNv6 • RT constraint • Flow spec (IPv4, IPv6, VPNv4 and VPNv6) • Private IPv4 and IPv6 (IPv4/v6 address family inside VRF) Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 153: Bgp Persistence Configuration: Example

    • The LOCAL_PREF attribute is not sent to another AS. Therefore, the LOCAL_PREF option cannot be used on an eBGP link. This restriction does not apply to eBGP links between member-ASs of an AS Note confederation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 154: Graceful Maintenance Operation

    An additional configuration under the neighbor address family, send-community-gshut-ebgp, is necessary for the router to originate the GSHUT community to the eBGP neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 155: No Automatic Shutdown

    1 All routes that are advertised to this neighbor that has the graceful-shut attribute are advertised to that neighbor with the GSHUT community. 2 Enters graceful-maintenance configuration mode to allow further configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 156 OutQ of the neighbors. When OutQ reaches a value 0, there are no more updates to be sent. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 157: Activate Graceful Maintenance On A Single Neighbor

    Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# graceful-maintenance activate Step 5 commit Activate Graceful Maintenance on a Group of Neighbors Use the following steps to activate Graceful Maintenance on a group of neighbors: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 158 Sending GSHUT community may not be desirable under every address family of an eBGP neighbor. To Note allow you to target GSHUT community to a specific set of address families, use the send-community-gshut-ebgp command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 159: Direct Router To Reduce Route Preference

    LOCAL_PREF attribute and prepends the local AS number as specified RP/0/RSP0/CPU0:router(config-bgp-nbr)# in the commands. Sending GSHUT provides flexibility in the manner in graceful-maintenance which neighboring routers handle the lower preference: they can match it local-preference 4 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 160: Bring Router Or Link Back Into Service

    Origin incomplete, metric 0, localpref 100, valid, internal, best, group-best, import-candidate Received Path ID 0, Local Path ID 1, version 4 Community: graceful-shutdown Originator: 192.168.0.5, Cluster list: 192.168.0.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 161: L3Vpn Ibgp Pe-Ce

    Border Gateway Protocol (BGP) routing information by peering as internal Border Gateway Protocol (iBGP) instead of the widely-used external BGP peering between the PE and the CE. This mechanism applies at each Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 162: Restrictions For L3Vpn Ibgp Pe-Ce

    Route Distinguisher (RD) values under respective VRFs. The iBGP PE CE feature does ot work if the RD values are the same for the ingress and egress VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 163: Configuring L3Vpn Ibgp Pe-Ce

    VRF CE peer, or not. Step 7 show bgp {vpnv4|vpnv6 } unicast rd Displays the ATTR_SET attributes in the command output when the L3VPN iBGP PE-CE is enabled on a CE. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 164 Received Path ID 0, Local Path ID 1, version 10 Extended community: RT:228:237 ATTR-SET [ Origin-AS: 200 AS-Path: 51320 52325 59744 12947 21969 50346 18204 36304 41213 23906 33646 Origin: incomplete Metric: 204 Local-Pref: 234 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 165: Flow-Tag Propagation

    Configure Source and Destination-based Flow Tag This task applies flow-tag to a specified interface. The packets are matched based on the flow-tag assigned to the source address of the incoming packets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 166 RP/0/RSP0/CPU0:ASR9K-0#show running-config policy-map type pbr flowMatchPolicy Thu Feb 12 01:51:45.776 UTC policy-map type pbr flowMatchPolicy class type traffic flowMatch36 transmit class type traffic flowMatch38 transmit class type traffic class-default end-policy-map Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 167: 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 168 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.3.x...
  • Page 169: Configuring The Route Distinguisher

    Configures a VRF instance. Example: RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_pe Step 5 rd { as-number : nn | ip-address : nn | auto } Configures the route distinguisher. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 170: Configuring Pe-Pe Or Pe-Rr Interior Bgp Sessions

    The PE-PE, PE-route reflector (RR) iBGP sessions are defined to all PE and RR routers that participate in the VPNs configured in the PE router. Perform this task to configure PE-PE iBGP sessions and to configure global VPN options on a PE. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 171 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 Step 5 neighbor ip-address Configures a PE iBGP neighbor. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 172.16.1.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 172 Specifies a routing policy for an inbound route. The policy can be used to filter routes or modify route attributes. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-policy pe-pe-vpn-in in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 173: Communities

    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.3.x...
  • Page 174: 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.3.x...
  • Page 175 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.3.x...
  • Page 176 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.3.x...
  • Page 177 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.3.x...
  • Page 178: 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.3.x...
  • Page 179 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.3.x...
  • Page 180: 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.3.x...
  • Page 181: 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.3.x...
  • Page 182: 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.3.x...
  • Page 183: 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.3.x...
  • Page 184: 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.3.x...
  • Page 185: 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.3.x...
  • Page 186: 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.3.x...
  • Page 187: 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.3.x...
  • Page 188 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.3.x...
  • Page 189: 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.3.x...
  • Page 190: Configuring Bgp Nonstop Routing

    Specifies the BGP AS number, and enters the BGP configuration mode, for configuring BGP routing processes. Example: RP/0/RSP0/CPU0:router(config)# router bgp 120 Step 3 nsr disable Disables BGP Nonstop routing. Example: RP/0/RSP0/CPU0:router(config-bgp)# nsr disable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 191: Re-Enable Bgp Nonstop Routing

    Installing Primary Backup Path for Prefix Independent Convergence (PIC) Perform the following tasks to install a backup path into the forwarding table and provide prefix independent convergence (PIC) in case of a PE-CE link failure: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 192 . This is an example route-policy configuration to use with additional-selection command: route-policy ap1 set path-selection backup 1 install end-policy Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 193: Retaining Allocated Local Label For Primary Path

    PE for 10 minutes after reconvergence. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# retain local-label 10 Step 5 commit Configuring BGP Additional Paths Perform these tasks to configure BGP Additional Paths capability: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 194 Step 6 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 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 195: Configuring Ibgp Multipath Load Sharing

    Perform this task to configure the iBGP Multipath Load Sharing: SUMMARY STEPS 1. configure 2. router bgp as-number 3. address-family {ipv4|ipv6} {unicast|multicast} 4. maximum-paths ibgp number 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 196: Originating Prefixes With Aigp

    • The route is imported into BGP through network statement. 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.3.x...
  • Page 197 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 Step 8 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 198: Configuring Bgp Accept Own

    Enables handling of self-originated VPN routes containing Accept_Own community. Example: Use the inheritance-disable keyword to disable the RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#accept-own "accept own" configuration and to prevent inheritance of "acceptown" from a parent configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 199: Configuring Bgp Link-State

    Configures a CE neighbor. The ip-address argument must be a private address. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.0.0.2 Step 4 remote-as as-number Configures the remote AS for the CE neighbor. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 200: Configuring Domain Distinguisher

    Enters address-family link-state configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp)# address-family link-state link-state Step 4 domain-distinguisher unique-id Configures unique identifier four-octet ASN. Range is from 1 to 4294967295. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 201: Configuring Bgp Permanent Network

    Enters prefix set configuration mode and defines a prefix set for contiguous and non-contiguous set of bits. Example: RP/0/RSP0/CPU0:router(config)# prefix-set PERMANENT-NETWORK-IPv4 RP/0/RSP0/CPU0:router(config-pfx)# 1.1.1.1/32, RP/0/RSP0/CPU0:router(config-pfx)# 2.2.2.2/32, RP/0/RSP0/CPU0:router(config-pfx)# 3.3.3.3/32 RP/0/RSP0/CPU0:router(config-pfx)# end-set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 202 Step 9 commit Step 10 show bgp {ipv4 | ipv6} unicast prefix-set (Optional) Displays whether the prefix-set is a permanent network in BGP. Example: RP/0/RSP0/CPU0:routershow bgp ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 203: How To Advertise Permanent Network

    RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 4713 Step 5 address-family { 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-nbr)# Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 204: Enabling Bgp Unequal Cost Recursive Load Balancing

    3. address-family { ipv4 | ipv6 } unicast 4. maximum-paths { ebgp | ibgp | eibgp } maximum [ unequal-cost ] 5. exit 6. neighbor ip-address 7. dmz-link-bandwidth 8. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 205 Exits the current configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# exit Step 6 neighbor ip-address Configures a CE neighbor. The ip-address argument must be a private address. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.0.0.0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 206: Configuring Vrf Dynamic Route Leaking

    • export to default-vrf route-policy route-policy-name 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 vrf vrf_name Enters VRF configuration mode. Example: RP/0/RSP0/CPU0:PE51_ASR-9010(config)#vrf vrf_1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 207: Enabling Selective Vrf Download

    Enabling Selective VRF Download To enable selective VRF download, configure the svd platform enable command followed by router reload. Selective VRF download is disabled by default. Note Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 208 Step 7 reload location all Reloads the chassis. Example: RP/0/RSP0/CPU0:router(admin)#reload loc all Tue Feb 12 07:51:25.279 UTC Preparing system for backup. This may take a few minutes especially Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 209: Disabling Selective Vrf Download

    SUMMARY STEPS 1. admin 2. configure 3. no svd platform enable 4. commit 5. show svd state 6. admin 7. reload location all 8. exit 9. show svd role Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 210 Status report: node0_RSP0_CPU0: START TO BACKUP Status report: node0_RSP0_CPU0: BACKUP HAS COMPLETED SUCCESSFULLY [Done] Proceed with reload? [confirm]RP/0/RSP0/CPU0::This node received reload Step 8 exit Exits administrator mode and enters EXEC mode. Example: RP/0/RSP0/CPU0:router(admin)#exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 211: Configuring Resilient Per-Ce Label Allocation Mode

    4. address-family {ipv4 | ipv6} unicast 5. label mode per-ce 6. Do one of the following: • end • commit DETAILED STEPS Step 1 configure Example: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 212 Uncommitted changes found, commit them before exiting(yes/no/cancel)?[cancel]: ◦ Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 213: Configuring Resilient Per-Ce Label Allocation Mode Using A Route-Policy

    Step 1 configure Example: RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)# Enters global configuration mode. Step 2 route-policypolicy-name Example: RP/0/RSP0/CPU0:router(config)# route-policy route1 RP/0/RSP0/CPU0:router(config-rpl)# Creates a route policy and enters route policy configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 214: Configuration Examples For Implementing Bgp

    Configuration Examples for Implementing BGP This section provides the following configuration examples: Enabling BGP: Example The following shows how to enable BGP. prefix-set static 2020::/64, Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 215 10.0.101.62 remote-as 3 address-family ipv4 unicast route-policy pass-all in route-policy pass-all out address-family ipv4 multicast route-policy pass-all in route-policy pass-all out neighbor 10.0.101.64 remote-as 5 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 216: Displaying Bgp Update Groups: Example

    172.16.0.0 255.255.0.0 network 192.168.7.0 255.255.0.0 neighbor 172.16.200.1 remote-as 167 exit address-family ipv4 unicast route-policy pass-all in route-policy pass-out out neighbor 172.26.234.2 remote-as 109 exit address-family ipv4 unicast neighbor 172.26.64.19 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 217: Bgp Confederation: Example

    171.17.70.1 remote-as 6002 exit address-family ipv4 unicast neighbor 171.19.232.57 remote-as 6001 exit address-family ipv4 unicast neighbor 171.19.232.56 remote-as 6003 exit address-family ipv4 unicast neighbor 171.19.99.2 remote-as 700 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 218: Bgp Route Reflector: Example

    The following example shows how to use an address family to configure internal BGP peer 10.1.1.1 as a route reflector client for both unicast and multicast prefixes: router bgp 140 address-family ipv4 unicast neighbor 10.1.1.1 remote-as 140 address-family ipv4 unicast route-reflector-client exit address-family ipv4 multicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 219: Bgp Nonstop Routing Configuration: Example

    10 iBGP Multipath Loadsharing Configuration: Example The following is a sample configuration where 30 paths are used for loadsharing: router bgp 100 address-family ipv4 multicast maximum-paths ibgp 30 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 220: Discard Extra Paths Configuration: Example

    Additional-paths operation: None Send Multicast Attributes Connections established 0; dropped 0 Local host: 0.0.0.0, Local port: 0, IF Handle: 0x00000000 Foreign host: 10.0.0.1, Foreign port: 0 Last reset 00:00:00 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 221: Configure Per Neighbor Tcp Mss: Examples

    The following example shows how to configure per neighbor TCP MSS under neighbor group: router bgp 1 bgp router-id 10.0.0.1 address-family ipv4 unicast neighbor-group n1 tcp mss 500 address-family ipv4 unicast neighbor 10.0.0.2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 222: Verify Per Neighbor Tcp Mss: Examples

    Second last write before reset 00:00:00, attempted 0, written 0 Last write pulse rcvd Dec 7 11:58:42.411 last full not set pulse count 23 Last write pulse rcvd before reset 00:00:00 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 223 Current send queue size in bytes: 0 (max 24576) Current receive queue size in bytes: 0 (max 32768) mis-ordered: 0 bytes Current receive queue size in packets: 0 (max 0) Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 224: Originating Prefixes With Aigp: 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.3.x...
  • Page 225: 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.3.x...
  • Page 226 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.3.x...
  • Page 227: 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.3.x...
  • Page 228: 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 229 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.3.x...
  • Page 230 RFC 3392 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.3.x...
  • Page 231 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.3.x...
  • Page 232 Implementing BGP Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 233: Chapter 3 Implementing Bgp Flowspec

    For more information about BGP Flowspec and complete descriptions of the BGP Flowspec commands Note listed in this module, see the BGP Flowspec Commands chapter in the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. Feature History for Implementing BGP Flowspec Release 5.2.0...
  • Page 234: Limitations

    Limitations These limitations apply for BGP flow specification: • Flowspec is not supported on the following Cisco ASR 9000 first generation Ethernet Line Cards: • A9K-40G (40Port 10/100/1000) • A9K-4T (4 Port 10GE) • A9K-2T20G (Combo Card) •...
  • Page 235: Information About Implementing Bgp Flowspec

    For detailed procedural information and commands used for configuring Flowspec, see How to Configure BGP Flowspec, on page 212. Information About Implementing BGP Flowspec To implement BGP Flowspec, you need to understand the following concepts: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 236: Flow Specifications

    Encoding: <type (1 octet), prefix length (1 octet), prefix> Syntax: match destination-address {ipv4} address/mask length Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 237 TCP or UDP packet. Values are encoded as 1- or 2-byte quantities. Encoding: <type (1 octet), [op, value]+> Syntax: match destination-port {destination-port-value |[min-value - max-value]} Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 238 TCP packets. This type uses the bitmask operand format, which differs from the numeric operator format in the lower nibble. Encoding: <type (1 octet), [op, bitmask]+> Syntax: match tcp-flag value bit-mask mask_value Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 239: Traffic Filtering Actions

    The default action for a traffic filtering flow specification is to accept IP traffic that matches that particular rule. The following extended community values can be used to specify particular actions: Type Extended Description Community Action Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 240 5 zero bytes followed by the DSCP value encoded in the 6 least significant bits of 6th byte. Command syntax set dscp <6 bit value> set ipv4 traffic-class <8 bit value> Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 241: Bgp Flowspec Client-Server (Controller) Model And Configuration

    (Enhance Policy-based Routing) infrastructure, which in turn programs the hardware from the underlaying platform in use. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 242: How To Configure Bgp Flowspec

    Enable Flowspec on BGP Side, on page 213 • Define Class, on page 214 • Define Policy Map, on page 215 • Link Flowspec to PBR Policies , on page 217 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 243: Enable Flowspec On Bgp Side

    RP/0/RSP0/CPU0:router(config-bgp-af)# exit Step 5 neighbor ip-address Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config-bgp)#neighbor 1.1.1.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 244: Define Class

    The tuple definition possibilities include: Example: • Type 1: match destination-address {ipv4} address/mask length RP/0/RSP0/CPU0:router(config-cmap)# match protocol ipv4 1 60 • Type 2: match source-address {ipv4} address/mask length Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 245: Define Policy Map

    Define Policy Map, on page 215. Define Policy Map This procedure helps you define a policy map and associate it with traffic class you configured previously in Define Class, on page 214 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 246 5 route_target_string • Traffic Marking: set { dscp rate | destination-address {ipv4} 8-bit value} • Redirect IP NH: redirect { ipv4 } nexthop ipv4 address { ipv4 address} Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 247: Link Flowspec To Pbr Policies

    4. address-family ipv4 5. local-install interface-all 6. service-policy type pbr policy-name 7. commit 8. exit 9. show flowspec { afi-all | client | ipv4 | summary | vrf Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 248 Step 9 show flowspec { afi-all | client | ipv4 | summary | vrf (Optional) Displays flowspec policy applied on an interface. Example: RP/0/RSP0/CPU0:routershow flowspec vrf vrf1 ipv4 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 249: Verify Bgp Flowspec

    Process cpu time: 0.225 user, 0.023 kernel, 0.248 total TID CPU Stack pri state TimeInState HR:MM:SS:MSEC NAME 1082 112K 10 Receive 2:50:23:0508 0:00:00:0241 flowspec_mgr 1082 112K 10 Sigwaitinfo 2:52:42:0583 0:00:00:0000 flowspec_mgr Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 250 Local to the peer routers) you have 0.0.0.0 from 0.0.0.0 (3.3.3.3) configured is also displayed here. Origin IGP, localpref 100, valid, redistributed, best, group-best Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 251: Preserving Redirect Nexthop

    Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config)# router bgp 100 neighbor 1.1.1.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 252: Validate Bgp Flowspec

    AS in the AS_PATH or AS4_PATH attribute of the longest prefix match for X does not match the AS of the eBGP peer. Disable Flowspec Redirect and Validation, on page 223 explains the procedure to disable BGP flowspec validation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 253: Disabling Bgp Flowspec

    Disable Flowspec Redirect and Validation You can disable flowspec validation as a whole for eBGP sessions by means of configuring an explicit knob. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 254 You can choose to disable flowspec validation as a whole for all eBGP sessions or disable redirect nexthop validation. Example: RP/0/RSP0/CPU0:router(config-bgp)# router bgp 100 neighbor 1.1.1.1 address-family ipv4 flowspec validation disable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 255: Configuration Examples For Implementing Bgp Flowspec

    500 bps class class-default end-policy-map policy-map type pbr fs_table_default class type traffic fs_tuple drop class class-default end-policy-map flowspec local-install interface-all address-family ipv4 service-policy type pbr fs_table_default Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 256: Drop Packet Length

    In this example, the traffic marking extended community (match dscp) instructs the system to modify or set the DSCP bits of a transiting IP packet from dscp 10 to dscp af23. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 257: Additional References For Bgp Flowspec

    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.3.x...
  • Page 258 Implementing BGP Flowspec Additional References for BGP Flowspec Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 259: Chapter 4 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 260 • 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.3.x...
  • Page 261: 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 262: 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.3.x...
  • Page 263: 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 264: 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 265: Bfd Packet Information

    BFD sessions on bundle member links. 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.3.x...
  • Page 266: 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.3.x...
  • Page 267: 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 268: 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.3.x...
  • Page 269: 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 270: 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 271: 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 272 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.3.x...
  • Page 273: 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 274: 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.3.x...
  • Page 275 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.3.x...
  • Page 276: 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 277: 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 278 This feature is applicable only for Cisco standard BFD over bundle per-member link mode. Note See the BFD Commands on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference guide for details on these commands.
  • Page 279: Bidirectional Forwarding Detection Over Logical Bundle

    BFD over bundle interface 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.
  • Page 280: Bfd Over Pseudowire Headend

    Card. Hence, BFD over Satellite Interfaces feature does not work on the ASR 9000 Ethernet Line Card. • BFD over Satellite Interfaces is not supported on nV Edge system. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 281: Bfd Over Irb

    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 282: Bfd Over Bundles Cisco/Ietf Mode Support On A Per Bundle Basis

    • The mode change is applied only for new sessions. To apply mode change for existing sessions, delete and then recreate the sessions. • 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.
  • Page 283: Bfd Hardware Offload

    3.3 milliseconds and maximum is 30 seconds. The number of BFD sessions supported vary by the timer interval, as detailed below: BFD Session Timer Interval Sessions supported on Sessions supported on Line Card Network Processing Unit IPv4, IPv6, MPLS-TP 3.3 milliseconds Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 284: 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 285: Configuring Bfd Under A Dynamic Routing Protocol Or Using A Static Route

    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 DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 286: Enabling Bfd For Ospf On An Interface

    The following procedures describe how to configure BFD for Open Shortest Path First (OSPF) 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.3.x...
  • Page 287 Sets the BFD minimum interval. Range is 15-30000 milliseconds. This example sets the BFD minimum interval to 6500 milliseconds. Example: RP/0/RSP0/CPU0:router(config-ospf)# bfd minimum-interval 6500 Step 5 bfd multiplier multiplier Sets the BFD multiplier. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 288: Enabling Bfd For Ospfv3 On An Interface

    BFD per-interface configuration is supported for OSPF, OSPFv3, IS-IS, and MPLS-TE only. For Note information about configuring BFD on an OSPF interface, see Enabling BFD for OSPF on an Interface. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 289 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. Replace area-id with the OSPFv3 area identifier. Example: RP/0/RSP0/CPU0:router(config-ospfv3)# area 0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 290: Enabling Bfd On A Static Route

    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 DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 291: Configuring Bfd On Bundle Member Links

    Prerequisites for Configuring BFD on Bundle Menmber Links The physical interfaces that are members of a bundle must be directly connected between peer routers without any switches in between. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 292: Specifying The Bfd Destination Address On A Bundle

    To enable BFD sessions on bundle member links, complete these steps: SUMMARY STEPS 1. configure 2. interface Bundle-Ether | Bundle-POS] bundle-id 3. bfd address-family ipv4 fast-detect 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 293: Configuring The Minimum Thresholds For Maintaining An Active Bundle

    To configure minimum bundle thresholds, complete these steps: SUMMARY STEPS 1. configure 2. interface Bundle-Ether bundle-id 3. bundle minimum-active bandwidth kbps 4. bundle minimum-active links links 5. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 294: Configuring Bfd Packet Transmission Intervals And Failure Detection Times On A Bundle

    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: DETAILED STEPS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 295 The range is from 2 to 50. The ipv4 multiplier 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.3.x...
  • Page 296: 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 297: Configuring Bfd Over Bundle Per Member Mode

    Enters interface configuration mode for the specified bundle Example: RP/0/RSP0/CPU0:router(config)# interface bundle-either 1 Step 4 bfd address-family ipv4 fast-detect Enables IPv4 BFD sessions on bundle member links. Example: RP/0/RSP0/CPU0:router(config)# bfd address-family ipv4 fast-detect Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 298: Configure Bfd Over Bundles Cisco/Ietf Mode Support On A Per Bundle Basis

    To configure BFD over Bundles CISCO/IETF mode support on a per bundle basis use these steps: Before You Begin The BFD mode change (Cisco to IETF and vice-versa) goes through when a bundle is newly created or only when the BFD state for the bundle is 'down' or 'BoB nonoperational.' This procedure is applicable from release 5.3.1 onwards.
  • Page 299 Enables IPv4 BFD sessions on the specified bundle. Example: RP/0/RSP0/CPU0:router(config-if)# bfd address-family ipv4 fast-detect Step 7 commit Step 8 show bundle bundle-ether bundle-id Displays the selected bundle mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 300: Enabling Echo Mode To Test The Forwarding Path To A Bfd Peer

    This does not apply to bundle member links, which always support echo mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 301: Overriding The Default Echo Packet Source Address

    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 302: Specifying The Echo Packet Source Address On An Individual Interface Or Bundle

    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 303: 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 304: Disabling Echo Mode

    Disabling Echo Mode BFD does not support asynchronous operation in echo mode in certain environments. Echo mode should be disabled when using BFD for the following applications or conditions: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 305: Disabling Echo Mode On A Router

    RP/0/RSP0/CPU0:router(config-bfd)# echo disable Step 4 commit Disabling Echo Mode on an Individual Interface or Bundle The following procedures describe how to disable echo mode on an interface or bundle . Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 306: Minimizing Bfd Session Flapping Using Bfd Dampening

    To configure BFD dampening to control BFD session flapping, complete the following steps. SUMMARY STEPS 1. configure 2. bfd 3. dampening [bundle-member] {initial-wait | maximum-wait | secondary-wait} milliseconds 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 307: Enabling And Disabling Ipv6 Checksum Support

    Enabling and Disabling IPv6 Checksum Calculations for BFD on a Router To enable or disable IPv6 checksum calculations globally on the router complete the following steps: SUMMARY STEPS 1. configure 2. bfd 3. ipv6 checksum [disable] 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 308: Or Bundle

    3. interface type interface-path-id 4. ipv6 checksum [disable] 5. 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.3.x...
  • Page 309: Clearing And Displaying Bfd Counters

    [ ipv4 | ipv6 |all] packet [interface type Clears the BFD counters for IPv4 packets, IPv6 interface-path-id] location node-id packets, or all packets. Example: RP/0/RSP0/CPU0:router# clear bfd counters all packet location 0/3/cpu0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 310: Configuring Coexistence Between Bfd Over Bundle (Bob) And Bfd Over Logical Bundle Blb)

    • bundle coexistence bob-blb logical 4. commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 Configures Bi-directional Forwarding Detection (BFD) and enters global BFD configuration mode. Example: RP/0/RSP0/CPU0:router(config)#bfd Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 311: Blb

    Command or Action Purpose Step 1 configure Step 2 bfd multipath include location node-id Includes specified line cards to host BFD multihop sessions. Example: RP/0/RSP0/CPU0:router(config)#bfd multipath include location 0/7/CPU0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 312: Configuring Bfd Ipv6 Multihop For Ibgp Neighbors

    Includes specified line cards to host BFD multihop sessions. Example: RP/0/RSP0/CPU0:router(config)#bfd multipath include location 0/7/CPU0 Step 3 router bgp as-number Enters BGP configuration mode. Example: RP/0/RSP0/CPU0:router(config)#router bgp 65001 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 313: Configuring Bfd Over Mpls Traffic Engineering Lsps

    Step 1 configure Step 2 interface tunnel-te interface-number Configures MPLS Traffic Engineering (MPLS TE) tunnel interface and enters into MPLS TE tunnel interface configuration mode. Example: RP/0/RSP0/CPU0:router(config)#interface tunnel-te 65535 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 314: Configuring Bfd Bring Up Timeout

    Perform these steps to configure BFD bring up timeout interval. The default bring up timeout interval is 60 seconds. Before You Begin BFD must be enabled under MPLS TE tunnel interface. SUMMARY STEPS 1. configure 2. interface tunnel-te interface-number 3. bfd bringup-timeout seconds 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 315: Configuring Bfd Dampening For Te Tunnels

    • BFD bring up timeout interval must be configured using the bfd bringup-timeout command. SUMMARY STEPS 1. configure 2. interface tunnel-te interface-number 3. bfd dampening initial-wait milliseconds 4. bfd dampening maximum-wait milliseconds 5. bfd dampening secondary-wait milliseconds 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 316: Configuring Periodic Lsp Ping Requests

    Perform this task to configure sending periodic LSP ping requests with BFD TLV, after BFD session comes Before You Begin BFD must be enabled under MPLS TE tunnel interface. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 317: Configuring Bfd At The Tail End

    BFD will take the maximum value set between head end minimum interval and tail end minimum interval. Perform these tasks to configure BFD at the tail end. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 318: Configuring Bfd Over Lsp Sessions On Line Cards

    BFD over LSP sessions, both head-end and tail-end, will be hosted on line cards with following configuration enabled. SUMMARY STEPS 1. configure 2. bfd 3. multipath include location node-id 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 319: Configuring Bfd Object Tracking

    3. type bfdrtr rate tx-rate 4. debouncedebounce 5. interface if-name 6. destaddress dest_addr 7. commit DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 track track-name Enters track configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 320: Configuration Examples For Configuring Bfd

    The following example shows how to configure BFD between autonomous system 65000 and neighbor 192.168.70.24: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#router bgp 65000 RP/0/RSP0/CPU0:router(config-bgp)#bfd multiplier 2 RP/0/RSP0/CPU0:router(config-bgp)#bfd minimum-interval 20 RP/0/RSP0/CPU0:router(config-bgp)#neighbor 192.168.70.24 RP/0/RSP0/CPU0:router(config-bgp-nbr)#remote-as 2 RP/0/RSP0/CPU0:router(config-bgp-nbr)#bfd fast-detect RP/0/RSP0/CPU0:router(config-bgp-nbr)#commit RP/0/RSP0/CPU0:router(config-bgp-nbr)#end RP/0/RSP0/CPU0:router#show run router bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 321: Bfd Over Ospf: Examples

    2001:0DB8:D987:398:AE3:B39:333:783 when it becomes reachable. RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#router static RP/0/RSP0/CPU0:router(config-static)#address-family ipv6 unicast RP/0/RSP0/CPU0:router(config-static)#2001:0DB8:C18:2:1::F/64 2001:0DB8:D987:398:AE3:B39:333:783 bfd fast-detect minimum-interval 150 multiplier 4 RP/0/RSP0/CPU0:router(config-static)#end RP/0/RSP0/CPU0:router#show run router static address-family ipv6 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 322: Bfd On Bundled Vlans: Example

    GigabitEthernet0/0/0/4 bundle id 2 mode active interface GigabitEthernet0/1/0/2 bundle id 3 mode active interface GigabitEthernet0/1/0/3 bundle id 4 mode active interface Bundle-Ether1 ipv4 address 192.168.1.1/30 bundle minimum-active links 1 interface Bundle-Ether1.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 323: Echo Packet Source Address: Examples

    RP/0/RSP0/CPU0:router(config-bfd)#echo ipv4 source 10.10.10.1 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 Gigabit Ethernet interface: RP/0/RSP0/CPU0:router#configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 324: Echo Latency Detection: Examples

    The following example shows how to enable echo startup validation for BFD sessions on non-bundle interfaces regardless of the “Required Min Echo RX Interval” value in the last control packet: RP/0/RSP0/CPU0:router#configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 325: Bfd Echo Mode Disable: Examples

    RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#no ipv6 checksum disable The following example shows how to enable echo mode for BFD sessions on an individual interface: 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.3.x...
  • Page 326: 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 327: 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 328: Additional References

    • Static Routing Commands on Cisco IOS XR Software • MPLS Traffic Engineering Commands on Cisco IOS XR Software Additional References The following sections provide references related to implementing BFD for Cisco IOS XR software. Related Documents Related Topic Document Title...
  • Page 329: Mibs

    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.3.x...
  • Page 330 Implementing BFD Technical Assistance Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 331: 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 332: 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: • A maximum of 4 instances of an EIGRP process is supported.
  • Page 333: 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 334: 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 335: 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.3.x...
  • Page 336: 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.3.x...
  • Page 337: 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 338 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.3.x...
  • Page 339: 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.3.x...
  • Page 340: 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.3.x...
  • Page 341: 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.3.x...
  • Page 342: 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.3.x...
  • Page 343: Route Manipulation Using Soo Match Condition

    The routing policy on PE1 manipulates routes received from CE3 via PE2, by using the 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.3.x...
  • Page 344: 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 345: Eigrp Multi-Instance

    Note To save configuration changes, you must commit changes when the system prompts you. Enabling EIGRP Routing This task enables EIGRP routing and establishes an EIGRP routing process. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 346 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.3.x...
  • Page 347: 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.3.x...
  • Page 348 Example: 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.3.x...
  • Page 349: 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.3.x...
  • Page 350 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.3.x...
  • Page 351: 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.3.x...
  • Page 352: 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.3.x...
  • Page 353: 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.3.x...
  • Page 354 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.3.x...
  • Page 355: 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.3.x...
  • Page 356 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.3.x...
  • Page 357: 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.3.x...
  • Page 358 [ 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.3.x...
  • Page 359: 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.3.x...
  • Page 360: 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.3.x...
  • Page 361: Configuring Unicast Neighbors

    EIGRP information. In order to support this type of network, EIGRP provides the neighbor command, which allows remote neighbors to be configured and sessions established though unicast packet transmission. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 362: Remote Neighbor Session Policy

    This capability is accomplished using the following manually configured parameters, and takes effect immediately. • Neighbor Filter List Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 363: Understanding Neighbor Terms

    • remote group: Any neighbor that is multiple hops away, does not have its address manually configured with the neighbor command and uses the multicast group address for packet exchange. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 364: Remote Unicast-Listen (Point-To-Point) Neighbors

    A single interface can be configured under a single address family with a single unicast-listen remote-neighbors command and with any number of static and remote static neighbors (each using a different unicast address). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 365: Inheritance And Precedence Of The Remote Neighbor Configurations

    Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. Example: RP/0/RSP0/CPU0:HUB(config-eigrp)#address-family ipv6 Step 4 interfacetype interface-path-id Configures an interface and enters the interface configuration mode. Example: RP/0/RSP0/CPU0:HUB(config-eigrp-af)#int g0/0/0/3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 366: Configuration Examples For Implementing Eigrp

    Fri Aug 8 08:47:48.556 UTC router eigrp 100 address-family ipv4 interface GigabitEthernet0/0/0/3 neighbor 21.21.21.1 remote 10! !! Configuration Examples for Implementing EIGRP This section provides the following configuration examples: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 367: Configuring A Basic Eigrp Configuration: Example

    EIGRP process. router eigrp 500 vrf CUSTOMER_1 address-family ipv4 timers nsf route-hold 300 router-id 172.16.6.11 maximum-prefix 450 70 default-metric 200000 10000 195 10 1500 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 368: Configuring An Eigrp Authentication Keychain: Example

    Site of Origin (SoO) support for EIGRP feature Implementing MPLS Traffic Engineering on Cisco information ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 369 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.3.x...
  • Page 370 Implementing EIGRP Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 371: 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 372: 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 373: 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 374: 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 375: Limit Lsp Flooding

    LSP lifetime. The LSP interval should be less than the LSP lifetime or else LSPs time out before they are refreshed. 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.3.x...
  • Page 376: 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 377: 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 378: Isis Nsr

    Implementing IS-IS ISIS NSR 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 379: 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 380: Attached Bit On An Is-Is Instance

    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 381: Multicast Topology Support Using Is-Is

    MPLS LDP IS-IS synchronization is still achieved on the interface while it is protected by graceful restart. MPLS LDP IGP synchronization is eventually lost under the following circumstances: • LDP fails to restart before the LDP graceful restart reconnect timer expires. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 382: Mpls Ldp-Igp Synchronization Compatibility With Igp Nonstop Forwarding

    MPLS Traffic Engineering for IS-IS, on page 374 for information on configuring MPLS TE for IS-IS. For details on configuring MPLS TE interarea tunnels, see the MPLS Configuration Guide. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 383: Ip Fast Reroute

    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 384: Enabling Is-Is And Configuring Level 1 Or Level 2 Routing

    • To specify more than one area address, specify additional NETs. Although the area address portion of the NET differs, the systemID 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.3.x...
  • Page 385: Configuring Single Topology For Is-Is

    After an IS-IS instance is enabled, it must be configured to compute routes for a specific network topology. This task explains how to configure the operation of the IS-IS protocol on an interface for an IPv4 or IPv6 topology. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 386 14. show isis [ instance instance-id ] interface [ type interface-path-id ] [ detail ] [ level { 1 | 2 }] 15. show isis [ instance instance-id ] topology [ systemid system-id ] [ level { 1 | 2 }] [ summary ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 387 IPv6 is enabled on the interface. Step 4 Exits interface configuration mode, and returns the router to global exit configuration mode. Example: RP/0/RSP0/CPU0:router(config-if)# exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 388 Exits router address family configuration mode, and returns the router to router configuration mode. Example: RP/0/RSP0/CPU0:router(config-isis-af)# exit Step 10 interface type interface-path-id Enters interface configuration mode. Example: RP/0/RSP0/CPU0:router(config-isis)# interface GigabitEthernet 0/1/0/3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 389: Configuring Multitopology Routing

    Restrictions for Configuring Multitopology Routing • Only the default VRF is currently supported in a multitopology solution. • Only protocol-independent multicast (PIM) and intermediate system-intermediate system (IS-IS) routing protocols are currently supported. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 390: Information About Multitopology Routing

    { ipv4 | ipv6 } multicast topology topo-name Configures a topology in the default VRF table that will be associated with a an interface. Example: RP/0/RSP0/CPU0:router(config)# address-family ipv4 multicast topology green Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 391: Enabling An Is-Is Topology

    This command must be configured prior to other topology commands. SUMMARY STEPS 1. configure 2. router isis instance-id 3. address-family { ipv4 | ipv6 } multicast topology topo-name 4. topology-id multitoplogy-id 5. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 392: Placing An Interface In A Topology In Is-Is

    7. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 393: Configuring A Routing Policy

    Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. SUMMARY STEPS 1. configure 2. route-policy policy-name 3. end-policy 4. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 394: 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.3.x...
  • Page 395 (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.3.x...
  • Page 396 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.3.x...
  • Page 397 Example: 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.3.x...
  • Page 398: 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 399 • 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.3.x...
  • Page 400: Configuring Isis-Nsr

    IS-IS test NSR(v1a) STATUS (HA Ready): V1 Standby V2 Active V2 Standby SYNC STATUS: TRUE FALSE(0) FALSE(0) PEER CHG COUNT: UP TIME: 00:03:12 not up not up Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 401: Configuring Authentication For Is-Is

    4. interface type interface-path-id 5. hello-password { hmac-md5 | text } { clear | encrypted } password [ level { 1 | 2 }] [ send-only 6. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 402 To disable SNP password checking, the snp Note send-only keywords must be specified in the lsp-password command. Step 4 interface type interface-path-id Enters interface configuration mode. Example: RP/0/RSP0/CPU0:router(config-isis)# interface GigabitEthernet 0/1/0/3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 403: Configuring Keychains For Is-Is

    Example: • You can change the level of routing to be RP/0/RSP0/CPU0:router(config)# router isis isp performed by a particular routing instance by using the is-type command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 404: 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. You must enter the commands in the following task list on every IS-IS router in the traffic-engineered Note portion of your network.
  • Page 405 Specifies that the MPLS TE router identifier for the interface-instance } node is the given IP address or an IP address associated with the given interface. Example: RP/0/RSP0/CPU0:router(config-isis-af)# mpls traffic-eng router-id loopback0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 406: Tuning Adjacencies For Is-Is

    The hello-password command can be used to prevent adjacency formation with unauthorized or undesired routers. This ability is particularly useful on a LAN, where connections to routers with which you have no desire to establish adjacencies are commonly found. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 407 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 Step 4 interface type interface-path-id Enters interface configuration mode. Example: RP/0/RSP0/CPU0:router(config-isis)# interface GigabitEthernet 0/1/0/3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 408 Example: 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.3.x...
  • Page 409: Setting Spf Interval For A Single-Topology Ipv4 And Ipv6 Configuration

    IS-IS restart (to permit the database to stabilize). After the startup delay elapses, the ISPF is principally responsible for performing all of the 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.3.x...
  • Page 410 • 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.3.x...
  • Page 411: 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.3.x...
  • Page 412 { 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.3.x...
  • Page 413: Configuring Mpls Ldp Is-Is Synchronization

    SUMMARY STEPS 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.3.x...
  • Page 414: 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.3.x...
  • Page 415: 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.3.x...
  • Page 416 RP/0/RSP0/CPU0:router(config-isis-if)# address-family ipv4 unicast 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.3.x...
  • Page 417: 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.3.x...
  • Page 418: Configuring Ip Fast Reroute Loop-Free Alternate

    IS-IS. Before You Begin IPFRR is supported on the Cisco IOS XR. IPv4 address families and single-level interfaces are supported. Note Multiprotocol Label Switching (MPLS) FRR and IPFRR cannot be configured on the same interface simultaneously.
  • Page 419: Configuring Is-Is Overload Bit Avoidance

    Example: RP/0/RSP0/CPU0:router(config-isis-if-af)#ipfrr lfa exclude interface POS 0/1/0/4 Step 8 commit Configuring IS-IS Overload Bit Avoidance This task describes how to activate IS-IS overload bit avoidance. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 420: Isis Link Group

    Implementing IS-IS ISIS Link Group 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 SUMMARY STEPS 1. configure 2. mpls traffic-eng path-selection ignore overload...
  • Page 421: Configure Link Group Profile

    • minimum-members: Configures the minimum number of members in the link group. The range is 2-64. • revert-members: Configures the number of members after which to revert in the link group. The range is 2-64. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 422 (Interface circuit type is level-1-2) Media Type: Circuit Number: Extended Circuit Number: Next P2P IIH in: LSP Rexmit Queue Size: Level-2 Adjacency Count: LSP Pacing Interval: 33 ms PSNP Entry Queue Size: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 423: Configure Link Group Interface

    4. address-family ipv4 | ipv6 [ unicast ] 5. link-group link-group-name [ level {1 | 2 } ] 6. commit 7. show isis interface DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 424: Configuration Examples For Implementing Is-Is

    IPv6 is configured along with IPv4 on an interface, and IPv4 link topology is used for IPv6. 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 425: 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.3.x...
  • Page 426: Tagging Routes: Example

    (except for traffic to directly connected interfaces). To configure the overload behavior for IS-IS, without setting the overload bit, configure the max-link-metric statement. By Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 427 • Router C Loopback0: 3.3.3.3/32 and 3::3/128 • Router C-> Router B: 13.13.13.2/24 and 13:13:13::2/64 Step 2 Configure IS-IS and the corresponding net addresses on Routers A, B and C. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 428 - DAGR, l - LISP A - access/subscriber, a - Application route M - mobile route, (!) - FRR Backup path Gateway of last resort is not set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 429 Metric: 10 MT (IPv6 Unicast) IS-Extended RouterB.01 Metric: 10 MT (IPv6 Unicast) IS-Extended RouterA.00 Metric: 10 MT (IPv6 Unicast) IPv6 2::2/128 Metric: 10 MT (IPv6 Unicast) IPv6 11:11:11::/64 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 430 The output verifies that maximum link metrics (63 for IPv4 and 16777214 for IPv6) have been allocated for the designated links. Step 10 (Optional) Verify the change in route prefixes on Routers A and C. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 431 The output verifies the impact of maximum metric configuration in the routing table: [115/73] and [115/83] IS-IS has been successfully configured to handle router overload without setting the overload bit. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 432: Where To Go Next

    Implementing IS-IS Where to Go Next 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 • Implementing EIGRP •...
  • Page 433 Dynamic Hostname Exchange Mechanism for IS-IS RFC 2966 Domain-wide Prefix Distribution with Two-Level IS-IS RFC 2973 IS-IS Mesh Groups RFC 3277 IS-IS Transient Blackhole Avoidance RFC 3373 Three-Way Handshake for IS-IS Point-to-Point Adjacencies Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 434 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.3.x...
  • Page 435: Chapter 7 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 436: 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 437: Information About Implementing Ospf

    Each OSPF router in the network soon has the same topological view again. OSPF allows multiple equal-cost paths to the same destination. Since all Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 438: 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 439: 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 440: Ospf Routing Components

    Understanding hierarchical CLI and CLI inheritance saves you considerable configuration time. See Configuring Authentication at Different Hierarchical Levels for OSPF Version 2, on page 443 to understand how to implement these fundamentals. In addition, Cisco IOS XR Software examples are provided in Configuration Examples for Implementing OSPF , on page 491.
  • Page 441: Areas

    With NSSA, you can extend OSPF to cover the remote connection by defining the area between the corporate router and remote router as an NSSA. Area 0 cannot be an NSSA. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 442: Routers

    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 443: 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 444: Authentication Strategies

    Strict-mode can not be configured on one node and default/non-strict mode on the other. Both BFD neighbors must run IOS-XR images that support strict-mode. However, if by Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 445: Enabling Strict-Mode

    Enters interface configuration mode and specifies the interface name and notation rack/slot/module/port. Example: The example indicates a Gigabit Ethernet interface in modular RP/0/RSP0/CPU0:router(config-ospf-ar)# services card slot 3. interface gigabitEthernet 0/3/0/1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 446: Bfd Strict-Mode: Example

    BFD session to come up. show ospf neighbor RP/0/RSP0/CPU0:router# Neighbors for OSPF 1 Neighbor ID State Dead Time Address Interface 1.1.1.1 DOWN/DROTHER 00:00:33 10.1.1.3/24 GigabitEthernet0/3/0/1# Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 447: Ospf Fib Download Notification

    • Node's FIB upload is completed. 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 448: Link-State Advertisement Types For Ospfv3

    In OSPFv3, router interface information may be spread across multiple router LSAs. Receivers must concatenate all router LSAs originated by a given router before running the SPF calculation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 449: Virtual Link And Transit Area For Ospf

    (Area 0). Occasions might exist for which an area must be defined, but it cannot be physically connected to Area 0. Examples of such an Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 450: Passive Interface

    (intra-area link) and connected over the VPN backbone, all traffic passes over the backdoor link instead of over the VPN backbone, because provider edge routers advertise Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 451 To establish the desired path selection over the MPLS backbone, an additional OSPF intra-area (sham link) link between the ingress and egress PErouters must be created. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 452: 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.3.x...
  • Page 453: 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.3.x...
  • Page 454: 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.3.x...
  • Page 455: 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 456: 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.3.x...
  • Page 457: 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.3.x...
  • Page 458: 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.3.x...
  • Page 459: 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.3.x...
  • Page 460: 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.3.x...
  • Page 461: 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.3.x...
  • Page 462: 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 463: 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 464: 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.3.x...
  • Page 465: 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.3.x...
  • Page 466 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.3.x...
  • Page 467: Configuring Stub And Not-So-Stubby Area Types

    Enables OSPFv3 routing for the specified routing process and places the router in router ospfv3 configuration mode. 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.3.x...
  • Page 468 • 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.3.x...
  • Page 469: Configuring Neighbors For Nonbroadcast Networks

    This task explains how to configure neighbors for a nonbroadcast network. This task is optional. 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.3.x...
  • Page 470 • 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.3.x...
  • Page 471 • 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.3.x...
  • Page 472 • 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.3.x...
  • Page 473: 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.3.x...
  • Page 474 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.3.x...
  • Page 475 IPv4 address notation, such as 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.3.x...
  • Page 476: 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.3.x...
  • Page 477 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.3.x...
  • Page 478: 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.3.x...
  • Page 479 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 480 • 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.3.x...
  • Page 481: 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.3.x...
  • Page 482: 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.3.x...
  • Page 483 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.3.x...
  • Page 484: 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 485 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.3.x...
  • Page 486: Configuring Ospf Shortest Path First Throttling

    7. commit 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.3.x...
  • Page 487 Step 8 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.3.x...
  • Page 488: 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 489 • Use the nsf cisco command without the optional enforce and global keywords to abort the 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.3.x...
  • Page 490: 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 491 • 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.3.x...
  • Page 492: 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.3.x...
  • Page 493 3125000 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.3.x...
  • Page 494: 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.3.x...
  • Page 495: 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.3.x...
  • Page 496: 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 435 for information on these OSPF configuration prerequisites. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 497 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.3.x...
  • Page 498 • The area-id argument can be entered in dotted-decimal or 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.3.x...
  • Page 499: 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.3.x...
  • Page 500: 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.3.x...
  • Page 501 Step 6 commit 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.3.x...
  • Page 502: 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.3.x...
  • Page 503 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.3.x...
  • Page 504: 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.3.x...
  • Page 505 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.3.x...
  • Page 506: 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.3.x...
  • Page 507: 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.3.x...
  • Page 508 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.3.x...
  • Page 509: 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.3.x...
  • Page 510: Configuring Ldp Igp Synchronization: Ospf

    Enables LDP IGP synchronization on an interface. • 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.3.x...
  • Page 511: 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 512: 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.3.x...
  • Page 513: 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 514 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.3.x...
  • Page 515: Examples

    (Designated Router) 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.3.x...
  • Page 516 { 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.3.x...
  • Page 517 { 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.3.x...
  • Page 518: Configuring Ip Fast Reroute Loop-Free Alternate

    RP/0/RSP0/CPU0:router(config-ospf-ar)# interface 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.3.x...
  • Page 519: 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.3.x...
  • Page 520 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.3.x...
  • Page 521: 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 522: 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 523: 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 524: Abr Stub Area For Ospfv3: Example

    Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 525: 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.3.x...
  • Page 526: 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.3.x...
  • Page 527: 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.3.x...
  • Page 528: 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 529 RFC 3137 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.3.x...
  • Page 530 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.3.x...
  • Page 531: Chapter 8 Implementing And Monitoring Rib

    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 532: Prerequisites For Implementing 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 533: 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...
  • Page 534: 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 535: 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.3.x...
  • Page 536: 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.3.x...
  • Page 537: 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.3.x...
  • Page 538: 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.3.x...
  • Page 539: 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.3.x...
  • Page 540: 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.3.x...
  • Page 541 • summary—Displays the current ongoing scan id scan-id-value] and a summary of the previous few scans. • 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.3.x...
  • Page 542: 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 543: 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.3.x...
  • Page 544: 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.3.x...
  • Page 545: 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 546: Additional References

    MIBs 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.3.x...
  • Page 547 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.3.x...
  • Page 548 Implementing and Monitoring RIB Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 549: Chapter 9 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 538 section of this module.
  • Page 550: 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 551: 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.3.x...
  • Page 552: 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 553: 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 554: 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 555: 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.3.x...
  • Page 556 • 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.3.x...
  • Page 557: 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.3.x...
  • Page 558 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.3.x...
  • Page 559: Control Routing Information

    1. configure 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.3.x...
  • Page 560 { 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.3.x...
  • Page 561: 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.3.x...
  • Page 562: 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 563 • md5—Keyed message digest (md5) • 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.3.x...
  • Page 564: 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 565: 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.3.x...
  • Page 566: 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.3.x...
  • Page 567: 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.3.x...
  • Page 568: 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.3.x...
  • Page 569 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.3.x...
  • Page 570 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.3.x...
  • Page 571: Chapter 1 0 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 628 section of this module.
  • Page 572: 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 573: Information About Implementing Routing Policy

    Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 574: 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.3.x...
  • Page 575: As-Path-Set

    ‘as-path neighbor-is’, ‘as-path originates-from’ or ‘as-path passes-through’. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 576: Community-Set

    A community set can either be empty, or contain one or more community values. When used with an empty community set, the is-empty operator will evaluate to TRUE and the matches-any and matches-every operators will evaluate to FALSE. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 577: 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.3.x...
  • Page 578 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.3.x...
  • Page 579 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.3.x...
  • Page 580: 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.3.x...
  • Page 581 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.3.x...
  • Page 582: Enhanced Prefix-Length Manipulation

    • a.b.c.d:n— BGP VPN RD in IPv4 format. For example, 10.0.0.2:666. • asn:*— BGP VPN RD in ASN format with a wildcard character. For example, 10002:255.255.0.0. • asn:n—BGP VPN RD in ASN format. For example, 10002:666. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 583: Routing Policy Language Components

    Pass PolicyPass Policy The following example shows how the policy accepts all presented routes without modifying the routes. route-policy quickstart-pass pass end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 584 The route policy named quickstart-localpref tests a route for the presence of the communities specified in the quickstart-communities community set. If any of the community values are present in the route, the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 585: Routing Policy Configuration Basics

    AS path set, community set, extended community set, 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.3.x...
  • Page 586: Policy Definitions

    Parameters can be substituted into any attribute that takes a parameter. In the following example, a 16-bit community tag is used as a parameter: route-policy param-example ($mytag) set community (1234:$mytag) additive end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 587: Parameterization At Attach Points

    For details on which attributes can be parameterized, see the individual attributes for each protocol. router bgp 2 neighbor 10.1.1.1 remote-as 3 address-family ipv4 unicast route-policy param-example(10, prefix_set1) route-policy param-example(20, prefix_set2) Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 588: Global Parameterization

    Multi Exit Discriminator (MED) test; and the OR combines that result with the community test. If the order of operations are rearranged: not med eq 10 and destination in (10.1.3.0/24) or community matches-any ([10..25]:35) Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 589: Multiple Modifications Of The Same Attribute

    This policy prepends 666.5 666.5 2.5 2.5 2.5 to the AS path. This prepending is a result of all actions being taken and to the AS path being an attribute that contains an array of values rather than a simple scalar value. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 590: When Attributes Are Modified

    For example, if the following policies are defined: route-policy one set weight 100 end-policy route-policy two set med 200 end-policy route-policy three Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 591: Policy Verification

    BGP policy using the neighbor 1.2.3.4 address-family ipv4 unicast policy sample in command, the configuration attempt is rejected because the policy bar does not exist. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 592: Attached Policy Modification

    The verifiers test for nonexistent attributes and reject such a configuration attempt. Policy Statements Four types of policy statements exist: remark, disposition (drop and pass), action (set), and if (comparator). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 593: Remark

    By default, a route is dropped at the end of policy processing unless either the policy modifies a route attribute or it passes the route by means of an explicit pass statement. For example, if route-policy B is applied within Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 594 Because the effect of an explicit drop statement is immediate, routes in 10.0.0.0/16 le 32 are dropped without any further policy processing. Other routes are then considered to see if they were advertised by autonomous Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 595: Action

    The policy language also provides syntax, using the elseif keyword, to string together a sequence of tests: if med eq 150 then set local-preference 10 elseif med eq 200 then set local-preference 60 elseif med eq 250 then set local-preference 110 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 596: Boolean Conditions

    42 and next-hop in (10.0.2.2) A compound condition may also be a simpler expression followed by the or operator and then another simple condition: origin is igp or origin is incomplete Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 597: Apply

    IS-IS attributes. Likewise, when policies are modified that are in use, the attempt to modify the policy is verified against all current uses of the policy to ensure that the modification is compatible with the current uses. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 598: Bgp Policy Attach Points

    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 599: Default Originate

    MED of 200 and a community of 2:200. route-policy sample-export if community matches-any (2:[100-200]) then set med 100 set community (2:666) else set med 200 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 600: Neighbor Import

    The following example shows a route policy attached at the network attach point that sets the well-known community no-export for any routes more specific than /24: route-policy NetworkControl if destination in (0.0.0.0/0 ge 25) then set community (no-export) additive endif Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 601: Redistribute

    RIB were an outbound BGP policy. This command then displays what each route looked like before it was modified and after it was modified, as shown in the following example: show rpl route-policy test2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 602: 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...
  • Page 603: Import

    10:111222 is added to the route. In addition, RT 10:111222 is added to the route that matches any of the previous conditions as well. route-policy bgpvrf_export Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 604: Allocate-Label

    Another reason to use this attach point is for an ASBR. ASBRs do not require that VRFs be configured, but need this configuration to retain the IPv4 VPN prefix information. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 605: Label-Mode

    The prefix of the route is dropped if it matches any prefix specified in orf-preset (172.16.1.0/24, 172.16.5.0/24, 172.16.11.0/24). In addition to this inbound filtering, BGP also sends these prefix entries to Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 606: Next-Hop

    The clear-policy attach point provides increased control based on various AS path match operations when using a clear bgp command. This attach point is typically used to decide whether to clear BGP flap statistics based on AS-path-based match operations. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 607: Debug

    This table summarizes the BGP attributes and operators per attach points. Table 7: 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.3.x...
  • Page 608 — 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.3.x...
  • Page 609 — next-hop — 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.3.x...
  • Page 610 Dampening, on page 568) 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.3.x...
  • Page 611 Match default-originate as-path prepend community community with set additive `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.3.x...
  • Page 612 — 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.3.x...
  • Page 613 — 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.3.x...
  • Page 614 — 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.3.x...
  • Page 615 — — 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.3.x...
  • Page 616 — 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.3.x...
  • Page 617 — matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le set + 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.3.x...
  • Page 618 — 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.3.x...
  • Page 619 — — 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.3.x...
  • Page 620 — 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.3.x...
  • Page 621: 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.3.x...
  • Page 622: 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.3.x...
  • Page 623: 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.3.x...
  • Page 624: Area-In

    .105.3.0/24, 10 .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.3.x...
  • Page 625: 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.3.x...
  • Page 626: 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.3.x...
  • Page 627: Default-Information Originate

    200 else drop endif end-policy router ospfv3 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.3.x...
  • Page 628: 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.3.x...
  • Page 629: 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.3.x...
  • Page 630: 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.3.x...
  • Page 631: 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.3.x...
  • Page 632: 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.3.x...
  • Page 633: Eigrp Attributes And Operators

    — next-hop — 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.3.x...
  • Page 634: Rip Policy Attach Points

    The redistribution attach point within RIP allows you to inject routes from other routing protocol sources into the 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.3.x...
  • Page 635: 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.3.x...
  • Page 636 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 637: Pim Policy Attach Points

    BGP policy using the statement neighbor 1.2.3.4 address-family ipv4 unicast policy sample1 in, the configuration attempt is rejected because the policy sample2 does not exist. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 638: Editing Routing Policy Configuration Elements

    A copy of the route policy is copied to a temporary file and the editor is launched. After editing, save the editor buffer by using the Ctrl-X and Ctrl-S keystrokes. To save and exit the editor, use the Ctrl-X and Ctrl-C Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 639: Editing Routing Policy Configuration Elements Using The Vim Editor

    The CLI allows you to enter and delete route policy statements. You can complete a policy configuration block by entering applicable commands such as end-policy or end-set. Alternatively, the CLI interpreter Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 640: Editing Routing Policy Language Set Elements Using Xml

    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 641: Behavior Of Pass/Drop/Done Rpl Statements For Simple Hierarchical Policies

    Behavior of pass/drop/done RPL Statements for Hierarchical Policy Conditions This section describes the behavior of pass/drop/done RPL statements, with a possible sequence for executing the done statement for Hierarchical Policy Conditions. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 642: Nested Wildcard Apply Policy

    The wildcard indicates that any value for that portion of the apply policy matches. To illustrate nested wildcard apply policy, consider this policy hierarchy: route-policy Nested_Wilcard apply service_policy_customer* Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 643: Wildcards For Route Policy Sets

    RP/0/RSP0/CPU0:router(config-rpl)# if destination in prefix-set* then pass else drop endif RP/0/RSP0/CPU0:router(config-rpl)# end-policy This route policy configuration accepts routes with the prefixes mentioned in the two prefix sets, and drops all other non-matching routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 644 RP/0/RSP0/CPU0:router(config-rpl)# if community matches-any community-set* then pass else drop endif RP/0/RSP0/CPU0:router(config-rpl)# end-policy This route policy configuration accepts routes with community set values as mentioned in the two community sets, and drops all other non-matching routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 645 2 Configure a route policy with wildcards to refer to the route distinguisher set. RP/0/RSP0/CPU0:router(config)# route-policy use_rd_set RP/0/RSP0/CPU0:router(config-rpl)# if rd in rd-set* then set local-preference 100 RP/0/RSP0/CPU0:router(config-rpl-if)# elseif rd in(10.0.0.2:888, 10.0.0.2:999)then set local-preference 300 RP/0/RSP0/CPU0:router(config-rpl-elseif)# endif RP/0/RSP0/CPU0:router(config-rpl)# end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 646 RP/0/RSP0/CPU0:router(config-rpl-if)# elseif ospf-area in( 10.0.0.1, 10.0.0.2 )then set ospf-metric 300 RP/0/RSP0/CPU0:router(config-rpl-elseif)# endif 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... Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 647: Vrf Import Policy Enhancement

    BGP can aggregate a group of routes into a single prefix before sending updates to a neighbor. With Match Aggregated Route feature, route policy separates this aggregated route from other routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 648: Remove Private As In Inbound Policy

    To avoid BGP crash, wait until there are no messages in the BGP In/Out queue before committing further changes. SUMMARY STEPS 1. configure 2. route-policy name [ parameter1 , parameter2 , . . . , parameterN ] 3. end-policy 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 649: Attaching A Routing Policy To A Bgp Neighbor

    | ipv6 multicast | ipv6 labeled-unicast | vpnv4 unicast | vpnv6 unicast } 5. route-policy policy-name { in | out } 6. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 650: Modifying A Routing Policy Using A Text Editor

    | rd-set } name [ nano | emacs | vim | inline { add | prepend | remove } set-element 2. show rpl route-policy [ name [ detail ] | states | brief ] 3. show rpl prefix-set [ name | states | brief ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 651: Configuration Examples For Implementing Routing Policy

    In the following example, a BGP route policy named sample1 is defined using the route-policy name command. The policy compares the network layer reachability information (NLRI) to the elements in the prefix set test. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 652: Simple Inbound Policy: Example

    (2:1001) additive if community matches-any ([101..106]:202) then prepend as-path 2.30 2 set community (2:666) additive if med is 666 or med is 225 then set origin incomplete else Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 653: Modular Inbound Policy: Example

    ([101..200]:201) then apply set-lpref-prepend(100,101,2) set community (2:1234) additive else set local-preference 125 endif end-policy route-policy filter-bogons if destination in bogon then drop else pass endif end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 654: Use Wildcards For Routing Policy Sets

    RP/0/RSP0/CPU0:router(config-as)# end-set RP/0/RSP0/CPU0:router(config)# as-path-set AS_SET2 RP/0/RSP0/CPU0:router(config-as)# ios-regex '_42$', RP/0/RSP0/CPU0:router(config-as)# ios-regex '_47$' RP/0/RSP0/CPU0:router(config-as)# end-set 2 Configure a route policy with wildcards to refer to the AS-path sets. RP/0/RSP0/CPU0:router(config)# route-policy WILDCARD_AS_SET Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 655 RP/0/RSP0/CPU0:router(config-ext)# 1111:777 RP/0/RSP0/CPU0:router(config-ext)# end-set 2 Configure a route policy with wildcards to refer to the extended community sets. RP/0/RSP0/CPU0:router(config)# route-policy WILDCARD_EXT_COMMUNITY_SET RP/0/RSP0/CPU0:router(config-rpl)# if extcommunity rt matches-any extcommunity-set* then Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 656 65000:777 end-set rd-set rd_set_demo2 20.0.0.1/7:99, 4784:199 end-set route-policy use_rd_set if rd in rd-set* then set local-preference 100 elseif rd in (10.0.0.2:888, 10.0.0.2:999) then set local-preference 300 endif end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 657 200 elseif ospf-area in (10.0.0.1, 10.0.0.2) then set ospf-metric 300 endif end-policy This completes the configuration of routing policy with wildcards for OSPF area sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 658: Vrf Import Policy Configuration: Example

    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.3.x...
  • Page 659 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.3.x...
  • Page 660 Implementing Routing Policy Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 661: Chapter 1 1 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 662: 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.3.x...
  • Page 663: 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.3.x...
  • Page 664: 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.3.x...
  • Page 665: Dynamic Ecmp

    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.3.x...
  • Page 666: Configure Floating Static Route

    110. configure router static address-family ipv4 unicast 0.0.0.0/0 2.6.0.1 110 Configure Floating Static Route This task explains how to configure a floating static route. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 667 [vrf vrf-name ] { ip-address | interface-type interface-instance } [ 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.3.x...
  • Page 668: Configure Static Routes Between Pe-Ce Routers

    If a VRF is not specified, the static route is configured under the default VRF. Step 4 address-family { ipv4 | ipv6 } { unicast | multicast } Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 669: Change Maximum Number Of Allowable Static Routes

    SUMMARY STEPS 1. configure 2. router static 3. maximum path { ipv4 | ipv6 } value 4. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 670: 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 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 671: 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.3.x...
  • Page 672: Configuring A Fixed Default Route: Example

    100G link because of the higher load metric. However, for load balancing traffic out of Router A2, local UCMP works only on links to Routers C1 and C2. For load balancing traffic from Router C1 to Router Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 673 RP/0/0/CPU0:Feb 19 06:16:34.273 : ipv4_static[1044]: %ROUTING-IP_STATIC-4-CONFIG_NEXTHOP_ETHER_INTERFACE : Route for 10.10.10.1 is configured via ethernet interface Repeat this procedure on all routers that need to be configured with UCMP. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 674: Configuring A Static Route Between Pe-Ce Routers: Example

    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.3.x...
  • Page 675 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.3.x...
  • Page 676 Implementing Static Routes Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 677: Chapter 1 2 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.3.x...
  • Page 678: Configuring Route Convergence Monitoring And Diagnostics

    6. monitoring-interval minutes 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.3.x...
  • Page 679 • Critical-Set to monitor route convergence for critical priority routes 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.3.x...
  • Page 680 /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.3.x...
  • Page 681: 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.3.x...
  • Page 682: 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.3.x...
  • Page 683: 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.3.x...
  • Page 684: 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.3.x...
  • Page 685: 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.3.x...
  • Page 686 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.3.x...
  • Page 687: Chapter 1 3 Implementing Data Plane Security

    LISP control and data packets. DPSec feature uses the list of valid encapsulation sources for each EID instance to filter LISP data packets during decapsulation at xTRs and PxTRs. • While LISP forwarding is supported on Cisco ASR 9000 High Density 100GE Ethernet line cards, Note LISP IPv6 RLOC and LISP data plane security features are not supported on these cards.
  • Page 688: Source Rloc Decapsulation Filtering

    Map-Register messages. The complete list is then pushed out to all the xTRs and PxTRs that must decapsulate packets for the VPN identified by the EID instance ID. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 689: Map-Server Membership Gleaning And Distribution

    • Build a list of RLOC addresses using Map-Registrations and configuration from which to accept reliable transport sessions. • Accept TCP connections from (P)xTRs in above list. • Glean and maintain per EID instance RLOC membership from received Map-Register messages. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 690 Map-Register message that places it in the EID instance membership. If after an EID instance membership request has been accepted by Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 691: Decapsulation Filtering On (P)Xtrs

    Once the connection with a Map-Server is established the (P)xTR sends a Membership-Request message for each of the EID instances that have the Map-Server in their configuration. Received Membership-Add and Membership-Delete messages update the EID instance membership database on the (P)xTR. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 692: Tcp-Based Reliable Transport Sessions

    To configure an xTR or Proxy-xTR to download decapsulation filter lists for source validation when decapsulating LISP packets, use the decapsulation filter source command in the lisp configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 693 The Map-Server requires the PETR RLOC(s) to be included in a map-server rloc members modify-discovered add command to permit this session establishment. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 694 { default | [ vrf vrf_name]} instance-id instance_id Selects the default (global) routing table or the specified VRF table for association with the configured instance ID. Example: RP/0/RSP0/CPU0:router(config-lisp)#eid-table default instance-id <IID-A> Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 695 Example: instance ID for the LISP site are RP/0/RSP0/CPU0:router(config-lisp-afi)#database-mapping configured. 11.2.0.0/24 201.1.0.1 priority 1 weight 100 Step 11 exit Returns the router to LISP configuration mode. Example: RP/0/RSP0/CPU0:router(config-lisp-afi)#exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 696 102.2.0.0/24 map-request map-cache 103.2.0.0/24 map-request database-mapping 11.2.0.0/24 201.1.0.1 priority 1 weight 100 database-mapping 101.2.0.0/24 201.1.0.1 priority 1 weight 100 decapsulation filter rloc source member locator-set loc_sh1_vrf1 locator-table default Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 697: Create, Maintain And Distribute Decapsulation Filter Lists

    Map-Server, it needs a way to obtain the decapsulation filter list. The add form of this command includes the mechanisms to establish the reliable transport session with the Map-Server for obtaining the decapsulation filter list on the PETR. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 698: Reset Lisp Tcp Reliable Transport Session

    When the “*” option is specified all LISP reliable transport sessions will be cleared. Example: RP/0/0/CPU0:ios#clear lisp vrf test session Verify Data Plane Security Configurations Perform this task to verify data plane security configurations: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 699 RLOC. When the optional 'registrations' keyword is specified the command displays the list of registrations contributing to a membership entry. Step 3 show lisp vrf vrf_name session [peer_address] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 700 Platform space : allocated Prefix Action Matches Attributes 22:22::10 accept 0 h/w [active, plt space] 33:33::20 accept 0 h/w [active, plt space] 88:88::30 accept 0 h/w [active, plt space] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 701 Key: 4a0003e8 19000033 00330003 00000000 00000000 0020 Size: 22 Mask: ffffffff ffffffff ffffffff ffffffff ffffffff ffff Size: 22 Result: 51000000 19000000 Size: 8 Entry 7: >> <Snipped> End NP Show Structure Display Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x...
  • Page 702: Additional References

    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.3.x...

Table of Contents