Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

EIGRP: Active QUERY and distribution-list filters

Hi,

let say we have 3 routers

(many networks)-R1---R2---R3

all have EIGRP, R1 anounce all networks to R2, R2 has "distribute-list out" configured and announce only some networks to R3.

If the link between R1 and R2 goes down then R2 will go Active and will send QUREY message to R3.

Question is, for which netwoks will be send the QUERY message? for all networks or only for subset, which defined by "distribute-list out"? Has "distribute-list out" any impact or influence on the QUERY's?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: EIGRP: Active QUERY and distribution-list filters

Hi Konstantin

Already had EIGRP setup in lab for something else so did a quick test

R1 -> R2 -> R3

R1 advertises to R2 the following subnets

192.168.22.0

172.16.31.0

172.16.32.0

R2 has the following distribute list on the interface to R3

router eigrp 1

distribute-list 1 out FastEthernet0/0

access-list 1 deny 172.16.32.0

access-list 1 deny 172.16.31.0

access-list 1 permit any

Comfirmed that R3 only received the 192.168.22.0/24 subnet.

Then i shutdown the link between R1 & R2 and ran "debug eigrp fsm" on R3

*Jan 18 11:17:29.530: DUAL: rcvquery: 192.168.22.0/28 via 192.168.6.1 metric 4294967295/4294967295, RD is 33280

*Jan 18 11:17:29.530: DUAL: Find FS for dest 192.168.22.0/28. FD is 33280, RD is 33280

*Jan 18 11:17:29.530: DUAL: 192.168.6.1 metric 4294967295/4294967295 not found Dmin is 4294967295

*Jan 18 11:17:29.530: DUAL: Peer total/stub 1/0 template/full-stub 1/0

*Jan 18 11:17:29.530: DUAL: Dest 192.168.22.0/28 (Split Horizon) not entering active state.

*Jan 18 11:17:29.530: DUAL: send REPLY(r1/n1) about 192.168.22.0/28 to 192.168.6.1

*Jan 18 11:17:29.530: DUAL: dest(172.16.32.0/24) not active

*Jan 18 11:17:29.530: DUAL: rcvquery: 172.16.32.0/24 via 192.168.6.1 metric 4294967295/4294967295, RD is 4294967295

*Jan 18 11:17:29.530: DUAL: send REPLY(r1/n1) about 172.16.32.0/24 to 192.168.6.1

*Jan 18 11:17:29.530: DUAL: dest(172.16.31.0/24) not active

*Jan 18 11:17:29.530: DUAL: rcvquery: 172.16.31.0/24 via 192.168.6.1 metric 4294967295/4294967295, RD is 4294967295

*Jan 18 11:17:29.530: DUAL: send REPLY(r1/n1) about 172.16.31.0/24 to 192.168.6.1

*Jan 18 11:17:29.554: DUAL: Removing dest 192.168.22.0/28, nexthop 192.168.6.1

*Jan 18 11:17:29.554: DUAL: No routes. Flushing dest 192.168.22.0/28

*Jan 18 11:17:29.554: DUAL: Removing dest 172.16.32.0/24, nexthop 192.168.6.1

*Jan 18 11:17:29.554: DUAL: No routes. Flushing dest 172.16.32.0/24

*Jan 18 11:17:29.554: DUAL: Removing dest 172.16.31.0/24, nexthop 192.168.6.1

*Jan 18 11:17:29.554: DUAL: No routes. Flushing dest 172.16.31.0/24

As you can see R2 still sends queries for 172.16.31.0/24 and 172.16.32.0/24 even though it is filtering these from R1.

HTH

Jon

4 REPLIES
Hall of Fame Super Blue

Re: EIGRP: Active QUERY and distribution-list filters

Hi Konstantin

Already had EIGRP setup in lab for something else so did a quick test

R1 -> R2 -> R3

R1 advertises to R2 the following subnets

192.168.22.0

172.16.31.0

