About route filter

From: Ali.Huang (zero5291@gmail.com)
Date: Wed Sep 26 2007 - 22:58:26 ART


Hi,all,
Recently I met a strange question about route filter on Cisco3550 and
Cisco3825.And I permit them by using distribute-list in ospf
process,but some routes couldn't be appear in ip routing table.It is
the route to 10.102.0.0/16 which is from H3C MSR 5040 router.As I
remove the distribute-list,then it would be view in routing table.It
can be viewed in ospf database.Who can help me?
The following is my configuration:
On Cisco3550:
router ospf 3700
 router-id 10.255.254.249
 log-adjacency-changes
 redistribute connected metric-type 1 subnets route-map 10-net
 network 10.255.254.248 0.0.0.3 area 6
 distribute-list prefix routein in
!
ip prefix-list routein seq 5 permit 10.31.0.0/16
ip prefix-list routein seq 10 permit 10.51.0.0/16
ip prefix-list routein seq 15 permit 10.60.0.0/16 ge 23 le 24
ip prefix-list routein seq 20 permit 10.102.0.0/16
ip prefix-list routein seq 25 permit 10.250.0.0/24 ge 29 le 30
ip prefix-list routein seq 30 permit 192.168.16.0/22 ge 23
!
And the following is routing information:
HB-C15_Cat3548_JJW_Net#sh ip os database ex 10.102.0.0

       OSPF Router with ID (10.255.254.249) (Process ID 3700)

                Type-5 AS External Link States

  LS age: 227
  Options: (No TOS-capability, No DC)
  LS Type: AS External Link
  Link State ID: 10.102.0.0 (External Network Number )
  Advertising Router: 222.73.233.130
  LS Seq Number: 80001B9C
  Checksum: 0xFAEF
  Length: 36
  Network Mask: /16
        Metric Type: 1 (Comparable directly to link state metric)
        TOS: 0
        Metric: 20
        Forward Address: 10.255.254.142
        External Route Tag: 1

  LS age: 386
  Options: (No TOS-capability, No DC)
  LS Type: AS External Link
  Link State ID: 10.102.0.0 (External Network Number )
  Advertising Router: 222.73.235.129
  LS Seq Number: 80001D84
  Checksum: 0xFF1
  Length: 36
  Network Mask: /16
        Metric Type: 1 (Comparable directly to link state metric)
        TOS: 0
        Metric: 20
        Forward Address: 10.255.254.141
        External Route Tag: 1
#
HB-C15_Cat3548_JJW_Net#sh ip ro
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 10.255.254.250 to network 0.0.0.0

     10.0.0.0/8 is variably subnetted, 28 subnets, 6 masks
O E1 10.31.0.0/16 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
C 10.60.22.0/24 is directly connected, Vlan2
C 10.60.23.0/24 is directly connected, Vlan3
O IA 10.60.20.0/24 [110/15] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.60.18.0/24 [110/32] via 10.255.254.250, 00:11:39, Port-channel7
C 10.60.26.0/24 is directly connected, Vlan6
C 10.60.25.0/24 is directly connected, Vlan5
O IA 10.60.0.0/24 [110/15] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.51.0.0/16 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O IA 10.60.15.0/24 [110/15] via 10.255.254.250, 00:11:39, Port-channel7
O IA 10.60.8.0/24 [110/15] via 10.255.254.250, 00:11:39, Port-channel7
C 10.66.2.0/27 is directly connected, Vlan8
O IA 10.250.0.120/29 [110/15] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.64/29 [110/34] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.72/30 [110/33] via 10.255.254.250, 00:11:39, Port-channel7
O IA 10.250.0.76/30 [110/15] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.56/29 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.60.255.0/24 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
S 10.250.0.58/32 [1/0] via 10.255.254.250
C 10.60.253.0/24 is directly connected, Vlan7
O E1 10.250.0.32/30 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.16/30 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.24/29 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.0/30 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
C 10.255.254.248/30 is directly connected, Port-channel7
O E1 10.250.0.4/30 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.8/30 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
O E1 10.250.0.12/30 [110/21] via 10.255.254.250, 00:11:39, Port-channel7
     192.168.17.0/24 is variably subnetted, 2 subnets, 2 masks
O E1 192.168.17.0/25 [110/32] via 10.255.254.250, 00:11:39, Port-channel7
O IA 192.168.17.0/24 [110/13] via 10.255.254.250, 00:11:39, Port-channel7
S* 0.0.0.0/0 [1/0] via 10.255.254.250
O E1 192.168.18.0/23 [110/32] via 10.255.254.250, 00:11:39, Port-channel7
HB-C15_Cat3548_JJW_Net#

If you want more information.pls let me know.

-- 
THX.
Ali.huang


This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:16 ART