OSPF Inbound Filtering Using Route Maps with

Similar documents
OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3

OSPF Nonstop Routing. Finding Feature Information. Prerequisites for OSPF NSR

OSPF Mechanism to Exclude Connected IP Prefixes from LSA Advertisements

OSPF Sham-Link MIB Support

OSPF Enhanced Traffic Statistics

OSPF Link-State Database Overload Protection

OSPF Per-Interface Link-Local Signaling

IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)

Cisco IOS IP Routing: OSPF Command Reference

IP Routing: OSPF Configuration Guide, Cisco IOS Release 12.4

IP Routing: OSPF Configuration Guide, Cisco IOS Release 12.2SX

IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 2

Configuring the maximum number of external LSAs in LSDB 27 Configuring OSPF exit overflow interval 28 Enabling compatibility with RFC Logging

Guide to OSPF Application on the CSS 11000

Configuring OSPF. Information About OSPF CHAPTER

Table of Contents. OSPF Configuration 1

CCNA Routing and Switching Study Guide Chapters 5 & 19: Multi-Area OSPF

OSPF Domain / OSPF Area. OSPF Advanced Topics. OSPF Domain / OSPF Area. Agenda

Question No: 2 In an OSPF Hello packet, which of the following fields must match for all neighbor routers on the segment? Choose three answers.

Introduction to OSPF. ISP Workshops. Last updated 11 November 2013

Configuring OSPF. The Cisco OSPF Implementation

C Commands. Send comments to

Introduction to Local and Wide Area Networks

Link-state protocols and Open Shortest Path First (OSPF)

ITE PC v4.0. Chapter Cisco Systems, Inc. All rights reserved. Cisco Public

OSPF for IPv6. ISP Workshops

OSPF Version 3 for IPv6

OSPF. Routing Protocols and Concepts Chapter 11. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved. Cisco Public

Junos Intermediate Routing

material. For more information on how to get additional questions, please see a.

OSPF Fundamentals. Agenda. OSPF Principles. L41 - OSPF Fundamentals. Open Shortest Path First Routing Protocol Internet s Second IGP

OSPF - Open Shortest Path First. OSPF Fundamentals. Agenda. OSPF Topology Database

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

Link State Routing. In particular OSPF. Karst Koymans. Informatics Institute University of Amsterdam. (version 16.3, 2017/03/09 11:25:31)

Downstream Interface Configuration

OSPF. OSPF Areas. BSCI Module Cisco Systems, Inc. All rights reserved. Cisco Public. Review of OSPF area characteristics:

OSPF. Routing Protocols and Concepts Chapter 11

Link State Routing. In particular OSPF. Karst Koymans. Informatics Institute University of Amsterdam. (version 17.4, 2017/11/30 12:33:57)

Using a DFSI Gateway on IPICS

Sybex ICND Chapter 4 and 18: OSPF. Instructor & Todd Lammle

Junos OS. OSPF Version 3 for IPv6 Feature Guide. Release Published: Copyright 2011, Juniper Networks, Inc.

Link State Routing. In particular OSPF. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. March 4, 2008

DOCSIS 3.1 OFDM Channel Configuration

accurate as possible, the enclosed material is presented on an as is basis. Neither the authors nor

LAB15: OSPF IPv6. OSPF: Not So Stubby Area. Disclaimer

Rev a. Single-Area OSPF. c cnac o okbook.com

Configuring the Global Navigation Satellite System

Configuring the Global Navigation Satellite System

Configuring the Global Navigation Satellite System

Lab Topology R16 R12 R15. Lo R /32 R /32 R /32 R /32 R / /

CS 457 Lecture 16 Routing Continued. Spring 2010

M U LT I C A S T C O M M U N I C AT I O N S. Tarik Cicic

Zebra MCR Software 1.0 Manual Yin Wang Networking Laboratory of Helsinki University of Technology

Simulative Comparison of MPLS Protection Switching vs. OSPF Re-routing

Network Working Group Request for Comments: Category: Standards Track A. Zinin Alcatel-Lucent R. Coltun Acoustra Productions July 2008

Lecture 8 Link-State Routing

OLSR Standards. Emmanuel BACCELLI. INRIA / Hitachi

ISP Operations Troubleshooting OSPF for IPv4 and IPv6

Configure ISSI Gateway in IPICS Environment

Configuring the Global Navigation Satellite System

Link State Routing. Stefano Vissicchio UCL Computer Science CS 3035/GZ01


Configuring the Global Navigation Satellite System

OSPF and MANET WG meetings, IETF64. OSPF MANET Design Team outbrief. November, Tom Henderson

Session Initiation Protocol Name Dialing Feature Module

Configuring the Global Navigation Satellite System

Cisco cbr Converged Broadband Routers Layer 2 and DOCSIS 3.1 Configuration Guide for Cisco IOS XE Fuji 16.8.x

