From: Teknoloji Çözümleri (umit.askan@xxxxxxxxxxxxx)
Date: Fri Aug 30 2002 - 07:08:41 GMT-3
hi,
if you write "distribute-list X out" under ospf it filters all
redistributed routes from other prots.
if you say distribute-list X out eigrp 1, it only filters from eigrp, no
others,
But don't forget this command don't work for ospf routes, because OSPF
is a link state prot and all databases must be same,
test this with putting a redist connected at your RTB for a non OSPF
net,
hth
umit
-----Original Message-----
From: Hunt Lee [mailto:huntl@webcentral.com.au]
Sent: Friday, August 30, 2002 10:46
To: 'ccielab@groupstudy.com'
Subject: Please help!!!
Hi guys,
3.3.3.3/24
10.1.1.4/30 /
RTA ---- RTB ------------- RTC
\
4.4.4.4/24
RTA & RTB in OSPF
RTB & RTC in EIGRP
RTB, an ASBR, is redistributing EIGRP routes into OSPF
RouterB#sh ip ospf database
OSPF Router with ID (2.2.2.2) (Process ID 2)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link
count
1.1.1.1 1.1.1.1 903 0x80000003 0xD1D0 1
2.2.2.2 2.2.2.2 817 0x80000004 0x9AFA 1
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.1.1 1.1.1.1 903 0x80000002 0x6BFE
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
2.2.2.2 2.2.2.2 817 0x80000002 0xF832
Router Link States (Area 1)
Link ID ADV Router Age Seq# Checksum Link
count
2.2.2.2 2.2.2.2 817 0x80000003 0xAB69 1
Summary Net Link States (Area 1)
Link ID ADV Router Age Seq# Checksum
172.16.1.0 2.2.2.2 817 0x80000004 0x1B4F
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
3.3.3.0 2.2.2.2 818 0x80000002 0x3D51 0
4.4.4.0 2.2.2.2 2 0x80000001 0x1B71 0
10.1.1.4 2.2.2.2 2 0x80000001 0xD7B3 0
My objective is to prevent routes that were redistributed into OSPF from
EIGRP from being installed in RTB's local OSPF database, which in turn
prohibit the external routes being sent to RTA (from RTB).
Here's my config at RTB:
router eigrp 1
network 10.0.0.0
no auto-summary
no eigrp log-neighbor-changes
!
router ospf 2
log-adjacency-changes
redistribute eigrp 1 subnets route-map EIGRP
network 2.2.2.2 0.0.0.0 area 1
network 172.16.1.0 0.0.0.255 area 0
distribute-list 5 out eigrp 1
access-list 5 permit 3.3.3.0 0.0.0.255
... which works out fine ;) RTB eliminates both 4.4.4.0/24 &
10.1.1.4/30
from entering the OSPF database.
But when I change the command from "distribute-list 5 out eigrp 1" to
"distribute-list 5 out", it still works???... Why?? I always thought
that
"out" on interface for OSPF is not allowed.
RouterB#sh ip protocols
Routing Protocol is "eigrp 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 1
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
Routing Information Sources:
Gateway Distance Last Update
10.1.1.6 90 00:41:45
Distance: internal 90 external 170
Routing Protocol is "ospf 2"
Outgoing update filter list for all interfaces is 5
Incoming update filter list for all interfaces is not set
Router ID 2.2.2.2
It is an area border and autonomous system boundary router
Redistributing External Routes from,
eigrp 1, includes subnets in redistribution
Number of areas in this router is 2. 2 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
2.2.2.2 0.0.0.0 area 1
172.16.1.0 0.0.0.255 area 0
Routing Information Sources:
Gateway Distance Last Update
1.1.1.1 110 00:42:13
2.2.2.2 110 00:42:23
Distance: (default is 110)
RouterB#sh ip ospf database external
OSPF Router with ID (2.2.2.2) (Process ID 2)
Type-5 AS External Link States
LS age: 705
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 3.3.3.0 (External Network Number )
Advertising Router: 2.2.2.2
LS Seq Number: 80000002
Checksum: 0x3D51
Length: 36
Network Mask: /24
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
RouterB#
RouterA#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS
inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/11] via 172.16.1.2, 00:45:05, Ethernet0
3.0.0.0/24 is subnetted, 1 subnets
O E2 3.3.3.0 [110/20] via 172.16.1.2, 00:44:45, Ethernet0
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Ethernet0
RouterA#
Any suggestions would be appreciated.
Thanks
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:42 GMT-3