6.42 Filtering Evering Thing/Or Nothing..?

Dears,

I am facing strange behaviour that on R2 I can see all the database and on R5 i can not see any route while neighbours r up.

While SW1 and SW3 seems to be fine.

--------------------R5 Config------------

Rack1R5#sh run | sec router ospf

router ospf 1

 router-id 150.1.5.5

 log-adjacency-changes

 no discard-route internal

 auto-cost reference-bandwidth 30000

 area 0 range 150.1.0.0 255.255.252.0

 area 3 nssa no-redistribution

 area 3 nssa translate type7 suppress-fa

 area 3 filter-list prefix LOOPBACKS out

 redistribute connected subnets

 neighbor 155.1.0.2 database-filter all out

 neighbor 155.1.0.4

 neighbor 155.1.0.1

 neighbor 155.1.0.3

 distribute-list 1 in

 distance 255 150.1.6.6 0.0.0.0 67

----------------------R5 Out put...----------



Rack1R5#sh ip route ospf



Rack1R5#sh ip ospf neighbor


Neighbor ID     Pri   State           Dead Time   Address         Interface

150.1.4.4         0   FULL/  -           -        155.1.45.4      Serial0/1/1

150.1.2.2         0   FULL/  -        00:01:43    155.1.0.2       Serial0/1/0

150.1.4.4         0   FULL/  -        00:01:43    155.1.0.4       Serial0/1/0

150.1.1.1         0   FULL/  -        00:01:43    155.1.0.1       Serial0/1/0

150.1.30.30       0   FULL/  -        00:01:43    155.1.0.3       Serial0/1/0

150.1.8.8         1   FULL/DR         00:00:35    155.1.58.8      FastEthernet0/0

Rack1R5#

------------------------------------------R2 Config --------------------------




Rack1R2#sh run | sec router ospf

router ospf 1

 log-adjacency-changes

 auto-cost reference-bandwidth 30000

 area 5 virtual-link 150.1.30.30

 area 51 filter-list prefix R5_LO in

Rack1R2#sh ip ospf da

Rack1R2#sh ip ospf database


            OSPF Router with ID (150.1.2.2) (Process ID 1)


                Router Link States (Area 0)


Link ID         ADV Router      Age         Seq#       Checksum Link count

150.1.1.1       150.1.1.1       3     (DNA) 0x80000020 0x003FDE 3

150.1.2.2       150.1.2.2       460         0x80000026 0x00FF3F 4

150.1.4.4       150.1.4.4       3     (DNA) 0x8000001C 0x005687 5

150.1.5.5       150.1.5.5       2     (DNA) 0x8000001F 0x00DA26 7

150.1.30.30     150.1.30.30     1     (DNA) 0x80000010 0x00AD9A 4



Regards

Jawwad

 

