Re: Distribute-list <x> out static

Unanswered Question
Nov 26th, 2008

Hi,

Can someone explain what is the usage of the 'static' command

when used in conjunction with the distribute-list ?

I cant' find any explanation abt. this commnad on the command lookup tool.

If you look at the example below, does this mean that it only

denies any static route that has been defined in the ACL ? Meaning it will deny the 1st route and allow the 2nd and 3rd static route through ?

distribute-list 77 out static

!

!

access-list 77 deny 10.0.0.2

access-list 77 deny 10.0.0.3

access-list 77 permit any

!

!

ip route 10.0.0.2 255.255.255.248 192.168.0.1

ip route 10.0.0.4 255.255.255.248 134.251.72.183

ip route 10.0.0.5 255.255.255.255 134.251.72.184

Thank you,

- InternetB -

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
glen.grant Thu, 11/27/2008 - 03:40

Yes that would be my interpretation, 10.0.0.2 will not be redistributed into the dynamic routing protocol but the other 2 would . Not sure why 10.0.0.3 is in there if its not in your static list , probably something that never got cleaned out .

InternetB Thu, 11/27/2008 - 18:21

Thanks Glen. The reason being is that the IPs 10.0.0.2 and 10.0.0.3 are routers that are going to the WAN and

in the future if any static routes

are added for 10.0.0.3. it would not cause any loops.

- InternetB -

Actions

This Discussion