Configuring IP Routing Protocol-Independent Features

IP Routing Protocol-Independent Configuration Examples

Assigning administrative distances is a problem unique to each network and is done in response to the greatest perceived threats to the connected network. Even when general guidelines exist, the network manager must ultimately determine a reasonable matrix of administrative distances for the network as a whole.

In the following example, the distance value for IP routes learned is 90. Preference is given to these IP routes rather than routes with the default administrative distance value of 110.

router isis distance 90 ip

Static Routing Redistribution Example

In the example that follows, three static routes are specified, two of which are to be advertised. The static routes are created by specifying the redistribute static router configuration command and then specifying an access list that allows only those two networks to be passed to the IGRP process. Any redistributed static routes should be sourced by a single router to minimize the likelihood of creating a routing loop.

ip route 192.168.2.0 255.255.255.0 192.168.7.65 ip route 192.168.5.0 255.255.255.0 192.168.7.65 ip route 172.16.0.0 255.255.255.0 192.168.7.65 access-list 3 permit 192.168.2.0

access-list 3 permit 192.168.5.0

!

router igrp 1 network 192.168.7.0

default-metric 10000 100 255 1 1500 redistribute static distribute-list 3 out static

IGRP Redistribution Example

Each IGRP routing process can provide routing information to only one autonomous system; the Cisco IOS software must run a separate IGRP process and maintain a separate routing database for each autonomous system that it services. However, you can transfer routing information between these routing databases.

Suppose that the router has one IGRP routing process for network 10.0.0.0 in autonomous system 71 and another IGRP routing process for network 192.168.7.0 in autonomous system 1, as the following commands specify:

router igrp 71 network 10.0.0.0

router igrp 1 network 192.168.7.0

To transfer a route to 192.168.7.0 into autonomous system 71 (without passing any other information about autonomous system 1), use the command in the following example:

router igrp 71 redistribute igrp 1 distribute-list 3 out igrp 1

access-list 3 permit 192.168.7.0

Cisco IOS IP Configuration Guide

IPC-381

Page 427
Image 427
Cisco Systems 78-11741-02 manual Static Routing Redistribution Example, Igrp Redistribution Example, IPC-381