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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Re: Distribute-list <x> out static

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 -

2 REPLIES
Purple

Re: Re: Distribute-list <x> out static

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 .

New Member

Re: Re: Distribute-list <x> out static

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 -

1161
Views
5
Helpful
2
Replies