Laptop User Manual
Table Of Contents
- Cisco IOS XR Routing Configuration Guide
- Contents
- Preface
- Document Revision History
- Obtaining Documentation
- Documentation Feedback
- Cisco Product Security Overview
- Obtaining Technical Assistance
- Obtaining Additional Publications and Information
- Implementing BGP on Cisco IOS XR Software
- Contents
- Prerequisites for Implementing BGP on CiscoIOSXR Software
- Information About Implementing BGP on CiscoIOSXR Software
- BGP Functional Overview
- BGP Router Identifier
- BGP Default Limits
- BGP Validation of Local Next-Hop Addresses
- BGP Configuration
- No Default Address Family
- Routing Policy Enforcement
- Table Policy
- Update Groups
- BGP Best Path Algorithm
- Multiprotocol BGP
- Route Dampening
- BGP Routing Domain Confederation
- BGP Route Reflectors
- Default Address Family for show Commands
- How to Implement BGP on CiscoIOSXR Software
- Enabling BGP Routing
- Configuring a Routing Domain Confederation for BGP
- Resetting eBGP Session Immediately Upon Link Failure
- Logging Neighbor Changes
- Adjusting BGP Timers
- Changing the BGP Default Local Preference Value
- Configuring the MED Metric for BGP
- Configuring BGP Weights
- Tuning the BGP Best Path Calculation
- Indicating BGP Backdoor Routes
- Configuring Aggregate Addresses
- Redistributing iBGP Routes into IGP
- Redistributing Prefixes into Multiprotocol BGP
- Configuring BGP Route Dampening
- Applying Policy When Updating the Routing Table
- Setting BGP Administrative Distance
- Configuring a BGP Neighbor Group
- Configuring a BGP Neighbor
- Configuring a Route Reflector for BGP
- Configuring BGP Route Filtering by Route Policy
- Disabling Next Hop Processing on BGP Updates
- Configuring BGP Community and Extended-Community Filtering
- Configuring Software to Store Updates from a Neighbor
- Disabling a BGP Neighbor
- Resetting Neighbors Using BGP Dynamic Inbound Soft Reset
- Resetting Neighbors Using BGP Outbound Soft Reset
- Resetting Neighbors Using BGP Hard Reset
- Clearing Caches, Tables and Databases
- Displaying System and Network Statistics
- Monitoring BGP Update Groups
- Configuration Examples for Implementing BGP on CiscoIOSXR Software
- Where to Go Next
- Additional References
- Implementing IS-IS on Cisco IOS XR Software
- Contents
- Prerequisites for Implementing IS-IS on CiscoIOSXR Software
- Restrictions for Implementing IS-IS on CiscoIOSXR Software
- Information About Implementing IS-IS on CiscoIOSXR Software
- IS-IS Functional Overview
- Key Features Supported in the CiscoIOSXR IS-IS Implementation
- IS-IS Configuration Grouping
- IS-IS Interfaces
- Multitopology Configuration
- IPv6 Routing and Configuring IPv6 Addressing
- Limit LSP Flooding
- Maximum LSP Lifetime and Refresh Interval
- Overload Bit Configuration During Multitopology Operation
- Single-Topology IPv6 Support
- Multitopology IPv6 Support
- Nonstop Forwarding
- Multi-Instance IS-IS
- Multiprotocol Label Switching Traffic Engineering
- Overload Bit on Router
- Default Routes
- Attached Bit on an IS-IS Instance
- Multicast-Intact Feature
- How to Implement IS-IS on CiscoIOSXR Software
- Enabling IS-IS and Configuring Level 1 or Level 2 Routing
- Configuring Single Topology for IS-IS
- Configuring Multitopology for IS-IS
- Controlling LSP Flooding for IS-IS
- Configuring Nonstop Forwarding for IS-IS
- Configuring Authentication for IS-IS
- Configuring MPLS Traffic Engineering for IS-IS
- Tuning Adjacencies for IS-IS on Point-to-Point Interfaces
- Setting SPF Interval for a Single-Topology IPv4 and IPv6 Configuration
- Enabling Multicast-Intact for IS-IS
- Customizing Routes for IS-IS
- Configuration Examples for Implementing IS-IS on CiscoIOSXR Software
- Where to Go Next
- Additional References
- Implementing OSPF on Cisco IOS XR Software
- Contents
- Prerequisites for Implementing OSPF on CiscoIOSXR Software
- Information About Implementing OSPF on CiscoIOSXR Software
- OSPF Functional Overview
- Key Features Supported in the CiscoIOSXR OSPF Implementation
- Comparison of CiscoIOSXR OSPFv3 and OSPFv2
- Importing Addresses into OSPFv3
- OSPF Hierarchical CLI and CLI Inheritance
- OSPF Routing Components
- OSPF Process and Router ID
- Supported OSPF Network Types
- Route Authentication Methods for OSPF Version 2
- Neighbors and Adjacency for OSPF
- Designated Router (DR) for OSPF
- Default Route for OSPF
- Link-State Advertisement Types for OSPF Version 2
- Link-State Advertisement Types for OSPFv3
- Virtual Link and Transit Area for OSPF
- Route Redistribution for OSPF
- OSPF Shortest Path First Throttling
- Nonstop Forwarding for OSPF Version 2
- Load Balancing in OSPF Version 2 and OSPFv3
- Graceful Restart for OSPFv3
- Multicast-Intact Feature
- How to Implement OSPF on CiscoIOSXR Software
- Enabling OSPF
- Configuring Stub and Not-so-Stubby Area Types
- Configuring Neighbors for Nonbroadcast Networks
- Configuring Authentication at Different Hierarchical Levels for OSPF Version 2
- Controlling the Frequency that the Same LSA Is Originated or Accepted for OSPF
- Creating a Virtual Link with MD5 Authentication to Area 0 for OSPF
- Summarizing Subnetwork LSAs on an OSPF ABR
- Redistributing Routes from One IGP into OSPF
- Configuring OSPF Shortest Path First Throttling
- Configuring Nonstop Forwarding for OSPF Version 2
- Configuring OSPF Version 2 for MPLS Traffic Engineering
- Verifying OSPF Configuration and Operation
- Configuring OSPFv3 Graceful Restart
- Enabling Multicast-Intact for OSPFv2
- Configuration Examples for Implementing OSPF on CiscoIOSXR Software
- CiscoIOSXR for OSPF Version 2 Configuration: Example
- CLI Inheritance and Precedence for OSPF Version 2: Example
- MPLS TE for OSPF Version 2: Example
- ABR with Summarization for OSPFv3: Example
- ABR Stub Area for OSPFv3: Example
- ABR Totally Stub Area for OSPFv3: Example
- Route Redistribution for OSPFv3: Example
- Virtual Link Configured Through Area 1 for OSPFv3: Example
- Virtual Link Configured with MD5 Authentication for OSPF Version 2: Example
- Where to Go Next
- Additional References
- Implementing and Monitoring RIB on CiscoIOSXR Software
- Contents
- Prerequisites for Implementing RIB on CiscoIOSXR Software
- Information About RIB Configuration
- How to Deploy and Monitor RIB
- Configuration Examples for RIB Monitoring
- 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
- Output of show route local Command: Example
- Output of show route longer-prefixes Command: Example
- Output of show route next-hop Command: Example
- Where to Go Next
- Additional References
- Implementing Routing Policy on Cisco IOS XR Software
- Implementing Static Routes on Cisco IOS XR Software
- Index
Implementing Routing Policy on Cisco IOS XR Software
Configuration Examples for Implementing Routing Policy
RC-243
Cisco IOS XR Routing Configuration Guide
endif
else
set community (2:999) additive
endif
end-policy
router bgp 2
neighbor 10.0.1.2 address-family ipv4 unicast route-policy inbound-tx in
Modular Inbound Policy: Example
The following policy example shows how to build two inbound policies, in-100 and in-101, for two
different peers. In building the specific policies for those peers, the policy reuses some common blocks
of policy that may be common to multiple peers. It builds a few basic building blocks, the policies
common-inbound, filter-bogons, and set-lpref-prepend.
The filter-bogons building block is a simple policy that filters all undesirable routes, such as those from
the RFC 1918 address space. The policy set-lpref-prepend is a utility policy that can set the local
preference and prepend the AS path according to parameterized values that are passed in. The
common-inbound policy uses these filter-bogons building blocks to build a common block of inbound
policy. The common-inbound policy is used as a building block in the construction of in-100 and in-101
along with the set-lpref-prepend building block.
This is a simple example that illustrates the modular capabilities of the policy language.
prefix-set bogon
10.0.0.0/8 ge 8 le 32,
0.0.0.0,
0.0.0.0/0 ge 27 le 32,
192.168.0.0/16 ge 16 le 32
end-set
!
route-policy in-100
apply common-inbound
if community matches-any ([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
set med 444
set local-preference 200
set community (no-export) additive
endif
end-policy
!
route-policy in-101
apply common-inbound
if community matches-any ([101..200]:201) then
apply set-lpref-prepend(100,101,2)
set community (2:1234) additive
else
set local-preference 125
endif
end-policy
!
route-policy filter-bogons
if destination in bogon then
drop
else