Guide to OSPF Application on the CSS 11000

Similar documents
Configuring OSPF. Information About OSPF CHAPTER

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

Table of Contents. OSPF Configuration 1

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

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

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

Introduction to Local and Wide Area Networks

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

Configuring OSPF. The Cisco OSPF Implementation

OSPF. Routing Protocols and Concepts Chapter 11

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

Junos Intermediate Routing

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

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

Cisco IOS IP Routing: OSPF Command Reference

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.

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

OSPF for IPv6. ISP Workshops

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

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

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

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

C Commands. Send comments to

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

IP Routing: OSPF Configuration Guide, Cisco IOS Release 12.4

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

OSPF Inbound Filtering Using Route Maps with

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

OSPF Mechanism to Exclude Connected IP Prefixes from LSA Advertisements

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

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

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

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

OSPF Version 3 for IPv6

OSPF Link-State Database Overload Protection

OSPF Per-Interface Link-Local Signaling


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

ISP Operations Troubleshooting OSPF for IPv4 and IPv6

OSPF Sham-Link MIB Support

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

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

OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3

Lecture 8 Link-State Routing

CS 457 Lecture 16 Routing Continued. Spring 2010

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

Energy-Efficient MANET Routing: Ideal vs. Realistic Performance

OSPF Enhanced Traffic Statistics

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

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

Distance-Vector Routing

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

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

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

Interlayer routing issues for wireless networks

Advanced Modeling and Simulation of Mobile Ad-Hoc Networks

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

Scalable Routing Protocols for Mobile Ad Hoc Networks

showtech 9th May.txt

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

A Review of Current Routing Protocols for Ad Hoc Mobile Wireless Networks

Multipath and Diversity

Wireless Mesh Networks

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Wireless Internet Routing. IEEE s

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

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

UCP-Config Program Version: 3.28 HG A

Request for Comments: 4750

RECOMMENDATION ITU-R BS

Identifying OSPF Anomalies Using Recurrence Quantification Analysis

Location Planning and Verification

Introduction to OSPF

olsr.org 'Optimized Link State Routing' and beyond December 28th, 2005 Elektra

IX Series 2. Description. IX Series 2 System Features

Basic Radio Settings on the WAP371

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

Computer Networks II

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

Y.1731 Performance Monitoring

WEB I/O. Wireless On/Off Control USER MANUAL

InfraStruXure Manager v4.x Addendum: Building Management System Integration

Fiber Distributed Data Interface

VisorTrac A Tracking System for Mining

Vulnerability modelling of ad hoc routing protocols a comparison of OLSR and DSR

Chapter 10 Mobile Communication Systems

Signature and Database Exchange for Wireless OSPF Interfaces

UCS-805 MOBILE COMPUTING NIT Agartala, Dept of CSE Jan-May,2011

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

DOCSIS 1.0 Micro CMTS

Context-Aware Planning and Verification

CSE 123: Computer Networks

CANopen Programmer s Manual Part Number Version 1.0 October All rights reserved

COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section B

Papers. Ad Hoc Routing. Outline. Motivation

Network Layer (Routing)

Energy Saving Routing Strategies in IP Networks

Secure Ad-Hoc Routing Protocols

MOBILE COMPUTING NIT Agartala, Dept of CSE Jan-May,2012

Transcription:

Guide to OSPF Application on the CSS 11000 Document ID: 12638 Contents Introduction Before You Begin Conventions Prerequisites Components Used Description OSPF Configuration Task List Configuration Global OSPF Commands OSPF Interface Commands OSPF Show Commands Related Information Introduction Open Shortest Path First (OSPF) is a link state routing protocol that maintains a local view of each area at each router, and to which a router may have an attached interface. When an OSPF router comes up, it exchanges hello messages to discover its neighbors and (in the case of a Local Area Network (LAN)) elects Designated and Backup Designated Routers (DR and BDR). At this stage, it records its state in the neighbor structures. Then, it proceeds to build its local view of the area. First, the router exchanges a database summary message with its immediate neighbors. These messages are used to determine which Link State Advertisements (LSAs) need to be requested from the neighbors. The replies to the Link State Requests (LSRs) are the Link State Updates (LSUs) that are sent until the neighbor acknowledges in a link state acknowledgment. The process of achieving synchronization among all routers in an area is known as routing convergence. In the case of a LAN, the database synchronization occurs between the routers and the DR and BDR separately. There is no router to router exchange other than with the DR or BDR, hence the number of messages is considerably reduced. OSPF supports the notion of hierarchical routing. For example, an Autonomous System (AS) is organized into areas containing no more than 50 routers, and a backbone area (area 0). Each area must contain at least one router with an interface in the backbone area. In addition, the backbone area must be connected. In other words, the routers in the backbone area must be connected either directly by links in the backbone area or by a "virtual link" that crosses a transit area. OSPF is intended for use where customers are currently running OSPF as their routing protocol and need the Content Services Switch (CSS) 11000 content services switch to participate in the learning and advertising of OSPF routes. The following are two examples of when customers would run OSPF on the CSS: 1. When the CSS is used in a transparent or proxy cache environment where it is placed in the middle of the network and needs to learn routes back to clients. 2. In a firewall load balancing implementation where the firewall routes need to be redistributed into the OSPF domain downstream from the CSS.

