Page 1
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x First Published: 2018-03-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
Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. 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 trademarks.
Commands Autonomous System Number Formats in BGP 2-byte Autonomous System Number Format 4-byte Autonomous System Number Format as-format Command BGP Configuration Configuration Modes Neighbor Submode Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 4
Default Address Family for show Commands BGP Keychains BGP Nonstop Routing BGP Best-External Path BGP Local Label Retention BGP Over GRE Interfaces Command Line Interface (CLI) Consistency for BGP Commands Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 5
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 6
Originating Prefixes With AiGP: Example VRF Dynamic Route Leaking Configuration: Example Flow-tag propagation Restrictions for Flow-Tag Propagation Configuring Destination-Based Flow-Tag Propagation Where to Go Next Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 7
Information About BFD Differences in BFD in Cisco IOS XR Software and Cisco IOS Software BFD Modes of Operation BFD Packet Information BFD Source and Destination Ports Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 8
Specifying the Echo Packet Source Address on an Individual Interface or Bundle Configuring BFD Session Teardown Based on Echo Latency Detection Delaying BFD Session Startup Until Verification of Echo Path and Latency Disabling Echo Mode Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x viii...
Page 9
BFD Peers on Routers Running Cisco IOS and Cisco IOS XR Software: Example BFD over MPLS TE LSPs: Examples BFD over MPLS TE Tunnel Head-end Configuration: Example BFD over MPLS TE Tunnel Tail-end Configuration: Example Where to Go Next Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 10
Configuring Route Summarization for an EIGRP Process Redistributing Routes for EIGRP Creating a Route Policy and Attaching It to an EIGRP Process Configuring Stub Routing for an EIGRP Process Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 11
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 12
ISIS Link Group Configure Link Group Profile Configure Link Group Interface Configuration Examples for Implementing IS-IS Configuring Single-Topology IS-IS for IPv6: Example Configuring Multitopology IS-IS for IPv6: Example Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 13
Link-State Advertisement Types for OSPFv3 Virtual Link and Transit Area for OSPF Passive Interface OSPF SPF Prefix Prioritization Route Redistribution for OSPF OSPF Shortest Path First Throttling Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x xiii...
Page 14
Redistribute Routes into OSPF Configuring OSPF Shortest Path First Throttling Examples Configuring Nonstop Forwarding Specific to Cisco for OSPF Version 2 Configuring OSPF Version 2 for MPLS Traffic Engineering Examples Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 15
Virtual Link Configured Through Area 1 for OSPFv3: Example Virtual Link Configured with MD5 Authentication for OSPF Version 2: Example OSPF Queue Tuning Parameters Configuration: Example Where to Go Next Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 16
Output of show route Command: Example Output of show route backup Command: Example Output of show route best-local Command: Example Output of show route connected Command: Example Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 17
C H A P T E R 1 1 Implementing Routing Policy Prerequisites for Implementing Routing Policy Restrictions for Implementing Routing Policy Information About Implementing Routing Policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x xvii...
Page 19
Fully Specified Static Routes Floating Static Routes Configuration Examples Configuring Traffic Discard: Example Configuring a Fixed Default Route: Example Configuring a Floating Static Route: Example Where to Go Next Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 20
Contents Additional References C H A P T E R 1 3 Implementing RCMD Route Convergence Monitoring and Diagnostics Configuring Route Convergence Monitoring and Diagnostics Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 21
What's New in Cisco Product Documentation. To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the . RSS feeds are a free service. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 22
Preface Obtaining Documentation and Submitting a Service Request Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x xxii...
Table 2: Routing Features Added or Modified in IOS XR Release 6.4.x Feature Description Changed in Release Where Documented None No new features Not Applicable Not Applicable introduced Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 24
New and Changed Routing Features New and Changed Routing Features Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This module provides the conceptual and configuration information for BGP on Cisco IOS XR software. Note For more information about BGP on the Cisco IOS XR software and complete descriptions of the BGP commands listed in this module, see Related Documents, on page 99 section of this module.
Note We strongly recommend that the bgp router-id command is configured to prevent unnecessary changes to the router ID (and consequent flapping of BGP sessions). Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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.
For information on route policy filtering for next hops using the next-hop attach point, see the Implementing Routing Policy Language on Cisco IOS XR Software module of Cisco IOS XR Routing Configuration Guide (this publication). Next Hop as the IPv6 Address of Peering Interface BGP can carry IPv6 prefixes over an IPv4 session.
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: •...
BGP Configuration BGP in Cisco IOS XR software follows a neighbor-based configuration model that requires that all configurations for a particular neighbor be grouped in one place under the neighbor configuration. Peer groups are not supported for either sharing configuration between neighbors or for sharing update messages. The concept of peer group has been replaced by a set of configuration groups to be used as templates in BGP configuration and automatically generated update groups to share update messages between neighbors.
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/RP0/CPU0:router(config-bgp)# neighbor 192.23.1.2...
Page 32
• Commands entered at the address family group level define address family-dependent commands for a specified address family (the same commands as in the neighbor-address family configuration submode). Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 34
In the example that follows, the advertisement interval from the neighbor group is used because it is not configured directly on the neighbor and no session group is used: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 36
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 Minimum time between advertisement runs is 30 seconds Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RP/0/RP0/CPU0:router(config-bgp-nbrgrp-af)# send-community-ebgp RP/0/RP0/CPU0:router(config-bgp-nbrgrp-af)# exit RP/0/RP0/CPU0:router(config-bgp-nbrgrp)# exit RP/0/RP0/CPU0:router(config-bgp)# neighbor 192.168.0.1 RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as 2 RP/0/RP0/CPU0:router(config-bgp-nbr)# use neighbor-group GROUP_1 RP/0/RP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast RP/0/RP0/CPU0:router(config-bgp-nbr-af)# use af-group GROUP_3 RP/0/RP0/CPU0:router(config-bgp-nbr-af)# weight 200 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 38
[a:GROUP_2] The following example displays sample output from the show bgp af-group command using the users keyword: RP/0/RP0/CPU0:router# show bgp af-group GROUP_2 users IPv4 Unicast: a:GROUP_1 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 39
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/RP0/CPU0:router# show bgp session-group GROUP_1 inheritance Session: s:GROUP_2 s:GROUP_3 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 40
GROUP_1, and the send community setting is inherited from neighbor group GROUP_2, which in turn inherits the setting from address family group GROUP_3: RP/0/RP0/CPU0:router# show bgp neighbor-group GROUP_1 configuration Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Neighbor Address Family Combinations For default VRF, starting from Cisco IOS XR Software Release 6.2.x, both IPv4 Unicast and IPv4 Labeled-unicast address families are supported under the same neighbor.
Implementing Routing Policy on Cisco IOS XR Software module in the Routing Configuration Guide for Cisco NCS 6000 Series Routers for details on table policy use. See the Cisco Express Forwarding Commands on Cisco IOS XR Software module in the IP Addresses and Services Command Reference for Cisco NCS 6000 Series Routers for details on BGP policy accounting.
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 IOS XR Software module of Cisco IOS XR Routing Command Reference for information on the set extcommunity cost command. The cost community set clause is configured with a cost community ID number (0–255) and cost community number...
This figure shows an IGP network with two autonomous system boundary routers (ASBRs) on the edge. Each ASBR has an equal cost path to network 10.8/16. Figure 1: Multiexit Point IGP Network Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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.
When calculating the length of the AS path, confederation segments are ignored, and AS sets count as 1. Note eiBGP specifies internal and external BGP multipath peers. eiBGP allows simultaneous use of internal and external paths. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 49
Where the originator is used as the router ID, it is possible to have two paths with the same router ID. It is also possible to have two BGP sessions with the same peer router, and therefore receive two paths with the same router ID. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
4. If the paths have different weights, local preferences, origins, or IGP metrics to their next hops, then the change cannot be suppressed. Note that all these values are calculated using the rules in Comparing Pairs of Paths, on page Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
For information on specifying the administrative distance for BGP, see the BGP Commands module of the Routing Command Reference for Cisco NCS 6000 Series Routers Normally, a route can be learned through more than one protocol. Administrative distance is used to discriminate between routes learned from more than one protocol.
2, in turn, propagates the withdrawal message to autonomous system 3. When the route to network A reappears, autonomous system 1 sends an advertisement message to autonomous system 2, which sends it to Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 54
(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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 55
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RTBH filtering sets the next-hop of the victim's prefix to the null interface. The traffic destined to the victim is dropped at the ingress. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 57
Configure a static route with the special tag for the source prefix that has to be block-holed: router static address-family ipv4 unicast 10.7.7.7/32 Null0 tag 777 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Received Path ID 0, Local Path ID 1, version 12 Community: 1234:4321 no-export RP/0/RSP0/CPU0:router#show route 10.7.7.7/32 Routing entry for 10.7.7.7/32 Known via "bgp 65001", distance 200, metric 0, type internal Installed Jul 4 14:37:29.394 for 01:47:02 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Most of the show commands provide address family (AFI) and subaddress family (SAFI) arguments (see RFC 1700 and RFC 2858 for information on AFI and SAFI). The Cisco IOS XR software parser provides the ability to set the afi and safi so that it is not necessary to specify them while running a show command. The parser commands are: •...
Page 60
• CLI commands to enable and disable NSR NSR can be provisioned on a multishelf router. The following guidelines should be observed when provisioning NSR on a multishelf router: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
BGP considers the external and confederations BGP paths for a prefix to calculate the best–external path. BGP advertises the best path and the best–external path as follows: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Reserved0 field set to zero. A receiver that is compliant with RFC 1701 treats key present, sequence number, and strict source route as zero and do not expect key and sequence number. The Cisco IOS XR software discards a GRE packet with any of the bits in Reserved0 field set.
• BGP selective multipath does not impact best path calculations. A best path is always included in the set of multipaths. • For VPN prefixes, the PE paths are always eligible to be multipaths. For information on the maximum-paths and multipath commands, see the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference. Topology A sample topology to illustrate the configuration used in this section is shown in the following figure.
OSPF/LDP carries the prefix/label information only in the local area. Then, BGP carries the prefix/lable to all the remote areas by redistributing the routes into BGP at area boundaries. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Bi-directional Forwarding Detection Multihop (BFD-MH) support is enabled for BGP. BFD Multihop establishes a 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 Interface and Hardware...
• All configuration changes for a single BGP instance can be committed together. However, configuration changes for multiple instances cannot be committed together. • Cisco recommends that BGP update-source should be unique in the default VRF over all instances while peering with the same remote router.
PE. However, the paths are still advertised to the CEs. • Importing from non-default-VRF to default VRF, using the export to default-vrf route-policy route-policy-name command in VRF address-family configuration mode. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
TTL value which is at least equal to the number of hops between them. For example, if there are 2 hops (R2, R3) between two BGP peering routers R1 and R4, you need to set a TTL value of 3. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 69
Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP Example: routing process. RP/0/RP0/CPU0:router(config)# router bgp 120 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Perform this task to configure multiple BGP instances for a specific autonomous system. All configuration changes for a single BGP instance can be committed together. However, configuration changes for multiple instances cannot be committed together. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Logging neighbor changes is enabled by default. Use the log neighbor changes disable command to turn off logging. The no log neighbor changes disable command can also be used to turn logging back on if it has been disabled. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
(routes that were received with no MED attribute). SUMMARY STEPS 1. configure 2. router bgp as-number 3. default-metric value 4. commit DETAILED STEPS Command or Action Purpose Step 1 configure Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the Example: BGP routing process. RP/0/RP0/CPU0:router(config)# router bgp 120 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
BGP routes into the IP routing table. Caution Redistributing iBGP routes into IGPs may cause routing loops to form within an autonomous system. Use this command with caution. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 module of Routing Configuration Guide for Cisco NCS 6000 Series Routers (this publication) for a list of the supported attributes and operations that are valid for table policy filtering.
Note All commands that can be configured under a specified neighbor group can be configured under a neighbor. SUMMARY STEPS configure router bgp as-number Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 85
RP/0/RP0/CPU0:router(config-bgp-nbrgrp)# remote-as 2002 Step 7 address-family { ipv4 | ipv6 } unicast Specifies either an IPv4 or IPv6 address family unicast and enters address family configuration submode. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
In such instances, the cluster is identified by the software as the router ID of the route reflector. To increase redundancy and avoid a single point of failure in the network, a cluster can have more than one route reflector. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 87
Example: To see a list of all the possible keywords and arguments for this command, use the CLI help (?). RP/0/RP0/CPU0:router(config-nbr)# address-family ipv4 unicast Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Perform this task to configure BGP routing filtering by route policy. Before you begin See the Implementing Routing Policy on module of Cisco Routing Configuration Guide (this publication) for a list of the supported attributes and operations that are valid for inbound and outbound neighbor policy filtering.
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the Example: BGP routing process. RP/0/RP0/CPU0:router(config)# router bgp 120 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Specifies the autonomous system number and enters the BGP configuration mode, allowing you to configure the Example: BGP routing process. RP/0/RP0/CPU0:router(config)# router bgp 120 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
BGP community and extended-community filtering cannot be configured for iBGP neighbors. Communities and extended-communities are always sent to iBGP neighbors under IPv4, and IPv6 address families. SUMMARY STEPS 1. configure 2. router bgp as-number 3. neighbor ip-address Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 93
Use one of these commands: Specifies that the router send community attributes or extended community attributes (which are disabled by • send-community-ebgp default for eBGP neighbors) to a specified eBGP neighbor. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 97
Soft reconfiguration enables the software to store the incoming updates before apply policy if route refresh is not supported by the peer (otherwise a copy of the update is not Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
IP address as a BGP Example: peer. RP/0/RP0/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/RP0/CPU0:router(config-bgp-nbr)# remote-as 2002 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Perform this task to trigger an inbound soft reset of the specified address families for the specified group or neighbors. The group is specified by the * , ip-address , as-number , or external keywords and arguments. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
If an outbound soft reset is triggered, BGP resends all routes for the address family to the given neighbors. To determine whether the neighbor has advertised the ROUTE_REFRESH capability, use the show bgp neighbors command. SUMMARY STEPS 1. show bgp neighbors 2. out Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Clearing a cache, table, or database can become necessary when the contents of the particular structure have become, or are suspected to be, invalid. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
5. show bgp neighbors ip-address [ advertised-routes | dampened-routes | flap-statistics | performance-statistics | received prefix-filter | routes ] 6. show bgp paths 7. show bgp neighbor-group group-name configuration 8. show bgp summary Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 103
• The routes keyword displays routes learned from the neighbor. Step 6 show bgp paths Displays all BGP paths in the database. Example: RP/0/RP0/CPU0:router# show bgp paths Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Example: RP/0/RP0/CPU0:router# show bgp processes detail Step 4 show bgp summary Displays the status of all BGP connections. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
ID (dot) index. Process ID range is from 0 to 254. Index range is from 0 to 4294967295. • The summary keyword displays summary information for neighbors in a particular update group. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Step 4 commit Re-enable BGP Nonstop Routing If BGP Nonstop Routing (NSR) is disabled, use the following steps to turn BGP NSR back on using the following steps: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Configuration Examples for Implementing BGP This section provides the following configuration examples: Enabling BGP: Example The following shows how to enable BGP. prefix-set static 2020::/64, 2012::/64, 10.10.0.0/16, 10.2.0.0/24 end-set Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 112
10.0.101.62 remote-as 3 address-family ipv4 unicast route-policy pass-all in route-policy pass-all out neighbor 10.0.101.64 remote-as 5 update-source Loopback0 address-family ipv4 unicast route-policy pass-all in route-policy pass-all out Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Originating Prefixes With AiGP: Example The following is a sample configuration for originating prefixes with the AiGP metric attribute: route-policy aigp-policy set aigp-metric 4 set aigp-metric igp-cost end-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• Divert traffic to application or cache server. Restrictions for Flow-Tag Propagation Some restrictions are placed with regard to using Quality-of-service Policy Propagation Using Border Gateway Protocol (QPPB) and flow-tag feature together. These include: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Router(config-pmap)# class type traffic FLOWMATCH36 Router(config-pmap-c)# redirect ipv4 nexthop 20.20.20.1 Router(config-pmap-c)# exit Router(config-pmap)# class type traffic FLOWMATCH38 Router(config-pmap-c)# drop Router(config-pmap-c)# exit Router(config-pmap)# class type traffic DEFAULT Router(config-pmap-c)# exit Router(config-pmap)# end-policy-map Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 119
36 end-class-map class-map type traffic match-any FLOWMATCH40 match flow-tag 40 end-class-map policy-map type pbr FLOWMATCH class type traffic FLOWMATCH36 transmit class type traffic FLOWMATCH40 transmit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 120
20.20.20.1/24 remote-as 20 address-family ipv4 unicast route-policy BGPIN in route-policy BGPOUT out route-policy BGPIN pass end-policy route-policy BGPOUT pass end-policy You have successfully configured destination-based flow-tag propagation. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Implementing BGP Where to Go Next Where to Go Next For detailed information about BGP commands, see Routing Command Reference for Cisco NCS 6000 Series Routers Additional References The following sections provide references related to implementing BGP. Related Documents Related Topic...
Page 122
Additional References MIBs MIBs MIBs Link — 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 RFCs...
Page 123
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 124
Implementing BGP Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Note For more information about BGP Flowspec and complete descriptions of the BGP Flowspec commands listed in this module, see the BGP Flowspec Commands chapter in the Routing Command Reference for Cisco NCS 6000 Series Routers. Feature History for Implementing BGP Flowspec Release This feature was introduced.
The action in this scenario is to 'drop' the DDoS traffic at the edge of the network itself and deliver only clean and legitimate traffic to the Customer Edge. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Next-Hop information, this is encoded as a 0-octet length Next Hop in the MP_REACH_NLRI attribute and ignored on receipt. The NLRI field of the MP_REACH_NLRI and MP_UNREACH_NLRI is Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 128
Protocol are used to match the IP protocol value byte in IP packets. Encoding: <type (1 octet), [op, value]+> Syntax: Type 3: match protocol {protocol-value |min-value -max-value} Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 129
TCP or UDP packet. Values are encoded as 1- or 2-byte quantities. Encoding: <type (1 octet), [op, value]+> Syntax: match source-port {source-port-value |[min-value - max-value]} Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 130
Multi value range Layer 2, but including IP header). Values are encoded using 1- or 2-byte quantities. Encoding: <type (1 octet), [op, value]+> Syntax: matchpacket length {packet-length-value |min-value -max-value} Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
A traffic-rate of 0 should result on all traffic for the particular flow to be discarded. Command syntax police rate < > | drop Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
NRLI entry. The client (acting as a BGP speaker) receives that NRLI and programs the hardware forwarding to act on the instruction from the Controller. An illustration of this model is provided below. BGP Flowspec Client Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 133
• Configure a Policy Map, on page 115 • Configure a Class Map, on page 113 • Link BGP Flowspec to ePBR Policies , on page 116 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Any combination of tuples 1-13 Example: match statements can be specified here. The tuple definition possibilities include: RP/0/RP0/CPU0:router(config-cmap)# match protocol ipv4 1 60 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 136
RP/0/RP0/CPU0:router(config-cmap)# end-class-map What to do next Associate the class defined in this procedure to a PBR policy as described in Configure a Policy Map, on page 115. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
In this example, IPv4 has been enabled, and a Example: single flow has been defined across the entire table. # show flowspec summary FlowSpec Manager Summary: Tables: Flows: RP/0/3/CPU0:RA01_R4# Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 141
Advertised to update-groups (with more than one peer): Local 0.0.0.0 from 0.0.0.0 (3.3.3.3) Origin IGP, localpref 100, valid, redistributed, best, group-best Received Path ID 0, Local Path ID 1, version Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
{ ipv4 } Specifies the IPv4 address family and enters address family configuration submode, and initializes the global address Example: family. RP/0/RP0/CPU0:router(config-bgp)# router bgp 100 neighbor 1.1.1.1 address-family ipv4 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The goal is also to disable flowspec getting enabled on gig 0/0/0/0. class-map type traffic match-all fs_tuple match destination-address ipv4 10.0.1.0/24 match source-address ipv4 192.0.0.0/8 match destination-port 137-139 8080 end-class-map policy-map type pbr fs_table_blue class type traffic fs_tuple Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 146
Interface GigabitEthernet 0/0/0/0 vrf blue ipv4 flowspec disable Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Related Topic Document Title BGP flowspec commands: complete command syntax, Routing Command Reference for Cisco NCS command modes, command history, defaults, usage 6000 Series Routers guidelines, and examples Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 148
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
C H A P T E R Implementing BFD This module describes the configuration of bidirectional forwarding detection (BFD) on the Cisco NCS 6000 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.
• For BFD on bundle member links, only a single BFD session for each bundle member link is created, monitored, and maintained for the IPv4 addressing type only. IPv6 and VLAN links in a bundle have the following restrictions: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.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.
The BFD over bundle member feature increments each byte of the UDP source port on echo packets with each transmission. UDP source port ranges from 0xC0C0 to 0xFFFF. For example: 1st echo packet: 0xC0C0 2nd echo packet: 0xC1C1 3rd echo packet: 0xC2C2 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The standard echo failure detection scheme is done through a counter that is based on the value of the bfd multiplier command on non-bundle interfaces, and the value of the bfd address-family ipv4 multiplier command for bundle interfaces. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 154
3 and echo failure is detected. In this case, echo failure detection occurs at the 150 ms (I x M) window: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 155
Time Examples on Bundle Interfaces): • Value of I—Minimum period between sending of BFD control packets. • Value of I x M • BFD control packet failure detection time. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 156
BFD session to change state. For more information, see the Delaying BFD Session Startup Until Verification of Echo Path Latency. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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: •...
For example, BFD cannot be configured on BVI and interflex. • 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.
0.0.0.0/0 2.6.0.2 Step 6 commit BFD for IPv6 BFD on Bundled VLANs • Note For more information on configuring a VLAN bundle, see the module. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 161
Whenever a member’s state changes, the bundle manager determines if the number of active members is less than the minimum number of active links threshold. If so, then the bundle is placed, or remains, Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
IPv6 routes using iBGP/eBGP as the client application. BFD Multihop provides continuity check (CC) on arbitrary paths spanning multiple network hops and provides failure notifications for Multihop protocols like BGP, MPLS Traffic Engineering, and LDP. The Cisco IOS XR Software BFD MHv6 implementation is in accordance with IETF RFC5883 for IPv6 networks.
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.
• 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 165
RP/0/RP0/CPU0:router(config-bgp-nbr)# bfd fast-detect set up as the BGP peer. In this example, BFD is enabled between the local networking devices and the neighbor 172.168.40.24. Step 8 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
BFD per-interface configuration is supported for OSPF, OSPFv3, IS-IS, and MPLS-TE only. For information about configuring BFD on an OSPF interface, see Enabling BFD for OSPF on an Interface. SUMMARY STEPS 1. configure Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 168
Enters interface configuration mode and specifies the interface name and notation rack/slot/module/port. Example: • The example indicates a Gigabit Ethernet interface in modular services card slot 1. RP/0/RP0/CPU0:router(config-ospfv3-ar)# interface gigabitEthernet 0/1/5/0 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Whenever the state of a member changes, the bundle manager determines whether the number of active members or available bandwidth is less than the minimum. If so, then the bundle is placed, or remains, in Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The BFD echo packet interval and all failure detection times are determined by a combination of the interval and multiplier values in these commands. For more information see the BFD Packet Intervals and Failure Detection. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 172
The range is from 2 to 50. The default is 3. ipv4 multiplier 30 • Although the command allows you to Note configure a minimum of 2, the supported minimum is 3. Step 5 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RP/0/RP0/CPU0:router(config-if)# configuration issue is not resolved before the specified timer is reached, the BFD session is declared down. The range is 30 to 3600. Step 5 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Specifies an IPv4 address to be used as the source address in BFD echo packets, where ip-address is the 32-bit IP Example: address in dotted-decimal format (A.B.C.D). RP/0/RP0/CPU0:router(config-bfd)# echo ipv4 source 10.10.10.1 Step 5 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
You can verify that the echo packet path is working and within configured latency thresholds before starting a BFD session on non-bundle interfaces. Note Echo startup validation is not supported on bundle interfaces. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 177
• The remote router echo capability is not considered (received control packet from remote system has zero or non-zero "Required Min Echo RX Interval" value). Step 4 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Example: RP/0/RP0/CPU0:router(config-bfd)# interface gigabitEthernet 0/1/5/0 Step 4 ipv6 checksum [disable] Enables IPv6 checksum support on the interface. To disable, use the disable keyword. Example: RP/0/RP0/CPU0:router(config-bfd-if)# ipv6 checksum Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
TE waits for the bringup timeout before bringing down the tunnel. BFD is disabled on TE tunnels by default. Perform these tasks to configure BFD parameters and enable BFD over TE Tunnels. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 183
Once LSP is signaled and BFD session is created, TE allows given time for the BFD session to come up. If BFD session fails to come up within timeout, the LSP is torn down. Hence it is required to configure BFD bring up timeout Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Before you begin • BFD must be enabled under MPLS TE tunnel interface. • BFD bring up timeout interval must be configured using the bfd bringup-timeout command. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 185
The secondary-wait bring up delay time interval range is 1 RP/0/RP0/CPU0:router(config-if)#bfd dampening to 518400000 milliseconds. Default secondary-wait interval secondary-wait 30000 is 20000 milliseconds. Step 6 commit What to do next Configure periodic LSP ping option. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
60 and 3600 seconds. Step 4 commit What to do next Configure BFD at the tail-end. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
BFD over LSP sessions, both head-end and tail-end, will be hosted on line cards with following configuration enabled. SUMMARY STEPS 1. configure 2. bfd 3. multipath include location node-id 4. commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Example: RP/0/RP0/CPU0:router(config-track)# type bfdrtr rate 4 Step 4 debouncedebounce debounce - count of consecutive BFD probes whose status should match before BFD notifies OT Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The following example shows how to enable BFD for OSPF on a Gigabit Ethernet interface: RP/0/RP0/CPU0:router#configure RP/0/RP0/CPU0:router(config)#router ospf 0 RP/0/RP0/CPU0:router(config-ospf)#area 0 RP/0/RP0/CPU0:router(config-ospf-ar)#interface gigabitEthernet 0/3/0/1 RP/0/RP0/CPU0:router(config-ospf-ar-if)#bfd fast-detect RP/0/RP0/CPU0:router(config-ospf-ar-if)#commit RP/0/RP0/CPU0:router(config-ospf-ar-if)#end RP/0/RP0/CPU0:router#show run router ospf router ospf 0 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RP/0/RP0/CPU0:router(config-bfd-if)#echo ipv4 source 10.10.10.1 Echo Latency Detection: Examples In the following examples, consider that the BFD minimum interval is 50 ms, and the multiplier is 3 for the BFD session. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The following example shows how to disable echo mode on a router: RP/0/RP0/CPU0:router#configure RP/0/RP0/CPU0:router(config)#bfd RP/0/RP0/CPU0:routerr(config-bfd)#echo disable The following example shows how to disable echo mode on an interface: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RP/0/RP0/CPU0:router(config-bfd)#interface gigabitethernet 0/1/0/0 RP/0/RP0/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/RP0/CPU0:router#configure RP/0/RP0/CPU0:router(config)#bfd RP/0/RP0/CPU0:router(config-bfd)#interface gigabitethernet 0/1/0/0 RP/0/RP0/CPU0:router(config-bfd-if)#ipv6 checksum disable Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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...
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 200
Implementing BFD Technical Assistance Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Note For more information about EIGRP on the Cisco IOS XR software and complete descriptions of the EIGRP commands listed in this module, see the EIGRP Commands chapter in the Routing Command Reference for Cisco NCS 6000 Series Routers. To locate documentation for other commands that might appear while executing a configuration task, search online in the Cisco IOS XR software master command index.
Restrictions for Implementing EIGRP 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.
K values are used. The default K values are 1, 0, 1, 0, and 0. hostname ROUTER-B! interface GigabitEthernet0/6/0/1 ipv4 address 10.1.1.2 255.255.255.0 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RP/0//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//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 207
Router-C. If the connection between Router-E and Router-C fails, the network continues to operate normally. All traffic flows from Router-C through Router-B to the hosts attached to Router-A and Router-D. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
EIGRP configured, you may want to disable split horizon. Adjustment of Hello Interval and Hold Time for an EIGRP Process You can adjust the interval between hello packets and the hold time. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The stub routing feature by itself does not prevent routes from being advertised to the remote router. In the example in Figure 13: Simple Hub-and-Spoke Network, on page 187 , the remote router can access the corporate Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• route-policy—Match statements are allowed for destination, next hop, and tag. Set statements are allowed for eigrp-metric and tag. • redistribute—Match statements are allowed for destination, next hop, source-protocol, tag and route-type. Set statements are allowed for eigrp-metric and tag. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Message Digest 5 (MD5) authentication. The EIGRP routing authentication uses the Cisco IOS XR software security keychain infrastructure to store and retrieve secret keys and to authenticate incoming and outgoing traffic on a per-interface basis.
Page 212
(Optional) Configures the hold time for an interface. Example: RP/0/RP0/CPU0:router(config-eigrp-af-if)# holdtime Step 9 bandwidth-percent percent (Optional) Configures the percentage of bandwidth that may be used by EIGRP on an interface. Example: RP/0/RP0/CPU0:router(config-eigrp-af-if)# bandwidth-percent 75 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Specifies the AS number of the routing process to configure an EIGRP routing process Example: RP/0/RP0/CPU0:router(config)# router eigrp 100 Step 3 address-family { ipv4 } Enters an address family configuration mode. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
7. maximum paths maximum 8. maximum-prefix maximum [ threshold ] [[ dampened ] [ reset-time minutes ] [ restart minutes ] [ restart-count number ] | [ warning-only]] 9. commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 215
Limits the number of prefixes that are accepted under an ] [ reset-time minutes ] [ restart minutes ] [ address family by EIGRP. restart-count number ] | [ warning-only]] Example: RP/0/RP0/CPU0:router(config-eigrp-af)# maximum-prefix 50000 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Series Routers 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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 222
Additional References MIBs MIBs MIBs Link — 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 RFCs...
10589 and RFC 1195, 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. • Prerequisites for Implementing IS-IS, on page 201 •...
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.
IS-IS Configuration Grouping 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.
By default, IPv6 routing is disabled in the software. To enable IPv6 routing, you must assign IPv6 addresses to individual interfaces in the router using the ipv6 enable or ipv6 address command. See the Network Stack IPv4 and IPv6 Commands on module of IP Addresses and Services Command Reference for Cisco NCS 6000 Series Routers.
LSPs from timing out. 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.
NSF. Note If you configure IETF NSF on the Cisco IOS XR router and a neighbor router does not support IETF NSF, the affected adjacencies flap, but nonstop forwarding is maintained to all neighbors that do support IETF NSF.
When the IS-IS overload bit avoidance feature is activated, all nodes with the overload bit set, including head nodes, mid nodes, and tail nodes, are ignored, which means that they are still available for use with label switched paths (LSPs). Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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.
(for example, when LDP is used for transport in the core) and on multiple IGP instances simultaneously. This feature supports the IPv4 address family for the default VPN routing and forwarding (VRF) instance. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
IPFRR LFA. IPFRR LFA is different from Multiprotocol Label Switching (MPLS) as it is applicable to networks using conventional IP routing and forwarding. See MPLS Configuration Guide for Cisco NCS 6000 Series Routers for information on configuring MPLS IPFRR.
This task explains how to enable IS-IS and configure the routing level for an area. Note Configuring the routing level in Step 4 is optional, but is highly recommended to establish the proper level of adjacencies. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 235
1 adjacencies are established. 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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 237
IPv6 processing on the interface with the eui-64 keyword. Example: RP/0/RP0/CPU0:router(config-if)# ipv4 address Specifies an IPv6 address assigned to the interface and 10.0.1.3 255.255.255.0 enables IPv6 processing on the interface with the link-local keyword. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 238
• This example configures a router with area ID 47.0004.004d.0001 and system ID 0001.0c11.1110.00. • To specify more than one area address, specify additional NETs. Although the area address portion Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 239
[ instance instance-id ] interface [ type (Optional) Displays information about the IS-IS interface. interface-path-id ] [ detail ] [ level { 1 | 2 }] Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 241
• This is the amount of time that the LSP persists in the database of a neighbor unless the LSP is regenerated RP/0/RP0/CPU0:router(config-isis)# max-lsp-lifetime 11000 or refreshed. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 242
Example: • This command is appropriate only for an NBMA network with highly meshed, point-to-point RP/0/RP0/CPU0:router(config-isis-if)# mesh-group blocked topologies. Step 15 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RP/0/RP0/CPU0:router# show isis database-log level 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 244
Step 7 commit Step 8 show running-config [ command ] (Optional) Displays the entire contents of the currently running configuration file or a subset of that file. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• The level 1 keyword sets a password for authentication in the area (in Level 1 LSPs and Level SNPs). Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Traffic Engineering on MPLS Configuration Guide for Cisco NCS 6000 Series Routers 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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 248
{ 1 | 2 } Configures a router running IS-IS to flood MPLS TE link information into the indicated IS-IS level. Example: RP/0/RP0/CPU0:router(config-isis-af)# mpls traffic-eng level 1 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 250
Step 5 hello-padding { disable | sometimes } [ level { 1 | 2 Configures padding on IS-IS hello PDUs for an IS-IS interface on the router. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 251
(Optional) Displays information about the IS-IS interface. interface-path-id ] [ brief | detail ] [ level { 1 | 2 }] Example: RP/0/RP0/CPU0:router# show isis interface GigabitEthernet 0/1/0/1 brief Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This task explains how to perform route functions that include injecting default routes into your IS-IS routing domain and redistributing routes learned in another IS-IS instance. This task is optional. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 254
] routing domain. Example: • The route-policy keyword and route-policy-name argument specify the conditions under which the IPv4 or IPv6 default route is advertised. RP/0/RP0/CPU0:router(config-isis-af)# default-information originate Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 255
(Optional) Configures an IS-IS instance with an attached attached-bit send { always-set | never-set } bit in the Level 1 LSP. Example: RP/0/RP0/CPU0:router(config-isis-af)# attached-bit send always-set Step 11 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
IS-IS. Before you begin Note IPFRR is supported on the Cisco IOS XR. IPv4 address families and single-level interfaces are supported. Multiprotocol Label Switching (MPLS) FRR and IPFRR cannot be configured on the same interface simultaneously.
(directly-connected neighbors) as backups to a destination. Though this works well in most topologies, it fails in ring topologies, because the immediate next hop is likely to use the source router itself to forward traffic, thereby creating loops. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 261
In this example, Router A chooses Router C as its RLFA backup, and uses LDP to establish a tunnel between them. Traffic from Router A is routed to Router C on fast reroute trigger. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 263
The maximum-metric command is required to limit the range of remote LFAs. The microloop avoidance command is used to avoid micro-loops by delaying the convergence of all or protected prefixes (as configured in this example). For more information on these commands, see the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference.
Page 264
0x400] path-idx 0 bkup-idx 1 [0x1dc560cc 0x0] next hop 2.2.2.3 local label 16011 labels imposed {16001} via 1.1.1.2, GigabitEthernet0/1/0/0, 2 dependencies, weight 0, class 0, backup (remote) Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 267
IPv4 paths: 10 (1 backup [1 remote], 2 protected) IP subscriber: 0 Ingress Forwarding Chain Verification (Backup over Non-TE) Verify the presence of remote backup paths in the ingress forwarding chain. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 268
: no rp drop : no hash type uidb index : 0x5 FRR backup info FRR Flags : 0x28c /* updated to indicate PQ is active */ Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 SUMMARY STEPS 1.
6. show isis lsp DETAILED STEPS Command or Action Purpose Step 1 configure Step 2 router isis instance-id Enters IS-IS configuration submode. Example: RP/0/RP0/CPU0:router(config)# router isis purple Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 271
The following is an example configuration, along with the show isis interface output: router isis 1 is-type level-2-only net 49.1111.0000.0000.0006.00 link-group foo metric-offset 100 revert-members 4 minimum-members 2 address-family ipv4 unicast metric-style wide interface GigabitEthernet0/0/0/1 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Can send up to 9 back-to-back LSPs in the next 0 ms Configure Link Group Interface Perform this task to configure link group under Intermediate System-to-Intermediate System (IS-IS) interface and address-family sub-mode: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 273
[ level {1 | 2 } ] Specifies the link-group name and sets the tag at the level specified. Example: RP/0/RP0/CPU0:router(config-isis-if)# )#address-family ipv4 unicast link-group access level 1 Step 6 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
(5.5.5.0/24 eq 24) then set tag 555 pass else drop endif end-policy router static address-family ipv4 unicast 0.0.0.0/0 2.6.0.1 5.5.5.0/24 Null0 router isis uut net 00.0000.0000.12a5.00 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
MPLS TE feature information Implementing MPLS Traffic Engineering on module in MPLS Configuration Guide for Cisco NCS 6000 Series Routers Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 277
MIBs MI B s MIBs Link — 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 RFCs...
Page 278
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 NCS 6000 Series Router . The term “OSPF" implies both versions of the routing protocol, unless otherwise noted.
See the Implementing Network Stack IPv4 and IPv6 on module of the IP Addresses and Services Configuration Guide for Cisco NCS 6000 Series Routers for information on IPv6 routing and addressing. • Before you enable OSPFv3 on an interface, you must perform the following tasks: •...
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.
An autonomous system is also referred to as a routing domain. Figure 15: OSPF Routing Components, on page 261 shows two autonomous systems: 109 and 65200. An autonomous system can consist of one or more OSPF areas. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
NSSA. Area 0 cannot be an NSSA. Routers The OSPF network is composed of ABRs, ASBRs, and interior routers. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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. Route Authentication Methods for OSPF OSPF Version 2 supports two types of authentication: plain text authentication and MD5 authentication. By default, no authentication is enabled (referred to as null authentication in RFC 2178).
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.
The LSA indicates whether the router is an ABR or ASBR and if it is one end of a virtual link. Type 1 LSAs are also used to advertise stub networks. In OSPFv3, these LSAs have Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 289
LSAs is to identify individual pieces of the link-state database. All addresses or router IDs that are expressed by the link-state ID in OSPF Version 2 are carried in the body of the LSA in OSPFv3. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
It is recommended to use passive configuration on interfaces that are connecting LAN segments with hosts to the rest of the network, but are not meant to be transit links between routers. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• If only medium-priority route policy is specified and no maps are specified for high priority or critical priority: • Permitted prefixes matching medium-priority route policy are assigned to a medium-priority queue. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This figure shows the intervals at which the SPF calculations occur as long as at least one topology change event is received in a given wait interval. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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.
Helper mode is enabled by default. When a (helper) router receives a grace LSA (Type 11) from a router that is attempting a graceful restart, the following events occur: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 295
• All routes from RIB that were installed by OSPFv3 are purged. The router will not respond to any OSPF control packets it receives from neighbors while in protocol shutdown state. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• Simultaneous graceful restart sessions on multiple routers are not supported on a single network segment. If a router determines that multiple routers are in restart mode, it terminates any local graceful restart operation. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
In this case, the router chooses the path with the lowest cost (or metric) to the destination. Each routing process calculates its cost differently; the costs may need to be manipulated to achieve load balancing. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Enable/Disable ignoring of MTU in DBD packets packet-size Customize size of OSPF packets upto MTU retransmit-interval Time between retransmitting lost link state advertisements transmit-delay Estimated time needed to send link-state update packet RP/0/RP0/CPU0:router(config-ospf-ar-mif)# Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This allows LDP to receive all OSPF interfaces minus the ones explicitly disabled. See MPLS Configuration Guide for Cisco NCS 6000 Series Routers 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.
OSPFv2 is extended to receive all area scopes (LSA Types 9, 10, and 11). However, OSPFv2 originates only area scope Type 10. For detailed information for the Path Computation Element feature see the Implementing MPLS Traffic Engineering on module of the MPLS Configuration Guide for Cisco NCS 6000 Series Routers and the following IETF drafts: • draft-ietf-ospf-cap-09 •...
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).
• router ospf process-name • router ospfv3 process-name Enables OSPFv3 routing for the specified routing process Example: and places the router in router ospfv3 configuration mode. RP/0/RP0/CPU0:router(config)# router ospf 1 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 305
• For example, the no nssa RP/0/RP0/CPU0:router(config-ospf-ar)# nssa default-information-originate form of the command changes the NSSA area into a normal area that inadvertently brings down the existing adjacencies in that area. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
12. interface type interface-path-id 13. Do one of the following: • neighbor ip-address [ priority number ] [ poll-interval seconds ][ cost number ] [ database-filter [ all ]] Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 307
Example: RP/0/RP0/CPU0:router(config-ospf-ar)# network non-broadcast Step 6 dead-interval seconds (Optional) Sets the time to wait for a hello packet from a neighbor before declaring the neighbor down. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 308
The cost keyword does not apply to NBMA networks. • The database-filter keyword filters outgoing LSAs to an OSPF neighbor. If you specify the all keyword, Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 309
On point-to-multipoint interfaces, cost number is the only keyword and argument combination that works. The cost keyword does not apply to NBMA networks. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
[ message-digest | null ] 12. interface type interface-path-id 13. Repeat Step 12 for each interface that must communicate, using the same authentication. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 311
OSPF process (Step 4, Step RP/0/RP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/1/0/3 5, and Step 6). Step 8 Repeat Step 7 for each interface that must communicate, — using the same authentication. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 312
• By default, all of the interfaces configured in the same RP/0/RP0/CPU0:router(config-ospf-ar-if)# authentication null area inherit the same authentication parameter values of the area. Step 16 commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Perform Step 5 or Step 6 or both to control the frequency — that the same LSA is originated or accepted. Step 5 timers lsa refresh seconds Sets how often self-originated LSAs should be refreshed, in seconds. Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• 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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 315
Creating a Virtual Link with MD5 Authentication to Area 0 for OSPF Note If you decide to configure plain text authentication or no authentication, see the authentication command provided in OSPF Commands on module in Routing Command Reference for Cisco NCS 6000 Series Routers. SUMMARY STEPS Do one of the following: •...
Page 316
OSPF traffic. • The authentication-key key command is not supported for OSPFv3. • Once the key is encrypted it must remain encrypted. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
(aggregate) into a single LSA all of the subnetworks that the local area advertises to another area. Such summarization would reduce the number of LSAs and thereby conserve Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 318
Example: • The area-id argument can be entered in dotted-decimal or IPv4 address notation, such as area RP/0/RP0/CPU0:router(config-ospf)# area 1000 or area 0.0.3.232. However, you must choose Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
[ process-id ] { level-1 | level-1-2 | level-2 } [ metric metric-value ] [ metric-type type-value ] [ match { external [ 1 | 2 ]} [ tag tag-value ] [ route-policy policy-name ] 5. Do one of the following: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 320
• The OSPFv3 example redistributes BGP autonomous system 1, Level 1 and 2 routes into OSPF. The external link type associated with the default route advertised Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
2. Do one of the following: • router ospf process-name • router ospfv3 process-name 3. router-id { router-id } 4. timers throttle spf spf-start spf-hold spf-max-wait 5. area area-id Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 322
IPv4 address notation. Step 6 interface type interface-path-id Enters interface configuration mode and associates one or more interfaces to the area. Example: RP/0/RP0/CPU0:router(config-ospf-ar)# interface GigabitEthernet 0/1/0/3 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Routing Command Reference for Cisco NCS 6000 Series Routers. Configuring Nonstop Forwarding Specific to Cisco for OSPF Version 2 This task explains how to configure OSPF NSF specific to Cisco on your NSF-capable router. This task is optional.
Page 324
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.
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 module of the MPLS Configuration Guide for Cisco NCS 6000 Series Routers Before you begin Your network must support the following features before you enable MPLS TE for OSPF on your router: •...
Page 326
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 328
Maximum sub pool reservable bandwidth :3125000 Number of Priority :8 Global pool unreserved BW Priority 0 : 25000000 Priority 1 : 25000000 Priority 2 : 25000000 Priority 3 : 25000000 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The process name is any alphanumeric string no longer than 40 characters without spaces. RP/0/RP0/CPU0:router(config)# router ospfv3 test Step 3 graceful-restart Enables graceful restart on the current router. Example: RP/0/RP0/CPU0:router(config-ospfv3)#graceful-restart Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This task explains how to configure LDP auto-configuration for an OSPF instance. Optionally, you can configure this feature for an area of an OSPF instance. SUMMARY STEPS 1. configure 2. router ospf process-name 3. mpls ldp auto-config Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 module of the System Security Configuration Guide for Cisco NCS 6000 Series Routers. SUMMARY STEPS 1.
The following example shows that keychain authentication is enabled on the Gigabit Ethernet 0/4/0/1 interface: show ospf 1 interface GigabitEthernet0/4/0/1 GigabitEthernet0/4/0/1 is up, line protocol is up Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 340
The area-id argument can be entered in dotted-decimal or IPv4 address notation, such as area 1000 or area 0.0.3.232. However, you must choose one form or RP/0/RP0/CPU0:router(config-ospf)# area 1 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
To enable protection on broadcast links, IPFRR and bidirectional forwarding detection (BFD) must be enabled on the interface under OSPF. Enabling IPFRR LFA SUMMARY STEPS 1. configure 2. router ospf process-name Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
In this example, Router A chooses Router C as its RLFA backup, and uses LDP to establish a tunnel between them. Traffic from Router A is routed to Router C on fast reroute trigger. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 349
RP/0/RP0/CPU0:router(config-ospf)#router-id 10.1.1.1 RP/0/RP0/CPU0:router(config-ospf)#area 1 3. Add the configured interface(s) to OSPF, and configure RLFA. RP/0/RP0/CPU0:router(config-ospf-ar)#interface gigabitEthernet 0/0/0/1 RP/0/RP0/CPU0:router(config-ospf-ar-if)#fast-reroute per-prefix remote-lfa tunnel mpls-ldp RP/0/RP0/CPU0:router(config-ospf-ar-if)#fast-reroute per-prefix remote-lfa maximum-cost RP/0/RP0/CPU0:router(config-ospf-ar-if)#exit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 350
The maximum-cost command is required to limit the range of remote LFAs. The microloop avoidance command is used to delay the convergence of all or protected prefixes (as configured in this example). For more information on these commands, see the Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference.
Page 355
[HW: 0x00000004 0x00000084 0x01280440 0x00050000] dest. addr : 0x4 sponge queue : 132 egress port : 0x128044 rp destined : no service destined : no rp drop : no hash type Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 MPLS Configuration Guide for Cisco NCS 6000 Series Routersfor information.
This example shows how to configure /32 prefixes as medium-priority, in general, in addition to placing some /32 and /24 prefixes in critical-priority and high-priority queues: prefix-set ospf-critical-prefixes 192.41.5.41/32, 11.1.3.0/24, 192.168.0.44/32 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 360
3 interface GigabitEthernet0/2/0/0 area 8 interface GigabitEthernet0/2/0/0.590 OSPFv3 router ospfv3 1 spf prefix-priority route-policy ospf-priority area 0 interface GigabitEthernet0/3/0/0 area 3 interface GigabitEthernet0/2/0/0 area 8 interface GigabitEthernet0/2/0/0.590 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
To understand virtual links, see Virtual Link and Transit Area for OSPF, on page 268. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
To build an MPLS TE topology, create tunnels, and configure forwarding over the tunnel for OSPF Version 2; see MPLS Configuration Guide for Cisco NCS 6000 Series Routers. Additional References The following sections provide references related to implementing OSPF. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 363
OSPFv3 Graceful Restart MIBs MIBs MIBs Link — To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs RFCs RFCs Title The OSPF NSSA Option...
Page 364
OSPF Out-of-Band Link State Database (LSDB) Resynchronization 4811 OSPF Restart Signaling 4812 OSPF Link-Local Signaling 4813 Extensions to OSPF for Advertising Optional Router Capabilities 4970 Management Information Base (MIB) for OSPFv3 5643 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 365
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 366
Implementing OSPF Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• A maximum of eight FRR-protected interfaces can simultaneously undergo a cutover. • Only Layer 3 VPN is supported. • The remote LFA backup path for MPLS traffic can be setup only using LDP. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The other members of the set can provide an alternative path when the link fails. • LFA is a next-hop route that delivers a packet to its destination without looping back. Downstream paths are a subset of LFAs. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• Linecard-disjoint—Eliminates candidates sharing the same linecard with the protected path. • Shared Risk Link Group (SRLG)—Eliminates candidates that belong to one of the protected path SRLGs. • Load-sharing—Distributes remaining candidates among prefixes sharing the protected path. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
By default, every IS-IS instance acts as a level-1-2 router. RP/0/RP0/CPU0:router(config-isis)#is-type level-2-only • The level-1 keyword configures the software to perform only Level 1 (intra-area) routing. Only Level 1 adjacencies are established. The software only Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 371
Specifies the IPv4 or IPv6 address family, and enters interface address family configuration mode. Example: RP/0/RP0/CPU0:router(config-isis-if)# address-family ipv4 unicast Step 10 Enables per-prefix FRR. fast-reroute per-prefix Example: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
MIBs MIBs MIBs Link — 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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 373
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 374
Implementing IP Fast Reroute Loop-Free Alternate Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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: •...
If IS-IS and OSPF both download 10.0.1.0/24 to RIB, RIB would prefer the OSPF route because OSPF has a lower administrative distance. Administrative distance is used only to choose between multiple routes of the same length. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
In Cisco IOS XR software, RIB tables support unicast routing. The default routing tables for Cisco IOS XR software RIB are the unicast RIB tables for IPv4 routing. RIB processes ipv4_rib and ipv6_rib run on the RP card. If process placement functionality is available and supported by multiple RPs in the router, RIB processes can be placed on any available node.
Locally computed repair paths are used to prevent packet loss caused by loops that occur during network reconvergence after a failure. For information about IPFRR see Implementing IS-IS on Cisco IOS XR Software module in Routing Configuration Guide for Cisco NCS 6000 Series Routers.
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.
For additional information on the protocols that interact with RIB, you may want to see the following publications: • Implementing BGP in Routing Configuration Guide for Cisco NCS 6000 Series Routers • Implementing EIGRP in Routing Configuration Guide for Cisco NCS 6000 Series Routers •...
RFCs has not been modified by this feature. MIBs M I B 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 Technical Assistance Description Link The Cisco Support website provides extensive online resources, including http://www.cisco.com/support...
Page 386
Implementing and Monitoring RIB Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RIP Version 2 (RIPv2) that supports backward compatibility with RIP Version 1 (RIPv1) as specified by RFC 2453. 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 379 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.
Some common reasons are: • To advertise routes from other protocols into RIP, such as static, connected, OSPF, and BGP. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• 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.
Step 8 commit Customizing RIP This task describes how to customize RIP for network timing and the acceptance of route entries. SUMMARY STEPS configure router rip auto-summary Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 395
Step 6 (Optional) Configures NSF on RIP routes after a RIP process shutdown or restart. Example: RP/0/RP0/CPU0:router(config-rip)# nsf Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• To preserve bandwidth—You can ensure maximum bandwidth availability for data traffic by reducing unnecessary routing update traffic. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 397
Example: RP/0/ /CPU0:router(config-rip-if)# exit Step 7 interface type interface-path-id (Optional) Defines the interfaces on which the RIP routing protocol runs. Example: RP/0/RP0/CPU0:router(config-rip)# interface GigabitEthernet 0/2/0/0 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Routers 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. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 402
Additional References MIBs MIBs MIBs Link — 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 RFCs RFCs...
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 464 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.
The elements of the set are separated by commas. Null (empty) sets are allowed. In the following example: prefix-set backup-routes # currently no backup routes are defined end-set Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 406
In the following sections, examples of both the named set version and the inline form are provided where appropriate. as-path-set An AS path set comprises operations for matching an AS path attribute. The only matching operation is a regular expression match. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 407
0 to 65535, separated by a colon. Single 32-bit community values are not allowed. The following is the named set form: Named Set Form community-set cset1 12:34, 12:56, 12:78, internet end-set Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 408
A cost set is an extcommunity set used to store cost EIGRP Cost Community type extended community type communities. extcommunity-set cost a_cost_set IGP:1:10 end-set These options are supported under extended community set Cost: RP/0/RP0/CPU0:router(config)#extcommunity-set cost cost_set RP/0/RP0/CPU0:router(config-ext)#? #-remark Remark beginning with '#' Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 409
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 410
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 411
The prefix-set itself is a comma-separated list of prefix match specifications. The following are examples: prefix-set legal-ipv4-prefix-examples 10.0.1.1, 10.0.2.0/24, 10.0.3.0/24 ge 28, 10.0.4.0/24 le 28, 10.0.5.0/24 ge 26 le 30, 10.0.6.0/24 eq 28, Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 412
• <A.B.C.D>/[<G>..<len>] (if <len> is greater than <G> ) • <A.B.C.D>/<len> ge <G> • <A.B.C.D>/[<len>..<G>] (if <len> is lesser than <G> ) • <A.B.C.D>/[<G>..<len>] (if <len> is greater than <G> ) Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The process can be thought of as receiving a route from one of the policy clients and then executing the actual policy against the specific route data. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
'_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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 415
# These are the networks defined as private in RFC1918 (including # all subnets thereof) 10.0.0.0/8 ge 8, 172.16.0.0/12 ge 12, 192.168.0.0/16 ge 16 end-set Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RPL supports the definition of systemwide global parameters that can be used inside policy definition. Global parameters can be configured as follows: Policy-global glbpathtype ‘ebgp’ glbtag ‘100’ end-global Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Because the MED attribute in BGP is one unique value, the last value to which it gets set to wins. Therefore, the following policy results in a route with a MED value of 12: set med 9 set med 10 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Take the following example: ifmed eq 12 then set med 42 if med eq 42 then drop Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
100 end-policy route-policy two set med 200 end-policy route-policy three apply two set community (2:666) additive end-policy route-policy four apply one apply three pass end-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
A condition exists that is referred to as a null policy in which the policy bar exists but has no statements, actions, or dispositions in it. In other words, the policy bar does exist as follows: route-policy bar end-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The syntax for a remark is text that has each line prepended with a pound sign (#): # This is a simple one-line remark. # This # is a remark Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
A, then execution continues from policy A to policy B and back to policy A, provided the prefix is not dropped by policy B. route-policy A if as-path neighbor-is '123' then apply B policy statement N end-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 425
Other routes are then considered to see if they were advertised by autonomous system 123. If they were advertised, they are passed; otherwise, they are implicitly dropped at the end of all policy processing. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The policy language also provides syntax, using the elseif keyword, to string together a sequence of tests: if med eq 150 then set local-preference 10 elseif med eq 200 then set local-preference 60 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
A simple condition may also be negated using the not operator: not next-hop in (10.0.2.2) Any Boolean condition enclosed in parentheses is itself a Boolean condition: (destination in prefix-list-1) Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
When combined with the ability to parameterize common blocks of policy, the apply command becomes a powerful tool for reducing repetitive configuration. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The following sections describe the protocol attach points, including information on the attributes (commands) and operations that are valid for each attach point. See Routing Command Reference for Cisco NCS 6000 Series Routers for more information on the attributes and operations.
Page 430
(10.0.0.0/8 ge 8 le 32) then pass endif end-policy router bgp 2 neighbor 10.0.0.1 remote-as 3 address-family ipv4 unicast default-originate route-policy sample-originate Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 431
200 and their community tag set to 2:200. route-policy sample_import if community matches-any (3:100) then set local-preference 100 set community (2:666) else set local-preference 200 set community (2:200) endif end-policy router bgp 2 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 432
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 433
*> 10.255.64.0/24 10.0.101.2 1000 0 100 e ..show bgp policy route-policy test2 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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 434
Implementing Routing Policy on Cisco IOS XR Software module in the Routing Configuration Guide for Cisco NCS 6000 Series Routers for details on table policy use. See the Cisco Express Forwarding Commands on Cisco IOS XR Software module in the IP Addresses and Services Command Reference for Cisco NCS 6000 Series Routers for details on BGP policy accounting.
Page 435
Typically, an RR has to retain all IPv4 VPN routes to peer with its PE routers. These PEs might require routers tagged with different route target IPv4 VPN routes resulting in non-scalable RRs. You can achieve scalability Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 437
If it is a match, then the clear command clears the associated flap statistics. as-path-set my-as-set ios-regex '_12$', ios-regex '_13$' end-set route-policy policy_a if as-path in my-as-set then pass else drop endif end-policy clear bgp ipv4 unicast flap-statistics route-policy policy_a Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 438
This table summarizes the BGP attributes and operators per attach points. Table 7: BGP Attributes and Operators Attach Point Attribute Match additional-paths path-selection — community matches-every — is-empty matches-any Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 439
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 440
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 441
To set values that control the dampening (see Dampening, on page 408) destination local-preference is, eg, ge, le is, eg, ge, le next-hop origin source debug destination Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 442
`peeras' set additive 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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 443
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 444
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 445
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 446
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 447
Implementing Routing Policy BGP Attributes and Operators Attach Point Attribute Match set+ set- next-hop set self origin path-type source unsuppress-route unsuppress-route weight neighbor-orf orf-prefix Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 448
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 449
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 450
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 451
The following example shows how to generate a default route if any of the routes that match 10.0.0.0/8 ge 8 le 25 are present in the RIB: route-policy ospf-originate if rib-has-route in (10.0.0.0/8 ge 8 le 25) then pass endif Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
BGP multi-path rules and all backup paths. OSPF Policy Attach Points This section describes each of the OSPF policy attach points and provides a summary of the OSPF attributes and operators. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 453
The area-in attach point within OSPF allows you to filter inbound OSPF type-3 summary link-state advertisements (LSAs). The attach point provides prefix-based matching and hence increased control for filtering type-3 summary LSAs. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 454
1 area 1 route-policy OSPF-area-out out SPF Prefix-priority The spf-prefix-priority attach point within OSPF allows you to define the route policy to apply to OSPFv2 prefix prioritization. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
RIB pass the policy, then the default route is inserted into the link-state database. The following example shows how to generate a default route if any of the routes that match 2001::/96 are present in the RIB: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 456
OSPFv3 Attributes and Operators This table summarizes the OSPFv3 attributes and operators per attach points. Table 9: OSPFv3 Attributes and Operators Attach Point Attribute Match default-information ospf-metric originate metric-type rib-has-route Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The following example shows a policy that sets the conditional default flag for all routes that match 10.0.0.0/8 and longer prefixes up to 10.0.0.0/25: route-policy eigrp-cd-policy-in if destination in (10.0.0.0/8 ge 8 le 25) then Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 460
The following example shows the command under EIGRP: router eigrp 100 address-family ipv4 route-policy global-policy-out out Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 461
(100.1.1.0/24) then set eigrp-metric 5000000 4000 150 30 2000 else set tag 200 endif end-policy router eigrp 100 address-family ipv4 redistribute rip route-policy redistribute-rip Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 462
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Editing Routing Policy Configuration Elements Using the Nano Editor To edit the contents of a routing policy using the Nano editor, use the following CLI command in XR EXEC mode: edit route-policy name nano Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 466
If there are parse errors, you are asked whether editing should continue: RP/0/RP0/CPU0:router#edit route-policy policy_B == MicroEMACS 3.8b () == rpl_edit.141738 route-policy policy_B set metric-type type_1 if destination in (2001::/8) then drop endif Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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:...
Page 468
Route-policy policy_name If apply policyA and apply policyB then Set med 100 Else if not apply policyD then Set med 200 Else Set med 300 Endif End-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 469
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. End-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This completes the configuration of routing policy with wildcards for prefix sets. For detailed information on prefix sets, see prefix-set, on page 389. Use Wildcards for AS-Path Sets Use the following example to configure a routing policy with wildcards for AS-path sets. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 472
This route policy configuration accepts routes with community set values as mentioned in the two community sets, and drops all other non-matching routes. 3. Commit your configuration. RP/0/RP0/CPU0:router(config)# commit Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 473
2. Configure a route policy with wildcards to refer to the route distinguisher set. RP/0/RP0/CPU0:router(config)# route-policy use_rd_set RP/0/RP0/CPU0:router(config-rpl)# if rd in rd-set* then set local-preference 100 RP/0/RP0/CPU0:router(config-rpl-if)# elseif rd in(10.0.0.2:888, 10.0.0.2:999)then set local-preference 300 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 474
RP/0/RP0/CPU0:router(config-ospf-area)# end-set 2. Configure a route policy with wildcards to refer to the OSPF area set. RP/0/RP0/CPU0:router(config)# route-policy use_ospf_area_set RP/0/RP0/CPU0:router(config-rpl)# if ospf-area in ospf-area-set* then set ospf-metric Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Use the source rt import-policy command under VRF sub-mode of VPN address-family configuration mode to enable this feature. How to Implement Routing Policy This section contains the following procedures: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
A routing policy must be preconfigured and well defined prior to it being applied at an attach point. If a policy is not predefined, an error message is generated stating that the policy is not defined. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
This task explains how to modify an existing routing policy using a text editor. See Editing Routing Policy Configuration Elements, on page 443 for information on text editors. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 478
• To display the contents of a named AS path set, community set, or extended community set, replace the prefix-set keyword with as-path-set , RP/0/RP0/CPU0:router# show rpl prefix-set prefixset1 community-set , or extcommunity-set , respectively. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
For routes whose community lists do not include any of the values in the range from 101:202 to 106:202, the policy adds the community 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 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
([100..120]:135) then apply set-lpref-prepend (100,100,2) set community (2:1234) additive else set local-preference 110 endif if community matches-any ([100..666]:[100..999]) then Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
2. Configure a route policy with wildcards to refer to the prefix sets. RP/0/RP0/CPU0:router(config)# route-policy WILDCARD_PREFIX_SET RP/0/RP0/CPU0:router(config-rpl)# if destination in prefix-set* then pass else drop endif RP/0/RP0/CPU0:router(config-rpl)# end-policy Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 482
RP/0/RP0/CPU0:router(config-comm)# 12:72 RP/0/RP0/CPU0:router(config-comm)# end-set RP/0/RP0/CPU0:router(config)# community-set CSET2 RP/0/RP0/CPU0:router(config-comm)# 24:12, RP/0/RP0/CPU0:router(config-comm)# 24:42, RP/0/RP0/CPU0:router(config-comm)# 24:64 RP/0/RP0/CPU0:router(config-comm)# end-set 2. Configure a route policy with wildcards to refer to the community sets. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 483
Use the following example to configure a routing policy with wildcards for route distinguisher sets. 1. Configure the route distinguisher sets in the global configuration mode. RP/0/RP0/CPU0:router(config)# rd-set rd_set_demo RP/0/RP0/CPU0:router(config-rd)# 10.0.0.1/8:77, RP/0/RP0/CPU0:router(config-rd)# 10.0.0.2:888, RP/0/RP0/CPU0:router(config-rd)# 65000:777 RP/0/RP0/CPU0:router(config-rd)# end-set Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 484
Use the following example to configure a routing policy with wildcards for OSPF area sets. 1. Configure the OSPF area set in the global configuration mode. RP/0/RP0/CPU0:router(config)# ospf-area-set ospf_area_set_demo1 RP/0/RP0/CPU0:router(config-ospf-area)# 10.0.0.1, RP/0/RP0/CPU0:router(config-ospf-area)# 3553 Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Translating Cisco IOS Route Maps to Cisco IOS XR Routing Policy Language: Example RPL performs the same functions as route-maps. See Converting Cisco IOS Configurations to Cisco IOS XR Configurations. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
MIBs MI B s MIBs Link — 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 RFCs...
Page 487
Registered Cisco.com users can log in from this page to access even more content. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 488
Implementing Routing Policy Additional References Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
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.
In directly attached static routes, only the output interface is specified. The destination is assumed to be directly attached to this interface, so the packet destination is used as the next hop address. The following example Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
The next hop must be directly attached to the specified output interface. The following example shows a definition of a fully specified static route: Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Configuring a Fixed Default Route: Example A default static route is often used in simple router topologies. In the following example, a route is configured with an administrative distance of 110. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
• Implementing OSPFv3 on Cisco IOS XR Software in Routing Configuration Guide for Cisco NCS 6000 Series Routers • RIB Commands on Cisco IOS XR Software in Routing Command Reference for Cisco NCS 6000 Series Routers • Implementing RIP on Cisco IOS XR Software in Routing Configuration Guide for Cisco NCS 6000 Series...
Page 494
MIBs MIBs MIBs Link — 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 RFCs RFCs...
• Add/delete of specific external or inter-area/level prefixes. • IGP flooding propagation delays for LSA/LSP changes. RCMD runs in two modes: • Monitoring—detecting events and measuring convergence. Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Configures to collect diagnostics on specified node. Example: RP/0/RP0/CPU0:router(config-rcmd)#collect-diagnostics 0/3/CPU0 Step 4 event-buffer-size number Sets event buffer size 9as number of events) for storing event traces . Example: RP/0/RP0/CPU0:router(config-rcmd)#event-buffer-size Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 497
RP/0/RP0/CPU0:router(config-rcmd-proto-prio)#disable Step 11 leaf-network number Enables leaf network monitoring. Specify a maximum number of leaf networks to be monitored. Range for Example: maximum number is 10-100. RP/0/RP0/CPU0:router(config-rcmd-proto-prio)#leaf-network Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...
Page 498
Set a directory-path-name. Example: /disk0:/rcmd/ or Example: <tftp-location>/rcmd/ RP/0/RP0/CPU0:router(config-rcmd-store)#reports /disck0:/rcmd Step 17 reports-size Specify a maximum size for the reports directory. Set the size in %. Range is 5%-80%. Example: RP/0/RP0/CPU0:router(config-rcmd-store)#reports-size Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x...