cc/td/doc/product/aggr/vpn5000/5000sw/conc52x/ref52x
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

IP Protocol Precedence

IP Protocol Precedence

This section sets the precedence order the router will follow in including routes in its routing table when multiple IP routing protocols are in use on the network.

configure IP Protocol Precedence

Keywords

After entering the configure command for the section, enter one or more of the following keywords.

Precedence = {ospf rip static | ospf static rip | rip ospf static | rip static ospf | static ospf rip | static rip ospf}

The Precedence keyword sets the precedence order for including OSPF, RIP and static routes in its routing table.

If a router has OSPF, RIP and Static route advertisements for the same IP route, this keyword allows it to make a determination as to which route to install in its IP routing table.

This section is only relevant if there is more than one possible route to a destination. For example, if there are no OSPF or RIP routes to a destination but there is a static route, that route will be installed even if the precedence is ospf rip static. If there is a configured static route to a destination for which there was a RIP or OSPF route with greater precedence, that static route will be automatically re-installed if the RIP/OSPF route goes away.


Note   An exception to the precedence rule is an OSPF external (i.e., type ASE) route. OSPF external routes will be overwritten by a RIP or static route, regardless of the precedence. This is because OSPF external routes originally come from another protocol, usually RIP or static. If the router is running both RIP and OSPF, but another router on the network is redistributing RIP into OSPF, the RIP routes would be overwritten by OSPF external routes without this exception. In order to get the RIP routes via OSPF external routes, simply turn off the RIPin keyword in the IP section on the router, and it will then install the routes as OSPF externals.

Examples

[ IP Protocol Precedence ]
Precedence = ospf rip static

Related Commands

Command Description

configure IP

Configures IP parameters for an interface

configure IP Route Redistribution

Configures how the concentrator redistrubutes routes from one dynamic IP routing protocol into another.

configure OSPF Area

Configures OSPF area parameters

edit config IP Static

Creates static routes


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Sep 27 10:41:12 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.