Before You Begin Conventions For more information on document conventions, see the Cisco Technical Tips Conventions. Prerequisites There are no specific prerequisites for this document. Components Used This document is not restricted to specific software and hardware versions. The information presented in this document was created from devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If you are working in a live network, ensure that you understand the potential impact of any command before using it. Description The CSS 11000 implementation of OSPF supports the following: 1. The ability to route in a single area between other OSPF routers (inter area routes support). 2. The ability to route in multiple areas between OSPF routers (inter area route support). 3. Hierarchical routing across multiple areas. 4. Route summarization between areas. 5. The AS boundary router support. 6. The stub area support. 7. Routing Information Protocol (RIP) route leakage. 8. Redistribution of local, RIP, static, and firewall route into OSPF domain. 9. Simple authentication. 10. Management Information Base (MIB) per Request for Comments (RFC) 1850. OSPF Configuration Task List Perform the steps below to configure OSPF. 1. Configure an OSPF router ID. It is recommended that the IP address of the first OSPF interface be used. 2. Enable OSPF. 3. Configure an OSPF area. OSPF backbone area 0.0.0.0 is created by default. 4. Configure OSPF on an IP interface. The interface is added into the backbone area by default. 5. Enable OSPF on that interface. 6. Configure the advertisement of Versatile Interface Processors (VIPs) if needed (issue the ospf advertise command). This will advertise that network/host out all OSPF interfaces. 7. Configure the route redistribution into the OSPF domain, if needed. 8. Configure the OSPF area summarization, if needed. Configuration

Global OSPF Commands advertise Advertises a route as OSPF AS external through all OSPF interfaces. The default type is type2. Primarily used to advertise a VIP or a range of VIPs into an OSPF domain. The command syntax is shown below. beta rules(config)# ospf advertise 200.200.200.200 /32 optional sub commands Sub commands of the advertise command include the following: metric the metric to advertise. tag 32 bit tag to advertise. type1 Advertise as ASE type 1 (comparable cost to OSPF metric). metric Ranges from 1 to 15 and indicates the relative cost of this route. The larger the cost, the less preferable the route. The default is 1. tag A 32 bit field attached to each external route. This is not used by the OSPF protocol itself. It may be used to communicate information between AS boundary routers. type1 Expressed in the same units as OSPF interface cost (that is, in terms of the link state metric). Type 2 external metrics are an order of magnitude larger; any Type 2 metric is considered greater than the cost of any path internal to the AS. This configuration parameter can be used to have an OSPF domain prefer type1 VIPs over type2. Note: The CSS must be configured as an Autonomous System Boundary (ASB) router before issuing the type1 command. area Configures an OSPF area. By default, area 0.0.0.0 is already configured. You can also specify an area as being a stub area, as shown below. beta rules(config)# ospf area 2.2.2.2 stub? default metric Metric for the default route advertised into the stub area. send summaries Propagates summary LSAs into this stub area. as boundary Configures the CSS as an ASB router. An ASB is a router that exchanges routing information with routers belonging to other ASs, such as RIP domains. Issue this command to advertise VIPs, local, firewall, and RIP learned routes into an OSPF domain. default Advertises a default route as ASE through OSPF. Options include metric, tag, and type1 (type2 is default). equal cost Number of equal cost routes OSPF can use. The range is 1 through 15. enable Enables OSPF globally. range Configures route summarization between OSPF areas. beta rules(config)# ospf range 0.0.0.0 10.10.0.0 255.255.0.0 The OSPF area 0.0.0.0 contains the contiguous networks that you would like to advertise to other areas. You also have the ability to block the advertisement of a range. An example is provided below. beta rules(config)# ospf range 0.0.0.0 10.10.0.0 255.255.0.0 block redistribute Advertises routes from other protocols through OSPF. Options include the following: firewall Advertises firewall routes through OSPF. local Advertises local routes through OSPF. rip Advertises RIP routes through OSPF. static Advertises static routes through OSPF. Sub options are metric, tag, and type1.