172.16.32.0

R2 has the following distribute list on the interface to R3

router eigrp 1

distribute-list 1 out FastEthernet0/0

access-list 1 deny 172.16.32.0

access-list 1 deny 172.16.31.0

access-list 1 permit any

Comfirmed that R3 only received the 192.168.22.0/24 subnet.

Then i shutdown the link between R1 & R2 and ran "debug eigrp fsm" on R3

*Jan 18 11:17:29.530: DUAL: rcvquery: 192.168.22.0/28 via 192.168.6.1 metric 4294967295/4294967295, RD is 33280

*Jan 18 11:17:29.530: DUAL: Find FS for dest 192.168.22.0/28. FD is 33280, RD is 33280

*Jan 18 11:17:29.530: DUAL: 192.168.6.1 metric 4294967295/4294967295 not found Dmin is 4294967295

*Jan 18 11:17:29.530: DUAL: Peer total/stub 1/0 template/full-stub 1/0

*Jan 18 11:17:29.530: DUAL: Dest 192.168.22.0/28 (Split Horizon) not entering active state.

*Jan 18 11:17:29.530: DUAL: send REPLY(r1/n1) about 192.168.22.0/28 to 192.168.6.1

*Jan 18 11:17:29.530: DUAL: dest(172.16.32.0/24) not active

*Jan 18 11:17:29.530: DUAL: rcvquery: 172.16.32.0/24 via 192.168.6.1 metric 4294967295/4294967295, RD is 4294967295

*Jan 18 11:17:29.530: DUAL: send REPLY(r1/n1) about 172.16.32.0/24 to 192.168.6.1

*Jan 18 11:17:29.530: DUAL: dest(172.16.31.0/24) not active

*Jan 18 11:17:29.530: DUAL: rcvquery: 172.16.31.0/24 via 192.168.6.1 metric 4294967295/4294967295, RD is 4294967295

*Jan 18 11:17:29.530: DUAL: send REPLY(r1/n1) about 172.16.31.0/24 to 192.168.6.1

*Jan 18 11:17:29.554: DUAL: Removing dest 192.168.22.0/28, nexthop 192.168.6.1

*Jan 18 11:17:29.554: DUAL: No routes. Flushing dest 192.168.22.0/28

*Jan 18 11:17:29.554: DUAL: Removing dest 172.16.32.0/24, nexthop 192.168.6.1

*Jan 18 11:17:29.554: DUAL: No routes. Flushing dest 172.16.32.0/24

*Jan 18 11:17:29.554: DUAL: Removing dest 172.16.31.0/24, nexthop 192.168.6.1

*Jan 18 11:17:29.554: DUAL: No routes. Flushing dest 172.16.31.0/24

As you can see R2 still sends queries for 172.16.31.0/24 and 172.16.32.0/24 even though it is filtering these from R1.

HTH

Jon

Re: EIGRP: Active QUERY and distribution-list filters

hi,

thank you :)

*Jan 18 11:17:29.530: DUAL: Dest 192.168.22.0/28 (Split Horizon) not entering active state.

*Jan 18 11:17:29.530: DUAL: dest(172.16.32.0/24) not active

*Jan 18 11:17:29.530: DUAL: dest(172.16.31.0/24) not active

but do you know why the status is different, for 192.168.22.0/28 is "not entering the active mode" and for other is simply "not active"?

Hall of Fame Super Blue

Re: EIGRP: Active QUERY and distribution-list filters

Hi

R3 only has R2 as an EIGRP neighbor. I suspect that the entry for 192.168.22.0/28 is different because R3 already had a route for that from R2 so it cannot query back to R2 for that route.

R3 did not have routes for the other 2 as they were being filtered from R2.

Jon

Re: EIGRP: Active QUERY and distribution-list filters

ah, it's the debug from R3, exactly. then it's ok, thank you. :)

711
Views
0
Helpful
4
Replies
CreatePlease to create content