Cisco cbr Converged Broadband Routers Layer 2 and DOCSIS 3.1 Configuration Guide for Cisco IOS XE Everest

Network Layer (Routing)

Link State Routing. Link state routing principles Dijkstra s shortest-path-first algorithm The OSPF protocol. (Chapter 6 in Huitema) E7310/Comnet 1

Managing Radios and Radio Descriptors

Interlayer routing issues for wireless networks

Distance-Vector Routing

Copyright 2009 Aladdin Knowledge Systems Ltd. All rights reserved. All trade and service marks, logos and trade names(collectively, the "Marks")

Introduction to OSPF

CSE/EE 461. Link State Routing. Last Time. This Lecture. Routing Algorithms Introduction Distance Vector routing (RIP)

Program and System Information Protocol Configuration for System Releases 2.5, 2.7, 3.5, 3.7, 4.0, 4.2, and CV 3.4

Routing and Wavelength Assignment in All-Optical DWDM Transport Networks with Sparse Wavelength Conversion Capabilities. Ala I. Al-Fuqaha, Ph.D.

SIP Trunking Service Configuration Guide for XO

Link State Routing. Brad Karp UCL Computer Science. CS 3035/GZ01 3 rd December 2013

Prisma II 1 GHz SuperQAM Full Spectrum Transmitter

LFA selection for Multi-homed Prefixes draft-psarkar-rtgwg-multihomed-prefix-lfa-01

Cisco IPICS LMR Gateway Configurations

ROUTING PROTOCOLS. Dr. Ahmed Khattab. EECE Department Cairo University Fall 2012 ELC 659/ELC724

Prisma II 1 GHz SuperQAM Transmitter

Energy Saving Routing Strategies in IP Networks

Overview. Ad Hoc and Wireless Mesh Networking. Ad hoc network. Ad hoc network

XLR PRO Radio Frequency (RF) Modem. Getting Started Guide

Y.1731 Performance Monitoring

Adjustable Mount for 2.4-GHz WLAN Yagi Antenna (AIR-ACC2662)

Aston Martin Red Bull Racing Partner Logos

Energy-Efficient MANET Routing: Ideal vs. Realistic Performance

U2C-1SP4T-63H. Typical Applications

Ansible Tower on the AWS Cloud

Monitoring Cable Technologies

CSE 123: Computer Networks

Installing Cisco ONS SONET/SDH XC-VXC-10G Cards

Using 1 GHz GainMaker Amplifiers in an 870 MHz System Application Note

Cisco Live Healthcare Innovation Roundtable Discussion. Brendan Lovelock: Cisco Brad Davies: Vector Consulting

WHAT IS FEATURED AUTHORS?

Transcription:

OSPF Inbound Filtering Using Route Maps with a Distribute List Finding Feature Information OSPF Inbound Filtering Using Route Maps with a Distribute List Last Updated: July 19, 2011 The OSPF Inbound Filtering Using Route Maps with a Distribute List feature allows users to define a route map to prevent Open Shortest Path First (OSPF) routes from being added to the routing table. In the route map, the user can match on any attribute of the OSPF route. Finding Feature Information, page 1 Prerequisites for OSPF Inbound Filtering Using Route Maps with a Distribute List, page 2 Information About OSPF Inbound Filtering Using Route Maps with a Distribute List, page 2 How to Configure OSPF Inbound Filtering Using Route Maps, page 3 Configuration Examples for OSPF Inbound Filtering Using Route Maps with a Distribute List, page 5 Additional References, page 5 Feature Information for OSPF Inbound Filtering Using Route Maps with a Distribute List, page 6 Finding Feature Information Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. 1

Prerequisites for OSPF Inbound Filtering Using Route Maps with a Distribute List OSPF Inbound Filtering Using Route Maps with a Distribute List Prerequisites for OSPF Inbound Filtering Using Route Maps with a Distribute List It is presumed that you have OSPF configured in your network. Information About OSPF Inbound Filtering Using Route Maps with a Distribute List Users can define a route map to prevent OSPF routes from being added to the routing table. This filtering happens at the moment when OSPF is installing the route in the routing table. This feature has no effect on link-state advertisement (LSA) flooding. In the route map, the user can match on any attribute of the OSPF route. That is, the route map could be based on the following match options: match interface match ip address match ip next-hop match ip route-source match metric match route-type match tag This feature can be useful during redistribution if the user tags prefixes when they get redistributed on Autonomous System Boundary Routers (ASBRs) and later uses the tag to filter the prefixes from being installed in the routing table on other routers. Filtering Based on Route Tag Users can assign tags to external routes when they are redistributed to OSPF. Then the user can deny or permit those routes in the OSPF domain by identifying that tag in the route-map and distribute-list in commands. Filtering Based on Route Type In OSPF, the external routes could be Type 1 or Type 2. Users can create route maps to match either Type 1 or Type 2 and then use the distribute-list in command to filter certain prefixes. Also, route maps can identify internal routes (interarea and intra-area) and then those routes can be filtered. Filtering Based on Route Source When a match is done on the route source, the route source represents the OSPF Router ID of the LSA originator of the LSA in which the prefix is advertised. Filtering Based on Interface When a match is done on the interface, the interface represents the outgoing interface for the route that OSPF is trying to install in the routing table. 2