router id Configures the OSPF router ID. It is recommended that you use the IP address of the first OSPF interface configured. OSPF Interface Commands The command syntax is shown below. beta rules(config circuit ip[vlan2 20.20.1.2])# ospf? The command options are shown below. area Configures the OSPF area to which this interface belongs. By default, an OSPF interface is already a member of the 0.0.0.0 area. cost Sets the cost of sending a packet on this interface. The default cost is 10. dead Sets the dead router interval (in seconds) for this interface. It is the number of seconds before the CSS's neighbors will declare it down, when they stop hearing the CSS's hello packets. The default is 40. enable Enables OSPF on this interface. hello Sets the hello interval (in seconds) for this interface. It is the length of time, in seconds, between the hello packets that the CSS sends on the interface. The default is ten. password Sets the simple password (a maximum of eight characters) for this interface. Simple password authentication guards against routers inadvertently joining the routing domain; each router must first be configured with its attached networks' passwords before it can participate in routing. The password is in clear text. poll Sets the poll interval (in seconds) for this interface. If a neighboring router has become inactive (hello packets have not been seen for RouterDeadInterval seconds), then it may still be necessary to send hello packets to the dead neighbor. These hello packets are sent at the reduced rate PollInterval, which should be much larger than HelloInterval. The default is??. priority Sets the router priority. When two routers attached to a network both attempt to become the DR, the one with the highest router priority takes precedence. If there is still a tie, the router with the highest router ID takes precedence. A router whose router priority is set to 0 is ineligible to become DR on the attached network. The default is 1. retransmit Sets the retransmit interval (in seconds) for this interface. It is the number of seconds between LSA retransmissions, for adjacencies belonging to this interface. It is also used when retransmitting database description and link state request packets. This should be well over the expected round trip delay between any two routers on the attached network. The setting of this value should be conservative, or needless retransmissions will result. The default is five. retransmit Sets the retransmit interval (in seconds) for this interface. It is the number of seconds between LSA retransmissions, for adjacencies belonging to this interface. It is also used when retransmitting database description and link state request packets. This should be well over the expected round trip delay between any two routers on the attached network. The setting of this value should be conservative, or needless retransmissions will result. The default is 5. OSPF Show Commands The list below contains sample output from various show ospf commands. 1. show ospf advertise beta rules# show ospf advertise OSPF Advertise Routes Entries: Advertise Routes Prefix : 200.200.200.200 Advertise Routes Prefix Length : 32 Advertise Routes Metric : 1

2. 3. Advertise Routes Type : asetype2 Advertise Routes Tag : 0 Note: In the above show command screen, a VIP with a 32 bit mask is advertised. Defaults are used for the other parameters. show ospf areas beta rules# show ospf areas Area ID Type SPF Runs Routers Routers LSAs Summaries 0.0.0.0 Transit 46 0 1 3 N/A 2.2.2.2 Stub 5 0 1 1 Yes show ospf ase beta rules# show ospf ase Forwarding Link State ID Router ID Age T Tag Metric Address 0.0.0.0 192.168.151.1 1 2 00000000 1 0.0.0.0 200.200.200.200 192.168.151.1 593 2 00000000 1 0.0.0.0 Note: Data traffic for the advertised destination will be forwarded to the forwarding address. If the forwarding address is set to 0.0.0.0, data traffic will be forwarded instead to the LSA's originator (that is, the responsible ASB router). 4. show ospf global beta rules# show ospf global OSPF Global Summary: Router ID: 192.168.151.1 Admin Status: enabled Area Border Router: FALSE AS Boundary Router: TRUE External LSAs : 2 LSA Sent : 8 LSA Received : 5 5. show ospf interfaces beta rules# show ospf interfaces OSPF Interface Summary: IP Address: 192.168.151.1 Admin State: enabled Area: 0.0.0.0 Type: broadcast State: BDR Priority: 1 DR: 192.168.151.2 BDR: 192.168.151.1 Hello: 10 Dead: 40 Transmit Delay: 1 Retransmit: 5 Cost: 10 6. show ospf lsdb beta rules# show ospf lsdb OSPF LSDB Summary: Area: 0.0.0.0 Type: Router Link State ID: 192.168.151.1 ADV Router: 192.168.151.1 Age: 699 0x80000003 0xdf5d Area: 0.0.0.0 Type: Router Link State ID: 192.168.151.2 ADV Router: 192.168.151.2 Age: 706

0x80000004 0xd565 7. 8. 9. Area: 0.0.0.0 Type: Network Link State ID: 192.168.151.2 ADV Router: 192.168.151.2 Age: 706 0x80000001 0xbd93 Area: Type: ASE Link State ID: 0.0.0.0 ADV Router: 192.168.151.1 Age: 114 0x80000001 0xb51a Area: Type: ASE Link State ID: 200.200.200.200 ADV Router: 192.168.151.1 Age: 706 0x80000001 0xa10b show ospf neighbors beta rules# show ospf neighbors Address Neighbor ID Prio State Type Rxmt_Q 192.168.151.2 192.168.151.2 1 Full Dynamic 0 show ospf range beta rules# show ospf range Area ID LsdbType Addr Range Mask Range Effect 2.2.2.2 summarylink 150.0.0.0 255.0.0.0 advertise show ospf redistribute beta rules# show ospf redistribute Redistribution via OSPF Summary: Static Routes Redistribution : RIP Routes Redistribution : Local Routes Redistribution : Firewall Routes Redistribution : 10. show ip routes ospf beta rules# show ip routes ospf prefix/length next hop if type proto age metric 20.20.20.0/24 150.150.150.2 1021 remote ospf 5 1 Related Information OSPF Technical Support OSPF Design Guide Technical Support Cisco Systems Contacts & Feedback Help Site Map 2014 2015 Cisco Systems, Inc. All rights reserved. Terms & Conditions Privacy Statement Cookie Policy Trademarks of Cisco Systems, Inc.

Updated: May 03, 2004 Document ID: 12638