Comments

  • JoeMJoeM ✭✭✭

    I am facing strange behaviour that on R2 I can see all the database and on R5 i can not see any route while neighbours r up.

    While SW1 and SW3 seems to be fine.

    ......

    ----------------------R5 Out put...----------



    Rack1R5#sh ip route ospf





    Rack1R5#sh ip ospf neighbor






    Neighbor ID     Pri   State           Dead Time   Address         Interface





    150.1.4.4         0   FULL/  -           -        155.1.45.4      Serial0/1/1





    150.1.2.2         0   FULL/  -        00:01:43    155.1.0.2       Serial0/1/0





    150.1.4.4         0   FULL/  -        00:01:43    155.1.0.4       Serial0/1/0





    150.1.1.1         0   FULL/  -        00:01:43    155.1.0.1       Serial0/1/0





    150.1.30.30       0   FULL/  -        00:01:43    155.1.0.3       Serial0/1/0





    150.1.8.8         1   FULL/DR         00:00:35    155.1.58.8      FastEthernet0/0

     

    There seems to be a bigger problem on R5 that goes beyond this exercise.   For R5, this task should only filter routes to R2.  BUT...if R5 doesn't have any routes, then.......

    I am shooting a little in the dark here, as to your config and how the lead up to this task went.  Let's start with these two lines from your config from R5:

          distribute-list 1 in


          distance 255 150.1.6.6 0.0.0.0 67

     

    For your distribute-list,  do you still have an access-list or did you delete it?

    For this distance command, what is the access-list? (not important. just curious)

    Have you cleared ospf on R5?   (To make sure your latest config is good)

     

    EDIT:  As for the second config line,  I see where it was applied in task 6.39 .

    EDIT-2:    At a minimum, I would like to see the default route from R4.   I have gone through the tasks since 6.38.  I do not see that this was ever removed.  This makes me think that your distribute-list is filtering everything.    But I am still guessing.

    Let us know what you find out.  Thanks.

  • Thanks the problem was beyond this task.

     

    But now I able to see the route after removing the distribute-list command and distance command..

     

    But now able not to filter..

     

    -------------------------R5--------------------------------

     

    Rack1R5#sh run | sec router ospf

    router ospf 1

     router-id 150.1.5.5

     log-adjacency-changes

     no discard-route internal

     auto-cost reference-bandwidth 30000

     area 0 range 150.1.0.0 255.255.252.0

     area 3 nssa no-redistribution

     area 3 nssa translate type7 suppress-fa

     area 3 filter-list prefix LOOPBACKS out

     redistribute connected subnets

     neighbor 155.1.0.3

     neighbor 155.1.0.1

     neighbor 155.1.0.4

     neighbor 155.1.0.2 database-filter all out


    -------------------------------------------------------------------------------------------------



    Rack1R5#show ip route ospf | include via 155.1.0.2

    O E2    51.51.51.51 [110/20] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.23.0/24 [110/84965] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.9.0/24 [110/86025] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.13.0/24 [110/104395] via 155.1.0.2, 00:00:47, Serial0/1/0

    O       155.1.0.2/32 [110/65535] via 155.1.0.2, 00:00:47, Serial0/1/0

    O       155.1.0.3/32 [110/84965] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.6.0/23 [110/85995] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.37.0/24 [110/85965] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.79.0/24 [110/85995] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    155.1.67.0/24 [110/85995] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA 192.10.1.0/24 [110/65835] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    150.1.7.0 [110/85966] via 155.1.0.2, 00:00:47, Serial0/1/0

    O       150.1.3.0 [110/84966] via 155.1.0.2, 00:00:47, Serial0/1/0

    O       150.1.2.0 [110/65536] via 155.1.0.2, 00:00:47, Serial0/1/0

    O IA    150.1.9.0 [110/85996] via 155.1.0.2, 00:00:47, Serial0/1/0



    ----------------------------------------------------R2 Out put-----------------------------------------------------



    Rack1R2#sh ip ospf database


                OSPF Router with ID (150.1.2.2) (Process ID 1)


                    Router Link States (Area 0)


    Link ID         ADV Router      Age         Seq#       Checksum Link count

    150.1.1.1       150.1.1.1       3     (DNA) 0x8000000D 0x004D4C 3

    150.1.2.2       150.1.2.2       118         0x80000005 0x00421E 4

    150.1.4.4       150.1.4.4       3     (DNA) 0x8000000D 0x007478 5

    150.1.5.5       150.1.5.5       2     (DNA) 0x80000010 0x00508C 5

    150.1.6.6       150.1.6.6       4     (DNA) 0x80000003 0x0012D7 1

    150.1.30.30     150.1.30.30     1     (DNA) 0x8000000F 0x00507A 3



    Thanks for the support

    Regards


  • JoeMJoeM ✭✭✭

    But now not able to filter..

    ....

    Rack1R2#sh ip ospf database



                OSPF Router with ID (150.1.2.2) (Process ID 1)





                    Router Link States (Area 0)





    Link ID         ADV Router      Age         Seq#       Checksum Link count




    150.1.1.1       150.1.1.1       3     (DNA) 0x8000000D 0x004D4C 3




    150.1.2.2       150.1.2.2       118         0x80000005 0x00421E 4




    150.1.4.4       150.1.4.4       3     (DNA) 0x8000000D 0x007478 5




    150.1.5.5       150.1.5.5       2     (DNA) 0x80000010 0x00508C 5




    150.1.6.6       150.1.6.6       4     (DNA) 0x80000003 0x0012D7 1




    150.1.30.30     150.1.30.30     1     (DNA) 0x8000000F 0x00507A 3

    Clear the OSPF process on R2

    Show the output again (please inlcude the other output for Area 0.)

     

  • JoeMJoeM ✭✭✭

    Hi Jawwad,

    I am not sure about the lag time between our posts.  I will have to run and do an errand in a bit.

     

    What
    we are seeing in the output from R2's ospf database.....are the routers
    in Area 0. These are NOT routes.  You will see the routes in the
    third section  (summary net).

    After clearing the ospf processes on R2 and R5, these neighbors will disappear in R2's ospf database.

     

    Note:   I find the DNA (DoNotAge) interesting in your output.  I am not clear on what this is.  It may be related to the command we are using.  I labbed it up, and I could not reproduce it.  Could be it is from a previous lab task.

  • JoeMJoeM ✭✭✭

    Note:   I find the DNA (DoNotAge) interesting in your output.  I am not clear on what this is.  It may be related to the command we are using.  I labbed it up, and I could not reproduce it.  Could be it is from a previous lab task.

    This is coming from your virtual-link (task 6.14) -- which virutally connects R2 (via Area 5) to Area 0 .

    Remove this virtual-link on R2, and you should see your desired result.

          no area 5 virtual-link 150.1.30.30

     

    Cheers!

  • Dear JoeM,

    You are genious..You point to the mistake.

    When I remove the command of Virtual Link it become fine.

    But why it was effecting becuse R2 it was come to Area 0 ..?

    Thanks

    Jawwad

     

  • JoeMJoeM ✭✭✭

    Hi Jawwad,

    Glad it worked for you.

    All routers in an Area share the same database.   In this exercise, we completely filtered LSA's from R5 to R2.     The virtual-link between R2 and R3 gave another unfiltered connection to Area 0.

    If you want to see the difference again, implement the virtual-link again.

Sign In or Register to comment.