Cisco Systems 78-11741-02 Route Map Examples, Following configuration Ospf is on network, IPC-250

Models: 78-11741-02

1 624
Download 624 pages 46.69 Kb
Page 296
Image 296

Configuring OSPF

OSPF Configuration Examples

interface ethernet 0

ip address 192.42.110.201 255.255.255.0 ip ospf authentication-key abcdefgh

ip ospf cost 10

!

interface ethernet 1

ip address 131.119.251.201 255.255.255.0 ip ospf authentication-key ijklmnop

ip ospf cost 20

ip ospf retransmit-interval 10 ip ospf transmit-delay 2

ip ospf priority 4

!

interface ethernet 2

ip address 131.119.254.201 255.255.255.0 ip ospf authentication-key abcdefgh

ip ospf cost 10

!

interface ethernet 3

ip address 36.56.0.201 255.255.0.0 ip ospf authentication-key ijklmnop ip ospf cost 20

ip ospf dead-interval 80

In the following configuration OSPF is on network 131.119.0.0:

router ospf 201

network 36.0.0.0 0.255.255.255 area 36.0.0.0 network 192.42.110.0 0.0.0.255 area 192.42.110.0 network 131.119.0.0 0.0.255.255 area 0

area 0 authentication area 36.0.0.0 stub

area 36.0.0.0 authentication area 36.0.0.0 default-cost 20 area 192.42.110.0 authentication

area 36.0.0.0 range 36.0.0.0 255.0.0.0

area 192.42.110.0 range 192.42.110.0 255.255.255.0 area 0 range 131.119.251.0 255.255.255.0

area 0 range 131.119.254.0 255.255.255.0

redistribute igrp 200 metric-type 2 metric 1 tag 200 subnets redistribute rip metric-type 2 metric 1 tag 200

In the following configuration IGRP autonomous system 200 is on 131.119.0.0:

router igrp 200 network 131.119.0.0

!

!RIP for 192.42.110

router rip

network 192.42.110.0 redistribute igrp 200 metric 1 redistribute ospf 201 metric 1

Route Map Examples

The examples in this section illustrate the use of redistribution, with and without route maps. Examples from both the IP and Connectionless Network Service (CLNS) routing protocols are given.

The following example redistributes all OSPF routes into IGRP:

router igrp 109 redistribute ospf 110

Cisco IOS IP Configuration Guide

IPC-250

Page 296
Image 296
Cisco Systems 78-11741-02 manual Route Map Examples, Following configuration Ospf is on network, IPC-250