Internal ethernet control network commands (24 pages)
Summary of Contents for Cisco ASR 9000 Series
Page 1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x First Published: 2013-09-01 Last Modified: 2014-04-01 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
Page 2
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
Page 3
4-byte Autonomous System Number Format as-format Command BGP Configuration Configuration Modes Router Configuration Mode Router Address Family Configuration Mode Neighbor Configuration Mode Neighbor Address Family Configuration Mode Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
BGP Cost Community Support for EIGRP MPLS VPN PE-CE with Back-door Links Adding Routes to the Routing Information Base BGP Best Path Algorithm Comparing Pairs of Paths Order of Comparisons Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 5
BGP Multi-Instance and Multi-AS BGP Prefix Origin Validation Based on RPKI Configuring RPKI Cache-server Configuring RPKI Prefix Validation Configuring RPKI Bestpath Computation BGP 3107 PIC Updates for Global Prefixes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 6
Configuring a Route Reflector for BGP Configuring BGP Route Filtering by Route Policy Configuring BGP Attribute Filtering Configuring BGP Next-Hop Trigger Delay Disabling Next-Hop Processing on BGP Updates Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 8
Differences in BFD in Cisco IOS XR Software and Cisco IOS Software BFD Multipath Sessions Support on nV Edge System BFD Modes of Operation BFD Packet Information Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x viii OL-30423-03...
Page 9
BFD Object Tracking How to Configure BFD BFD Configuration Guidelines Configuring BFD Under a Dynamic Routing Protocol or Using a Static Route Enabling BFD on a BGP Neighbor Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 10
Configuring BFD IPv6 Multihop for iBGP Neighbors Configuring BFD over MPLS Traffic Engineering LSPs Enabling BFD Parameters for BFD over TE Tunnels Configuring BFD Bring up Timeout Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 11
BFD Echo Mode Disable: Examples BFD Dampening: Examples BFD IPv6 Checksum: Examples BFD Peers on Routers Running Cisco IOS and Cisco IOS XR Software: Example Configuring BFD IPv6 Multihop: Examples BFD over MPLS TE LSPs: Examples BFD over MPLS TE Tunnel Head-end Configuration: Example...
Page 12
Configuring an EIGRP Authentication Keychain Configuring an Authentication Keychain for an IPv4/IPv6 Interface on a Default Configuring an Authentication Keychain for an IPv4/IPv6 Interface on a Nondefault Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 13
Multitopology IPv6 for IS-IS IS-IS Authentication Nonstop Forwarding Multi-Instance IS-IS Multiprotocol Label Switching Traffic Engineering Overload Bit on Router Overload Bit Configuration During Multitopology Operation IS-IS Overload Bit Avoidance Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03 xiii...
Page 14
Setting SPF Interval for a Single-Topology IPv4 and IPv6 Configuration Customizing Routes for IS-IS Configuring MPLS LDP IS-IS Synchronization Enabling Multicast-Intact Tagging IS-IS Interface Routes Setting the Priority for Adding Prefixes to the RIB Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 15
Area Border Routers Autonomous System Boundary Routers (ASBR) Interior Routers OSPF Process and Router ID Supported OSPF Network Types Route Authentication Methods for OSPF Plain Text Authentication Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 16
Label Distribution Protocol IGP Auto-configuration for OSPF OSPF Authentication Message Digest Management GTSM TTL Security Mechanism for OSPF Path Computation Element for OSPFv2 OSPF IP Fast Reroute Loop Free Alternate Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 17
Creating Multiple OSPF Instances (OSPF Process and a VRF) Configuring Multi-area Adjacency Configuring Label Distribution Protocol IGP Auto-configuration for OSPF Configuring LDP IGP Synchronization: OSPF Configuring Authentication Message Digest Management for OSPF Examples Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03 xvii...
Page 18
IPv6 Provider Edge IPv6 and IPv6 VPN Provider Edge Transport over MPLS RIB Quarantining Route and Label Consistency Checker How to Deploy and Monitor RIB Verifying RIB Configuration Using the Routing Table Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xviii OL-30423-03...
Page 19
In-bound RIP Traffic on an Interface Out-bound RIP Traffic on an Interface How to Implement RIP Enabling RIP Customizing RIP Control Routing Information Creating a Route Policy for RIP Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 20
ACL Support in RPL Prefix Sets rd-set Routing Policy Language Components Routing Policy Language Usage RPL Variables Routing Policy Configuration Basics Policy Definitions Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 23
Modifying a Routing Policy Using a Text Editor Configuration Examples for Implementing Routing Policy Routing Policy Definition: Example Simple Inbound Policy: Example Modular Inbound Policy: Example Use Wildcards For Routing Policy Sets Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03 xxiii...
Page 24
Route Convergence Monitoring and Diagnostics Configuring Route Convergence Monitoring and Diagnostics Route Convergence Monitoring and Diagnostics Prefix Monitoring Route Convergence Monitoring and Diagnostics OSPF Type 3/5/7 Link-state Advertisements Monitoring Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxiv OL-30423-03...
Page 25
Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs Enabling RCMD Monitoring for IS-IS Prefixes: Example Enabling RCMD Monitoring for OSPF Prefixes: Example Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs: Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 26
Contents Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxvi OL-30423-03...
From Release 6.1.2 onwards, Cisco introduces support for the 64-bit Linux-based IOS XR operating system. Extensive feature parity is maintained between the 32-bit and 64-bit environments. Unless explicitly marked otherwise, the contents of this document are applicable for both the environments. For more details on Cisco IOS XR 64 bit, refer to the Release Notes for Cisco ASR 9000 Series Routers, Release 6.1.2 document.
Page 28
Preface Obtaining Documentation and Submitting a Service Request Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x xxviii OL-30423-03...
Page 29
C H A P T E R New and Changed Routing Features This table summarizes the new and changed feature information for the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, and tells you where they are documented.
345 Refer OSPFv3 Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for commands to configure OSPFv3 Sham Link Support for MPLS VPN. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 33
Refer BGP Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for information on the commands used for configuring Resilient Per-CE Label Allocation Mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Refer BGP Commands chapter in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference for information on the commands used for configuring User Defined Martian Check. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 35
Related Documents, on page 168 section of this module. To locate documentation for other commands that might appear while performing a configuration task, search online in the Cisco ASR 9000 Series Router software master command index. Feature History for Implementing BGP...
Page 36
The BGP-RIB Feedback Mechanism for Update Generation feature was added Release 4.3.1 The following features were supported • BGP VRF Dynamic Route Leaking The label-allocation-mode command is renamed the label mode command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 37
IDs required for each command. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Information About Implementing BGP To implement BGP, you need to understand the following concepts: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 38
Note For information on configuring BGP to distribute Multiprotocol Label Switching (MPLS) Layer 3 virtual private network (VPN) information, see the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide For information on BGP support for Bidirectional Forwarding Detection (BFD), see the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Configuration Guide and the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Command Reference.
Page 39
BGP Default Limits Cisco IOS XR BGP imposes maximum limits on the number of neighbors that can be configured on the router and on the maximum number of prefixes that are accepted from a peer for a given address family. This limitation safeguards the router from resource depletion caused by misconfiguration, either locally or on the remote neighbor.
Page 40
The BGP next-hop tracking feature allows you to specify that BGP routes are resolved using only next hops whose routes have the following characteristics: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 41
Reordered Address Family Processing The Cisco IOS XR software walks address family tables based on the numeric value of the address family. When a next-hop notification batch is received, the order of address family processing is reordered to the following order: •...
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.
RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# VRF Configuration Mode The following example shows how to enter VPN routing and forwarding (VRF) configuration mode: RP/0/RSP0/CPU0:router(config)# router bgp 140 RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_A RP/0/RSP0/CPU0:router(config-bgp-vrf)# Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router(config)# router bgp 666 RP/0/RSP0/CPU0:router(config-bgp)# Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Step 3 vrfvrf-instance Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 45
◦ Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes. • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Example: RP/0/RSP0/CPU0:router(config-rpl)# set label mode per-ce RP/0/RSP0/CPU0:router(config-rpl)# Configures resilient per-ce label allocation mode. Step 4 Do one of the following: • end • commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router(config-bgp-vrf)# neighbor 11.0.1.2 RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)# VPNv4 Address Family Configuration Mode The following example shows how to enter VPNv4 address family configuration mode: RP/0/RSP0/CPU0:router(config)# router bgp 152 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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...
In addition, some part of the configuration of the neighbor group could be hidden if a session group or address family group was also being used. Configuration grouping has the following effects in Cisco IOS XR software: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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
Last read 00:00:00, hold time is 180, keepalive interval is 60 seconds Received 0 messages, 0 notifications, 0 in queue Sent 0 messages, 0 notifications, 0 in queue Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The inheritance rules used when groups are inheriting configuration from other groups are the same as the rules given for neighbors inheriting from groups. Viewing Inherited Configurations You can use the following show commands to view BGP inherited configurations: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
[a:GROUP_2] The following example displays sample output from the show bgp af-group command using the users keyword: RP/0/RSP0/CPU0:router# show bgp af-group GROUP_2 users IPv4 Unicast: a:GROUP_1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following is sample output from the show bgp session-group command with the inheritance keyword showing that the GROUP_1 session group inherits session parameters from the GROUP_3 and GROUP_2 session groups: RP/0/RSP0/CPU0:router# show bgp session-group GROUP_1 inheritance Session: s:GROUP_2 s:GROUP_3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
GROUP_2, which in turn inherits the setting from address family group GROUP_3: RP/0/RSP0/CPU0:router# show bgp neighbor-group GROUP_1 configuration neighbor-group GROUP_1 remote-as 1982 timers 30 90 [n:GROUP_2 s:GROUP_3] address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
BGP policy accounting uses traffic indices that are set on BGP routes to track various counters. See the Implementing Routing Policy on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide for details on table policy use. See the Cisco Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
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.
Paths that are not configured with the cost community attribute are considered by the best-path selection Note process to have the default cost value (half of the maximum value [4294967295] or 2147483647). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
However, the component routes are configured with two different IDs. • 10.0.0.1 ◦ POI=IGP ◦ cost community ID=1 ◦ cost number=100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
ASBR2. For example, the following configuration is applied to ASBR2: RP/0/RSP0/CPU0:router(config)# route-policy ISP2_PE1 RP/0/RSP0/CPU0:router(config-rpl)# set extcommunity cost (1:1) Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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.
MED is compared if both paths were received from neighbors in the same AS; otherwise the MED comparison is skipped. However, this behavior is modified by certain configuration options, and there are also some corner cases to consider. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The second part of the BGP best-path algorithm implementation determines the order in which the paths should be compared. The order of comparison is determined as follows: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
39, as is the calculation of the MED value. 7 If all path parameters in Step 1 through Step 6 do not apply, the change can be suppressed. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
IP multicast routes. BGP carries two sets of routes, one set for unicast routing and one set for multicast routing. The routes associated with multicast routing are used by the Protocol Independent Multicast (PIM) feature to build data distribution trees. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 72
Figure 5: Multicast BGP Environment, on page 45 illustrates a multiprotocol BGP environment with a separate unicast route and multicast route from Router A to Router B. Multiprotocol BGP allows these routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Route flapping is a problem in an internetwork connected to the Internet, because a route flap in the Internet backbone usually involves many routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(routers A, B, and C). Without route reflectors, when Router A receives a route from an external neighbor, it must advertise it to both routers B and C. Routers B and C do not readvertise the iBGP learned Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 75
Figure 7: Simple BGP Model with a Route Reflector, on page 48 , Router B is configured as a route reflector. When the route reflector receives routes advertised from Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 76
(nonclient peers). A route reflector reflects routes between these two groups. The route reflector and its client peers form a cluster. The nonclient peers must be fully meshed with each other, but the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 77
A route reflector can be configured to have other route reflectors in a client group or nonclient group. In a simple configuration, the backbone could be divided into many clusters. Each route Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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: •...
BGP. For detailed information on configuring MPLS VPN CSC with BGP, see the Implementing MPLS Layer 3 VPNs on Cisco ASR 9000 Series Router module of the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide. BGP Keychains BGP keychains enable keychain authentication between two BGP peers.
However, until all the internal peers of the primary PE reconverge to use the backup path as the new bestpath, the traffic continues to be forwarded to the primary PE with the local label that was allocated for the primary Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
• For VPN prefixes, the PE paths are always eligible to be multipaths. For information on the maximum-paths and multipath commands, see the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
Page 83
Router R3 (3.3.3.3) is configured as a neighbor without the multipath option, and hence the routes from this router are not eligible to be chosen as multipaths. RP/0/RSP0/CPU0:router(config-bgp)# neighbor 1.1.1.1 RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# multipath RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Using BGP policy accounting, you can account for traffic according to the route it traverses. Service providers can identify and account for all traffic by customer and bill accordingly. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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: •...
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/...
Table 2: Total Tables and Routes Downloaded by Line Card Type Card Type Tables Downloaded Routes Downloaded Customer (o+Y) (o+Y)R Core Without SVD • n is the total number of VRFs present Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 88
"routes in all non-default" vrfs will have to be calculated and divided by the number of VRFs, to arrive at the Average Routes per VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
InterAs-RR adds the ACCEPT-OWN community and modifies the set of RTs before sending the new Accept Own route to the attached PEs, including the originator, through intervening RRs. The route is modified via route-policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 90
Accept Own path from route-reflector 1 and a non-Accept Own path from route-reflector 2, and if the paths are otherwise identical, the Accept Own path is preferred. The import operates on the Accept Own path. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
Perform this task to configure Resource Public Key Infrastructure (RPKI) cache-server parameters. Configure the RPKI cache-server parameters in rpki-server configuration mode. Use the rpki server command in router BGP configuration mode to enter into the rpki-server configuration mode Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 93
Specifies a transport method for the RPKI cache. • transport ssh port port_number • ssh—Select ssh to connect to the RPKI cache using SSH. • transport tcp port port_number Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 94
Range for the refresh time is 15 to 3600 seconds. • refresh-time off Configure the off option to specify not to send serial-queries periodically. Example: RP/0/RSP0/CPU0:router(config-bgp-rpki-server)#refresh-time RP/0/RSP0/CPU0:router(config-bgp-rpki-server)#refresh-time Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RFC 3107 allows filtering of Next-Hop Loops from OSPF and reduces labels advertised by LDP. This implementation significantly reduces OSPF and LDP database. The 3107 PIC implementation supports the following address-families with additional-path configuration. • address-family ipv4 unicast • address-family ipv6 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• 6 VPE Service Note L2VPN-VPWS service on 3107 BGP PIC is supported from Cisco IOS XR Release 5.1.3. BGP 3107 PIC Updates for Global Prefixes implementation uses a shared recursive Load Info (RLDI) forwarding object in place of a Light-Weight recursive (LW-RLDI) object. The RLDI is shared between multiple leaves, while the LW-RLDI is instantiated per leaf.
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.
Note IGPs do not use BGP LS data from remote peers. BGP does not download the received BGP LS data to any other component on the router. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
IPv4 or router address-family VPNv4 configuration mode. The show bgp, show bgp neighbors, and show bgp process performance-statistics commands display the information from update wait-install configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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 ◦...
BGP must be able to obtain a router identifier (for example, a configured loopback address). At least, one address family must be configured in the BGP router configuration and the same address family must also be configured under the neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 104
RP/0/RSP0/CPU0:router(config-rpl)# endif Step 3 (Optional) Ends the definition of a route policy and exits end-policy route policy configuration mode. Example: RP/0/RSP0/CPU0:router(config-rpl)# end-policy Step 4 commit Step 5 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 105
Step 13 route-policy route-policy-name { in | out } (Optional) Applies the specified policy to inbound IPv4 unicast routes. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-policy drop-as-1234 in Step 14 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The confederation maintains the next hop and local preference information, and that allows you to retain a single Interior Gateway Protocol (IGP) for all autonomous systems. To the outside world, the confederation looks like a single autonomous system. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
By default, if a link goes down, all BGP sessions of any directly adjacent external peers are immediately reset. Use the bgp fast-external-fallover disable command to disable automatic resetting. Turn the automatic reset back on using the no bgp fast-external-fallover disable command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 123 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Step 2 router bgp as-number Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(routes that were received with no MED attribute). Example: RP/0/RSP0/CPU0:router(config-bgp)# default metric 10 Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
IP address as a BGP peer. Example: RP/0/RSP0/CPU0:router(config-bgp)# neighbor 172.168.40.24 Step 4 remote-as as-number Creates a neighbor and assigns a remote autonomous system number to it. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 2002 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 126 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
BGP routes into the IP routing table. Redistributing iBGP routes into IGPs may cause routing loops to form within an autonomous system. Use Caution this command with caution. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This task shows how to inject prefixes from another routing protocol into multiprotocol BGP. Specifically, prefixes that are redistributed into multiprotocol BGP using the redistribute command are injected into the unicast database, the multicast database, or both. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 122
RP/0/RSP0/CPU0:router# clear bgp dampening should never be used during normal functioning of the system. For example, use clear bgp ipv4 unicast dampening prefix x.x.x./y Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
Perform this task to configure BGP neighbor groups and apply the neighbor group configuration to a neighbor. A neighbor group is a template that holds address family-independent and address family-dependent configurations associated with the neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 125
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 126
Example: RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# route-policy drop-as-1234 in Step 9 Exits the current configuration mode. exit Example: RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# exit Step 10 exit Exits the current configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Example: RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-reflector-client Step 8 commit Configuring BGP Route Filtering by Route Policy Perform this task to configure BGP routing filtering by route policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 129
Configuring BGP Route Filtering by Route Policy Before You Begin See the Implementing Routing Policy on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide (this publication) for a list of the supported attributes and operations that are valid for inbound and outbound neighbor policy filtering.
Step 2 router bgp as-number Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
If the send-community-ebgp command is configured for a neighbor group or address family group, all neighbors using the group inherit the configuration. Configuring the command specifically for a neighbor overrides inherited values. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 134
{labeled-unicast | mvpn | unicast}} with one of the specified address family sub mode identifiers. IPv6 address family mode supports these sub modes: Example: • labeled-unicast RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv6 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RIB. To enable users to determine an exit point after partial comparison, the cost community is defined to tie-break equal paths during the best-path selection process. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
If the neighbor is not route refresh capable, the neighbor must be reset to relearn received routes using the clear bgp soft command. See the Resetting Neighbors Using BGP Inbound Soft Reset, on page 127. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 139
Example: or filtered. This allows a “soft clear” to be performed after the inbound RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# policy is changed. soft-reconfiguration inbound always Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Layer 3 VRFs can be configured on the line card. See the Software Entitlement on Cisco ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide for more information on advanced IP licencing.
Page 141
PEs. The remote PEs import them into VRFs which have import RTs that match these exported route target Example: communities. RP/0/RSP0/CPU0:routerr(config-vrf-af)# export route-target 123;234 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
To enable BGP to carry VPN reachability information between provider edge (PE) routers you must configure the PE-PE interior BGP (iBGP) sessions. A PE uses VPN information carried from the remote PE router to Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 144
Step 3 address-family vpnv4 unicast Enters VPN address family configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp)# address-family vpvn4 unicast Step 4 exit Exits the current configuration mode. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# exit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Configuring BGP as a PE-CE Protocol Perform this task to configure BGP on the PE and establish PE-CE communication using BGP. This task can be performed in both VRF and non-VRF configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 148
BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 120 Step 3 vrf vrf-name Enables BGP routing for a particular VRF on the PE router. Example: RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_pe_2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 149
The PE advertises only one label for the aggregate. Because component prefixes could have different next hops to CEs, an additional lookup has to be performed during data forwarding. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 150
PE router. If the prefix is looped back to the site-of-origin 234:111 same site, the PE detects this and does not send the update to the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Even if Interior Gateway Protocols (IGPs) are used as the PE-CE protocol, the import logic happens through BGP. Therefore, all IGP routes have to be imported into the BGP VRF table. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 152
Example: To see a list of all the possible keywords and arguments for this command, use the CLI help (?). RP/0/RSP0/CPU0:router(config-vrf)# address-family ipv4 unicast Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
If a keychain is configured for a neighbor group or a session group, a neighbor using the group inherits Note the keychain. Values of commands configured specifically for a neighbor override inherited values. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Configures keychain-based authentication. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)# keychain kych_a Step 6 commit Disabling a BGP Neighbor Perform this task to administratively shut down a neighbor session without removing the configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
REFRESH request to the neighbor if the neighbor has advertised the ROUTE_REFRESH capability. To determine whether the neighbor has advertised the ROUTE_REFRESH capability, use the show bgp neighbors command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• The ip-address argument specifies the address of the graceful ] soft [ in [ prefix-filter ] | out ] clear bgp { ipv4 neighbor to be reset. | ipv6} { unicast | labeled-unicast } Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Displays routes that match the specified autonomous system path regular expression. Example: RP/0/RSP0/CPU0:router# show bgp regexp "^3 " Step 4 show bgp Displays entries in the BGP routing table. Example: RP/0/RSP0/CPU0:router# show bgp Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Displays the status of all BGP connections. show bgp summary Example: RP/0/RSP0/CPU0:router# show bgp summary Displaying BGP Process Information Perform this task to display specific BGP process information. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 161
Example: RP/0/RSP0/CPU0:router# show bgp processes detail Step 6 show bgp summary Displays the status of all BGP connections. Example: RP/0/RSP0/CPU0:router# show bgp summary Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
[ neighbor ip-address | process-id.index [ • The process-id.index argument selects a particular update group summary | performance-statistics ]] to display and is specified as follows: process ID (dot) index. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Use the additional-paths selection command with an Note appropriate route-policy to calculate backup paths and to enable Prefix Independent Convergence (PIC) Example: functionality. RP/0/RSP0/CPU0:router(config-bgp-af)# additional-paths selection route-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Retains the previously allocated local label for the primary path on the primary PE for 10 minutes after reconvergence. Example: RP/0/RSP0/CPU0:router(config-bgp-af)# retain local-label 10 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Step 3 if conditional-expression then action-statement else Decides the actions and dispositions for the given route. Example: RP/0/RSP0/CPU0:router (config-rpl)#if community matches-any (*) then set path-selection all advertise else Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• The route is a static route redistributed into BGP. The value assigned is the value of next hop to the route or as set by a route-policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 169
RP/0/RSP0/CPU0:router(config-bgp)# address-family ipv4 unicast Step 7 redistribute ospf osp route-policy plcy_namemetric value Allows the redistribution of AiBGP metric into OSPF. Example: RP/0/RSP0/CPU0:router(config-bgp-af)#redistribute ospf osp route-policy aigp_policy metric 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Allows sessions to use the primary IP address from a specific interface as the local address when forming a session with a neighbor. Example: RP/0/RSP0/CPU0:router(config-bgp-nbr)#update-source Loopback0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing process. Example: RP/0/RSP0/CPU0:router(config)# router bgp 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Multiprotocol Interior BGP (MP-iBGP) session (either IPv4 or VPNv4), the remote PE automatically does load balancing if the maximum-paths command is enabled. Unequal cost recursive load balancing happens across maximum eight paths only. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 177
• ebgp maximum : Consider only eBGP paths for multipath. • ibgp maximum [ unequal-cost ]: Consider load balancing between iBGP learned paths. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
VRF to default VRF. Before You Begin A route-policy is mandatory for configuring dynamic route leaking. Use the route-policy route-policy-name command in global configuration mode to configure a route-policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 179
• export to default-vrf—configures import from RP/0/RSP0/CPU0:router(config-vrf-af)#export to default-vrf route-policy rpl_dynamic_route_export non-default-VRF to default VRF. The paths imported from the default-VRF are advertised to other PEs. Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 181
Customer Facing Not Interested What to Do Next After enabling SVD using the svd platform enable command, do not use the selective-vrf-download disable to turn off SVD. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Perform this task to configure resilient per-ce label allocation mode under VRF address family. Resilient per-CE 6PE label allocation is not supported on CRS-1 and CRS-3 routers, but supported only Note on CRS-X routers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 184
{ipv4 | ipv6} unicast Example: RP/0/RSP0/CPU0:router(config-bgp-vrf)# address-family ipv4 unicast RP/0/RSP0/CPU0:router(config-bgp-vrf-af)# Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. Step 5 label mode per-ce Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Perform this task to configure resilient per-ce label allocation mode using a route-policy. Resilient per-CE 6PE label allocation is not supported on CRS-1 and CRS-3 routers, but supported only Note on CRS-X routers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 186
RP/0/RSP0/CPU0:router(config-rpl)# set label mode per-ce RP/0/RSP0/CPU0:router(config-rpl)# Configures resilient per-ce label allocation mode. Step 4 Do one of the following: • end • commit Example: RP/0/RSP0/CPU0:router(config-rpl)# end RP/0/RSP0/CPU0:router(config-rpl)# commit Saves configuration changes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(destination in static) then set next-hop 10.1.0.1 else drop endif end-policy route-policy set_next_hop_agg_v6 set next-hop 2003::121 end-policy route-policy set_next_hop_static_v6 if (destination in static) then set next-hop 2011::121 else drop Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following example shows how to enable BGP NSR: configure router bgp 120 The following example shows how to disable BGP NSR: configure router bgp 120 no nsr Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following is a sample configuration for originating prefixes with the AiGP metric attribute: route-policy aigp-policy set aigp-metric 4 set aigp-metric igp-cost end-policy router bgp 100 address-family ipv4 unicast network 10.2.3.4/24 route-policy aigp-policy redistribute ospf osp1 metric 4 route-policy aigp-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
VRF Dynamic Route Leaking Configuration: Example These examples show how to configure VRF dynamic route leaking: Import Routes from default-VRF to non-default-VRF vrf vrf_1 address-family ipv6 unicast import from default-vrf route-policy rpl_dynamic_route_import Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router(config)# route-policy route1 RP/0/RSP0/CPU0:router(config-rpl)# set label mode per-ce RP/0/RSP0/CPU0:router(config-rpl)# end Where to Go Next For detailed information about BGP commands, see Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference Additional References The following sections provide references related to implementing BGP.
Page 197
Avoid BGP Best Path Transitions from One External to Another, by Enke Chen, Srihari Sangli draft-ietf-idr-as4bytes-12.txt BGP Support for Four-octet AS Number Space, by Quaizar Vohra, Enke Chen Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 198
Capabilities Advertisement with BGP-4 RFC 4271 A Border Gateway Protocol 4 (BGP-4) RFC 4364 BGP/MPLS IP Virtual Private Networks (VPNs) RFC 4724 Graceful Restart Mechanism for BGP Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 199
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 200
Implementing BGP Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
C H A P T E R Implementing BFD This module describes the configuration of bidirectional forwarding detection (BFD) on the Cisco ASR 9000 Series Router. Bidirectional forwarding detection (BFD) provides low-overhead, short-duration detection of failures in the path between adjacent forwarding engines. BFD allows a single mechanism to be used for failure detection over any media and at any protocol layer, with a wide range of detection times and overhead.
Page 202
• BFD over Logical Bundle Release 4.3.1 Support for these features was added: • BFD over MPLS Traffic Engineering LSPs • BFD over Pseudowire Head-end • BFD over Satellite Interfaces Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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: ◦...
Series Aggregation Services Router Routing Configuration Guide and Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference • BFD over GRE feature is not supported on Cisco ASR 9000 Series SPA Interface Processor-700. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
• 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.
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.
BFD Packet Intervals on Physical Interfaces When BFD is running over physical interfaces, echo mode is used only if the configured interval is less than two seconds. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
So, if the system transmits one additional echo packet beyond the multiplier count without receipt of any echo packets, echo failure is detected and the neighbor is declared down (See Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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...
BFD echo packet (using the standard multiplier counter scheme as described in Echo Packet Failure Detection In Asynchronous Mode) before the BFD session is declared down. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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...
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: •...
Note specifically stated. • Cisco IOS XR software supports BFD Version 0 and Version 1. BFD sessions are established using either version, depending upon the neighbor. BFD Version 1 is the default version and is tried initially for session creation.
Page 214
Enables BFD fast-detection on the specified IPV4 unicast destination bfd fast-detect address prefix and on the forwarding next-hop address. Example: RP/0/RSP0/CPU0:router(config-static-vrf)# address-family ipv4 unicast 0.0.0.0/0 2.6.0.2 Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
A BFD member link is “IIR Active” if the link is in LACP distributing state and the BFD session is up. • A BFD member link is “IIR Attached” when the BFD session is down, unless a LACP state transition is received. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 217
If so, then the bundle is placed, or remains, in DOWN state. Once the number of active links reaches the minimum threshold then the bundle returns to UP state. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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.
Implementing BFD Bidirectional Forwarding Detection over Generic Routing Encapsulation in pure RFC5880 fashion. These platforms include products of other vendors, as well as other Cisco products running Cisco IOS or Cisco Nexus OS software. BLB is a multipath (MP) single-hop session. BLB requires limited knowledge of the bundle interfaces on which the sessions run;...
VLAN header. If the router is configured for routing a Layer 3 (network layer) protocol, it will terminate the VLAN and MAC layers at the interface on which a frame arrives. The MAC Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
Implementing BFD BFD Dampening • A BFD session on the member interfaces can belong to only one mode (Cisco or IETF mode). Mix of the modes within the same bundle is not supported. BFD Dampening Bidirectional Forwarding Detection (BFD) is a mechanism used by routing protocols to quickly realize and communicate the reachability failures to their neighbors.
• 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 226
In the example in Step 5, the IP address 172.168.40.24 was set up RP/0/RSP0/CPU0:router(config-bgp-nbr)# bfd as the BGP peer. In this example, BFD is enabled between the fast-detect local networking devices and the neighbor 172.168.40.24. Step 8 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• To configure BFD for IS-IS or MPLS-TE, enter the Note corresponding configuration mode. For example, for MPLS-TE, enter MPLS-TE configuration mode. Step 4 bfd minimum-interval milliseconds Sets the BFD minimum interval. Range is 15-30000 milliseconds. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following procedures describe how to configure BFD for OSPFv3 on an interface. The steps in the procedure are common to the steps for configuring BFD on IS-IS, and MPLS-TE; only the command mode differs. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 229
Sets the BFD multiplier. This example sets the BFD multiplier to 7. Example: RP/0/RSP0/CPU0:router(config-ospfv3)# bfd multiplier 7 Step 5 area area-id Configures an OSPFv3 area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(A.B.C.D). RP/0/RSP0/CPU0:router(config-if)# bfd address-family ipv4 destination 10.20.20.1 Step 4 commit Enabling BFD Sessions on Bundle Members To enable BFD sessions on bundle member links, complete these steps: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
DOWN state. Once the number of active links or available bandwidth reaches one of the minimum thresholds, then the bundle returns to the UP state. To configure minimum bundle thresholds, complete these steps: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Failure Detection. To configure the minimum transmission interval and failure detection times for BFD asynchronous mode control and echo packets on bundle member links, complete these steps: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 235
30 default is 3. • Although the command allows you Note to configure a minimum of 2, the supported minimum is 3. Step 5 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.)
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.
Enters BFD interface configuration mode for a specific interface or bundle. In BFD interface configuration mode, you can specify an IPv4 address on an individual interface or Example: bundle. RP/0/RSP0/CPU0:router(config-bfd)# interface gigabitEthernet 0/1/5/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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.
You can disable echo mode for BFD on the entire router, or for a particular interface. Disabling Echo Mode on a Router To disable echo mode globally on the router complete the following steps: DETAILED STEPS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following procedures describe how to disable echo mode on an interface or bundle . SUMMARY STEPS 1. configure 2. bfd 3. interface type interface-path-id 4. echo disable 5. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Verifies that the BFD counters for IPv4 packets, interface-path-id] location node-id IPv6 packets, or all packets have been cleared. Example: RP/0/RSP0/CPU0:router# show bfd counters all packet location 0/3/cpu0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Enables the time interval (in seconds) to wait for the BFD session to come up. Example: Bring up timeout range is 6 to 3600 seconds. Default bring RP/0/RSP0/CPU0:router(config-if)#bfd up timeout interval is 60 seconds. bringup-timeout 2400 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The initial-wait bring up delay time interval range is 1 to 518400000 Example: milliseconds. Default initial-wait interval is 16000 milliseconds. RP/0/RSP0/CPU0:router(config-if)#bfd This option brings up the TE tunnel with the previous dampening initial-wait 360000 Note signaled bandwidth. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router(config)# track track1 Step 3 type bfdrtr rate tx-rate tx_rate - time in msec at which the BFD should probe the remote entity Example: RP/0/RSP0/CPU0:router(config-track)# type bfdrtr rate 4 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following example shows how to enable BFD for OSPF on a Gigabit Ethernet interface: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#router ospf 0 RP/0/RSP0/CPU0:router(config-ospf)#area 0 RP/0/RSP0/CPU0:router(config-ospf-ar)#interface gigabitEthernet 0/3/0/1 RP/0/RSP0/CPU0:router(config-ospf-ar-if)#bfd fast-detect RP/0/RSP0/CPU0:router(config-ospf-ar-if)#commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router#show run router static address-family ipv6 unicast BFD on Bundled VLANs: Example The following example shows how to configure BFD on bundled VLANs: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#multipath include location 0/0/CPU0 RP/0/RSP0/CPU0:router(config-bfd)#exit RP/0/RSP0/CPU0:router#configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following example shows how to specify the IP address 10.10.10.1 as the source address for BFD echo packets on an individual Packet-over-SONET (POS) interface: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#interface pos 0/1/0/0 RP/0/RSP0/CPU0:router(config-bfd-if)#echo ipv4 source 10.10.10.1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
“Required Min Echo RX Interval” value in the last control packet: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#echo startup validate force BFD Echo Mode Disable: Examples The following example shows how to disable echo mode on a router: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router(config-bfd)#interface gigabitethernet 0/1/0/0 RP/0/RSP0/CPU0:router(config-bfd-if)#ipv6 checksum The following example shows how to disable echo mode for BFD sessions on an individual interface: RP/0/RSP0/CPU0:router#configure RP/0/RSP0/CPU0:router(config)#bfd RP/0/RSP0/CPU0:router(config-bfd)#interface gigabitethernet 0/1/0/0 RP/0/RSP0/CPU0:router(config-bfd-if)#ipv6 checksum disable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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...
To locate and download MIBs using Cisco IOS XR software, use the Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu: http://cisco.com/public/sw-center/netmgmt/ cmtk/mibs.shtml Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• 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.
AAA administrator for assistance. Restrictions for Implementing EIGRP The following restrictions are employed when running EIGRP on this version of Cisco IOS XR software: • • The characters allowed for EIGRP process name are @ . # : - _ only.
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.
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.
EIGRP domain. If many connected prefixes need to be advertised, then the redistribution of connected routes with the appropriate policy should be used instead. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following configuration is applied to ROUTER-B. However, the metric weights command is not applied and the default K values are used. The default K values are 1, 0, 1, 0, and 0. hostname ROUTER-B! Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:Mar 13 09:13:17:eigrp[163]:%ROUTING-EIGRP-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.0.0.20 (GigabitEthernet0/6/0/0) is down: Interface Goodbye received A Cisco router that runs a software release that does not support the goodbye message can misinterpret the message as a K-value mismatch and display the following message: RP/0/RSP0/CPU0:Mar 13 09:13:17:eigrp[163]:%ROUTING-EIGRP-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.0.0.20 (GigabitEthernet0/6/0/0) is down: K-value mismatch...
Page 274
Router-A and Router-D. Both routers have floating summary routes configured on the interfaces connected to Router-C. If the connection between Router-E and Router-C fails, the network Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
For these situations, including networks in which you have EIGRP configured, you may want to disable split horizon. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The stub router depends on the distribution router to send the proper updates to all peers. This figure shows a simple hub-and-spoke configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
EIGRP context). At least one new line must precede the definition of a route policy or prefix set. A new line must appear at the end of a logical unit of policy expression and may not appear anywhere else. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
SoO value from the topology table is used when the route is redistributed into BGP. • A received route from a CE router does not contain a SoO value: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
With this feature added, PE1 can increase the metric while advertising routes to CE1. Configuration: /*SoO tag is assigned on PE2 router*/ router(config)#interface GigabitEthernet0/0/0/11 router (config-if)#site-of-origin 33.33.33.33:33 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
This task enables EIGRP routing and establishes an EIGRP routing process. Before You Begin Although you can configure EIGRP before you configure an IP address, no EIGRP routing occurs until at least one IP address is configured. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 282
172.20.1.1 configuration. Step 5 default-metric bandwidth delay reliability (Optional) Sets metrics for an EIGRP process. loading mtu Example: RP/0/RSP0/CPU0:router(config-eigrp-af)# default-metric 1000 100 250 100 1500 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
You can configure a summary aggregate address for a specified interface. If any more specific routes are in the routing table, EIGRP advertises the summary address from the interface with a metric equal to the minimum of all more specific routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 284
RP/0/RSP0/CPU0:router(config-eigrp)# address-family ipv4 Step 4 route-policy name out Applies a routing policy to updates advertised to or received from an EIGRP neighbor. Example: RP/0/RSP0/CPU0:router(config-eigrp-af)# route-policy FILTER_DEFAULT out Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
8. maximum-prefix maximum [ threshold ] [[ dampened ] [ reset-time minutes ] [ restart minutes ] [ restart-count number ] | [ warning-only]] 9. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 286
Limits the number of prefixes that are accepted under reset-time minutes ] [ restart minutes ] [ restart-count an address family by EIGRP. number ] | [ warning-only]] Example: RP/0/RSP0/CPU0:router(config-eigrp-af)# maximum-prefix 50000 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router# show eigrp neighbors detail Configuring EIGRP as a PE-CE Protocol Perform this task to configure EIGRP on the provider edge (PE) and establish provider edge-to-customer edge (PE-CE) communication using EIGRP. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 290
Configures an EIGRP routing process to run within the VRF instance. Example: Note You must configure the autonomous system under VRF configuration to bring-up the RP/0/RSP0/CPU0:router(config-eigrp-vrf-af)# VRF interface. autonomous-system 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
BGP, metrics may not be added to the BGP prefix as extended communities; for example, if EIGRP is not running on the other router. In this case, EIGRP is redistributed into BGP with a “no-metrics” option. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 292
Step 6 route-policy route-policy-name { in | out } Applies a routing policy to updates advertised to or received from an EIGRP neighbor. Example: RP/0/RSP0/CPU0:router(config-eigrp-vrf-af)# route-policy policy_A in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following example shows how to configure EIGRP with a policy that filters incoming routes. This is a typical configuration for a router that has just one neighbor, but advertises other connected subnets. router eigrp 144 address-family ipv4 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide MIB Reference Cisco ASR 9000 Series Aggregation Services Router MIB Specification Guide. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 300
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(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.
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.
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.
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.
In the absence of a configured refresh interval, the software adjusts the LSP refresh interval, if necessary, to prevent the LSPs from timing out. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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.
Implementing IS-IS Multi-Instance IS-IS If you configure IETF NSF on the Cisco IOS XR router and a neighbor router does not support IETF NSF, Note the affected adjacencies flap, but nonstop forwarding is maintained to all neighbors that do support IETF NSF.
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.
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.
LDP IS-IS synchronization is supported with IS-IS NSF only if LDP graceful restart is also enabled over the interface. If IS-IS NSF is not enabled, the LDP synchronization state is not retained across restarts and failovers. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
This task explains how to enable IS-IS and configure the routing level for an area. Configuring the routing level in Step 4 is optional, but is highly recommended to establish the proper level Note of adjacencies. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 314
The software learns about destinations inside its area only. Any packets containing destinations outside the area are sent to the nearest level-1-2 router in the area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
You may configure the metric style in the address-family ipv6 stanza, but it is ignored in this case. If only IPv6 is enabled and single topology is configured, then the metric style is configured in the address-family ipv6 stanza. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 316
Specifies an IPv6 network assigned to the interface and enables IPv6 • ipv6 address ipv6-address { / processing on the interface with the eui-64 keyword. prefix-length | link-local } • ipv6 enable Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 317
• To specify more than one area address, specify additional NETs. Although the area address portion of the NET differs, the system ID portion of the NET must match exactly for all of the configured items. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 318
[ instance instance-id ] interface [ (Optional) Displays information about the IS-IS interface. type interface-path-id ] [ detail ] [ level { 1 | 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(RPL), only topologies under multicast SAFI can be configured globally. Information About Multitopology Routing Configuring multitopology networks requires the following tasks: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Step 6 Repeat Step 4 and Step 5 until you have specified all the interface — instances you want to associate with your topologies. Example: RP/0/RSP0/CPU0:router(config-if-af)# interface Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Step 3 address-family { ipv4 | ipv6 } multicast topology Associates an IS-IS topology ID with the named topo-name topology. Example: RP/0/RSP0/CPU0:router(config-isis)# address-family ipv4 multicast topology green Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Creates a network entity title for the configured isis interface. Example: RP/0/RSP0/CPU0:router(config-isis)# net netname Step 4 interface type interface-path-id Enters isis interface configuration submode and creates an interface instance. Example: RP/0/RSP0/CPU0:router(config-isis)# interface gigabitethernet 0/3/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
To configure options for both levels, use the command twice. For example: RP/0/RSP0/CPU0:router(config-isis)# lsp-refresh-interval 1200 level 2 RP/0/RSP0/CPU0:router(config-isis)# lsp-refresh-interval 1100 level 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 325
(Optional) Sets the time between regeneration of LSPs that contain different sequence numbers Example: • The refresh interval should always be set lower than the max-lsp-lifetime command. RP/0/RSP0/CPU0:router(config-isis)# lsp-refresh-interval 10800 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 326
Step 10 lsp-interval milliseconds [ level { 1 | 2 }] (Optional) Configures the amount of time between each LSP sent on an interface. Example: RP/0/RSP0/CPU0:router(config-isis-if)# lsp-interval 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
1 Configuring Nonstop Forwarding for IS-IS This task explains how to configure your router with NSF that allows the Cisco IOS XR software to resynchronize the IS-IS link-state database with its IS-IS neighbors after a process restart. The process restart could be due to an: •...
Page 329
• Verify that “nsf” appears in the IS-IS configuration of the NSF-aware device. RP/0/RSP0/CPU0:router# show running-config router isis isp • This example shows the contents of the configuration file for the “isp” instance only. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• The level 2 keywords set a password for authentication in the backbone (the Level 2 area). • The send-only keyword adds authentication to LSP and sequence number protocol data units (SNPs) when Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Traffic Engineering on Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide Before You Begin Your network must support the MPLS Cisco IOS XR software feature before you enable MPLS TE for IS-IS on your router. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
Page 333
{ 1 | 2 } Configures a router running IS-IS to flood MPLS TE link information into the indicated IS-IS level. Example: RP/0/RSP0/CPU0:router(config-isis-af)# mpls traffic-eng level 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The options configurable in the interface submode apply only to that interface. By default, the values are applied to both Level 1 and Level 2. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 335
Step 3 log adjacency changes Generates a log message when an IS-IS adjacency changes state (up or down). Example: RP/0/RSP0/CPU0:router(config-isis)# log adjacency changes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 336
RP/0/RSP0/CPU0:router# show isis instance isp adjacency Step 11 show isis adjacency-log (Optional) Displays a log of the most recent adjacency state transitions. Example: RP/0/RSP0/CPU0:router# show isis adjacency-log Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
SPF calculations. The reseed interval enables a periodic running of the full SPF to ensure that the iSFP state remains synchronized. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 338
• The SPF interval does not apply to the running of the ISPF because that algorithm runs immediately on receiving a changed LSP. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
7. address-family { ipv4 | ipv6 } [ unicast ] 8. tag tag 9. commit 10. show isis [ ipv4 | ipv6 | afi-all ] [ unicast | safi-all ] route [ detail ] Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 344
Step 8 tag tag Sets the value of the tag to associate with the advertised connected route. Example: RP/0/RSP0/CPU0:router(config-isis-if-af)# tag 3 Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Configuring IS-IS Overload Bit Avoidance This task describes how to activate IS-IS overload bit avoidance. Before You Begin The IS-IS overload bit avoidance feature is valid only on networks that support the following Cisco IOS XR features: • MPLS • IS-IS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
A and C. If a link between B and C fails, you can raise the offset to 20, and thus traffic is routed back to B. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
A link-group is only active after the minimum-members and Note offset-metric are configured in the profile. The revert-members is default to minimum-members if it is not configured. Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 351
LSP Rexmit Queue Size: Level-2 Adjacency Count: LSP Pacing Interval: 33 ms PSNP Entry Queue Size: CLNS I/O Protocol State: MTU: 1497 SNPA: 0026.9829.af19 Layer-2 MCast Groups Membership: All ISs: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following example shows how to deactivate IS-IS overload bit avoidance: config no mpls traffic-eng path-selection ignore overload Where to Go Next To implement more IP routing protocols, see the following document modules in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide: • Implementing OSPF • Implementing BGP •...
Restart Signaling for IS-IS, by M. Shand and Les Ginsberg Draft-ietf-isis-igp-p2p-over-lan-05.txt Point-to-point operation over LAN in link-state routing protocols, by Naiming Shen Draft-ietf-rtgwg-ipfrr-framework-06.txt IP Fast Reroute Framework, by M. Shand and S. Bryant Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 357
IS-IS Mesh Groups RFC 3277 IS-IS Transient Blackhole Avoidance RFC 3373 Three-Way Handshake for IS-IS Point-to-Point Adjacencies RFC 3567 IS-IS Cryptographic Authentication RFC 4444 IS-IS Management Information Base Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 358
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
• 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.
On broadcast and nonbroadcast multiaccess (NBMA) networks, the designated router (DR) or backup DR performs the LSA flooding. On point-to-point networks, flooding simply exits an interface directly to a neighbor. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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.
When OSPF routing is within an area, it is called intra-area routing. This routing limits the amount of link-state information flood into the network, reducing routing Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
An area border routers (ABR) is a router with multiple interfaces that connect directly to networks in two or more areas. An ABR runs a separate copy of the OSPF algorithm and maintains separate routing data for each Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
• 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.
On broadcast and NBMA networks all neighboring routers have an adjacency. Designated Router (DR) for OSPF On point-to-point and point-to-multipoint networks, the Cisco IOS XR software floods routing updates to immediate neighbors. No DR or backup DR (BDR) exists; all routing information is flooded to each router.
◦ LSAs are flooded throughout all transit areas. ◦ LSAs are not flooded into stub areas from the backbone. ◦ LSAs are not originated by routers into their connected stub areas. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
LSAs and network LSAs. The Options field in certain LSAs (router LSAs, network LSAs, interarea-router LSAs, and link LSAs) has been expanded to 24 bits to provide support for OSPF in IPv6. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
OSPF. However, the particular subnet will continue to be advertised to OSPF neighbors. Use the passive command in appropriate mode to suppress the sending of OSPF protocol operation on an interface. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
If the backdoor links between the sites are used only for backup purposes, default route selection over the backbone link is not acceptable as it creates undesirable traffic flow. To establish the desired path selection Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
If the route to the remote endpoint exists, sham link interface is brought up. If the route to the remote endpoint of the sham-link is removed from the VRF RIB, OSPFv3 receives redistribution callback and brings the sham link down. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
◦ Unmatched prefixes, including /32s, are placed in a low-priority queue. • If both high-priority and medium-priority route policies are specified, and no maps are specified for critical priority: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The chosen interval is within the boundary of the user-specified value ranges. If network topology is unstable, SPF throttling calculates SPF scheduling intervals to be longer until topology becomes stable. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
RIB that it has converged, either for the purpose of terminating the graceful restart (for any reason) or because it has completed the graceful restart. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(LSAs), immediately bringing down local OSPFv3-supported interfaces, and clearing the Link State Database (LSDB). The non-local LSDB entries are removed by OSPFv3, These are not flooded (MaxAged). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• A graceful restart does not occur upon the first-time startup of a router. • OSPFv3 neighbor information and database information are not check-pointed. • An OSPFv3 process rebuilds adjacencies after it restarts. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
It is recommended to set the hello timer interval to the default of 10 seconds. OSPF sessions may flap Note during switchover if hello-interval timer configured is less then default value. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The only restriction on the number of paths to the same destination is controlled by the maximum-paths (OSPF) command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) auto-configuration simplifies the procedure to enable LDP on a set of interfaces used by an IGP instance, such as OSPF. LDP IGP auto-configuration can Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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).
UCMP computation happens only after the primary SPF and route calculation is completed. There would be a configurable delay (default delay is 100 ms) from the time primary route calculation is completed and UCMP Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
6. Repeat Step 5 for each interface that uses OSPF. 7. log adjacency changes [ detail ] [ enable | disable ] 8. commit DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 387
Level 5 in the logging console command. The logging console command controls which severity level of messages are sent to the console. By default, all severity level messages are sent. Step 8 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The process-name argument is any alphanumeric Note Example: string no longer than 40 characters. RP/0/RSP0/CPU0:router(config)# router ospf 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 389
• For example, the no nssa default-information-originate form of the command RP/0/RSP0/CPU0:router(config-ospf-ar)# nssa changes the NSSA area into a normal area that inadvertently brings down the existing adjacencies in that area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Before You Begin Configuring NBMA networks as either broadcast or nonbroadcast assumes that there are virtual circuits from every router to every router or fully meshed network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 391
• router ospf process-name • router ospfv3 process-name Enables OSPFv3 routing for the specified routing process and places the router in router ospfv3 configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 392
• In this example, the interface inherits the nonbroadcast network type and the hello and dead intervals from the areas because RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/2/0/0 the values are not set at the interface level. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 393
• In this example, the interface inherits the nonbroadcast network type and the hello and dead intervals from the areas because RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/3/0/1 the values are not set at the interface level. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This task explains how to configure MD5 (secure) authentication on the OSPF router process, configure one area with plain text authentication, and then apply one interface with clear text (null) authentication. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 395
Enables OSPF routing for the specified routing process and places the router in router configuration mode. Example: The process-name argument is any Note alphanumeric string no longer than 40 RP/0/RSP0/CPU0:router(config)# router ospf 1 characters. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 396
RP/0/RSP0/CPU0:router(config-ospf)# area 1 area 1000 or area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address notation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This task explains how to tune the convergence time of OSPF routes in the routing table when many LSAs need to be flooded in a very short time interval. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 398
Sets how often self-originated LSAs should be refreshed, in seconds. Example: • The default is 1800 seconds for both OSPF and OSPFv3. RP/0/RSP0/CPU0:router(config-ospf)# timers lsa refresh 1800 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• Before configuring your virtual link for OSPF Version 2, you must decide whether to configure plain text authentication, MD5 authentication, or no authentication (which is the default). Your decision determines whether you need to perform additional tasks related to authentication. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 400
If you decide to configure plain text authentication or no authentication, see the authentication command Note provided in OSPF Commands on Cisco ASR 9000 Series Router module in Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. SUMMARY STEPS 1.
Page 401
• The key-id argument is a number in the Example: range from 1 to 255. The key argument is RP/0/RSP0/CPU0:router(config-ospf-ar-vl)#message-digest-key an alphanumeric string of up to 16 4 md5 yourkey Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Index 0/2/3, retransmission queue length 0, number of retransmission 1 First 0(0)/0(0)/0(0) Next 0(0)/0(0)/0(0) Last retransmission scan length is 1, maximum is 1 Last retransmission scan time is 0 msec, maximum is 0 msec Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• router ospf process-name • router ospfv3 process-name Enables OSPFv3 routing for the specified routing process and places the router in router ospfv3 configuration mode. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 404
4004:f000::/32 advertise Step 6 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the area. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/2/0/3 Step 7 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This task redistributes routes from an IGP (could be a different OSPF process) into OSPF. Before You Begin For information about configuring routing policy, see Implementing Routing Policy on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide. SUMMARY STEPS 1.
Page 406
10.1.0.0 255.255.0.0 • This command is optional. If you do not specify it, each route is included in the link-state database and advertised in LSAs. RP/0/RSP0/CPU0:router(config-router)# summary-prefix 2010:11:22::/32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
8. Do one of the following: • show ospf [ process-name ] • show ospfv3 [ process-name ] DETAILED STEPS Command or Action Purpose Step 1 configure Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 408
Do one of the following: (Optional) Displays SPF throttling timers. • show ospf [ process-name ] • show ospfv3 [ process-name ] Example: RP/0/RSP0/CPU0:router# show ospf 1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
OSPF NSF requires that all neighbor networking devices be NSF aware, which happens automatically after you install the Cisco IOS XR software image on the router. If an NSF-capable router discovers that it has non-NSF-aware neighbors on a particular network segment, it disables NSF capabilities for that segment.
Page 410
NSF restart mechanism on the • nsf cisco enforce global interfaces of detected non-NSF neighbors and allow NSF neighbors to function properly. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
For a description of the MPLS TE tasks and commands that allow you to configure the router to support tunnels, configure an MPLS tunnel that OSPF can use, and troubleshoot MPLS TE, see Implementing MPLS Traffic Engineering on Cisco ASR 9000 Series Router module of the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide...
Page 412
• We recommend that loopback interfaces be used for MPLS TE router ID because they are more stable than physical interfaces. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
0/3/0/0 exists and MPLS TE is not configured: show route ospf 1 11.0.0.0/24 [110/15] via 0.0.0.0, 3d19h, tunnel-te1 192.168.0.12/32 [110/11] via 11.1.0.2, 3d19h, GigabitEthernet0/3/0/0 192.168.0.13/32 [110/6] via 0.0.0.0, 3d19h, tunnel-te1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Specifies a maximum duration for a graceful restart. graceful-restart lifetime • The default lifetime is 95 seconds. Example: • The range is 90 to 3600 seconds. RP/0/RSP0/CPU0:router(config-ospfv3)# graceful-restart lifetime 120 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Graceful Restart enabled, last GR 11:12:26 ago (took 6 secs) Area BACKBONE(0) Number of interfaces in this area is 1 SPF algorithm executed 1 times Number of LSA 6. Checksum Sum 0x0268a7 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• Configure a loopback interface that belongs to VRF and assign a IPv4 address with the host mask to it. • Configure the sham link under the area submode. Enabling OSPF, on page 358 for information on these OSPF configuration prerequisites. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 418
Step 5 Saves configuration changes. When you issue the end command, the system prompts Example: you to commit changes: RP/0/RSP0/CPU0:router(config-if)# end Uncommitted changes found, commit them before exiting(yes/no/cancel)?[cancel]: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 419
IPv4 address notation, such as RP/0/RSP0/CPU0:router(config-ospf-vrf)# area 0 area 1000 or area 0.0.3.232. However, you must choose one form or the other for an area. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Enable OSPF routing for the specified routing process. In this example, the OSPF instance is called isp. Step 3 Example: RP/0/RSP0/CPU0:router(config-ospf)# nsr Enable NSR for the OSPFv2 process. Step 4 commit Commit your configuration. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
4. Use one of these commands: • router ospf ospf-name • router ospfv3 ospfv3-name 5. spf prefix-priority route-policy route-policy name 6. commit 7. show rpl route-policy route-policy name detail Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 422
Step 7 show rpl route-policy route-policy name detail Displays the set SPF prefix priority. Example: RP/0/RSP0/CPU0:router#show rpl route-policy ospf-spf-priority detail prefix-set ospf-critical-prefixes 66.0.0.0/16 end-set route-policy ospf-spf-priority Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router(config-ospf)# mpls traffic-eng multicast-intact Step 4 commit Associating Interfaces to a VRF This task explains how to associate an interface with a VPN Routing and Forwarding (VRF) instance. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 424
Step 5 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the VRF. Example: RP/0/RSP0/CPU0:router(config-ospf-vrf-ar)# interface GigabitEthernet 0/0/0/0 Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
[ metric metric-value ] [ metric-type type-value ] [ match { external [ 1 | 2 ] }] [ tag tag-value ] route-policy policy-name] • This command causes the router to become an ASBR by definition. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 426
RP/0/RSP0/CPU0:router(config-ospf-vrf)# domain-id type 0105 value 1AF234 Step 10 domain-tag tag Specifies the OSPF VRF domain tag. • The valid range for tag is 0 to Example: 4294967295. RP/0/RSP0/CPU0:router(config-0spf-vrf)# domain-tag 234 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
IPv4 address notation, such as area RP/0/RSP0/CPU0:router(config-ospf)# area 0 1000 or area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address notation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
OPSF point-to-point type using the network point-to-point command to enable the interface for a multi-area adjacency. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 429
IPv4 address notation, such as area 1000 or RP/0/RSP0/CPU0:router(config-ospf)# area 1 area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address notation. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Enables LDP IGP interface auto-configuration for an OSPF mpls ldp auto-config instance. Example: • Optionally, this command can be configured for an area of an OSPF instance. RP/0/RSP0/CPU0:router(config-ospf)# mpls ldp auto-config Step 4 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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 435
We recommend using the IPv4 address notation. Step 8 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the area. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)# interface GigabitEternet0/5/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Suppress hello for 0 neighbor(s) Multi-area interface Count is 0 Verifying OSPF Configuration and Operation This task explains how to verify the configuration and operation of OSPF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 437
{ ospf | ospfv3 } [ process-name ] [ area-id ] flood-list (Optional) Displays a list of OSPF LSAs waiting interface type interface-path-id to be flooded over an interface. Example: RP/0/RSP0/CPU0:router# show ospf 100 flood-list interface GigabitEthernet 0/3/0/0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 438
{ ospf | ospfv3 }[ process-name ] statistics [ neighbor [ (Optional) Clears the OSPF statistics of neighbor state transitions. type interface-path-id ] [ ip-address ]] Example: RP/0/RSP0/CPU0:router# clear ospf 100 statistics Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Excludes an interface from IP fast reroute per-link interface-path-id computation. Example: RP/0/RSP0/CPU0:router(config-ospf-ar)# fast-reroute per-link exclude interface GigabitEternet0/5/0/1 Step 6 commit Enabling OSPF Interaction with SRMS Server To enable OSPF interaction with SRMS server: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 441
SR labels for all prefixes. sr-prefer prefix-list foo The following example shows how OSPF advertises local mapping entries using area-flooding scope. ipv4 prefix-list foo permit 2.2.2.2/32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
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.
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.
This example shows how to set up a virtual link to connect the backbone through area 1 for the OSPFv3 topology that consists of areas 0 and 1 and virtual links 10.0.0.217 and 10.0.0.212: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
GigabitEthernet0/2/0/3 Where to Go Next To configure route maps through the RPL for OSPF Version 2, see Implementing Routing Policy on Cisco ASR 9000 Series Router module. To build an MPLS TE topology, create tunnels, and configure forwarding over the tunnel for OSPF Version 2;...
Page 450
OSPF Stub Router Advertisement RFC 3509 Alternative Implementations of OSPF Area Border Routers RFC 3623 Graceful OSPF Restart RFC 3630 Traffic Engineering (TE) Extensions to OSPF Version Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 451
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 452
Implementing OSPF Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 453
This module describes how to implement and monitor RIB on Cisco IOS XR network. For more information about RIB on the Cisco IOS XR software and complete descriptions of RIB commands Note listed in this module, see the Additional References section of this module.
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: ◦...
In Cisco IOS XR software, RIB tables support multicast and unicast routing. The default routing tables for Cisco IOS XR software RIB are the unicast RIB tables for IPv4 routing and the multicast-unicast RIB tables for IPv6 routing. For multicast routing, routing protocols insert unicast routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x...
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.
The scan is run immediately and the results are published right away. LCC performs on-demand scan on the LSD, where as RCC performs it per VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
IPv4 unicast routing table, which can result in an extensive list, depending on RP/0/RSP0/CPU0:router# show route ipv4 unicast the configuration of the network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Displays the best-local address to use for | safi-all ] best-local ip-address [ standby ] return packets from the given destination. Example: RP/0/RSP0/CPU0:router# show route ipv4 unicast best-local 192.168.1.11/8 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RP/0/RSP0/CPU0:router#show lcc ipv6 unicast log Enabling RCC and LCC Background Scan Perform this task to run a background scan for Route Consistency Checker (RCC) and Label Consistency Checker (LCC). Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 463
• show lcc {ipv4| ipv6} unicast [summary | scan-id • scan-id scan-id-value—Displays details about a scan-id-value] specific scan. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
The following is sample output from the show route connected command: show route connected 10.2.210.0/24 is directly connected, 1d21h, Ethernet0 172.20.16.0/24 is directly connected, 1d21h, ATM4/0.1 10.6.100.0/24 is directly connected, 1d21h, Loopback1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Known via "static", distance 200, metric 0, candidate default path Installed Aug 18 00:59:04.448 Directly connected nexthops 172.29.52.1, via MgmtEth0/RSP0 /CPU0/0 Route metric is 0 172.29.52.1, via MgmtEth0/RP1/CPU0/0 Route metric is 0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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 •...
MIBs Link — To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 469
Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 470
Implementing and Monitoring RIB Additional References Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• Multiprotocol Label Switching (MPLS) Layer 3 Virtual Private Network (VPN) • Site of Origin (SoO) Support Note For more information about RIP on the Cisco IOS XR software and complete descriptions of the RIP commands listed in this module, see the Related Documents, on page 462 section of this module.
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.
The total result is to minimize disruptions to end users of the network in situations in which quick recovery is essential. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• 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.
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.
(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.
This task enables RIP routing and establishes a RIP routing process. Before You Begin Although you can configure RIP before you configure an IP address, no RIP routing occurs until at least one IP address is configured. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 478
• Both RIP v1 and RIP v2 Step 7 send version { 1 | 2 | 1 2 } (Optional) Configures an interface to send packets that are: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Configures a RIP routing process. Example: RP/0/RSP0/CPU0:router(config)# router Step 3 (Optional) Enables automatic route summarization of subnet routes auto-summary into network-level routes. Example: • By default, auto-summary is disabled. RP/0/RSP0/CPU0:router(config-rip)# auto-summary Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 480
If split horizon is disabled on a serial interface (and that interface is attached to a packet-switched network), you must disable split horizon for all networking devices in any relevant multicast groups on that network. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
2. router rip 3. neighbor ip-address 4. interface type interface-path-id 5. passive-interface 6. exit 7. interface type interface-path-id 8. route-policy { in | out } 9. commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 482
{ in | out } (Optional) Applies a routing policy to updates advertised to or received from a RIP neighbor. Example: RP/0/RSP0/CPU0:router(config-rip-if)# route-policy out Step 9 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Perform this task to configure a RIP authentication keychain for IPv4 interface on a non-default VRF. Before You Begin All keychains need to be configured in Cisco IOS XR keychain database using configuration commands described in Implementing Keychain Management module of Cisco ASR 9000 Series Aggregation Services Router System Security Configuration Guide before they can be applied to a RIP interface/VRF.
Page 485
• authentication keychain keychain-name mode text authentication mode • text—Clear text authentication mode Example: RP/0/RSP0/CPU0:router(config-rip-if)#authentication keychain key1 mode md5 RP/0/RSP0/CPU0:router(config-rip-if)#authentication keychain key1 mode text Step 6 commit Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
The following example shows how to configure basic RIP on the PE with two VPN routing and forwarding (VRF) instances. router rip interface GigabitEthernet0/6/0/0 vrf vpn0 interface GigabitEthernet0/6/0/2 vrf vpn1 interface GigabitEthernet0/6/0/3 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
In other words, no updates are sent out of an interface except to neighbors configured explicitly. router rip interface GigabitEthernet0/6/0/0 passive-interface interface GigabitEthernet0/6/0/2 neighbor 172.17.0.1 neighbor 172.18.0.5 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
MPLS VPN support for RIP feature information Implementing MPLS Traffic Engineering on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 491
Cisco MIB Locator found at the following URL and choose a platform under the Cisco Access Products menu: http://cisco.com/public/sw-center/netmgmt/cmtk/ mibs.shtml RFCs RFCs Title RFC 2453 RIP Version 2 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 492
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Note For more information about routing policy on the Cisco IOS XR software and complete descriptions of the routing policy commands listed in this module, see the Related Documents, on page 551 section of this module.
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.
...element-entry), where element-entry is an entry of an item appropriate to the type of usage such as a prefix or a community value. The following is an example using an inline community set: route-policy sample-inline if community matches-any ([10..15]:100) then set local-preference 100 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
AS path ends with either the autonomous system (AS) number 42 or 127. To remove the named AS path set, use the no as-path-set aset1 command-line interface (CLI) command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Thus, the following policy matches all communities in which the autonomous system part of the community is 123: community-set cset3 123:* end-set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Exit from this submode igp: Cost Community with IGP as point of insertion pre-bestpath: Cost Community with Pre-Bestpath as point of insertion show Show partial RPL configuration Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 500
Discard RPL definition and return to top level config dfa-regex DFA style regular expression end-set End of set definition exit Exit from this submode ios-regex Traditional IOS style regular expression show Show partial RPL configuration Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 501
Discard RPL definition and return to top level config dfa-regex DFA style regular expression end-set End of set definition exit Exit from this submode ios-regex Traditional IOS style regular expression show Show partial RPL configuration Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The address is required, but the other three parts are optional. The address is a standard dotted-decimal IPv4 or colon-separated hexadecimal IPv6 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 503
32, the maximum length of an IPv4 prefix. For IPv6, the minimum length must be less than 128, the maximum length of an IPv6 prefix. The maximum length must be equal to or greater than the minimum length. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Third, it tracks which attach points are using which policies so that when policies are modified the appropriate clients are properly updated with the new policies relevant to them. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
'_22_', ios-regex '_33_' end-set route-policy ignore_path_as if as-path in ignore_path then drop else pass endif end-policy router bgp 2 neighbor 10.0.1.2 address-family ipv4 unicast policy ignore_path_as in Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 506
192.168.0.0/16 ge 16 end-set route-policy quickstart-remarks # Handle routes to RFC1918 networks if destination in rfc1918 then # Set the community such that we do not export the route Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Note that the policy hierarchy is always maintained, Thus, if the definition of param-example changes, then the behavior of origin_10 and origin_20 changes to match. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
In the following example, the globalparam argument, which makes use of the global parameters gbpathtype and glbtag, is defined for a nonparameterized policy. route-policy globalparam if path-type is $glbpathtype then set tag $glbtag endif end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This example is trivial, but the feature is not. It is possible to write a policy that effectively changes the value for an attribute. For example: set med 8 if community matches-any cs1 then set local-preference 122 if community matches-any cs2 then set med 12 endif endif Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Applied (nested) policies implement this disposition as though the applied policy were pasted into the point where it is applied. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
200 set community (2:666) additive pass end-policy The pass statement is not required and can be removed to represent the equivalent policy in another way. Note Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
If a policy modifies a route, by default the policy accepts the route. RPL provides a statement to force the opposite—the drop statement. If a policy matches a route and executes a drop, the policy does not accept the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 515
The first pass statement is executed, but is then immediately overridden by the drop statement. The second pass statement never gets executed. route-policy DROP-EXAMPLE Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
In its simplest form, an if statement uses a conditional expression to decide which actions or dispositions should be taken for the given route. For example: if as-path in as-path-set-1 then Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Parentheses may be used to group compound conditions to override precedence or to improve readability. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 518
Interior Gateway Protocol (IGP), then the inner compound condition is true. Otherwise, the evaluation moves on to test the value of the origin attribute Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
The following policy generates and sends a default-route to the BGP neighbor 10.0.0.1 if any routes that match 10.0.0.0/8 ge 8 le 32 are present in the RIB. route-policy sample-originate if rib-has-route in (10.0.0.0/8 ge 8 le 32) then pass Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
3:100 have their local preference set to 100 and their community tag set to 2:666. All other routes received from this peer have their local preference set to 200 and their community tag set to 2:200. route-policy sample_import Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
10 then set ospf cost 100 elseif tag eq 20 then set ospf cost 200 else drop endif end-policy router ospf 1 redistribute isis instance_10 policy OSPF-redist Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
10.0.0.0/8 is advertised to 10.0.101.2 Path info: neighbor:10.0.1.2 neighbor router id:10.0.1.2 valid external best Attributes after inbound policy was applied: next hop:10.0.1.2 MET ORG AS Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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...
The following example shows how to configure a route policy that passes the prefix 0.0.0.0 with prefix length 0. Label allocation happens only if prefix 0.0.0.0 exists. route-policy label_policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The attribute setting actions supported are for pass and drop. This example shows label mode selection at VPNv4 AF (address family) level and at VRF IPv4 AF level: route-policy set_label_mode set label-mode per-prefix end-policy Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
BGP for specific prefixes. The route policy is applied on RIB routes. Typically, route policies are used in conjunction with next-hop tracking to monitor non-BGP routes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
8; therefore, the debug output shows up only for that prefix. route-policy policy_b if destination in (10.0.0.0/8) then pass else drop endif end-policy debug bgp update policy_b Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This table summarizes the BGP attributes and operators per attach points. Table 6: BGP Attributes and Operators Attach Point Attribute Match additional-paths path-selection — community matches-every — is-empty matches-any Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 530
— extcommunity cost — set additive local-preference is, ge, le, eq is, eg, ge, le setset +set - next-hop origin source — suppress-route — suppress-route weight — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 531
— origin — source — clear-policy as-path — is-local length neighbor-is originates-from passes-through unique-length as-path-length is, ge, le, eq — as-path-unique-length is, ge, le, eq — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 532
Dampening, on page 492) destination — local-preference is, ge, le, eq — is, eg, ge, le — next-hop — origin — source — debug destination — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 533
`peeras' extcommunity cost set additive extcommunity rt extcommunity soo local-preference set + set-assign igp next-hop set-to-peer-address set-to-self origin rib-has-route Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 534
— matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le next-hop — origin — source — weight — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 535
— matches-any matches-every matches-within local-preference is, ge, le, eq is, eg, ge, le next-hop set peer address set destination vrf origin — source — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 536
— community is-empty — matches-any matches-every destination — label — local-preference is, ge, le, eq — is, eg, ge, le — next-hop — origin — source — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 538
— as-path-unique-length is, ge, le, eq — communitycommunity is-empty with ‘peeras’ matches-any set additive matches-every delete-in delete-not-in delete-all destination — — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 539
+ set - set max-unreachable set igp-cost next-hop set self origin path-type — — Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
OSPF link-state database, which is done by evaluating the attached policy. If any routes in the local RIB pass the policy, then the default route is inserted into the link-state database. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Path. BGP can signal the best path and the entire path equivalent to the best path. This is in accordance to the BGP multi-path rules and all backup paths. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
10 then set ospf cost 100 elseif tag eq 20 then set ospf cost 200 else drop endif end-policy router ospf 1 redistribute isis instance_10 policy OSPF-redist Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
.105.7.0/24, 10 .105.13.0/24) then drop endif if destination in (10 .105.3.0/24, 10 .105.7.0/24, 10 .105.13.0/24) then pass endif end-policy router ospf 1 area 1 route-policy OSPF-area-out out Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
OSPFv3 Policy Attach Points This section describes each of the OSPFv3 policy attach points and provides a summary of the OSPFv3 attributes and operators. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
1 redistribute bgp 15 policy OSPFv3-redist OSPFv3 Attributes and Operators This table summarizes the OSPFv3 attributes and operators per attach points. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
1 into level 2 policy isis-propagate IS-IS Attributes and Operators This table summarizes the IS-IS attributes and operators per attach points. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This section describes each of the EIGRP policy attach points and provides a summary of the EIGRP attributes and operators. Default-Accept-In The default-accept-in attach point allows you to set and reset the conditional default flag for EIGRP routes by evaluating the attached policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The policy-out attach point allows you to filter and modify outbound EIGRP routes. This policy is applied to all interfaces for which there is no interface outbound route policy. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
— eigrp-metric — add, set is, eq, ge, le policy-out destination — next-hop — protocol is, in — eigrp-metric — add, set is, eq, ge, le Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
RIP database. The following example shows how to inject OSPF routes into RIP: route-policy redist-ospf set rip-metric 5 end-policy router rip redistribute ospf 1 route-policy redist-ospf Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following example shows how to filter outbound RIP routes that match the route policy for interface 0/2/0/1: router rip interface GigabitEthernet0/2/0/1 route-policy rip-out out RIP Attributes and Operators This table summarizes the RIP attributes and operators per attach points. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 558
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
The following text editors are available on Cisco IOS XR software for editing RPL policies: • Nano (default) • Emacs • Vim Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Editing Routing Policy Language set elements Using XML RPL supports editing set elements using XML. Entries can be appended, prepended, or deleted to an existing set without replacing it through XML. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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...
Else FALSE-PATH : if hierarchical_policy_condition returns FALSE then this path will be executed. End-if CONTINUE-PATH : Irrespective of the TRUE/FALSE this path will be executed. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
(1:1) additive endif end-policy route-policy service_policy_customer_b if destination in prfx_set_customer_b then set extcommunity rt (1:1) additive endif Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This completes the configuration of routing policy with wildcards for prefix sets. For detailed information on prefix sets, see prefix-set, on page 474. Use Wildcards for AS-Path Sets Use the following example to configure a routing policy with wildcards for AS-path sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 566
470. Use Wildcards for Extended Community Sets Use the following example to configure a routing policy with wildcards for extended community sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 567
RP/0/RSP0/CPU0:router(config-rpl)# end-policy 3 Commit your configuration. RP/0/RSP0/CPU0:router(config)# commit 4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 rd-set rd_set_demo 10.0.0.1/8:77, 10.0.0.2:888, 65000:777 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 568
4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 ospf-area-set ospf_area_set_demo1 10.0.0.1, 3553 end-set ospf-area-set ospf_area_set_demo2 20.0.0.2, 3673 end-set route-policy use_ospf_area_set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
• BGP may crash either due to large scale RPL configuration changes, or during consecutive RPL changes. To avoid BGP crash, wait until there are no messages in the BGP In/Out queue before committing further changes. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This task explains how to modify an existing routing policy using a text editor. See Editing Routing Policy Configuration Elements, on page 531 for information on text editors. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 572
• To display the contents of a named AS path set, community set, or extended community set, replace the prefix-set keyword with Example: as-path-set , community-set , or extcommunity-set , respectively. RP/0/RSP0/CPU0:router# show rpl prefix-set prefixset1 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
2:999 to the list in the route. prefix-set too-specific 0.0.0.0/0 ge 25 le 32 end-set prefix-set rfc1918 10.0.0.0/8 le 32, 172.16.0.0/12 le 32, 192.168.0.0/16 le 32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
([100..666]:[100..999]) then set med 444 set local-preference 200 set community (no-export) additive endif end-policy route-policy in-101 apply common-inbound if community matches-any ([101..200]:201) then Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
This completes the configuration of routing policy with wildcards for prefix sets. For detailed information on prefix sets, see prefix-set, on page 474. Use Wildcards for AS-Path Sets Use the following example to configure a routing policy with wildcards for AS-path sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 576
470. Use Wildcards for Extended Community Sets Use the following example to configure a routing policy with wildcards for extended community sets. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 577
RP/0/RSP0/CPU0:router(config-rpl)# end-policy 3 Commit your configuration. RP/0/RSP0/CPU0:router(config)# commit 4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 rd-set rd_set_demo 10.0.0.1/8:77, 10.0.0.2:888, 65000:777 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 578
4 (Optional) Verify your configuration. RP/0/RSP0/CPU0:router(config)# show configuration Building configuration... !! IOS XR Configuration 0.0.0 ospf-area-set ospf_area_set_demo1 10.0.0.1, 3553 end-set ospf-area-set ospf_area_set_demo2 20.0.0.2, 3673 end-set route-policy use_ospf_area_set Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Getting Started Guide Standards Standards Title No new or modified standards are supported by this — feature, and support for existing standards has not been modified by this feature. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 580
Registered Cisco.com users can log in from this page to access even more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
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.
Static routes have a default administrative distance of 1. A low number indicates a preferred route. By default, static routes are preferred to routes learned by routing protocols. Therefore, you can configure an administrative Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
However, a recursive static route that has been inserted in the routing table may become self-recursive as a result of some transient change in the network learned through a dynamic routing protocol. If this occurs, the Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
An IPv4 or IPv6 static VRF route is the same as a static route configured for the default VRF. The IPv4 and IPV6 address families are supported in each VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Step 3 vrf vrf-name Example: RP/0/RSP0/CPU0:router(config-static)# vrf vrf_A (Optional) Enters VRF configuration mode. If a VRF is not specified, the static route is configured under the default VRF. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
For example, if it is required to discard all traffic to prefix 2001:0DB8:42:1/64, the following static route would be defined: configure router static address-family ipv6 unicast 2001:0DB8:42:1::/64 null 0 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Aggregation Services Router Routing Command guidelines, and examples Reference MPLS Layer 3 VPN configuration: configuration Cisco ASR 9000 Series Aggregation Services Router concepts, task, and examples MPLS Configuration Guide Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 594
Registered Cisco.com users can log in from this page to access more content. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
SPF runs and time taken to provision routes and LDP labels across all LCs on the router. RCMD is a tool that collects and reports data related to routing convergence. Highlights of the RCMD mechanism are: Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
7. node node-name 8. protocol 9. priority 10. disable 11. leaf-network number 12. threshold value 13. storage-location 14. diagnostics directory-path-name 15. diagnostics-size 16. reports directory-path-name 17. reports-size Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 597
RP/0/RSP0/CPU0:router(config-rcmd-proto)#priority critical • High-Set to monitor route convergence for RP/0/RSP0/CPU0:router(config-rcmd-proto-prio)# high priority routes • Medium-Set to monitor route convergence for medium priority routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 598
/disk0:/rcmd/ or <tftp-location>/rcmd/ Example: RP/0/RSP0/CPU0:router(config-rcmd-store)#reports /disck0:/rcmd Step 17 Specify a maximum size for the reports directory. reports-size Set the size in %. Range is 5%-80%. Example: RP/0/RSP0/CPU0:router(config-rcmd-store)#reports-size 8 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Before You Begin To enable monitoring of individual prefixes, first configure a prefix-list using the {ipv4 | ipv6} prefix-list command. Then, use this prefix list with the prefix-list command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Before You Begin To enable monitoring of individual prefixes, first configure a prefix-list using the {ipv4 | ipv6} prefix-list command. Then, use this prefix list with the prefix-list command. Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Enabling RCMD Monitoring for OSPF Prefixes: Example This example shows how to enable RCMD monitoring for individual OSPF prefixes: ipv6 prefix-list ospf_monitor 10 permit 2001:db8::/32 Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs: Example This example shows how to enable tracking of prefix monitoring for OSPF external LSAs and summary routes: router ospf 100 monitor-convergence track-external-routes track-summary-routes Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...
Page 604
Implementing RCMD Enabling RCMD Monitoring for Type 3/5/7 OSPF LSAs: Example Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x OL-30423-03...