Configuring OSPF Route Map-Based Filtering How to Configure OSPF Inbound Filtering Using Route Maps Filtering Based on Next Hop When a match is done on the next hop, the next hop represents the next hop for the route that OSPF is trying to install in the routing table. Note The distribute-list in command can be configured to prevent routes from being installed in the global Routing Information Base (RIB). Prior to the implementation of OSPF local RIB (for feature information on OSPF local RIB, see OSPFv2 Local RIB), OSPF would attempt to install a less preferred route (e.g. an inter-area route when the intra-area path is filtered). With OSPF local RIB, only the best route is considered (because this is the only route the local RIB maintains). There is no concept of a "second-best" OSPF route. For more information on the routing algorithm used by Cisco OSPF routers, please refer to RFC 2328. How to Configure OSPF Inbound Filtering Using Route Maps Configuring OSPF Route Map-Based Filtering, page 3 Configuring OSPF Route Map-Based Filtering SUMMARY STEPS 1. enable 2. configure terminal 3. route-map map-tag [permit deny] [sequence-number] 4. match tag tag-name 5. Repeat Steps 3 and 4 with other route-map and match commands. 6. exit 7. router ospf process-id 8. distribute-list route-map map-tag in 9. end DETAILED STEPS Step 1 enable Command or Action Purpose Enables privileged EXEC mode. Enter your password if prompted. Router> enable 3

How to Configure OSPF Inbound Filtering Using Route Maps Configuring OSPF Route Map-Based Filtering Command or Action Step 2 configure terminal Purpose Enters global configuration mode. Router# configure terminal Step 3 route-map map-tag [permit deny] [sequence-number] Defines a route map to control filtering. Router(config)# route-map tag-filter deny 10 Step 4 match tag tag-name Router(config-router)# match tag 777 Step 5 Repeat Steps 3 and 4 with other route-map and match commands. Step 6 exit Matches routes with a specified name, to be used as the route map is referenced. At least one match command is required, but it need not be this matchcommand. This is just an example. The list of match commands available to be used in this type of route map appears on the distribute-list in command reference page. This type of route map will have no set commands. Optional. Exits router configuration mode. Router(config-router)# exit Step 7 router ospf process-id Configures an OSPF routing process. Router(config)# router ospf 1 Step 8 distribute-list route-map map-tag in Enables filtering based on an OSPF route map. Router(config-router)# distribute-list routemap tag-filter in 4

Configuration Examples for OSPF Inbound Filtering Using Route Maps with a Distribute List Step 9 end Command or Action Purpose Exits router configuration mode. Router(config-router)# end Configuration Examples for OSPF Inbound Filtering Using Route Maps with a Distribute List, page 5 In this example, OSPF external LSAs have a tag. The value of the tag is examined before the prefix is installed in the routing table. All OSPF external prefixes that have the tag value of 777 are filtered (prevented from being installed in the routing table). The permit statement with sequence number 20 has no match conditions, and there are no other route-map statements after sequence number 20, so all other conditions are permitted. route-map tag-filter deny 10 match tag 777 route-map tag-filter permit 20! router ospf 1 router-id 10.0.0.2 log-adjacency-changes network 172.16.2.1 0.0.0.255 area 0 distribute-list route-map tag-filter in Additional References Related Documents Related Topic OSPF commands Document Title Cisco IOS IP Routing: OSPF Command Reference 5

Feature Information for OSPF Inbound Filtering Using Route Maps with a Distribute List Standards Standards No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. Title -- MIBs MIBs None MIBs Link To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs RFCs RFCs No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature. Title -- Technical Assistance Description The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. Link http://www.cisco.com/cisco/web/support/ index.html Feature Information for OSPF Inbound Filtering Using Route Maps with a Distribute List The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. 6

Table 1 Feature Information for OSPF Inbound Filtering Using Route Maps with a Distribute List Feature Name Releases Feature Information OSPF Inbound Filterng Using Route Maps with a Distribute List 12.0(24)S 12.2(15)T 12.2(18)S 12.2(27)SBC Cisco IOS XE 3.1.0 SG The OSPF Inbound Filtering Using Route Maps with a Distribute List feature allows users to define a route map to prevent Open Shortest Path First (OSPF) routes from being added to the routing table. In the route map, the user can match on any attribute of the OSPF route.. The following command was introduced or modified: distribute-list in (IP). Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. 7